Bug 68428
Summary: | [JSC]Two tests fails after r95489 & r95488 | ||
---|---|---|---|
Product: | WebKit | Reporter: | Renata Hodovan <rhodovan.u-szeged> |
Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Critical | CC: | abarth, eric, ossy, rniwa |
Priority: | P1 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Renata Hodovan
Failed tests are:
http/tests/security/window-named-proto.html
http/tests/security/document-all.html
http/tests/security/window-named-proto.html:
--- /home/reni/repos/WebKit-gardening/WebKit-git/WebKitBuild/Release/layout-test-results/http/tests/security/window-named-proto-expected.txt
+++ /home/reni/repos/WebKit-gardening/WebKit-git/WebKitBuild/Release/layout-test-results/http/tests/security/window-named-proto-actual.txt
@@ -1,4 +1,2 @@
-CONSOLE MESSAGE: line 1: Unsafe JavaScript attempt to access frame with URL http://localhost:8080/security/resources/innocent-victim-with-iframe.html from frame with URL data:text/html,<script>(function () { setTimeout(function() { if (window.layoutTestController) layoutTestController.notifyDone(); }, 0); window.name = "__proto__"; parent.__proto__.alert.constructor("alert(document.body.innerHTML)")(); })()</script>. Domains, protocols and ports must match.
+CONSOLE MESSAGE: line 1: TypeError: 'null' is not an object (evaluating 'document.body.innerHTML')
-CONSOLE MESSAGE: line 1: Uncaught TypeError: Cannot read property 'alert' of undefined
-
http/tests/security/document-all.html:
--- /home/reni/repos/WebKit-gardening/WebKit-git/WebKitBuild/Release/layout-test-results/http/tests/security/document-all-expected.txt
+++ /home/reni/repos/WebKit-gardening/WebKit-git/WebKitBuild/Release/layout-test-results/http/tests/security/document-all-actual.txt
@@ -1,2 +1,2 @@
-CONSOLE MESSAGE: line 1: Uncaught TypeError: Illegal constructor
+CONSOLE MESSAGE: line 1: TypeError: '[object DOMWindowConstructor]' is not a function (evaluating 'obj.alert.constructor("return document.body.innerHTML")')
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Adam Barth
Those results are fine. These tests just need different baselines for JSC and V8.
Adam Barth
http/tests/security/document-all.html has the same problem.
Csaba Osztrogonác
Qt (JSC) specific expected files landed in http://trac.webkit.org/changeset/95529
Ryosuke Niwa
Committed r97001: <http://trac.webkit.org/changeset/97001>