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

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

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month 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/websocket/websocket-frame.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/websocket/websocket-frame.html b/third_party/WebKit/LayoutTests/http/tests/inspector/websocket/websocket-frame.html
index 117aeba0ac2819a711b1574bfe5268021e073044..4c1dee630d9b8708cef8974c5770197656fdac37 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/websocket/websocket-frame.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/websocket/websocket-frame.html
@@ -28,7 +28,7 @@ function test() {
for (var i = 0; i < websocketFrames.length; i++) {
var frame = websocketFrames[i];
frames[i] = String.sprintf("%d-%s: %s", (i + 1), frame.type, frame.text);
- if (frame.type !== WebInspector.NetworkRequest.WebSocketFrameType.Send && frame.text === "exit")
+ if (frame.type !== SDK.NetworkRequest.WebSocketFrameType.Send && frame.text === "exit")
done = true;
}
if (JSON.stringify(frames) === JSON.stringify(previous_frames)) {
@@ -40,7 +40,7 @@ function test() {
if (done)
InspectorTest.completeTest();
}
- InspectorTest.networkManager.addEventListener(WebInspector.NetworkManager.Events.RequestUpdated, onRequest);
+ InspectorTest.networkManager.addEventListener(SDK.NetworkManager.Events.RequestUpdated, onRequest);
InspectorTest.evaluateInPage("sendMessages()");
}
</script>

Powered by Google App Engine
This is Rietveld 408576698