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

Side by Side Diff: LayoutTests/resources/window-postmessage-open-close.html

Issue 915033002: BatteryManager.getBattery(): gracefully bail on context-detached use. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: tidying up test Created 5 years, 10 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 <!DOCTYPE html>
2 <!-- Used when testing access of a closed/detached window's properties -->
1 <html> 3 <html>
2 <body onunload="opener.postMessage('closed', '*');"> 4 <body onunload="opener.postMessage('closed', '*');">
3 <script> 5 <script>
4 opener.postMessage("opened", "*"); 6 opener.postMessage("opened", "*");
5 </script> 7 </script>
6 </body> 8 </body>
7 </html> 9 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698