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

Unified Diff: LayoutTests/http/tests/serviceworker/registration.html

Issue 225053005: ServiceWorker should have an interface object. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Tweak test. Created 6 years, 8 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/registration.html
diff --git a/LayoutTests/http/tests/serviceworker/registration.html b/LayoutTests/http/tests/serviceworker/registration.html
index 10edd1920a94debb8967aac1b4eecaa6e85c1dfd..f77b79c1295ea1be6bc2946359623683f31f2e0b 100644
--- a/LayoutTests/http/tests/serviceworker/registration.html
+++ b/LayoutTests/http/tests/serviceworker/registration.html
@@ -11,7 +11,8 @@
{scope: '/*'}
).then(
t.step_func(function(worker) {
- assert_true(!!worker, 'Successfully registered.');
+ assert_true(worker instanceof ServiceWorker,
+ 'Successfully registered.');
t.done();
}),
t.step_func(function(reason) {

Powered by Google App Engine
This is Rietveld 408576698