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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-shouldnt-crash-after-inspected-context-destroyed.html

Issue 2954093003: [DevTools] Migrate inspector-protocol/runtime tests to new harness (Closed)
Patch Set: fail: Created 3 years, 6 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
Index: third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-shouldnt-crash-after-inspected-context-destroyed.html
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-shouldnt-crash-after-inspected-context-destroyed.html b/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-shouldnt-crash-after-inspected-context-destroyed.html
deleted file mode 100644
index cd25c63e75cb90649ddeb66ab8e58e7fe548cb4e..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-shouldnt-crash-after-inspected-context-destroyed.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<html>
-<head>
-<script type="text/javascript" src="../../http/tests/inspector-protocol/resources/inspector-protocol-test.js"></script>
-<script>
-
-function test()
-{
- var swapConsoleAndRemoveIframe = "\n\
- var a = window.console;\n\
- window.console = iframe.contentWindow.console;\n\
- iframe.contentWindow.console = a;\n\
- document.getElementById(\"iframe\").remove();\n\
- ";
-
- InspectorTest.sendCommand("Runtime.evaluate", { "expression": swapConsoleAndRemoveIframe }, runConsoleLog);
- function runConsoleLog(result)
- {
- InspectorTest.sendCommand("Runtime.evaluate", { "expression": "console.log(239);" }, () => InspectorTest.completeTest());
- }
-}
-</script>
-</head>
-<iframe id="iframe"></iframe>
-<body onLoad="runTest();">
-Tests that call to console after inspected context was destroyed shouldn't produce crash.
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698