Chromium Code Reviews

Unified Diff: LayoutTests/push_messaging/push-messaging.html

Issue 209853010: [ABANDONED] Enable V8 Promises (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: LayoutTests/push_messaging/push-messaging.html
diff --git a/LayoutTests/push_messaging/push-messaging.html b/LayoutTests/push_messaging/push-messaging.html
index c8c4343721124d8e58da1a10990a2cac1321764b..e9f06200936b6917902d607f903ea7d03aa65b2d 100644
--- a/LayoutTests/push_messaging/push-messaging.html
+++ b/LayoutTests/push_messaging/push-messaging.html
@@ -14,7 +14,7 @@ window.jsTestIsAsync = true;
shouldBeTrue('!!navigator.push');
shouldBeTrue('!!navigator.push.register');
-shouldBeEqualToString('String(navigator.push.register("senderId"))', '[object Promise]');
+shouldBe('navigator.push.register("senderId").constructor', 'Promise');
// Currently we have an empty implementation that always fails.
navigator.push.register('senderId').then(function successCallback() {

Powered by Google App Engine