Bug 209154
| Summary: | [ Mac wk1 ] http/tests/security/clipboard/copy-paste-html-cross-origin-iframe-across-origin.html is flaky failing. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jason Lawrence <Lawrence.j> |
| Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED CONFIGURATION CHANGED | ||
| Severity: | Normal | CC: | webkit-bot-watchers-bugzilla, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Mac | ||
| OS: | macOS 10.14 | ||
Jason Lawrence
http/tests/security/clipboard/copy-paste-html-cross-origin-iframe-across-origin.html
Description:
This test is flaky failing on Mac wk1. The flaky failures go back to November 2019.
History:
https://results.webkit.org/?suite=layout-tests&test=http%2Ftests%2Fsecurity%2Fclipboard%2Fcopy-paste-html-cross-origin-iframe-across-origin.html&platform=mac&version_name=Catalina&version_name=Mojave&flavor=wk1&limit=50000
Diff:
--- /Volumes/Data/slave/mojave-debug-tests-wk1/build/layout-test-results/http/tests/security/clipboard/copy-paste-html-cross-origin-iframe-across-origin-expected.txt
+++ /Volumes/Data/slave/mojave-debug-tests-wk1/build/layout-test-results/http/tests/security/clipboard/copy-paste-html-cross-origin-iframe-across-origin-actual.txt
@@ -1,7 +1,3 @@
-CONSOLE MESSAGE: line 1: Blocked a frame with origin "http://localhost:8000" from accessing a frame with origin "http://127.0.0.1:8000". Protocols, domains, and ports must match.
-CONSOLE MESSAGE: line 1: Blocked a frame with origin "http://localhost:8000" from accessing a frame with origin "http://localhost:8080". Protocols, domains, and ports must match.
-CONSOLE MESSAGE: line 1: Blocked a frame with origin "http://localhost:8000" from accessing a frame with origin "http://127.0.0.1:8000". Protocols, domains, and ports must match.
-CONSOLE MESSAGE: line 1: Blocked a frame with origin "http://localhost:8000" from accessing a frame with origin "http://localhost:8080". Protocols, domains, and ports must match.
This tests copying and pasting HTML by the default action. WebKit should sanitize the HTML across origin.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
@@ -15,24 +11,11 @@
PASS new URL(fragment.querySelector(".cross-origin-frame").src).protocol is "http:"
PASS new URL(fragment.querySelector(".same-origin-frame-with-data-url").src).protocol is "http:"
PASS new URL(fragment.querySelector(".cross-origin-frame-with-data-url").src).protocol is "http:"
-PASS frames.length is 4
-PASS new URL(frames[0].src).protocol is "http:"
-PASS frames[0].canAccessContentDocument is false
-PASS new URL(frames[0].imageSrc).protocol is "http:"
-PASS frames[0].imageWidth is 80
-PASS new URL(frames[1].src).protocol is "http:"
-PASS frames[1].canAccessContentDocument is false
-PASS new URL(frames[1].imageSrc).protocol is "http:"
-PASS frames[1].imageWidth is 80
-PASS new URL(frames[2].src).protocol is "http:"
-PASS frames[2].canAccessContentDocument is false
-PASS new URL(frames[2].imageSrc).protocol is "data:"
-PASS frames[2].imageWidth is 10
-PASS new URL(frames[3].src).protocol is "http:"
-PASS frames[3].canAccessContentDocument is false
-PASS new URL(frames[3].imageSrc).protocol is "data:"
-PASS frames[3].imageWidth is 10
PASS successfullyParsed is true
TEST COMPLETE
+Copy
+hello,
+
+
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/60514527>
Jason Lawrence
I have marked this test as failing while this issue is investigated.
https://trac.webkit.org/changeset/258526/webkit
Jason Lawrence
This test is passing consistently now. I have removed the expectations here: https://trac.webkit.org/changeset/261318/webkit