Title: [164040] trunk/LayoutTests
Revision
164040
Author
[email protected]
Date
2014-02-13 10:52:26 -0800 (Thu, 13 Feb 2014)

Log Message

IDB: TestExpectations batch - HTTP tests

Unreviewed.

* http/tests/security/cross-origin-indexeddb-allowed-expected.txt:
* http/tests/security/cross-origin-indexeddb-expected.txt:
* http/tests/security/resources/cross-origin-iframe-for-indexeddb.html:

* platform/mac-wk2/TestExpectations: Two of the http tests are worker tests. They remain skipped.
  The other three pass with test updates.

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (164039 => 164040)


--- trunk/LayoutTests/ChangeLog	2014-02-13 18:45:09 UTC (rev 164039)
+++ trunk/LayoutTests/ChangeLog	2014-02-13 18:52:26 UTC (rev 164040)
@@ -1,3 +1,16 @@
+2014-02-13  Brady Eidson  <[email protected]>
+
+        IDB: TestExpectations batch - HTTP tests
+
+        Unreviewed.
+
+        * http/tests/security/cross-origin-indexeddb-allowed-expected.txt:
+        * http/tests/security/cross-origin-indexeddb-expected.txt:
+        * http/tests/security/resources/cross-origin-iframe-for-indexeddb.html:
+
+        * platform/mac-wk2/TestExpectations: Two of the http tests are worker tests. They remain skipped.
+          The other three pass with test updates.
+
 2014-02-13  László Langó  <[email protected]>
 
         Document should be constructable

Modified: trunk/LayoutTests/http/tests/security/cross-origin-indexeddb-allowed-expected.txt (164039 => 164040)


--- trunk/LayoutTests/http/tests/security/cross-origin-indexeddb-allowed-expected.txt	2014-02-13 18:45:09 UTC (rev 164039)
+++ trunk/LayoutTests/http/tests/security/cross-origin-indexeddb-allowed-expected.txt	2014-02-13 18:52:26 UTC (rev 164040)
@@ -5,15 +5,13 @@
 --------
 Frame: '<!--framePath //<!--frame0-->-->'
 --------
-Successfully called window.webkitIndexedDB.deleteDatabase().
-Successfully called window.webkitIndexedDB.open().
-Successfully called window.webkitIndexedDB.webkitGetDatabaseNames().
+Successfully called window.indexedDB.deleteDatabase().
+Successfully called window.indexedDB.open().
 
 
 --------
 Frame: '<!--framePath //<!--frame1-->-->'
 --------
-Successfully called window.webkitIndexedDB.deleteDatabase().
-Successfully called window.webkitIndexedDB.open().
-Successfully called window.webkitIndexedDB.webkitGetDatabaseNames().
+Successfully called window.indexedDB.deleteDatabase().
+Successfully called window.indexedDB.open().
 

Modified: trunk/LayoutTests/http/tests/security/cross-origin-indexeddb-expected.txt (164039 => 164040)


--- trunk/LayoutTests/http/tests/security/cross-origin-indexeddb-expected.txt	2014-02-13 18:45:09 UTC (rev 164039)
+++ trunk/LayoutTests/http/tests/security/cross-origin-indexeddb-expected.txt	2014-02-13 18:52:26 UTC (rev 164040)
@@ -5,15 +5,13 @@
 --------
 Frame: '<!--framePath //<!--frame0-->-->'
 --------
-window.webkitIndexedDB.deleteDatabase() threw an exception: SecurityError
-window.webkitIndexedDB.open() threw an exception: SecurityError
-window.webkitIndexedDB.webkitGetDatabaseNames() threw an exception: SecurityError
+window.indexedDB.deleteDatabase() threw an exception: SecurityError
+window.indexedDB.open() threw an exception: SecurityError
 
 
 --------
 Frame: '<!--framePath //<!--frame1-->-->'
 --------
-Successfully called window.webkitIndexedDB.deleteDatabase().
-Successfully called window.webkitIndexedDB.open().
-Successfully called window.webkitIndexedDB.webkitGetDatabaseNames().
+Successfully called window.indexedDB.deleteDatabase().
+Successfully called window.indexedDB.open().
 

Modified: trunk/LayoutTests/http/tests/security/resources/cross-origin-iframe-for-indexeddb.html (164039 => 164040)


--- trunk/LayoutTests/http/tests/security/resources/cross-origin-iframe-for-indexeddb.html	2014-02-13 18:45:09 UTC (rev 164039)
+++ trunk/LayoutTests/http/tests/security/resources/cross-origin-iframe-for-indexeddb.html	2014-02-13 18:52:26 UTC (rev 164040)
@@ -6,15 +6,14 @@
     <script>
         function test(method, args) {
             try {
-                var request = window.webkitIndexedDB[method].call(window.webkitIndexedDB, args);
-                document.write('Successfully called window.webkitIndexedDB.' + method + '().<br>');
+                var request = window.indexedDB[method].call(window.indexedDB, args);
+                document.write('Successfully called window.indexedDB.' + method + '().<br>');
             } catch (exception) {
-                document.write('window.webkitIndexedDB.' + method + '() threw an exception: ' + exception.name + '<br>');
+                document.write('window.indexedDB.' + method + '() threw an exception: ' + exception.name + '<br>');
             }
         }
         test('deleteDatabase', 'testDBName');
         test('open', 'testDBName');
-        test('webkitGetDatabaseNames');
     </script>
 </body>
 </head>

Modified: trunk/LayoutTests/platform/mac-wk2/TestExpectations (164039 => 164040)


--- trunk/LayoutTests/platform/mac-wk2/TestExpectations	2014-02-13 18:45:09 UTC (rev 164039)
+++ trunk/LayoutTests/platform/mac-wk2/TestExpectations	2014-02-13 18:52:26 UTC (rev 164040)
@@ -457,11 +457,6 @@
 # Eventually we list only the failing tests here.
 # But for now we'll disable the entire directory then re-enable known passing tests.
 storage/indexeddb [ Skip ]
-http/tests/security/cross-origin-indexeddb-allowed.html [ Skip ]
-http/tests/security/cross-origin-indexeddb.html [ Skip ]
-http/tests/security/cross-origin-worker-indexeddb-allowed.html [ Skip ]
-http/tests/security/cross-origin-worker-indexeddb.html [ Skip ]
-http/tests/security/no-indexeddb-from-sandbox.html [ Skip ]
 
 # All mozilla tests except for 1 pass.
 storage/indexeddb/mozilla [ Pass ]
@@ -679,6 +674,8 @@
 storage/indexeddb/pending-version-change-stuck.html [ Skip ]
 storage/indexeddb/transaction-complete-workers.html [ Skip ]
 storage/indexeddb/unprefix-workers.html [ Skip ]
+http/tests/security/cross-origin-worker-indexeddb-allowed.html [ Skip ]
+http/tests/security/cross-origin-worker-indexeddb.html [ Skip ]
 
 ### END OF (5) IndexedDB related failures
 ########################################
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to