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

Issue 10261025: Made parse_html_subset pre-compilable. (Closed)

Created:
8 years, 7 months ago by Kevin Greer
Modified:
8 years, 7 months ago
CC:
chromium-reviews, arv (Not doing code reviews)
Visibility:
Public.

Description

Made parse_html_subset pre-compilable. Moved helper functions and static collections into scoped closure. These changes: - remove pollution of the global namespace - avoid the creation of new helper functions each time the parse method is called - allow this file to be pre-compiled BUG=121430 TEST=Run unit tests by loading parse_html_subset_test.html Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=134746

Patch Set 1 #

Total comments: 3

Patch Set 2 : Fixed indentation. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -57 lines) Patch
M chrome/browser/resources/shared/js/parse_html_subset.js View 1 3 chunks +53 lines, -57 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Kevin Greer
Please review.
8 years, 7 months ago (2012-05-01 14:54:10 UTC) #1
arv (Not doing code reviews)
LGTM https://chromiumcodereview.appspot.com/10261025/diff/1/chrome/browser/resources/shared/js/parse_html_subset.js File chrome/browser/resources/shared/js/parse_html_subset.js (right): https://chromiumcodereview.appspot.com/10261025/diff/1/chrome/browser/resources/shared/js/parse_html_subset.js#newcode18 chrome/browser/resources/shared/js/parse_html_subset.js:18: var allowedAttributes = { The initial idea was ...
8 years, 7 months ago (2012-05-01 16:56:08 UTC) #2
Kevin Greer
Indentation fixed. https://chromiumcodereview.appspot.com/10261025/diff/1/chrome/browser/resources/shared/js/parse_html_subset.js File chrome/browser/resources/shared/js/parse_html_subset.js (right): https://chromiumcodereview.appspot.com/10261025/diff/1/chrome/browser/resources/shared/js/parse_html_subset.js#newcode97 chrome/browser/resources/shared/js/parse_html_subset.js:97: }); Fixed. On 2012/05/01 16:56:08, arv wrote: ...
8 years, 7 months ago (2012-05-01 17:12:35 UTC) #3
flackr
lgtm
8 years, 7 months ago (2012-05-01 17:13:00 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kgr@chromium.org/10261025/4001
8 years, 7 months ago (2012-05-01 17:13:02 UTC) #5
commit-bot: I haz the power
8 years, 7 months ago (2012-05-01 19:12:21 UTC) #6
Change committed as 134746

Powered by Google App Engine
This is Rietveld 408576698