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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/user-agent-override.html

Issue 2137773002: [DevTools] Replace the target type with capabilities (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 5 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: third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/user-agent-override.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/user-agent-override.html b/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/user-agent-override.html
index 8393d89a0911f31f5e8db00931aa8c719ed399ba..277eea66a7142d678a1566b1f78eb7e9f62a6383 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/user-agent-override.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/user-agent-override.html
@@ -13,7 +13,7 @@ function test()
var sniffer = {
targetAdded: function(target)
{
- if (target.isServiceWorker()) {
+ if (InspectorTest.isServiceWorker(target)) {
resolve();
WebInspector.targetManager.unobserveTargets(sniffer);
}

Powered by Google App Engine
This is Rietveld 408576698