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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/security-test.js

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/security-test.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/security-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/security-test.js
index 7131d1d551a139dc2c8de9ad53b48d5e7c4832f6..033689344412430abb816e5abd1a8075abbc9a44 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/security-test.js
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/security-test.js
@@ -3,9 +3,9 @@ var initialize_SecurityTest = function() {
InspectorTest.preloadPanel("security");
InspectorTest.dumpSecurityPanelSidebarOrigins = function() {
- for (var key in WebInspector.SecurityPanelSidebarTree.OriginGroupName) {
- var originGroupName = WebInspector.SecurityPanelSidebarTree.OriginGroupName[key];
- var originGroup = WebInspector.SecurityPanel._instance()._sidebarTree._originGroups.get(originGroupName);
+ for (var key in Security.SecurityPanelSidebarTree.OriginGroupName) {
+ var originGroupName = Security.SecurityPanelSidebarTree.OriginGroupName[key];
+ var originGroup = Security.SecurityPanel._instance()._sidebarTree._originGroups.get(originGroupName);
if (originGroup.hidden)
continue;
InspectorTest.addResult("Group: " + originGroupName);
@@ -16,10 +16,10 @@ InspectorTest.dumpSecurityPanelSidebarOrigins = function() {
}
/**
- * @param {!WebInspector.NetworkRequest} request
+ * @param {!SDK.NetworkRequest} request
*/
InspectorTest.dispatchRequestFinished = function(request) {
- InspectorTest.networkManager.dispatchEventToListeners(WebInspector.NetworkManager.Events.RequestFinished, request);
+ InspectorTest.networkManager.dispatchEventToListeners(SDK.NetworkManager.Events.RequestFinished, request);
}
}

Powered by Google App Engine
This is Rietveld 408576698