Bug 81500

Summary: REGRESSION (r111096-r111098): http/tests/security/cross-frame-access-call.html, http/tests/security/cross-frame-access-get.html failing on GTK Linux 64-bit Release
Product: WebKit Reporter: Philippe Normand <pnormand@igalia.com>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned@lists.webkit.org>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: abarth@webkit.org
Priority: P2 Keywords: LayoutTestFailure, MakingBotsRed, Regression
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
URL: http://build.webkit.org/results/GTK%20Linux%2064-bit%20Release/r111098%20(20186)/results.html

Description From 2012-03-19 00:57:48 PST
http/tests/security/cross-frame-access-call.html and http/tests/security/cross-frame-access-get.html started failing on GTK Linux 64-bit Release between r111097 and r111098 (inclusive).

http://trac.webkit.org/log/trunk?rev=111098&stop_rev=111097&limit=3

http://build.webkit.org/results/GTK%20Linux%2064-bit%20Release/r111096%20(20185)/results.html passed
http://build.webkit.org/results/GTK%20Linux%2064-bit%20Release/r111098%20(20186)/results.html failed

http/tests/security/cross-frame-access-call.html still seems too specific to V8:

--- /home/slave/webkitgtk/gtk-linux-64-release/build/layout-test-results/http/tests/security/cross-frame-access-call-expected.txt 
+++ /home/slave/webkitgtk/gtk-linux-64-release/build/layout-test-results/http/tests/security/cross-frame-access-call-actual.txt 
@@ -1,5 +1,3 @@
-CONSOLE MESSAGE: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-get-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-call.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-get-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-call.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-get-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-call.html. Domains, protocols and ports must match.
@@ -84,7 +82,7 @@
 PASS: window.moveTo.call(targetWindow, 0, 0); should be 'undefined' and is.
 PASS: window.resizeBy.call(targetWindow, 0, 0); should be 'undefined' and is.
 PASS: window.resizeTo.call(targetWindow, 0, 0); should be 'undefined' and is.
-PASS: window.showModalDialog.call(targetWindow); should be 'undefined' and is.
+*** FAIL: window.showModalDialog.call(targetWindow); should be 'undefined' but instead is TypeError: 'undefined' is not an object (evaluating 'window.showModalDialog.call'). ***
 PASS: window.eval.call(targetWindow, '1+2'); should be 'EvalError: The "this" value passed to eval must be the global object from which eval originated' and is.
 PASS: window.location.toString.call(targetWindow.location) should be 'undefined' and is.

I'll skip those two tests in GTK for now.
------- Comment #1 From 2012-03-19 00:58:41 PST -------
> http/tests/security/cross-frame-access-call.html still seems too specific to V8:

Do you mean the test itself or the expected results?
------- Comment #2 From 2012-03-19 01:15:03 PST -------
Well those 2 tests would need specific baselines (for the missing console messages) and once we implement showModalDialog (from bug 53600) we can unskip the tests.

*** This bug has been marked as a duplicate of bug 53600 ***