Bug 1342144 - Restore test_getFileId.html and stop using legacy generators in the test. r=jaws
authorMasatoshi Kimura <VYV03354@nifty.ne.jp>
Fri, 24 Feb 2017 19:41:59 +0900
changeset 373979 bf792b35653d5193f396c55abe386f9a57c53749
parent 373978 afe09cddd8d30b7c40d6a7fd3c2f199646a952f0
child 373980 180fe1126e507342ebfa2b17dc1112e1ca19f82e
push id10863
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 23:02:23 +0000
treeherdermozilla-aurora@0931190cd725 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws
bugs1342144, 994190
milestone54.0a1
Bug 1342144 - Restore test_getFileId.html and stop using legacy generators in the test. r=jaws I guess bug 994190 accidentally removed this test from mochitest.ini. MozReview-Commit-ID: FeqJY5V0GXH
dom/indexedDB/test/mochitest.ini
dom/indexedDB/test/test_getFileId.html
--- a/dom/indexedDB/test/mochitest.ini
+++ b/dom/indexedDB/test/mochitest.ini
@@ -186,16 +186,17 @@ skip-if = e10s && os == 'win' && os_vers
 [test_filehandle_serialization.html]
 [test_filehandle_store_snapshot.html]
 [test_filehandle_stream_tracking.html]
 [test_filehandle_success_events_after_abort.html]
 [test_filehandle_truncate.html]
 [test_filehandle_workers.html]
 [test_filehandle_write_read_data.html]
 [test_getAll.html]
+[test_getFileId.html]
 [test_globalObjects_content.html]
 [test_global_data.html]
 [test_index_empty_keyPath.html]
 [test_index_getAll.html]
 [test_index_getAllObjects.html]
 [test_index_object_cursors.html]
 [test_index_update_delete.html]
 [test_indexes.html]
--- a/dom/indexedDB/test/test_getFileId.html
+++ b/dom/indexedDB/test/test_getFileId.html
@@ -5,17 +5,17 @@
 <html>
 <head>
   <title>File Handle Test</title>
 
   <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
 
   <script type="text/javascript">
-  function testSteps()
+  function* testSteps()
   {
     let id = getFileId(null);
     ok(id == -1, "Correct id");
 
     id = getFileId(getRandomBlob(100));
     ok(id == -1, "Correct id");
 
     finishTest();