| Index: content/test/data/service_worker/fetch_event_blob.js
|
| diff --git a/build/android/pylib/remote/device/dummy/src/org/chromium/dummy/Dummy.java b/content/test/data/service_worker/fetch_event_blob.js
|
| similarity index 51%
|
| copy from build/android/pylib/remote/device/dummy/src/org/chromium/dummy/Dummy.java
|
| copy to content/test/data/service_worker/fetch_event_blob.js
|
| index 1281b39586e399c3103b5f2ab3ca1f3fab26d182..8f15e1f1235d0290346920fa79bbebefd9461a1f 100644
|
| --- a/build/android/pylib/remote/device/dummy/src/org/chromium/dummy/Dummy.java
|
| +++ b/content/test/data/service_worker/fetch_event_blob.js
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -package org.chromium.dummy;
|
| -
|
| -/** Does nothing. */
|
| -class Dummy {}
|
| -
|
| +this.onfetch = function(event) {
|
| + var blob = new Blob(['<title>Title</title>']);
|
| + var response = new Response(blob);
|
| + event.respondWith(response);
|
| +};
|
|
|