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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/runtime/runtime-es6-setSymbolPropertyValue.html

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month 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
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script> 3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script> 4 <script>
5 5
6 var object1 = { foo: 1 }; 6 var object1 = { foo: 1 };
7 var symbol1 = Symbol("a"); 7 var symbol1 = Symbol("a");
8 object1[symbol1] = 2; 8 object1[symbol1] = 2;
9 9
10 function dumpSymbolProperty(label) 10 function dumpSymbolProperty(label)
(...skipping 18 matching lines...) Expand all
29 } 29 }
30 30
31 function step1(error, result, exceptionDetails) 31 function step1(error, result, exceptionDetails)
32 { 32 {
33 obj1 = InspectorTest.runtimeModel.createRemoteObject(result); 33 obj1 = InspectorTest.runtimeModel.createRemoteObject(result);
34 InspectorTest.RuntimeAgent.evaluate("symbol1", step2); 34 InspectorTest.RuntimeAgent.evaluate("symbol1", step2);
35 } 35 }
36 36
37 function step2(error, result, exceptionDetails) 37 function step2(error, result, exceptionDetails)
38 { 38 {
39 name = WebInspector.RemoteObject.toCallArgument(InspectorTest.ru ntimeModel.createRemoteObject(result)); 39 name = SDK.RemoteObject.toCallArgument(InspectorTest.runtimeMode l.createRemoteObject(result));
40 next(); 40 next();
41 } 41 }
42 }, 42 },
43 43
44 function testSetSymbolPropertyValue(next) 44 function testSetSymbolPropertyValue(next)
45 { 45 {
46 obj1.setPropertyValue(name, "3", step1); 46 obj1.setPropertyValue(name, "3", step1);
47 47
48 function step1() 48 function step1()
49 { 49 {
(...skipping 16 matching lines...) Expand all
66 </script> 66 </script>
67 </head> 67 </head>
68 68
69 <body onload="runTest()"> 69 <body onload="runTest()">
70 <p> 70 <p>
71 Tests editing Symbol properties. 71 Tests editing Symbol properties.
72 </p> 72 </p>
73 73
74 </body> 74 </body>
75 </html> 75 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698