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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/debugger/domdebugger-setInnerHTML.html

Issue 2968523003: [DevTools] Migrate inspector-protocol/debugger tests to new harness (Closed)
Patch Set: all tests 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/debugger/domdebugger-setInnerHTML.html
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/debugger/domdebugger-setInnerHTML.html b/third_party/WebKit/LayoutTests/inspector-protocol/debugger/domdebugger-setInnerHTML.html
deleted file mode 100644
index bb8c99d63bfe7728362ba3cf721044345fb1d24b..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/inspector-protocol/debugger/domdebugger-setInnerHTML.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<html>
-<head>
-<script type="text/javascript" src="../../http/tests/inspector-protocol/resources/inspector-protocol-test.js"></script>
-<script>
-
-function modifyHTML()
-{
- document.getElementById("divUnderTest").innerHTML = "innerHTML";
-}
-
-function test()
-{
- InspectorTest.sendCommand("Debugger.enable", {});
- InspectorTest.sendCommand("DOM.enable", {});
- InspectorTest.sendCommand("DOMDebugger.enable", {});
- InspectorTest.sendCommand("DOMDebugger.setInstrumentationBreakpoint", {"eventName":"Element.setInnerHTML"});
- InspectorTest.sendCommand("Runtime.evaluate", { "expression": "modifyHTML()" });
- InspectorTest.eventHandler["Debugger.paused"] = handleDebuggerPausedOne;
-
- function handleDebuggerPausedOne(messageObject)
- {
- var callFrame = messageObject.params.callFrames[0];
- InspectorTest.log("Paused on the innerHTML assignment: " + callFrame.functionName + "@:" + callFrame.location.lineNumber);
- InspectorTest.sendCommand("Debugger.resume", { }, didResume);
- function didResume()
- {
- InspectorTest.completeTest();
- }
- }
-}
-</script>
-</head>
-<body onLoad="runTest();">
-<div id="divUnderTest"></div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698