Bug 1449855 [wpt PR 10235] - Remove create_file_system_file(), a=testonly
authorKenichi Ishibashi <bashi@chromium.org>
Mon, 09 Apr 2018 18:28:00 +0000
changeset 467218 401a409dbc6b6ec3162295ec2f386a3dba07feb2
parent 467217 bad9ac026d7c2217104baa32a6616b2752f14c9e
child 467219 23a816b216b1f8af2028d89f490309e64f0dd2f9
push id9165
push userasasaki@mozilla.com
push dateThu, 26 Apr 2018 21:04:54 +0000
treeherdermozilla-beta@064c3804de2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1449855, 10235, 658997, 402387, 984919, 546765
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1449855 [wpt PR 10235] - Remove create_file_system_file(), a=testonly Automatic update from web-platform-testsRemove create_file_system_file() This function isn't used. Bug: 658997,402387 Change-Id: I01d751dfebaafd1580beaeb12ebcd124df132b26 Reviewed-on: https://chromium-review.googlesource.com/984919 Commit-Queue: Kenichi Ishibashi <bashi@chromium.org> Reviewed-by: Matt Falkenhagen <falken@chromium.org> Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> Cr-Commit-Position: refs/heads/master@{#546765} wpt-commits: a87d0554fa57fcb63a689971fbe13177e6ff030a wpt-pr: 10235 wpt-commits: a87d0554fa57fcb63a689971fbe13177e6ff030a wpt-pr: 10235
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/service-workers/service-worker/resources/fetch-request-xhr-iframe.https.html
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -594881,17 +594881,17 @@
    "95bcbc6a2f4560788f77fa717fa06d7d018d99c6",
    "support"
   ],
   "service-workers/service-worker/resources/fetch-request-resources-worker.js": [
    "4512140fe37ffd78086f54c6b0f6213675c0d74f",
    "support"
   ],
   "service-workers/service-worker/resources/fetch-request-xhr-iframe.https.html": [
-   "2879ba75fc0135aa9220f5eb5d7e00b8bcf1cbcc",
+   "4d7489b889c98bd66b40369e2d4ed56355ada6ae",
    "support"
   ],
   "service-workers/service-worker/resources/fetch-request-xhr-sync-iframe.html": [
    "a168a0326207e734f0229d49cce12af9a37e81ec",
    "support"
   ],
   "service-workers/service-worker/resources/fetch-request-xhr-sync-worker.js": [
    "fe1386a87464c16d62e23eb102b25891960e7209",
--- a/testing/web-platform/tests/service-workers/service-worker/resources/fetch-request-xhr-iframe.https.html
+++ b/testing/web-platform/tests/service-workers/service-worker/resources/fetch-request-xhr-iframe.https.html
@@ -14,34 +14,16 @@ function get_boundary(headers) {
     if (!regResult) {
       continue;
     }
     return regResult[1];
   }
   return '';
 }
 
-function create_file_system_file(file_name, data) {
-  return new Promise(function(resolve, reject) {
-      webkitRequestFileSystem(TEMPORARY, 1024, function(fs) {
-          fs.root.getFile(
-            file_name, {create: true, exclusive: true},
-            function(fileEntry) {
-              fileEntry.createWriter(function(fileWriter) {
-                  fileWriter.onwriteend = function(e) {
-                    fileEntry.file(function(file) { resolve(file); });
-                  };
-                  var blob = new Blob([data], {type: 'text/plain'});
-                  fileWriter.write(blob);
-                });
-            }, function(e) { reject(e); });
-        }, function(e) { reject(e); });
-    });
-}
-
 function xhr_send(url_base, method, data, with_credentials) {
   return new Promise(function(resolve, reject) {
       var xhr = new XMLHttpRequest();
       xhr.onload = function() {
         resolve(JSON.parse(xhr.response));
       };
       xhr.onerror = function() {
         reject('XHR should succeed.');