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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-evaluate-return-by-value.js

Issue 2954093003: [DevTools] Migrate inspector-protocol/runtime tests to new harness (Closed)
Patch Set: fail: Created 3 years, 5 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 unified diff | Download patch
OLDNEW
(Empty)
1 (async function(testRunner) {
2 let {page, session, dp} = await testRunner.startBlank(`Tests that Runtime.eval uate returns an error for non serialable types.`);
3 testRunner.runTestSuite([
4 async function testSymbol() {
5 testRunner.logMessage(await dp.Runtime.evaluate({ expression: 'Symbol(239) ', returnByValue: true }));
6 },
7
8 async function testObjectWithChain() {
9 testRunner.logMessage(await dp.Runtime.evaluate({ expression: 'a = {}; a.b = a; a', returnByValue: true }));
10 }
11 ]);
12 })
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698