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

Unified Diff: LayoutTests/http/tests/security/suborigins/resources/childsuborigin.php

Issue 956333002: Refactor TimeBase to post tasks. Workers to use real Idle tasks. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/security/suborigins/resources/childsuborigin.php
diff --git a/LayoutTests/http/tests/security/suborigins/resources/childsuborigin.php b/LayoutTests/http/tests/security/suborigins/resources/childsuborigin.php
index 48fa800632a06cc6d7b0472abd21f3b27f781cdf..7aeb97869d9c19741d4615cd938254ac90ba31cf 100644
--- a/LayoutTests/http/tests/security/suborigins/resources/childsuborigin.php
+++ b/LayoutTests/http/tests/security/suborigins/resources/childsuborigin.php
@@ -8,5 +8,7 @@ if ($_GET["report-only"]) {
<!DOCTYPE html>
<script>
window.parent.secret = 'I am a secret';
-parent.postMessage('Done', '*');
+window.onload = function() {
+ parent.postMessage('Done', '*');
+}
</script>
« no previous file with comments | « LayoutTests/fast/events/resources/subframe-stop-load-in-unload-handler-using-window-stop.html ('k') | Source/core/Init.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698