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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/timeline/fetch-as-stream.html

Issue 1804043002: Revert of Remove V8RecrusionScope, cleanup call sites. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
1 <html> 1 <html>
2 <head> 2 <head>
3 <style> 3 <style>
4 div#test { 4 div#test {
5 display: none; 5 display: none;
6 background-color: blue; 6 background-color: blue;
7 width: 100px; 7 width: 100px;
8 height: 100px; 8 height: 100px;
9 } 9 }
10 </style> 10 </style>
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 }; 86 };
87 87
88 for (var i = 0; i < events.length; ++i) { 88 for (var i = 0; i < events.length; ++i) {
89 var event = events[i]; 89 var event = events[i];
90 if (event.phase === "X") 90 if (event.phase === "X")
91 ++phaseComplete; 91 ++phaseComplete;
92 if (event.name in knownEvents) 92 if (event.name in knownEvents)
93 ++knownEvents[event.name]; 93 ++knownEvents[event.name];
94 } 94 }
95 assertGreaterOrEqual(events.length, 10, "Too few trace events recorded") ; 95 assertGreaterOrEqual(events.length, 10, "Too few trace events recorded") ;
96 assertGreaterOrEqual(knownEvents["FunctionCall"], 1, "Too few FunctionCa ll events");
96 assertGreaterOrEqual(knownEvents["UpdateLayoutTree"], 1, "Too few Update LayoutTree events"); 97 assertGreaterOrEqual(knownEvents["UpdateLayoutTree"], 1, "Too few Update LayoutTree events");
97 assertGreaterOrEqual(knownEvents["Layout"], 1, "Too few Layout events"); 98 assertGreaterOrEqual(knownEvents["Layout"], 1, "Too few Layout events");
98 InspectorTest.log("Event sanity test done"); 99 InspectorTest.log("Event sanity test done");
99 InspectorTest.completeTest(); 100 InspectorTest.completeTest();
100 } 101 }
101 } 102 }
102 </script> 103 </script>
103 </head> 104 </head>
104 <body onload="runTest()"> 105 <body onload="runTest()">
105 <div id="test"> 106 <div id="test">
106 </div> 107 </div>
107 </body> 108 </body>
108 </html> 109 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698