Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Unified Diff: LayoutTests/http/tests/serviceworker/resources/interfaces-worker.js

Issue 1102363002: Add Client Attribute to FetchEvent- Blink Side. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/serviceworker/resources/interfaces-worker.js
diff --git a/LayoutTests/http/tests/serviceworker/resources/interfaces-worker.js b/LayoutTests/http/tests/serviceworker/resources/interfaces-worker.js
index cacf87bb68eabb2990ed4f06e54da554d67a18cd..15848f63dcb38dd0d9ecd8c4cfe55eaa2f99fcd8 100644
--- a/LayoutTests/http/tests/serviceworker/resources/interfaces-worker.js
+++ b/LayoutTests/http/tests/serviceworker/resources/interfaces-worker.js
@@ -82,7 +82,7 @@ test(function() {
true, 'Default FetchEvent.cancelable should be true');
assert_equals(
new FetchEvent('FetchEvent').bubbles,
- false, 'Default FetchEvent.bubbles should be true');
+ false, 'Default FetchEvent.bubbles should be false');
jsbell 2015/05/06 16:21:26 Thanks for fixing this message!
assert_equals(
new FetchEvent('FetchEvent').isReload,
false, 'Default FetchEvent.isReload should be false');
@@ -99,4 +99,8 @@ test(function() {
new FetchEvent('FetchEvent', {request : req, isReload : true}).request.url,
'http://localhost/',
'FetchEvent.request.url should return the value it was initialized to');
+ assert_equals(
+ new FetchEvent('FetchEvent').client,
+ null,
+ 'FetchEvent.client should return null if it was not initialized');
}, 'Event constructors');

Powered by Google App Engine
This is Rietveld 408576698