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

Issue 2780953002: When historyEntryRequiresUserGesture is enabled, exempt docs that have been committed for 5 seconds (Closed)

Created:
3 years, 8 months ago by Nate Chapin
Modified:
3 years, 8 months ago
Reviewers:
Z_DONOTUSE, ojan
CC:
blink-reviews, blink-reviews-dom_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, rwlbuis, sof
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

When historyEntryRequiresUserGesture is enabled, exempt docs that have been committed for 5 seconds Also, add a test for historyEntryRequiresUserGesture flag. BUG=638198 TEST=http/tests/history/history-entry-requires-user-gesture.html Review-Url: https://codereview.chromium.org/2780953002 Cr-Commit-Position: refs/heads/master@{#462166} Committed: https://chromium.googlesource.com/chromium/src/+/5a9d9d9333295c2b73567e4256cd68abe5481380

Patch Set 1 #

Patch Set 2 : Centralize checking the setting #

Total comments: 7

Patch Set 3 : Address ojan's comments #

Messages

Total messages: 23 (16 generated)
Nate Chapin
I think this is the best resolution to the problem of this experiment breaking a ...
3 years, 8 months ago (2017-03-28 23:40:35 UTC) #4
ojan
Might make sense to split this into two patches since the change and the tests ...
3 years, 8 months ago (2017-04-03 21:03:54 UTC) #9
Nate Chapin
Agreed on the description-ordering. I'm somewhat inclined to leave this as one CL, since they're ...
3 years, 8 months ago (2017-04-04 20:42:20 UTC) #13
Z_DONOTUSE
lgtm https://codereview.chromium.org/2780953002/diff/20001/third_party/WebKit/LayoutTests/http/tests/history/history-entry-requires-user-gesture.html File third_party/WebKit/LayoutTests/http/tests/history/history-entry-requires-user-gesture.html (right): https://codereview.chromium.org/2780953002/diff/20001/third_party/WebKit/LayoutTests/http/tests/history/history-entry-requires-user-gesture.html#newcode7 third_party/WebKit/LayoutTests/http/tests/history/history-entry-requires-user-gesture.html:7: internals.settings.setHistoryEntryRequiresUserGesture(true); On 2017/04/04 at 20:42:19, Nate Chapin wrote: ...
3 years, 8 months ago (2017-04-05 17:39:13 UTC) #17
ojan
lgtm
3 years, 8 months ago (2017-04-05 17:40:55 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2780953002/40001
3 years, 8 months ago (2017-04-05 19:03:46 UTC) #20
commit-bot: I haz the power
3 years, 8 months ago (2017-04-05 19:10:17 UTC) #23
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/5a9d9d9333295c2b73567e4256cd...

Powered by Google App Engine
This is Rietveld 408576698