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

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

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 <html>
2 <head>
3 <script type="text/javascript" src="../../http/tests/inspector-protocol/resource s/inspector-protocol-test.js"></script>
4 <script>
5
6 function test()
7 {
8 function dumpResult(result)
9 {
10 result.id = 0;
11 InspectorTest.logObject(result);
12 }
13
14 InspectorTest.runTestSuite([
15 function testSymbol(next)
16 {
17 InspectorTest.sendCommandPromise("Runtime.evaluate", { expression: " Symbol(239)", returnByValue: true })
18 .then((result) => dumpResult(result))
19 .then(() => next());
20 },
21
22 function testObjectWithChain(next)
23 {
24 InspectorTest.sendCommandPromise("Runtime.evaluate", { expression: " a = {}; a.b = a; a", returnByValue: true })
25 .then((result) => dumpResult(result))
26 .then(() => next());
27 }
28 ]);
29 }
30 </script>
31 </head>
32 <body onLoad="runTest();">
33 Tests that Runtime.evaluate returns an error for non serialable types.
34 </body>
35 </html>
36
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698