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

Issue 280703003: Don't ever create a file in about:blank when launching packaged apps. (Closed)

Created:
6 years, 7 months ago by benwells
Modified:
6 years, 7 months ago
Reviewers:
tapted
CC:
chromium-reviews, tfarina, chromium-apps-reviews_chromium.org, chrome-apps-syd-reviews_chromium.org, James Cook
Visibility:
Public.

Description

Don't ever create a file in about:blank when launching packaged apps. Browser tests append about:blank to the command line, which if passed to a packaged app with write access will result in a file named 'about' being created in the current directory. This change prevents about:blank being passed to packaged apps as a launch parameter. BUG=371925 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270302

Patch Set 1 #

Total comments: 3

Patch Set 2 : Suggestions #

Patch Set 3 : Fix warning #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -1 line) Patch
M apps/launcher.cc View 1 2 2 chunks +15 lines, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
benwells
... since you reviewed my last change in here ...
6 years, 7 months ago (2014-05-13 05:45:11 UTC) #1
tapted
Some suggestions, but lgtm as is too https://codereview.chromium.org/280703003/diff/1/apps/launcher.cc File apps/launcher.cc (right): https://codereview.chromium.org/280703003/diff/1/apps/launcher.cc#newcode356 apps/launcher.cc:356: base::CommandLine::StringType about_blank_url( ...
6 years, 7 months ago (2014-05-13 06:47:04 UTC) #2
benwells
https://codereview.chromium.org/280703003/diff/1/apps/launcher.cc File apps/launcher.cc (right): https://codereview.chromium.org/280703003/diff/1/apps/launcher.cc#newcode366 apps/launcher.cc:366: command_line.GetArgs()[0] == about_blank_url) { On 2014/05/13 06:47:04, tapted wrote: ...
6 years, 7 months ago (2014-05-13 11:41:54 UTC) #3
benwells
The CQ bit was checked by benwells@chromium.org
6 years, 7 months ago (2014-05-13 11:42:26 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benwells@chromium.org/280703003/20001
6 years, 7 months ago (2014-05-13 11:43:01 UTC) #5
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-13 15:36:19 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-13 15:45:22 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_clang_dbg/builds/141922)
6 years, 7 months ago (2014-05-13 15:45:22 UTC) #8
benwells
The CQ bit was checked by benwells@chromium.org
6 years, 7 months ago (2014-05-13 22:59:51 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benwells@chromium.org/280703003/40001
6 years, 7 months ago (2014-05-13 23:06:36 UTC) #10
commit-bot: I haz the power
6 years, 7 months ago (2014-05-14 02:14:00 UTC) #11
Message was sent while issue was closed.
Change committed as 270302

Powered by Google App Engine
This is Rietveld 408576698