Bug 78093
Summary: | [Qt] New http/tests/security/ introduced r107046 fail | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ádám Kallai <kadam> |
Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | abarth, haraken, ossy |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Ádám Kallai
This test is failing on qt and gtk bots.
--- /ramdisk/qt-linux-release/build/layout-test-results/http/tests/security/cross-frame-access-put-expected.txt
+++ /ramdisk/qt-linux-release/build/layout-test-results/http/tests/security/cross-frame-access-put-actual.txt
@@ -1,3 +1,5 @@
+CONSOLE MESSAGE: Unsafe JavaScript attempt to access frame with URL http://127.0.0.1:8000/security/cross-frame-access-put.html from frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-put-test.html. Domains, protocols and ports must match.
+
CONSOLE MESSAGE: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-put-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-put.html. Domains, protocols and ports must match.
CONSOLE MESSAGE: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-put-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-put.html. Domains, protocols and ports must match.
@@ -473,7 +475,9 @@
ALERT: PASS: window.document should be '[object HTMLDocument]' and is.
ALERT: PASS: window.embeds should be 'undefined' and is.
ALERT: PASS: window.event should be 'undefined' and is.
-ALERT: PASS: window.frameElement should be '[object HTMLIFrameElement]' and is.
+CONSOLE MESSAGE: Unsafe JavaScript attempt to access frame with URL http://127.0.0.1:8000/security/cross-frame-access-put.html from frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-put-test.html. Domains, protocols and ports must match.
+
+ALERT: PASS: window.frameElement should be 'undefined' and is.
ALERT: PASS: window.frames should be '[object DOMWindow]' and is.
ALERT: PASS: window.history should be '[object History]' and is.
ALERT: PASS: window.images should be 'undefined' and is.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Kentaro Hara
(In reply to comment #0)
> This test is failing on qt and gtk bots.
>
> --- /ramdisk/qt-linux-release/build/layout-test-results/http/tests/security/cross-frame-access-put-expected.txt
> +++ /ramdisk/qt-linux-release/build/layout-test-results/http/tests/security/cross-frame-access-put-actual.txt
> @@ -1,3 +1,5 @@
> +CONSOLE MESSAGE: Unsafe JavaScript attempt to access frame with URL http://127.0.0.1:8000/security/cross-frame-access-put.html from frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-put-test.html. Domains, protocols and ports must match.
> +
> CONSOLE MESSAGE: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-put-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-put.html. Domains, protocols and ports must match.
>
> CONSOLE MESSAGE: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-put-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-put.html. Domains, protocols and ports must match.
> @@ -473,7 +475,9 @@
> ALERT: PASS: window.document should be '[object HTMLDocument]' and is.
> ALERT: PASS: window.embeds should be 'undefined' and is.
> ALERT: PASS: window.event should be 'undefined' and is.
> -ALERT: PASS: window.frameElement should be '[object HTMLIFrameElement]' and is.
> +CONSOLE MESSAGE: Unsafe JavaScript attempt to access frame with URL http://127.0.0.1:8000/security/cross-frame-access-put.html from frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-put-test.html. Domains, protocols and ports must match.
> +
> +ALERT: PASS: window.frameElement should be 'undefined' and is.
> ALERT: PASS: window.frames should be '[object DOMWindow]' and is.
> ALERT: PASS: window.history should be '[object History]' and is.
> ALERT: PASS: window.images should be 'undefined' and is.
It appears that the new result is correct. (We rebaselined the test in AppleWebKit and Chromium.) I'll mark the test as SKIP in qt and gtk, so would you rebaseline it?
Kentaro Hara
> It appears that the new result is correct. (We rebaselined the test in AppleWebKit and Chromium.) I'll mark the test as SKIP in qt and gtk, so would you rebaseline it?
Added the test to qt/Skipped and gtk/Skipped: http://trac.webkit.org/changeset/107063
Csaba Osztrogonác
Fix landed in http://trac.webkit.org/changeset/107075