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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-async/async-callstack-object-observe.html

Issue 1506813002: LayoutTests: remove tests for Object.observe (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 src="../../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../../http/tests/inspector/debugger-test.js"></script>
5 <script>
6 var obj = {};
7
8 function testFunction()
9 {
10 setTimeout(timeout1, 0);
11 }
12
13 function timeout1()
14 {
15 Object.observe(obj, observer);
16 setTimeout(timeout2, 0);
17 }
18
19 function timeout2()
20 {
21 addProperties();
22 }
23
24 function addProperties()
25 {
26 obj.foo = 1;
27 obj.bar = 2;
28 }
29
30 function observer()
31 {
32 debugger;
33 }
34
35 var test = function()
36 {
37 var totalDebuggerStatements = 1;
38 var maxAsyncCallStackDepth = 4;
39 InspectorTest.runAsyncCallStacksTest(totalDebuggerStatements, maxAsyncCallSt ackDepth);
40 }
41
42 </script>
43 </head>
44
45 <body onload="runTest()">
46 <p>
47 Tests asynchronous call stacks for Object.observe().
48 </p>
49
50 </body>
51 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698