From cce6be1900f4beda1b6988c016acf61c928c4dde Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 3 Aug 2016 12:44:18 -0700 Subject: [PATCH] Only prevent unload the first time it is attempted --- spec/fixtures/api/beforeunload-false.html | 7 ++++++- spec/fixtures/api/close-beforeunload-empty-string.html | 8 +++++++- spec/fixtures/api/close-beforeunload-false.html | 7 ++++++- 3 files changed, 19 insertions(+), 3 deletions(-) diff --git a/spec/fixtures/api/beforeunload-false.html b/spec/fixtures/api/beforeunload-false.html index e34a1945dd95..4ba1867ce63d 100644 --- a/spec/fixtures/api/beforeunload-false.html +++ b/spec/fixtures/api/beforeunload-false.html @@ -1,11 +1,16 @@ diff --git a/spec/fixtures/api/close-beforeunload-empty-string.html b/spec/fixtures/api/close-beforeunload-empty-string.html index 2efaac34129c..13564fba349a 100644 --- a/spec/fixtures/api/close-beforeunload-empty-string.html +++ b/spec/fixtures/api/close-beforeunload-empty-string.html @@ -1,11 +1,17 @@ diff --git a/spec/fixtures/api/close-beforeunload-false.html b/spec/fixtures/api/close-beforeunload-false.html index 03590789d00c..482b8757e435 100644 --- a/spec/fixtures/api/close-beforeunload-false.html +++ b/spec/fixtures/api/close-beforeunload-false.html @@ -1,11 +1,16 @@