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

Issue 166793003: Allow FTP requests by Chromium extensions (Closed)

Created:
6 years, 10 months ago by robwu
Modified:
6 years, 9 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Allow FTP requests by Chromium extensions When an extension specifies a ftp://*/* or <all_urls> permission, then the extension should be allowed to fetch data from a FTP site. Contributed by Rob Wu <rob@robwu.nl>; BUG=75248 TEST=ExtensionApiTest.CrossOriginXHRBackgroundPage:ExtensionApiTest.CrossOriginXHRContentScript Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=256810

Patch Set 1 #

Total comments: 5

Patch Set 2 : verify that onerror is thrown when expected in test #

Total comments: 2

Patch Set 3 : addressed comments #

Patch Set 4 : appengine acted weird #

Patch Set 5 : reupload rebase #

Total comments: 1

Patch Set 6 : fix nits #

Patch Set 7 : rebase #

Messages

Total messages: 27 (0 generated)
robwu
Please review! 2 lines for the actual feature, a 84 lines for the unit tests...
6 years, 10 months ago (2014-02-16 17:34:30 UTC) #1
not at google - send to devlin
Giving FTP support to extensions sounds fine, I think? However I have this vague recollection ...
6 years, 10 months ago (2014-02-18 19:24:03 UTC) #2
willchan no longer on Chromium
News to me. Maybe Chris knows about it. On Feb 18, 2014 11:24 AM, <kalman@chromium.org> ...
6 years, 10 months ago (2014-02-18 20:10:40 UTC) #3
willchan no longer on Chromium
News to me. Maybe Chris knows about it. On Feb 18, 2014 11:24 AM, <kalman@chromium.org> ...
6 years, 10 months ago (2014-02-18 20:11:29 UTC) #4
cbentzel
+ellyjones,davidben They are looking at a summer intern project for an FTP client app (with ...
6 years, 10 months ago (2014-02-18 20:13:33 UTC) #5
robwu
On 2014/02/18 20:13:33, cbentzel wrote: > +ellyjones,davidben > > They are looking at a summer ...
6 years, 10 months ago (2014-02-18 21:30:52 UTC) #6
not at google - send to devlin
On 2014/02/18 21:30:52, robwu wrote: > On 2014/02/18 20:13:33, cbentzel wrote: > > +ellyjones,davidben > ...
6 years, 10 months ago (2014-02-18 21:38:27 UTC) #7
not at google - send to devlin
+meacer, WDYT? It sounds like we're ok to go forward on the network front? However ...
6 years, 10 months ago (2014-02-19 21:56:15 UTC) #8
robwu
On 2014/02/19 21:56:15, kalman wrote: > +meacer, WDYT? > > It sounds like we're ok ...
6 years, 10 months ago (2014-02-19 22:20:18 UTC) #9
cbentzel
OK to go forward on the network front. On Wed, Feb 19, 2014 at 4:56 ...
6 years, 10 months ago (2014-02-19 23:35:19 UTC) #10
not at google - send to devlin
some small comments, but ping @ meacer re security questions. https://codereview.chromium.org/166793003/diff/1/chrome/test/data/extensions/api_test/cross_origin_xhr/background_page/test.js File chrome/test/data/extensions/api_test/cross_origin_xhr/background_page/test.js (right): https://codereview.chromium.org/166793003/diff/1/chrome/test/data/extensions/api_test/cross_origin_xhr/background_page/test.js#newcode23 ...
6 years, 10 months ago (2014-02-21 17:39:44 UTC) #11
robwu
On 2014/02/21 17:39:44, kalman wrote: > some small comments, but ping @ meacer re security ...
6 years, 10 months ago (2014-02-21 19:05:23 UTC) #12
not at google - send to devlin
https://codereview.chromium.org/166793003/diff/1/chrome/test/data/extensions/api_test/cross_origin_xhr/background_page/test.js File chrome/test/data/extensions/api_test/cross_origin_xhr/background_page/test.js (right): https://codereview.chromium.org/166793003/diff/1/chrome/test/data/extensions/api_test/cross_origin_xhr/background_page/test.js#newcode23 chrome/test/data/extensions/api_test/cross_origin_xhr/background_page/test.js:23: if (/^https?:/i.test(url)) chrome.test.assertEq(200, req.status); On 2014/02/21 17:39:44, kalman wrote: ...
6 years, 10 months ago (2014-02-21 19:49:22 UTC) #13
robwu
On 2014/02/21 19:49:22, kalman wrote: > Fair point, and this makes me wonder; do we ...
6 years, 10 months ago (2014-02-21 21:04:09 UTC) #14
robwu
Ping. Still waiting for security review? Just rebased to solve merge conflict from https://codereview.chromium.org/169053005/. Also ...
6 years, 9 months ago (2014-03-05 23:53:52 UTC) #15
not at google - send to devlin
If you delete your last patchset and try re-uploading the diffs should be there. If ...
6 years, 9 months ago (2014-03-05 23:55:27 UTC) #16
robwu
On 2014/03/05 23:55:27, kalman wrote: > If you delete your last patchset and try re-uploading ...
6 years, 9 months ago (2014-03-06 00:03:29 UTC) #17
robwu
Ben, did you actually cc meacer when you said ping @meacer for security review (https://codereview.chromium.org/166793003/#msg11)? ...
6 years, 9 months ago (2014-03-12 15:13:04 UTC) #18
not at google - send to devlin
lgtm https://codereview.chromium.org/166793003/diff/400001/chrome/test/data/extensions/api_test/cross_origin_xhr/background_page/test.js File chrome/test/data/extensions/api_test/cross_origin_xhr/background_page/test.js (right): https://codereview.chromium.org/166793003/diff/400001/chrome/test/data/extensions/api_test/cross_origin_xhr/background_page/test.js#newcode24 chrome/test/data/extensions/api_test/cross_origin_xhr/background_page/test.js:24: if (/^https?:/i.test(url)) chrome.test.assertEq(200, req.status); nit: please write this ...
6 years, 9 months ago (2014-03-12 16:20:41 UTC) #19
robwu
On 2014/03/12 16:20:41, kalman wrote: > https://codereview.chromium.org/166793003/diff/400001/chrome/test/data/extensions/api_test/cross_origin_xhr/background_page/test.js#newcode24 > chrome/test/data/extensions/api_test/cross_origin_xhr/background_page/test.js:24: > if (/^https?:/i.test(url)) chrome.test.assertEq(200, req.status); > ...
6 years, 9 months ago (2014-03-12 16:32:48 UTC) #20
robwu
The CQ bit was checked by rob@robwu.nl
6 years, 9 months ago (2014-03-12 23:09:55 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rob@robwu.nl/166793003/440001
6 years, 9 months ago (2014-03-12 23:11:31 UTC) #22
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-13 03:29:37 UTC) #23
commit-bot: I haz the power
Retried try job too often on win for step(s) compile http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win&number=159068
6 years, 9 months ago (2014-03-13 03:29:38 UTC) #24
robwu
The CQ bit was checked by rob@robwu.nl
6 years, 9 months ago (2014-03-13 11:31:13 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rob@robwu.nl/166793003/440001
6 years, 9 months ago (2014-03-13 11:31:56 UTC) #26
commit-bot: I haz the power
6 years, 9 months ago (2014-03-13 13:12:21 UTC) #27
Message was sent while issue was closed.
Change committed as 256810

Powered by Google App Engine
This is Rietveld 408576698