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

Issue 11193013: settings: fix search (Closed)

Created:
8 years, 2 months ago by Evan Stade
Modified:
8 years, 2 months ago
Reviewers:
Mike West, Dan Beam
CC:
chromium-reviews, arv (Not doing code reviews)
Visibility:
Public.

Description

settings: fix search don't reference an element that doesn't exist. A button was removed in r160703, but it was still listed as an "associated control" for search, so that during search NULL was derefed. BUG=155364 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=162307

Patch Set 1 #

Total comments: 2

Patch Set 2 : fix typo #

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

Messages

Total messages: 5 (0 generated)
Evan Stade
dbeam review, mkwst FYI. Needs to be merged to 1271 (m23).
8 years, 2 months ago (2012-10-16 22:13:58 UTC) #1
Dan Beam
lgtm
8 years, 2 months ago (2012-10-16 22:25:47 UTC) #2
Dan Beam
http://codereview.chromium.org/11193013/diff/1/chrome/browser/resources/options/options_page.js File chrome/browser/resources/options/options_page.js (right): http://codereview.chromium.org/11193013/diff/1/chrome/browser/resources/options/options_page.js#newcode504 chrome/browser/resources/options/options_page.js:504: // Sanity check. it's possible that you'd wrap this ...
8 years, 2 months ago (2012-10-16 22:27:44 UTC) #3
Dan Beam
On 2012/10/16 22:27:44, Dan Beam wrote: > http://codereview.chromium.org/11193013/diff/1/chrome/browser/resources/options/options_page.js > File chrome/browser/resources/options/options_page.js (right): > > http://codereview.chromium.org/11193013/diff/1/chrome/browser/resources/options/options_page.js#newcode504 ...
8 years, 2 months ago (2012-10-16 22:28:30 UTC) #4
Evan Stade
8 years, 2 months ago (2012-10-16 22:57:39 UTC) #5
https://chromiumcodereview.appspot.com/11193013/diff/1/chrome/browser/resourc...
File chrome/browser/resources/options/options_page.js (right):

https://chromiumcodereview.appspot.com/11193013/diff/1/chrome/browser/resourc...
chrome/browser/resources/options/options_page.js:504: // Sanity check.
On 2012/10/16 22:27:45, Dan Beam wrote:
> it's possible that you'd wrap this in an <if expr="debug"> 
> (or however you do that in .js), but it just depends on how much you expect
> users to hit this / help you repro

since registerOverlay is called at startup, this completely breaks the page on
load. Developers can't help but notice it before it gets to users.

Powered by Google App Engine
This is Rietveld 408576698