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

Unified Diff: test/inspector/runtime/console-spec.js

Issue 2834363003: [inspector] console property should be enumerable (Closed)
Patch Set: Created 3 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
« no previous file with comments | « src/bootstrapper.cc ('k') | test/inspector/runtime/console-spec-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/inspector/runtime/console-spec.js
diff --git a/test/inspector/runtime/console-spec.js b/test/inspector/runtime/console-spec.js
index 6644d29dbe3244ceaaf0abd271b740d2daf466ab..570593661143a6ca7f5812bbe19c53f200d913f8 100644
--- a/test/inspector/runtime/console-spec.js
+++ b/test/inspector/runtime/console-spec.js
@@ -47,5 +47,12 @@ InspectorTest.runAsyncTestSuite([
let message = await Protocol.Runtime.evaluate({
expression: 'console.toString()', returnByValue: true})
InspectorTest.log(message.result.result.value);
+ },
+
+ async function consoleMethodPropertyDescriptor() {
+ let message = await Protocol.Runtime.evaluate({
+ expression: 'Object.getOwnPropertyDescriptor(console, \'log\')',
+ returnByValue: true});
+ InspectorTest.logObject(message.result.result.value);
}
]);
« no previous file with comments | « src/bootstrapper.cc ('k') | test/inspector/runtime/console-spec-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698