[Webkit-unassigned] [Bug 211981] New: [GTK] Test editing/pasteboard/data-transfer-get-data-on-pasting-html-uses-blob-url.html fails
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat May 16 03:04:19 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=211981
Bug ID: 211981
Summary: [GTK] Test
editing/pasteboard/data-transfer-get-data-on-pasting-h
tml-uses-blob-url.html fails
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Keywords: Gtk, LayoutTestFailure
Severity: Normal
Priority: P2
Component: WebKitGTK
Assignee: webkit-unassigned at lists.webkit.org
Reporter: cgarcia at igalia.com
CC: bugs-noreply at webkitgtk.org
This keeps failing even after supporting pasteboard custom data. It needs more investigation:
PASS htmlInNullOrigin.includes("dangerousCode") is false
PASS parsedTree = (new DOMParser).parseFromString(htmlInNullOrigin, "text/html"); !!parsedTree.querySelector("b"); is true
PASS parsedTree.querySelector("b").textContent is "16th President of the United States:"
-PASS (new URL(parsedTree.querySelector("img").src)).protocol is "blob:"
+FAIL (new URL(parsedTree.querySelector("img").src)).protocol should be blob:. Threw exception TypeError: Type error
PASS parsedTree.querySelector("img").src.includes("resources/abe.png") is false
PASS itemsInNullOrigin.some((item) => item.kind == "string" && item.type == "text/html") is true
PASS typesInNullOrigin.includes("text/html") is true
@@ -16,7 +16,7 @@
PASS htmlInSameDocument.includes("dangerousCode") is false
PASS parsedTree = (new DOMParser).parseFromString(htmlInNullOrigin, "text/html"); !!parsedTree.querySelector("b"); is true
PASS parsedTree.querySelector("b").textContent is "16th President of the United States:"
-FAIL (new URL(parsedTree.querySelector("img").src)).protocol should be file:. Was blob:.
+FAIL (new URL(parsedTree.querySelector("img").src)).protocol should be file:. Threw exception TypeError: Type error
FAIL parsedTree.querySelector("img").src.includes("resources/abe.png") should be true. Was false.
PASS itemsInSameDocument.some((item) => item.kind == "string" && item.type == "text/html") is true
PASS successfullyParsed is true
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200516/1bbffd3b/attachment.htm>
More information about the webkit-unassigned
mailing list