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

Side by Side Diff: third_party/WebKit/LayoutTests/compositing/squashing/iframes-are-never-squashed.html

Issue 2295653002: Use window.testRunner in if-clause (Closed)
Patch Set: a Created 4 years, 3 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 <!doctype html> 1 <!doctype html>
2 2
3 <div style="width: 200px; height: 200px; background: lightgray; transform: trans lateZ(0)"></div> 3 <div style="width: 200px; height: 200px; background: lightgray; transform: trans lateZ(0)"></div>
4 <iframe style="position: absolute; top: 0px; left: 0px; height: 100px; width: 10 0px; background: lightblue"> 4 <iframe style="position: absolute; top: 0px; left: 0px; height: 100px; width: 10 0px; background: lightblue">
5 </iframe> 5 </iframe>
6 <script src="../../resources/run-after-layout-and-paint.js"></script> 6 <script src="../../resources/run-after-layout-and-paint.js"></script>
7 <script> 7 <script>
8 if (testRunner) { 8 if (window.testRunner) {
9 testRunner.dumpAsText(); 9 testRunner.dumpAsText();
10 testRunner.waitUntilDone(); 10 testRunner.waitUntilDone();
11 runAfterLayoutAndPaint(function() { 11 runAfterLayoutAndPaint(function() {
12 testRunner.setCustomTextOutput(window.internals.layerTreeAsText(document )); 12 testRunner.setCustomTextOutput(window.internals.layerTreeAsText(document ));
13 testRunner.notifyDone(); 13 testRunner.notifyDone();
14 }); 14 });
15 } 15 }
16 16
17 </script> 17 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698