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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/security/interstitial-sidebar.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/security/interstitial-sidebar.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/security/interstitial-sidebar.html b/third_party/WebKit/LayoutTests/http/tests/inspector/security/interstitial-sidebar.html
index db0e96008369d508f8cd517dcb8dd556e3c99e81..916d422d080c5706a2961b42ebc3661167d32013 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/security/interstitial-sidebar.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/security/interstitial-sidebar.html
@@ -6,26 +6,26 @@
function test()
{
- var request1 = new WebInspector.NetworkRequest(InspectorTest.mainTarget, 0, "https://foo.test/", "https://foo.test", 0, 0, null);
+ var request1 = new SDK.NetworkRequest(InspectorTest.mainTarget, 0, "https://foo.test/", "https://foo.test", 0, 0, null);
request1.setSecurityState(Protocol.Security.SecurityState.Secure);
InspectorTest.dispatchRequestFinished(request1);
- var request2 = new WebInspector.NetworkRequest(InspectorTest.mainTarget, 0, "https://bar.test/foo.jpg", "https://bar.test", 0, 0, null);
+ var request2 = new SDK.NetworkRequest(InspectorTest.mainTarget, 0, "https://bar.test/foo.jpg", "https://bar.test", 0, 0, null);
request2.setSecurityState(Protocol.Security.SecurityState.Secure);
InspectorTest.dispatchRequestFinished(request2);
InspectorTest.addResult("Before interstitial is shown:");
- InspectorTest.dumpDeepInnerHTML(WebInspector.SecurityPanel._instance()._sidebarTree.element);
+ InspectorTest.dumpDeepInnerHTML(Security.SecurityPanel._instance()._sidebarTree.element);
// Test that the sidebar is hidden when an interstitial is shown. https://crbug.com/559150
- InspectorTest.mainTarget.model(WebInspector.ResourceTreeModel).dispatchEventToListeners(WebInspector.ResourceTreeModel.Events.InterstitialShown);
+ InspectorTest.mainTarget.model(SDK.ResourceTreeModel).dispatchEventToListeners(SDK.ResourceTreeModel.Events.InterstitialShown);
InspectorTest.addResult("After interstitial is shown:");
- InspectorTest.dumpDeepInnerHTML(WebInspector.SecurityPanel._instance()._sidebarTree.element);
+ InspectorTest.dumpDeepInnerHTML(Security.SecurityPanel._instance()._sidebarTree.element);
// Test that the sidebar is shown again when the interstitial is hidden. https://crbug.com/559150
- InspectorTest.mainTarget.model(WebInspector.ResourceTreeModel).dispatchEventToListeners(WebInspector.ResourceTreeModel.Events.InterstitialHidden);
+ InspectorTest.mainTarget.model(SDK.ResourceTreeModel).dispatchEventToListeners(SDK.ResourceTreeModel.Events.InterstitialHidden);
InspectorTest.addResult("After interstitial is hidden:");
- InspectorTest.dumpDeepInnerHTML(WebInspector.SecurityPanel._instance()._sidebarTree.element);
+ InspectorTest.dumpDeepInnerHTML(Security.SecurityPanel._instance()._sidebarTree.element);
InspectorTest.completeTest();
}

Powered by Google App Engine
This is Rietveld 408576698