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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/security/origin-view-then-interstitial.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/origin-view-then-interstitial.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/security/origin-view-then-interstitial.html b/third_party/WebKit/LayoutTests/http/tests/inspector/security/origin-view-then-interstitial.html
index daffe5dd57c9b890c9b69417e6d6b5b80474efbf..186fa7ac9ea398adb426a6569d347b5af8395f66 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/security/origin-view-then-interstitial.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/security/origin-view-then-interstitial.html
@@ -5,22 +5,22 @@
<script>
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);
InspectorTest.addResult("Before selecting origin view:");
- InspectorTest.dumpDeepInnerHTML(WebInspector.SecurityPanel._instance()._visibleView.contentElement);
+ InspectorTest.dumpDeepInnerHTML(Security.SecurityPanel._instance()._visibleView.contentElement);
- WebInspector.SecurityPanel._instance()._sidebarTree._elementsByOrigin.get("https://foo.test").select();
+ Security.SecurityPanel._instance()._sidebarTree._elementsByOrigin.get("https://foo.test").select();
InspectorTest.addResult("Panel on origin view before interstitial:");
- InspectorTest.dumpDeepInnerHTML(WebInspector.SecurityPanel._instance()._visibleView.contentElement);
+ InspectorTest.dumpDeepInnerHTML(Security.SecurityPanel._instance()._visibleView.contentElement);
// Test that the panel transitions to an origin view 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()._visibleView.contentElement);
+ InspectorTest.dumpDeepInnerHTML(Security.SecurityPanel._instance()._visibleView.contentElement);
InspectorTest.completeTest();
}

Powered by Google App Engine
This is Rietveld 408576698