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

Issue 1115683002: Adding strict mode for bookmark_manager file for better error checking. (Closed)

Created:
5 years, 7 months ago by Deepak
Modified:
5 years, 7 months ago
CC:
chromium-reviews, tfarina, noyau+watch_chromium.org, arv+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adding strict mode for bookmark_manager file for better error checking. Adding strict mode to bookmark manager's js files to detect error at load time itself. BUG=177166 Committed: https://crrev.com/66c786a59403f02dc49df0090cece8e0e3cc3b1b Cr-Commit-Position: refs/heads/master@{#327679}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M chrome/browser/resources/bookmark_manager/js/bmm.js View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/bookmark_manager/js/bmm/bookmark_list.js View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/bookmark_manager/js/bmm/bookmark_tree.js View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/bookmark_manager/js/main.js View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
Deepak
Please review. Thanks
5 years, 7 months ago (2015-04-30 03:59:29 UTC) #1
Deepak
PTAL
5 years, 7 months ago (2015-04-30 03:59:56 UTC) #3
Bernhard Bauer
Cool, thanks! LGTM assuming this doesn't trigger any errors :)
5 years, 7 months ago (2015-04-30 07:56:05 UTC) #4
Deepak
On 2015/04/30 07:56:05, Bernhard Bauer wrote: > Cool, thanks! > > LGTM assuming this doesn't ...
5 years, 7 months ago (2015-04-30 07:56:47 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1115683002/1
5 years, 7 months ago (2015-04-30 07:57:30 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 7 months ago (2015-04-30 08:03:44 UTC) #8
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/66c786a59403f02dc49df0090cece8e0e3cc3b1b Cr-Commit-Position: refs/heads/master@{#327679}
5 years, 7 months ago (2015-04-30 08:05:36 UTC) #9
Dan Beam
A revert of this CL (patchset #1 id:1) has been created in https://codereview.chromium.org/1117143002/ by dbeam@chromium.org. ...
5 years, 7 months ago (2015-04-30 22:29:35 UTC) #10
Deepak
5 years, 7 months ago (2015-05-02 06:24:39 UTC) #11
Message was sent while issue was closed.
On 2015/04/30 22:29:35, Dan Beam wrote:
> A revert of this CL (patchset #1 id:1) has been created in
> https://codereview.chromium.org/1117143002/ by mailto:dbeam@chromium.org.
> 
> The reason for reverting is: > LGTM assuming this doesn't trigger any errors
:)
> 
> It did on the closure bots. Given that this change is solely about better
error
> checking and it's hampering our ability to do compile-time checking with
closure
> compiler, I'm reverting.
> 
> deepak.m1@: you may consider adding these statement inside of a scope (e.g.
> inside cr.define()) as we do a lot of file concatenation and some files might
> not work with strict mode.
> 
> Here's how you check if closure compiler likes your change locally:
> https://code.google.com/p/chromium/wiki/ClosureCompilation.

ok, I have resubmitted it as https://codereview.chromium.org/1126453002/
after resolving ColsureCompilation errors.
Thanks

Powered by Google App Engine
This is Rietveld 408576698