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

Issue 1541023002: Keep original pushState() method for use in JS overwrite (Closed)

Created:
5 years ago by Jackie Quinn
Modified:
4 years, 11 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

Keep original pushState() method for use in JS overwrite Keep original pushState() method for use in JS overwrite of window.history.pushState. Previously, the original replaceState was used because back/forward navigation was performed wholly by the native history stack. Using the original pushState keeps WKWebView's back forward list in sync with the native stack. BUG=564633 Committed: https://crrev.com/66238f7e788dfff4a656c7a34089bf0a499220c9 Cr-Commit-Position: refs/heads/master@{#367378}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use pageTitle #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -5 lines) Patch
M ios/web/web_state/js/resources/core.js View 1 3 chunks +8 lines, -5 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
Jackie Quinn
5 years ago (2015-12-21 23:37:52 UTC) #2
Jackie Quinn
4 years, 11 months ago (2016-01-04 20:37:18 UTC) #4
Eugene But (OOO till 7-30)
lgtm https://codereview.chromium.org/1541023002/diff/1/ios/web/web_state/js/resources/core.js File ios/web/web_state/js/resources/core.js (right): https://codereview.chromium.org/1541023002/diff/1/ios/web/web_state/js/resources/core.js#newcode405 ios/web/web_state/js/resources/core.js:405: originalWindowHistoryPushState.call(history, stateObject, '', pageUrl); I think you want ...
4 years, 11 months ago (2016-01-04 20:52:31 UTC) #5
Jackie Quinn
https://codereview.chromium.org/1541023002/diff/1/ios/web/web_state/js/resources/core.js File ios/web/web_state/js/resources/core.js (right): https://codereview.chromium.org/1541023002/diff/1/ios/web/web_state/js/resources/core.js#newcode405 ios/web/web_state/js/resources/core.js:405: originalWindowHistoryPushState.call(history, stateObject, '', pageUrl); On 2016/01/04 20:52:30, eugenebut wrote: ...
4 years, 11 months ago (2016-01-04 21:16:59 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1541023002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1541023002/20001
4 years, 11 months ago (2016-01-04 21:18:15 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 11 months ago (2016-01-04 21:43:35 UTC) #10
commit-bot: I haz the power
4 years, 11 months ago (2016-01-04 21:44:34 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/66238f7e788dfff4a656c7a34089bf0a499220c9
Cr-Commit-Position: refs/heads/master@{#367378}

Powered by Google App Engine
This is Rietveld 408576698