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

Side by Side Diff: chrome/test/data/ads_observer/docwrite_provisional_frame.html

Issue 2861433005: [PageLoadMetrics] Reenable AdsMetrics and handle case where navigation aborts (Closed)
Patch Set: Fix Created 3 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
(Empty)
1 <html>
2 <iframe id="slow_frame" src="slow?100"></iframe>
3
4 <script>
5 // slow takes 100 seconds to load, plenty of time to overwrite the
6 // provisional load.
7 let iframe = document.getElementById("slow_frame");
8 let doc = iframe.contentDocument;
9
10 doc.open();
11 doc.write('<html>Rewritten. <img src=pixel.png><img src=pixel2.png><img src=pi xel3.png></html>');
Charlie Harrison 2017/05/04 20:21:14 Can you confirm that the images are successfully l
jkarlin 2017/05/05 19:56:28 Sure. Done.
12 doc.close();
13 </script>
14
15 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698