RESOLVED FIXED 78093
[Qt] New http/tests/security/ introduced r107046 fail
https://bugs.webkit.org/show_bug.cgi?id=78093
Summary [Qt] New http/tests/security/ introduced r107046 fail
Ádám Kallai
Reported 2012-02-08 02:39:15 PST
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
Kentaro Hara
Comment 1 2012-02-08 02:45:56 PST
(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
Comment 2 2012-02-08 03:17:34 PST
> 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
Comment 3 2012-02-08 08:33:58 PST
Note You need to log in before you can comment on or make changes to this bug.