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

Issue 8942001: Force 'text/plain' rendering for HTML, CSS, and JS sample files. (Closed)

Created:
9 years ago by Mike West
Modified:
9 years ago
Reviewers:
Aaron Boodman, kathyw
CC:
chromium-reviews, jstritar+watch_chromium.org, mihaip+watch_chromium.org, abarth-chromium
Visibility:
Public.

Description

Force 'text/plain' rendering for HTML, CSS, and JS sample files. BUG=107548 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=114533

Patch Set 1 #

Patch Set 2 : Ham-handed blacklisting. #

Patch Set 3 : Slightly better: only letting images through. #

Total comments: 2

Patch Set 4 : Startswith. Python is so clever. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -1 line) Patch
M chrome/common/extensions/docs/server/app.yaml View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/server/chromeextensionsdocs.py View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Mike West
Hi Aaron, Kathy. As discussed earlier in the week, this change should force sample HTML, ...
9 years ago (2011-12-14 16:10:50 UTC) #1
Aaron Boodman
http://codereview.chromium.org/8942001/diff/6001/chrome/common/extensions/docs/server/chromeextensionsdocs.py File chrome/common/extensions/docs/server/chromeextensionsdocs.py (right): http://codereview.chromium.org/8942001/diff/6001/chrome/common/extensions/docs/server/chromeextensionsdocs.py#newcode82 chrome/common/extensions/docs/server/chromeextensionsdocs.py:82: if (path[:9] == "/examples" and startswith() ?
9 years ago (2011-12-14 21:42:12 UTC) #2
Mike West
After chatting with Aaron a bit about the problem, I'm ham-handedly `text/plain`ing everything under `/examples` ...
9 years ago (2011-12-14 21:43:00 UTC) #3
Mike West
http://codereview.chromium.org/8942001/diff/6001/chrome/common/extensions/docs/server/chromeextensionsdocs.py File chrome/common/extensions/docs/server/chromeextensionsdocs.py (right): http://codereview.chromium.org/8942001/diff/6001/chrome/common/extensions/docs/server/chromeextensionsdocs.py#newcode82 chrome/common/extensions/docs/server/chromeextensionsdocs.py:82: if (path[:9] == "/examples" and On 2011/12/14 21:42:15, Aaron ...
9 years ago (2011-12-14 21:49:02 UTC) #4
Aaron Boodman
lgtm
9 years ago (2011-12-14 22:18:10 UTC) #5
kathyw
The functionality looks good to me. We may change the samples page generator to take ...
9 years ago (2011-12-14 22:19:05 UTC) #6
kathyw
On 2011/12/14 22:19:05, kathyw wrote: > The functionality looks good to me. We may change ...
9 years ago (2011-12-14 22:19:24 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkwst@chromium.org/8942001/4003
9 years ago (2011-12-14 22:35:09 UTC) #8
commit-bot: I haz the power
9 years ago (2011-12-15 00:02:31 UTC) #9
Change committed as 114533

Powered by Google App Engine
This is Rietveld 408576698