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

Unified Diff: LayoutTests/vibration/vibration-detached-no-crash-expected.txt

Issue 298683002: navigator.vibrate() crash avoidance when in a detached state. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rephrase null check Created 6 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/vibration/vibration-detached-no-crash-expected.txt
diff --git a/LayoutTests/fast/dom/Window/Location/set-location-after-close-expected.txt b/LayoutTests/vibration/vibration-detached-no-crash-expected.txt
similarity index 66%
copy from LayoutTests/fast/dom/Window/Location/set-location-after-close-expected.txt
copy to LayoutTests/vibration/vibration-detached-no-crash-expected.txt
index 1b11e3a55a2feada5ca6b5979a419b15db3cd51d..e0f28c1e270c9de3a3ce2c5c35d0c011a814e4c3 100644
--- a/LayoutTests/fast/dom/Window/Location/set-location-after-close-expected.txt
+++ b/LayoutTests/vibration/vibration-detached-no-crash-expected.txt
@@ -1,9 +1,10 @@
main frame - has 1 onunload handler(s)
-Updating window.location after the window has been closed, without crashing.
+Accessing navigator.vibrate on a closed window.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+PASS w.navigator.vibrate([]) is false
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « LayoutTests/vibration/vibration-detached-no-crash.html ('k') | Source/modules/vibration/NavigatorVibration.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698