Changeset 49321 in webkit
- Timestamp:
- Oct 8, 2009 2:27:58 PM (15 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 22 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r49312 r49321 1 2009-10-08 Aaron Boodman <aa@chromium.org> 2 3 Reviewed by Eric Seidel. 4 5 r49278 added support for reusing isolated worlds, and the 6 corresponding change to Chromium's LayoutTestController changed 7 to expect two arguments. The first argument is the world that 8 the script should run in. 9 10 This change fixes the tests by updating them all to pass 0 11 for the world id. The specific world id used for these tests 12 doesn't really matter because they don't test world interaction. 13 14 https://bugs.webkit.org/show_bug.cgi?id=30231 15 16 * http/tests/security/isolatedWorld/all-window-properties.html: 17 * http/tests/security/isolatedWorld/all-window-prototypes.html: 18 * http/tests/security/isolatedWorld/body-properties.html: 19 * http/tests/security/isolatedWorld/body-prototype.html: 20 * http/tests/security/isolatedWorld/click-event.html: 21 * http/tests/security/isolatedWorld/document-open.html: 22 * http/tests/security/isolatedWorld/document-properties.html: 23 * http/tests/security/isolatedWorld/document-prototype.html: 24 * http/tests/security/isolatedWorld/global-variables.html: 25 * http/tests/security/isolatedWorld/image-properties.html: 26 * http/tests/security/isolatedWorld/image-prototype.html: 27 * http/tests/security/isolatedWorld/location-properties.html: 28 * http/tests/security/isolatedWorld/location-prototype.html: 29 * http/tests/security/isolatedWorld/number-prototype.html: 30 * http/tests/security/isolatedWorld/object-prototype.html: 31 * http/tests/security/isolatedWorld/storage-properties.html: 32 * http/tests/security/isolatedWorld/storage-prototype.html: 33 * http/tests/security/isolatedWorld/string-prototype.html: 34 * http/tests/security/isolatedWorld/window-properties.html: 35 * http/tests/security/isolatedWorld/window-setTimeout-function.html: 36 * http/tests/security/isolatedWorld/window-setTimeout-string.html: 37 1 38 2009-10-08 Nikolas Zimmermann <nzimmermann@rim.com> 2 39 -
trunk/LayoutTests/http/tests/security/isolatedWorld/all-window-properties.html
r47809 r49321 14 14 layoutTestController.dumpAsText(); 15 15 layoutTestController.evaluateScriptInIsolatedWorld( 16 0, 16 17 "(function() {\n" + 17 18 " for (p in window) {\n" + -
trunk/LayoutTests/http/tests/security/isolatedWorld/all-window-prototypes.html
r46794 r49321 13 13 layoutTestController.dumpAsText(); 14 14 layoutTestController.evaluateScriptInIsolatedWorld( 15 0, 15 16 "(function() {\n" + 16 17 " for (p in window) {\n" + -
trunk/LayoutTests/http/tests/security/isolatedWorld/body-properties.html
r46794 r49321 8 8 layoutTestController.dumpAsText(); 9 9 layoutTestController.evaluateScriptInIsolatedWorld( 10 0, 10 11 "document.getElementById('console').innerHTML = document.body.foo"); 11 12 } -
trunk/LayoutTests/http/tests/security/isolatedWorld/body-prototype.html
r46794 r49321 8 8 layoutTestController.dumpAsText(); 9 9 layoutTestController.evaluateScriptInIsolatedWorld( 10 0, 10 11 "document.getElementById('console').innerHTML = document.body.foo"); 11 12 } -
trunk/LayoutTests/http/tests/security/isolatedWorld/click-event.html
r46794 r49321 16 16 if (window.layoutTestController) { 17 17 layoutTestController.dumpAsText(); 18 layoutTestController.evaluateScriptInIsolatedWorld( document.getElementById('isolatedScript').innerHTML);18 layoutTestController.evaluateScriptInIsolatedWorld(0, document.getElementById('isolatedScript').innerHTML); 19 19 } 20 20 </script> -
trunk/LayoutTests/http/tests/security/isolatedWorld/document-open.html
r46794 r49321 8 8 layoutTestController.dumpAsText(); 9 9 layoutTestController.evaluateScriptInIsolatedWorld( 10 0, 10 11 "window.open = function () { alert('PASS'); };\n" + 11 12 "document.open(1, 2, 3);"); -
trunk/LayoutTests/http/tests/security/isolatedWorld/document-properties.html
r46794 r49321 8 8 layoutTestController.dumpAsText(); 9 9 layoutTestController.evaluateScriptInIsolatedWorld( 10 0, 10 11 "document.getElementById('console').innerHTML = document.foo"); 11 12 } -
trunk/LayoutTests/http/tests/security/isolatedWorld/document-prototype.html
r46794 r49321 8 8 layoutTestController.dumpAsText(); 9 9 layoutTestController.evaluateScriptInIsolatedWorld( 10 0, 10 11 "document.getElementById('console').innerHTML = document.foo"); 11 12 } -
trunk/LayoutTests/http/tests/security/isolatedWorld/global-variables.html
r46794 r49321 8 8 layoutTestController.dumpAsText(); 9 9 layoutTestController.evaluateScriptInIsolatedWorld( 10 0, 10 11 "document.getElementById('console').innerHTML = window.foo"); 11 12 } -
trunk/LayoutTests/http/tests/security/isolatedWorld/image-properties.html
r46794 r49321 8 8 layoutTestController.dumpAsText(); 9 9 layoutTestController.evaluateScriptInIsolatedWorld( 10 0, 10 11 "document.getElementById('console').innerHTML = Image.foo"); 11 12 } -
trunk/LayoutTests/http/tests/security/isolatedWorld/image-prototype.html
r46794 r49321 8 8 layoutTestController.dumpAsText(); 9 9 layoutTestController.evaluateScriptInIsolatedWorld( 10 0, 10 11 "document.getElementById('console').innerHTML = Image.foo"); 11 12 } -
trunk/LayoutTests/http/tests/security/isolatedWorld/location-properties.html
r46794 r49321 8 8 layoutTestController.dumpAsText(); 9 9 layoutTestController.evaluateScriptInIsolatedWorld( 10 0, 10 11 "document.getElementById('console').innerHTML = location.foo"); 11 12 } -
trunk/LayoutTests/http/tests/security/isolatedWorld/location-prototype.html
r46794 r49321 8 8 layoutTestController.dumpAsText(); 9 9 layoutTestController.evaluateScriptInIsolatedWorld( 10 0, 10 11 "document.getElementById('console').innerHTML = location.foo"); 11 12 } -
trunk/LayoutTests/http/tests/security/isolatedWorld/number-prototype.html
r46794 r49321 8 8 layoutTestController.dumpAsText(); 9 9 layoutTestController.evaluateScriptInIsolatedWorld( 10 0, 10 11 "document.getElementById('console').innerHTML = (42).foo"); 11 12 } -
trunk/LayoutTests/http/tests/security/isolatedWorld/object-prototype.html
r46794 r49321 8 8 layoutTestController.dumpAsText(); 9 9 layoutTestController.evaluateScriptInIsolatedWorld( 10 0, 10 11 "document.getElementById('console').innerHTML = {}.foo"); 11 12 } -
trunk/LayoutTests/http/tests/security/isolatedWorld/storage-properties.html
r47809 r49321 11 11 layoutTestController.dumpAsText(); 12 12 layoutTestController.evaluateScriptInIsolatedWorld( 13 0, 13 14 "document.getElementById('console').innerHTML = localStorage.foo + ' and ' + sessionStorage.foo"); 14 15 } -
trunk/LayoutTests/http/tests/security/isolatedWorld/storage-prototype.html
r47809 r49321 11 11 layoutTestController.dumpAsText(); 12 12 layoutTestController.evaluateScriptInIsolatedWorld( 13 0, 13 14 "document.getElementById('console').innerHTML = localStorage.foo + ' and ' + sessionStorage.foo"); 14 15 } -
trunk/LayoutTests/http/tests/security/isolatedWorld/string-prototype.html
r46794 r49321 8 8 layoutTestController.dumpAsText(); 9 9 layoutTestController.evaluateScriptInIsolatedWorld( 10 0, 10 11 "document.getElementById('console').innerHTML = ''.foo"); 11 12 } -
trunk/LayoutTests/http/tests/security/isolatedWorld/window-properties.html
r46794 r49321 8 8 layoutTestController.dumpAsText(); 9 9 layoutTestController.evaluateScriptInIsolatedWorld( 10 0, 10 11 "document.getElementById('console').innerHTML = window.foo"); 11 12 } -
trunk/LayoutTests/http/tests/security/isolatedWorld/window-setTimeout-function.html
r48455 r49321 17 17 layoutTestController.waitUntilDone(); 18 18 layoutTestController.evaluateScriptInIsolatedWorld( 19 0, 19 20 "document.foo = 'PASS';\n" + 20 21 "window.func = function () {\n" + -
trunk/LayoutTests/http/tests/security/isolatedWorld/window-setTimeout-string.html
r48455 r49321 17 17 layoutTestController.waitUntilDone(); 18 18 layoutTestController.evaluateScriptInIsolatedWorld( 19 0, 19 20 "document.foo = 'PASS';\n" + 20 21 "window.func = function () {\n" +
Note: See TracChangeset
for help on using the changeset viewer.