Chromium Code Reviews| Index: LayoutTests/http/tests/serviceworker/resources/fetch-event-client-attribute-test-worker.js |
| diff --git a/LayoutTests/http/tests/serviceworker/resources/fetch-event-client-attribute-test-worker.js b/LayoutTests/http/tests/serviceworker/resources/fetch-event-client-attribute-test-worker.js |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..79c0419780933cdecbf705c5eb53ad28e34f6ed0 |
| --- /dev/null |
| +++ b/LayoutTests/http/tests/serviceworker/resources/fetch-event-client-attribute-test-worker.js |
| @@ -0,0 +1,3 @@ |
| +self.addEventListener('fetch', function(event) { |
| + event.respondWith(new Response((event.client.frameType).toString())); |
|
jsbell
2015/05/05 17:45:42
The only assertion in the test is looking at data.
Paritosh Kumar
2015/05/06 11:42:36
We are using an assertion in promise_test as:
asse
jsbell
2015/05/06 16:21:26
Got it, thanks for the explanation! I was looking
|
| +}); |