mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-27 03:43:27 +01:00
Outbound link previews: more lenient loading
Signed-off-by: Josh Perez <josh.p@signal.org>
This commit is contained in:
@@ -13148,24 +13148,6 @@
|
||||
"updated": "2019-11-21T06:13:49.384Z",
|
||||
"reasonDetail": "Used for setting focus only"
|
||||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
"path": "ts/linkPreviews/linkPreviewFetch.js",
|
||||
"line": " const hasFinishedLoadingHead = result.body.innerHTML.length > 0;",
|
||||
"lineNumber": 212,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-09-09T21:20:16.643Z",
|
||||
"reasonDetail": "This only deals with a fake DOM used when parsing link preview HTML, and it doesn't even change innerHTML."
|
||||
},
|
||||
{
|
||||
"rule": "DOM-innerHTML",
|
||||
"path": "ts/linkPreviews/linkPreviewFetch.ts",
|
||||
"line": " const hasFinishedLoadingHead = result.body.innerHTML.length > 0;",
|
||||
"lineNumber": 283,
|
||||
"reasonCategory": "usageTrusted",
|
||||
"updated": "2020-09-09T21:20:16.643Z",
|
||||
"reasonDetail": "This only deals with a fake DOM used when parsing link preview HTML, and it doesn't even change innerHTML."
|
||||
},
|
||||
{
|
||||
"rule": "jQuery-wrap(",
|
||||
"path": "ts/shims/textsecure.js",
|
||||
@@ -13344,4 +13326,4 @@
|
||||
"reasonCategory": "falseMatch",
|
||||
"updated": "2020-09-08T23:07:22.682Z"
|
||||
}
|
||||
]
|
||||
]
|
||||
Reference in New Issue
Block a user