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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/resource-tree/resource-tree-errors-reload.html

Issue 1417163003: DevTools: remove errors and warnings counters from the Resources panel. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/resource-tree/resource-tree-errors-reload-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/inspector/resource-tree/resource-tree-errors-reload.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/resource-tree/resource-tree-errors-reload.html b/third_party/WebKit/LayoutTests/http/tests/inspector/resource-tree/resource-tree-errors-reload.html
deleted file mode 100644
index d5dbce153760adf627952512e070a92e94844054..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/resource-tree/resource-tree-errors-reload.html
+++ /dev/null
@@ -1,58 +0,0 @@
-<html>
-<head>
-<script>
-console.error("Console error 1.");
-console.error("Console error 2.");
-</script>
-<script src="../inspector-test.js"></script>
-<script src="../resources-test.js"></script>
-<script src="resource-tree-test.js"></script>
-<script>
-
-function test()
-{
- var resourcesWereFinished = false;
- var pageWasReloaded = false;
-
- // Resources panel has heavy initialization that does not work well with reloading-from-test.
- InspectorTest.runAfterPendingDispatches(function() {
- InspectorTest.resourceTreeModel.addEventListener(WebInspector.ResourceTreeModel.EventTypes.MainFrameNavigated, frameNavigated);
- InspectorTest.reloadPage(pageReloaded);
- });
-
- function frameNavigated()
- {
- InspectorTest.runAfterResourcesAreFinished(["resource-tree-errors-reload.html"], resourcesFinished);
- }
-
- function resourcesFinished()
- {
- if (pageWasReloaded)
- step1();
- else
- resourcesWereFinished = true;
- }
-
- function pageReloaded()
- {
- if (resourcesWereFinished)
- step1();
- else
- pageWasReloaded = true;
-
- }
-
- function step1()
- {
- var resource = InspectorTest.resourceTreeModel.resourceForURL("http://127.0.0.1:8000/inspector/resource-tree/resource-tree-errors-reload.html");
- InspectorTest.addResult("Number of errors for the main resource: " + resource.errors);
- InspectorTest.completeTest();
- }
-}
-</script>
-</head>
-<body onload="runTest()">
-<p>Tests that console messages are matched to resources after page reload.</p>
-<a href="https://bugs.webkit.org/show_bug.cgi?id=60701">Bug 60701</a>
-</body>
-</html>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/resource-tree/resource-tree-errors-reload-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698