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

Unified Diff: LayoutTests/http/tests/inspector/websocket/websocket-frame.html

Issue 667743002: DevTools: remove "type" getters in Resource and NetworkRequest. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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/inspector/websocket/websocket-frame.html
diff --git a/LayoutTests/http/tests/inspector/websocket/websocket-frame.html b/LayoutTests/http/tests/inspector/websocket/websocket-frame.html
index eb7eed3764b074d85a1c4384fd0a9baff62f09f9..96410d49db4a00cf5524f66e358a2b214c594702 100644
--- a/LayoutTests/http/tests/inspector/websocket/websocket-frame.html
+++ b/LayoutTests/http/tests/inspector/websocket/websocket-frame.html
@@ -20,7 +20,7 @@ function test() {
{
var request = event.data;
var done = false;
- if (request._type._name !== "websocket")
+ if (request.resourceType().name() !== "websocket")
return;
var previous_frames = frames;
frames = [];

Powered by Google App Engine
This is Rietveld 408576698