Log Message
Unreviewed TestExpectations cleanup and a new baseline. * platform/chromium/TestExpectations: * platform/chromium/http/tests/security/sandboxed-iframe-modify-self-expected.txt: Added.
Modified Paths
Added Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (125138 => 125139)
--- trunk/LayoutTests/ChangeLog 2012-08-09 02:05:36 UTC (rev 125138)
+++ trunk/LayoutTests/ChangeLog 2012-08-09 02:09:30 UTC (rev 125139)
@@ -1,3 +1,10 @@
+2012-08-08 Dirk Pranke <[email protected]>
+
+ Unreviewed TestExpectations cleanup and a new baseline.
+
+ * platform/chromium/TestExpectations:
+ * platform/chromium/http/tests/security/sandboxed-iframe-modify-self-expected.txt: Added.
+
2012-08-08 Erik Arvidsson <[email protected]>
Fix invalid test
Modified: trunk/LayoutTests/platform/chromium/TestExpectations (125138 => 125139)
--- trunk/LayoutTests/platform/chromium/TestExpectations 2012-08-09 02:05:36 UTC (rev 125138)
+++ trunk/LayoutTests/platform/chromium/TestExpectations 2012-08-09 02:09:30 UTC (rev 125139)
@@ -2426,40 +2426,17 @@
// Need to figure out why this is slow.
BUGWK60131 SLOW : fast/css/visited-link-hang.html = PASS
-// webkit roll : 84350:84431
-BUGDPRANKE LINUX ANDROID MAC : transitions/interrupt-zero-duration.html = PASS TEXT
-
// pulled in from downstream during webkit roll 84350:84431
BUGCASEQ LINUX ANDROID WIN : fast/forms/input-text-drag-down.html = IMAGE+TEXT
-BUGDPRANKE MAC DEBUG : transitions/cancel-transition.html = PASS TEXT
-
-BUGDPRANKE DEBUG : fast/notifications/notifications-display-close-events.html = PASS TIMEOUT
-
-BUGDPRANKE : http/tests/navigation/lockedhistory-iframe.html = PASS TIMEOUT TEXT
-BUGDPRANKE : fast/parser/iframe-sets-parent-to-_javascript_-url.html = PASS TEXT
-
-BUGDPRANKE WIN DEBUG : http/tests/misc/empty-file-formdata.html = PASS TIMEOUT
-BUGDPRANKE WIN DEBUG : http/tests/xmlhttprequest/access-control-preflight-headers-async.html = PASS TIMEOUT
-
// Introduced in r84443
BUGWK59063 : fast/images/animated-gif-restored-from-bfcache.html = TEXT
-// more failures for triaging, fails on deps bots at least?
-BUGDPRANKE : http/tests/navigation/redirect-on-back-updates-history-item.html = PASS TIMEOUT
-
-BUGDPRANKE : fast/dom/Document/document-reopen.html = PASS TEXT
-BUGDPRANKE : fast/parser/_javascript_-url-compat-mode.html = PASS TEXT
-
BUGWK56702 WIN DEBUG : http/tests/navigation/ping-cross-origin-from-https.html = PASS TIMEOUT
BUGCR86338 : fast/loader/file-protocol-fragment.html = TEXT
BUGCR86340 : fast/filesystem/file-writer-write-overlapped.html = PASS TEXT
-// flakiness on deps bots (noted ~ r83108)
-BUGDPRANKE WIN DEBUG : http/tests/eventsource/eventsource-reconnect.html = PASS TEXT
-BUGDPRANKE WIN : http/tests/navigation/ping-same-origin.html = PASS TIMEOUT TEXT
-
// These seem to be minor differences (used to be debug only, started failing in release since about r116225).
BUGWK60135 SNOWLEOPARD : fast/text/international/thai-line-breaks.html = PASS IMAGE
BUGWK60135 SNOWLEOPARD : fast/text/international/thai-baht-space.html = PASS IMAGE+TEXT
@@ -2477,8 +2454,6 @@
BUGWK60136 WIN : http/tests/xmlviewer/dumpAsText/xmlviewer.xml = PASS TEXT
-BUGDPRANKE DEBUG : http/tests/misc/window-dot-stop.html = PASS TEXT
-
// New test added in r85454. Actual failure.
BUGWK91676 : fast/js/mozilla/strict/assign-to-callee-name.html = TEXT
@@ -3210,10 +3185,6 @@
// broken in/after r115646
BUGWK86414 : fast/loader/_javascript_-url-in-embed.html = TEXT
-BUGDPRANKE : http/tests/security/sandboxed-iframe-modify-self.html = TEXT
-
-BUGDPRANKE MAC : userscripts/user-style-all-frames.html = TEXT PASS
-
// Interferes with the rAF tests that are enabled
BUGWK85689 SKIP : fast/animation/request-animation-frame-disabled.html = TEXT
@@ -3506,3 +3477,9 @@
BUGWK93247 DEBUG : fast/lists/list-marker-remove-crash.html = CRASH
+
+BUGWK93565 DEBUG : fast/dom/Document/document-reopen.html = PASS TEXT
+BUGWK93566 DEBUG : fast/parser/iframe-sets-parent-to-_javascript_-url.html = PASS TEXT
+BUGWK93567 DEBUG : fast/parser/_javascript_-url-compat-mode.html = PASS TEXT
+BUGWK93569 DEBUG : http/tests/navigation/lockedhistory-iframe.html = PASS TIMEOUT TEXT
+BUGWK93568 DEBUG : http/tests/misc/window-dot-stop.html = PASS TEXT
Added: trunk/LayoutTests/platform/chromium/http/tests/security/sandboxed-iframe-modify-self-expected.txt (0 => 125139)
--- trunk/LayoutTests/platform/chromium/http/tests/security/sandboxed-iframe-modify-self-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/chromium/http/tests/security/sandboxed-iframe-modify-self-expected.txt 2012-08-09 02:09:30 UTC (rev 125139)
@@ -0,0 +1,13 @@
+CONSOLE MESSAGE: Unsafe _javascript_ attempt to initiate a navigation change for frame with URL http://127.0.0.1:8000/security/sandboxed-iframe-form-top.html from frame with URL http://127.0.0.1:8000/security/resources/sandboxed-iframe-form-top.html.
+
+CONSOLE MESSAGE: Unsafe _javascript_ attempt to access frame with URL http://127.0.0.1:8000/security/sandboxed-iframe-modify-self.html from frame with URL http://127.0.0.1:8000/security/resources/sandboxed-iframe-modify-self.html. Domains, protocols and ports must match.
+
+This is a "sanity" test case to verify that a sandboxed frame cannot break out of its sandbox by modifying its own sandbox attribute. Two attempts are made:
+
+First, an attempt is made to modify the sandbox attribute of the "self" object, referring to the frame's window. This should not have any effect (the attribute is associated with the iframe DOM node, not the window). No warning is expected.
+Second, an attempt is made to modify the iframe DOM object's sandbox attribute. A warning message (about cross-site scripting) is expected, and the sandbox attribute should remain intact.
+This test will print "PASS" on success.
+
+PASS
+
+
_______________________________________________ webkit-changes mailing list [email protected] http://lists.webkit.org/mailman/listinfo/webkit-changes
