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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-property-on-console-proto.js

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-property-on-console-proto.js
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-property-on-console-proto.js b/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-property-on-console-proto.js
new file mode 100644
index 0000000000000000000000000000000000000000..415acb0dc040cd631ad7d3e5a085399ad4bc455b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-property-on-console-proto.js
@@ -0,0 +1,13 @@
+(async function(testRunner) {
+ let {page, session, dp} = await testRunner.startBlank(`Tests that property defined on console.__proto__ doesn't observable on other Objects.`);
+ testRunner.logMessage(await dp.Runtime.evaluate({expression: `
+ var amountOfProperties = 0;
+ for (var p in {})
+ ++amountOfProperties;
+ console.__proto__.debug = 239;
+ for (var p in {})
+ --amountOfProperties;
+ amountOfProperties
+ `}));
+ testRunner.completeTest();
+})

Powered by Google App Engine
This is Rietveld 408576698