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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/resources/window-postmessage-open-close.html
diff --git a/LayoutTests/fast/files/resources/file-reader-detached-no-crash-new-window.html b/LayoutTests/resources/window-postmessage-open-close.html
similarity index 58%
rename from LayoutTests/fast/files/resources/file-reader-detached-no-crash-new-window.html
rename to LayoutTests/resources/window-postmessage-open-close.html
index 9d25380570b6450f8496e7ae65934eb01142ea05..3adb8ceecdc36eb667eb8238ca20515714c9e86f 100644
--- a/LayoutTests/fast/files/resources/file-reader-detached-no-crash-new-window.html
+++ b/LayoutTests/resources/window-postmessage-open-close.html
@@ -1,3 +1,5 @@
+<!DOCTYPE html>
+<!-- Used when testing access of a closed/detached window's properties -->
<html>
<body onunload="opener.postMessage('closed', '*');">
<script>

Powered by Google App Engine
This is Rietveld 408576698