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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/console/console-memory-setter-in-strict-mode.html

Issue 1859293002: [DevTools] Move Console to v8_inspector (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 8 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/console/console-memory-setter-in-strict-mode.html
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-evaluate-with-context-id-equal-zero.html b/third_party/WebKit/LayoutTests/inspector-protocol/console/console-memory-setter-in-strict-mode.html
similarity index 51%
copy from third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-evaluate-with-context-id-equal-zero.html
copy to third_party/WebKit/LayoutTests/inspector-protocol/console/console-memory-setter-in-strict-mode.html
index e2e2b98a9809975a6db6e9a48f59d077ffee0398..9340da42f3b2b857e9b40e198afacc66a8ab8349 100644
--- a/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-evaluate-with-context-id-equal-zero.html
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/console/console-memory-setter-in-strict-mode.html
@@ -5,9 +5,9 @@
function test()
{
- InspectorTest.sendCommand("Runtime.evaluate", { "contextId": 0, "expression": "" }, evaluateCallback);
+ InspectorTest.sendCommand("Runtime.evaluate", { expression: "\"use strict\"\nconsole.memory = {};undefined" }, dumpResult);
- function evaluateCallback(result)
+ function dumpResult(result)
{
result.id = 0;
InspectorTest.logObject(result);
@@ -16,7 +16,5 @@ function test()
}
</script>
</head>
-<body onLoad="runTest();">
-Tests that DevTools doesn't crash on Runtime.evaluate with contextId equals 0.
-</body>
+<body onload="runTest()">Tests checks that console.memory property can be set in strict mode (crbug.com/468611).</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698