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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/loading/nested_bad_objects.php

Issue 1896793002: Rename (updateLayout/updateStyle).*.() to updateStyleAndLayout.*.() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 <? 1 <?
2 if (isset($_GET['object'])) { 2 if (isset($_GET['object'])) {
3 header("Content-Type: nothing/bad-type"); 3 header("Content-Type: nothing/bad-type");
4 exit(); 4 exit();
5 } 5 }
6 ?> 6 ?>
7 <html> 7 <html>
8 <script> 8 <script>
9 if (window.testRunner) 9 if (window.testRunner)
10 testRunner.dumpAsText(); 10 testRunner.dumpAsText();
11 window.onload = function() { 11 window.onload = function() {
12 internals.updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks(); 12 internals.updateStyleAndLayoutIgnorePendingStylesheetsAndRunPostLayoutTa sks();
13 }; 13 };
14 </script> 14 </script>
15 <object type="image/jpeg" data="nested_bad_objects.php?object"> 15 <object type="image/jpeg" data="nested_bad_objects.php?object">
16 <object type="image/jpeg" data="nested_bad_objects.php?object" /> 16 <object type="image/jpeg" data="nested_bad_objects.php?object" />
17 </object> 17 </object>
18 PASS - nested image objects with bad mimetype do not cause a crash. 18 PASS - nested image objects with bad mimetype do not cause a crash.
19 </html> 19 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698