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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/network/network-choose-preview-view.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/network/network-choose-preview-view.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/network/network-choose-preview-view.html b/third_party/WebKit/LayoutTests/http/tests/inspector/network/network-choose-preview-view.html
index 8939041621b6ac9cc4f8d4c2d0e6bcd9eafedb6a..307641d6e488531e238716b9085ef8490f98945f 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/network/network-choose-preview-view.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/network/network-choose-preview-view.html
@@ -8,7 +8,7 @@ function test()
function createNetworkRequest(mimeType, content, statusCode)
{
InspectorTest.addResult("Creating a NetworkRequest with mimeType: " + mimeType);
- var request = new WebInspector.NetworkRequest(WebInspector.targetManager.mainTarget(), 0, 'http://localhost');
+ var request = new SDK.NetworkRequest(SDK.targetManager.mainTarget(), 0, 'http://localhost');
InspectorTest.addResult("Content: " + content.replace(/\0/g, "**NULL**"));
request.mimeType = mimeType;
request._content = content;
@@ -21,14 +21,14 @@ function test()
{
if (!previewer)
return "** NONE **";
- if (previewer instanceof WebInspector.SearchableView)
+ if (previewer instanceof UI.SearchableView)
return "SearchableView > " + getViewName(previewer._searchProvider);
return previewer.contentElement.className;
}
function testPreviewer(request, callback)
{
- var previewView = new WebInspector.RequestPreviewView(request, new WebInspector.RequestResponseView(request));
+ var previewView = new Network.RequestPreviewView(request, new Network.RequestResponseView(request));
previewView._createPreviewView(function(previewer) {
InspectorTest.addResult("Its previewer type: " + getViewName(previewer));

Powered by Google App Engine
This is Rietveld 408576698