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

Issue 3074007: Avoid js exception in history.pushState by not changing url per csilv (Closed)

Created:
10 years, 4 months ago by xiyuan
Modified:
9 years, 7 months ago
Reviewers:
csilv
CC:
chromium-reviews, dhg, arv (Not doing code reviews), ben+cc_chromium.org, zel
Base URL:
http://src.chromium.org/git/chromium.git
Visibility:
Public.

Description

Avoid js exception in history.pushState by not changing url. Also added a missing OptionsPage.setState call. BUG=none TEST=OptionsPage should work as expected when switching tabs and users/network list should be populated properly. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=54017

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -2 lines) Patch
M chrome/browser/resources/options/options_page.js View 2 chunks +12 lines, -2 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
xiyuan
10 years, 4 months ago (2010-07-28 19:40:12 UTC) #1
csilv
+zel This is probably a better approach than my CL.
10 years, 4 months ago (2010-07-28 19:51:40 UTC) #2
csilv
10 years, 4 months ago (2010-07-28 20:44:55 UTC) #3
LGTM

Tested and works well.  While pages don't show up in browser history, the
forward/backward buttons work fine which is nice.

Powered by Google App Engine
This is Rietveld 408576698