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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/loading/doc-write-sync-third-party-script-reload.html

Issue 1883873002: Do not block document.written scripts in page reloads (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Feedback incorporated Created 4 years, 8 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 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script>
4 <script>
5 // This parameter will be used in testreload.js to indicate reload should
6 // be from the cache.
7 var reloadFromCache = false;
jkarlin 2016/04/14 18:27:01 Instead, how about wrapping the code in testreload
shivanisha 2016/04/14 19:15:44 Changed the reload code for both variants to be in
8 </script>
9
10 <script src="./resources/testreload.js"></script>
11
12 <script>
13 test(function () {
14 assert_true(jsLoaded);
15 assert_true(loadSuccess);
16 assert_true(loadBlockedFirst);
17 }, "cross origin doc.written scripts are not blocked in a page reload");
18 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698