[SCM] WebKit Debian packaging branch, webkit-1.2, updated. upstream/1.1.90-6072-g9a69373

eric at webkit.org eric at webkit.org
Thu Apr 8 00:51:51 UTC 2010


The following commit has been merged in the webkit-1.2 branch:
commit 42e06a00b7ea4d03af9ec5f9400886ea6ed7ac31
Author: eric at webkit.org <eric at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Dec 30 00:48:13 2009 +0000

    2009-12-29  Adam Barth  <abarth at webkit.org>
    
            Reviewed by Sam Weinig.
    
            Add a test for window.top and isolated worlds
            https://bugs.webkit.org/show_bug.cgi?id=33030
    
            I wrote this test to investigate an issue that turns out is working
            properly.  No sense wasting a perfectly good test, so we should add it.
    
            * http/tests/security/isolatedWorld/top-properties-expected.txt: Added.
            * http/tests/security/isolatedWorld/top-properties.html: Added.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52638 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index f28a9c6..00c2a55 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,16 @@
+2009-12-29  Adam Barth  <abarth at webkit.org>
+
+        Reviewed by Sam Weinig.
+
+        Add a test for window.top and isolated worlds
+        https://bugs.webkit.org/show_bug.cgi?id=33030
+
+        I wrote this test to investigate an issue that turns out is working
+        properly.  No sense wasting a perfectly good test, so we should add it.
+
+        * http/tests/security/isolatedWorld/top-properties-expected.txt: Added.
+        * http/tests/security/isolatedWorld/top-properties.html: Added.
+
 2009-12-29  Csaba Osztrogonác  <ossy at webkit.org>
 
         Rubber-stamped by Simon Hausmann.
diff --git a/LayoutTests/http/tests/security/isolatedWorld/body-properties-expected.txt b/LayoutTests/http/tests/security/isolatedWorld/top-properties-expected.txt
similarity index 100%
copy from LayoutTests/http/tests/security/isolatedWorld/body-properties-expected.txt
copy to LayoutTests/http/tests/security/isolatedWorld/top-properties-expected.txt
diff --git a/LayoutTests/http/tests/security/isolatedWorld/top-properties.html b/LayoutTests/http/tests/security/isolatedWorld/top-properties.html
new file mode 100644
index 0000000..ab73355
--- /dev/null
+++ b/LayoutTests/http/tests/security/isolatedWorld/top-properties.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<body>
+<div id="console"></div>
+<script>
+top.foo = "FAIL: Visible in isolated world.";
+if (window.layoutTestController) {
+  layoutTestController.dumpAsText();
+  layoutTestController.evaluateScriptInIsolatedWorld(
+    0,
+    "document.getElementById('console').innerHTML = top.foo");
+}
+</script>
+</body>
+</html>

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list