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

Issue 1714573002: Remove the ability of webpages to specify strings for the onbeforeunload dialog. (Closed)

Created:
4 years, 10 months ago by Avi (use Gerrit)
Modified:
4 years, 9 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove the ability of webpages to specify strings for the onbeforeunload dialog. BUG=587940 TEST=as in bug CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/141dbc132f8aa2588fad4cf50fbfd7a319234b61 Cr-Commit-Position: refs/heads/master@{#380755}

Patch Set 1 #

Total comments: 2

Patch Set 2 : creis #

Patch Set 3 : remove it all #

Patch Set 4 : more android #

Patch Set 5 : layout tests, android #

Patch Set 6 : android fix #

Patch Set 7 : android again #

Patch Set 8 : android build files #

Patch Set 9 : move to native #

Patch Set 10 : new strings from ux #

Patch Set 11 : simplified strings, icon in the dialog #

Patch Set 12 : remove unneeded bool in android #

Patch Set 13 : rebase #

Patch Set 14 : rebase again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -104 lines) Patch
M android_webview/DEPS View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M android_webview/browser/aw_contents_client_bridge_base.h View 1 2 3 5 6 7 8 9 10 11 1 chunk +0 lines, -1 line 0 comments Download
M android_webview/browser/aw_javascript_dialog_manager.h View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M android_webview/browser/aw_javascript_dialog_manager.cc View 1 2 3 5 6 7 8 9 10 11 2 chunks +0 lines, -2 lines 0 comments Download
M android_webview/native/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M android_webview/native/aw_contents_client_bridge.h View 1 2 3 5 6 7 8 9 10 11 1 chunk +0 lines, -1 line 0 comments Download
M android_webview/native/aw_contents_client_bridge.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +5 lines, -1 line 0 comments Download
M android_webview/native/webview_native.gyp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M android_webview/ui/grit_components_whitelist.txt View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/javascript_app_modal_dialog_cocoa.mm View 1 2 3 4 5 6 7 8 9 10 1 chunk +8 lines, -4 lines 0 comments Download
M components/app_modal/javascript_dialog_manager.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M components/app_modal/javascript_dialog_manager.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +23 lines, -29 lines 0 comments Download
M components/app_modal_strings.grdp View 1 2 3 4 5 6 7 8 9 10 1 chunk +9 lines, -12 lines 0 comments Download
M components/test_runner/web_frame_test_proxy.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -3 lines 0 comments Download
M content/browser/frame_host/render_frame_host_delegate.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/frame_host/render_frame_host_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 5 6 7 8 9 2 chunks +1 line, -2 lines 0 comments Download
M content/browser/web_contents/web_contents_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -1 line 0 comments Download
M content/common/frame_messages.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -2 lines 0 comments Download
M content/public/browser/javascript_dialog_manager.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -2 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +2 lines, -4 lines 0 comments Download
M content/shell/browser/layout_test/layout_test_javascript_dialog_manager.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M content/shell/browser/layout_test/layout_test_javascript_dialog_manager.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M content/shell/browser/shell_javascript_dialog_manager.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M content/shell/browser/shell_javascript_dialog_manager.cc View 1 2 2 chunks +3 lines, -5 lines 0 comments Download
M extensions/browser/guest_view/web_view/javascript_dialog_helper.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M extensions/browser/guest_view/web_view/javascript_dialog_helper.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/events/before-unload-reloads-expected.txt View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/events/before-unload-returnValue-expected.txt View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/loader/form-submission-after-beforeunload-cancel-expected.txt View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/loader/show-only-one-beforeunload-dialog-expected.txt View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/misc/reentrant-beforeunload-expected.txt View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector-protocol/page/javascriptDialogEvents-expected.txt View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/EmptyClients.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/page/ChromeClient.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/page/ChromeClient.cpp View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/ChromeClientImpl.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/ChromeClientImpl.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/public/web/WebFrameClient.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -6 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 92 (44 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1714573002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1714573002/1
4 years, 10 months ago (2016-02-18 19:58:02 UTC) #2
Avi (use Gerrit)
4 years, 10 months ago (2016-02-18 20:00:35 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-18 21:10:54 UTC) #6
domenic
lgtm
4 years, 10 months ago (2016-02-18 21:21:18 UTC) #7
palmer
lgtm
4 years, 10 months ago (2016-02-18 21:29:49 UTC) #9
Charlie Reis
Yeah, we should do this. LGTM. Should we get someone from UX to approve the ...
4 years, 10 months ago (2016-02-18 21:37:13 UTC) #10
Avi (use Gerrit)
Good points. 1. I'm in talks with UX. 2. If we can't push this until ...
4 years, 10 months ago (2016-02-18 21:42:26 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1714573002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1714573002/20001
4 years, 10 months ago (2016-02-18 21:42:52 UTC) #13
esprehn
Not lgtm, you're leaving behind all the plumbing in blink.
4 years, 10 months ago (2016-02-18 22:56:44 UTC) #15
Avi (use Gerrit)
On 2016/02/18 22:56:44, esprehn wrote: > Not lgtm, you're leaving behind all the plumbing in ...
4 years, 10 months ago (2016-02-18 23:26:08 UTC) #16
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-19 00:18:07 UTC) #18
Avi (use Gerrit)
Elliott— The intent has the required 3 LGs, and I'd like to go forward with ...
4 years, 10 months ago (2016-02-24 17:10:41 UTC) #19
jochen (gone - plz use gerrit)
I'd leave the string in - we need the IPC anyways, and leaving the string ...
4 years, 10 months ago (2016-02-24 18:51:48 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1714573002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1714573002/40001
4 years, 10 months ago (2016-02-24 21:17:46 UTC) #24
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/120807) linux_chromium_compile_dbg_ng on ...
4 years, 10 months ago (2016-02-24 21:29:21 UTC) #26
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1714573002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1714573002/40001
4 years, 10 months ago (2016-02-25 15:41:08 UTC) #28
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chromium_gn_compile_rel/builds/27332) android_compile_dbg on ...
4 years, 10 months ago (2016-02-25 16:08:22 UTC) #30
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1714573002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1714573002/60001
4 years, 10 months ago (2016-02-25 16:23:44 UTC) #32
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_compile_dbg on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/27198) linux_android_rel_ng on ...
4 years, 10 months ago (2016-02-25 16:43:40 UTC) #34
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1714573002/70001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1714573002/70001
4 years, 10 months ago (2016-02-25 21:59:56 UTC) #38
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1714573002/90001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1714573002/90001
4 years, 10 months ago (2016-02-25 22:33:37 UTC) #40
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/27421) android_chromium_gn_compile_dbg on ...
4 years, 10 months ago (2016-02-25 23:17:22 UTC) #42
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1714573002/110001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1714573002/110001
4 years, 10 months ago (2016-02-26 00:03:28 UTC) #44
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chromium_gn_compile_rel/builds/27764)
4 years, 10 months ago (2016-02-26 01:18:23 UTC) #46
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1714573002/130001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1714573002/130001
4 years, 9 months ago (2016-02-26 21:42:01 UTC) #48
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chromium_gn_compile_dbg/builds/28382)
4 years, 9 months ago (2016-02-26 22:24:30 UTC) #50
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1714573002/150001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1714573002/150001
4 years, 9 months ago (2016-02-29 19:17:45 UTC) #52
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-02-29 20:50:11 UTC) #54
Avi (use Gerrit)
Please review. Mikhail, android files Jochen, components Fady, guest_view Elliott, please take another look at ...
4 years, 9 months ago (2016-02-29 20:53:25 UTC) #56
Fady Samuel
guest_view lgtm
4 years, 9 months ago (2016-02-29 20:54:51 UTC) #58
mnaganov (inactive)
android_webview LGTM
4 years, 9 months ago (2016-02-29 20:58:39 UTC) #59
esprehn
lgtm, you're a hero among humans. :)
4 years, 9 months ago (2016-02-29 21:36:04 UTC) #60
jochen (gone - plz use gerrit)
lgtm
4 years, 9 months ago (2016-03-01 14:36:05 UTC) #61
Avi (use Gerrit)
The _other_ Ilya, can you look at histograms? 😳
4 years, 9 months ago (2016-03-01 17:11:33 UTC) #63
Ilya Sherman
histograms.xml lgtm
4 years, 9 months ago (2016-03-01 22:25:25 UTC) #64
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1714573002/170001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1714573002/170001
4 years, 9 months ago (2016-03-08 20:54:17 UTC) #66
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-08 22:35:54 UTC) #68
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1714573002/190001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1714573002/190001
4 years, 9 months ago (2016-03-10 20:18:02 UTC) #70
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/179552)
4 years, 9 months ago (2016-03-10 21:16:00 UTC) #72
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1714573002/230001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1714573002/230001
4 years, 9 months ago (2016-03-11 17:19:44 UTC) #75
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chromium_gn_compile_dbg/builds/35033) android_compile_dbg on tryserver.chromium.android (JOB_FAILED, ...
4 years, 9 months ago (2016-03-11 17:23:33 UTC) #77
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1714573002/250001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1714573002/250001
4 years, 9 months ago (2016-03-11 17:32:37 UTC) #80
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/129793)
4 years, 9 months ago (2016-03-11 18:29:36 UTC) #82
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1714573002/250001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1714573002/250001
4 years, 9 months ago (2016-03-11 19:49:47 UTC) #84
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/129939)
4 years, 9 months ago (2016-03-11 21:27:28 UTC) #86
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1714573002/250001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1714573002/250001
4 years, 9 months ago (2016-03-11 21:33:48 UTC) #88
commit-bot: I haz the power
Committed patchset #14 (id:250001)
4 years, 9 months ago (2016-03-11 22:27:59 UTC) #90
commit-bot: I haz the power
4 years, 9 months ago (2016-03-11 22:29:20 UTC) #92
Message was sent while issue was closed.
Patchset 14 (id:??) landed as
https://crrev.com/141dbc132f8aa2588fad4cf50fbfd7a319234b61
Cr-Commit-Position: refs/heads/master@{#380755}

Powered by Google App Engine
This is Rietveld 408576698