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

Side by Side Diff: chrome/test/data/predictor/predictor_cross_site_subframe_nav.html

Issue 1881463003: Add a browsertest suite for net predictor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: EXPECT that we get the right number of accepted connections after waiting 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
(Empty)
1 <!DOCTYPE html>
2 <p>
3 This page loads an empty cross-site iframe, and exposes a method to navigate it.
4 </p>
5 <script>
6 function getFrameDocument() {
7 return window.frames['iframe'].contentWindow.document;
8 }
9
10 function notifyLoaded() {
11 window.domAutomationController.send(true);
12 }
13
14 function navigateSubframe(url) {
15 var iframe = document.createElement('iframe');
16 iframe.onload = notifyLoaded;
17 iframe.src = url;
18 document.body.appendChild(iframe);
19 }
20 </script>
OLDNEW
« no previous file with comments | « chrome/test/data/predictor/predictor_cross_site_no_referrer.html ('k') | net/test/embedded_test_server/embedded_test_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698