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

Issue 460009: Merge 33380 - This fixes an issue where view source on a local file would ret... (Closed)

Created:
11 years ago by Mark Larson (Google)
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, ben+cc_chromium.org
Visibility:
Public.

Description

Merge 33380 - This fixes an issue where view source on a local file would return a blank page. This bug was introduced by the fix for issue 26129 (r30418), which was to limit view source so that it wouldn't be able to load javascript or data URLs, but that change forgot to allow file urls. This fixes the above omission by allowing file URLs again. TEST=works:viewsource:file:///tmp/test.html, doesn't work:viewsource:javascript:alert('foo') BUG=27409 Review URL: http://codereview.chromium.org/434094 TBR=gspencer@google.com Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=33544

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M chrome/browser/browser_url_handler.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
Mark Larson (Google)
11 years ago (2009-12-02 03:51:52 UTC) #1
Greg Spencer (Chromium)
11 years ago (2009-12-02 20:02:08 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698