Commit Graph

130 Commits

Author SHA1 Message Date
Shane Caraveo
60f1dc1af2 Bug 1398622 fix ws handling in contentpolicymanager, and fix stupid error. r=kmag
MozReview-Commit-ID: EmPvtRrnrnI
2017-09-10 21:37:27 -07:00
Kris Maglione
bd93d990bf Bug 1397536: Avoid newURI overhead for MatchPattern. r=ehsan,mixedpuppy
Ehsan, can you please review the (trivial) WebIDL changes, and Shane the
WebRequest logic?

The change to allow strings in MatchPattern arguments removes a huge amount of
XPConnect overhead that accumulates when creating nsIURI objects for
WebRequest processing.

The change to re-use existing URI objects removes a huge amount of URI
creation overhead.

MozReview-Commit-ID: 3DJjAKJK1Sa
2017-09-06 21:56:45 -07:00
Kris Maglione
4fbcf97b35 Bug 1396856: Part 4 - Update WebRequest.jsm to use ChannelWrapper bindings. r=mixedpuppy
MozReview-Commit-ID: 7s7SOQ1XVaw
2017-09-06 21:52:24 -07:00
Kris Maglione
d2830a9581 Bug 1255894: Part 7 - Expose response stream filtering via the webRequest API. r=mixedpuppy
MozReview-Commit-ID: AErBFGJyFg5
2017-09-02 13:37:31 -07:00
Shane Caraveo
cf5699a2db Bug 1388889 fix null principal handling for webrequest, r=kmag
MozReview-Commit-ID: B8qK4ZnaO9i
2017-08-25 14:12:42 -07:00
Shane Caraveo
3011601eaa Bug 1373646 add nsIProxyInfo to webrequest, r=kmag
MozReview-Commit-ID: pc98rgtkVc
2017-08-23 10:43:04 -07:00
Shane Caraveo
802866c20d Bug 1388289 fix challenger info for proxy auth requests, r=kmag
MozReview-Commit-ID: D0Tin2bK8R4
2017-08-17 19:56:22 -07:00
Shane Caraveo
51d0da99dc Bug 1368527 add new on-before-connect notification to httpChannel, r=dragana,kmag
MozReview-Commit-ID: 8hiAgY4KzDB
2017-08-15 13:11:50 -07:00
Shane Caraveo
415d4e808d Bug 1386533 fix host permitted matching, r=kmag
MozReview-Commit-ID: 81ANT5R1671
2017-08-02 15:33:17 -07:00
Shane Caraveo
9908bc12e8 Bug 1380186 implement SimpleChannel Parent/Child IPC, r=kmag,mayhemer
MozReview-Commit-ID: 8zgF2MLwdu2
2017-07-27 13:34:54 -07:00
Shane Caraveo
1fe97eb22e Bug 1382834 fix ws/wss protocol matching, r=kmag
MozReview-Commit-ID: 6IKTPA1sJgh
2017-07-24 17:00:29 -07:00
Shane Caraveo
5107717e94 Bug 1367478 support websocket ws/wss protocol in matchpattern, r=kmag
MozReview-Commit-ID: 6cnRyWRnRzT
2017-06-07 12:16:14 -07:00
Kris Maglione
4f623b6890 Bug 1322235: Part 3 - Use MatchPatternSet for whiteListedHosts and webRequest. r=aswan,zombie
This is the second step to migrating the policy service to pure native code,
with similar impacts and reasoning to the previous patch.

MozReview-Commit-ID: L5XdPzWNZXM
2017-06-03 22:11:20 -07:00
Shane Caraveo
f90c7499e5 Bug 1338860 fix onErrorOccurred to handle some additional errors, r=aswan,kmag
MozReview-Commit-ID: I5uZmhWFBUd
2017-06-02 14:16:48 -07:00
Shane Caraveo
2a84eab190 Bug 1367138 fix webrequest frameId and parentFrameId, r=aswan
MozReview-Commit-ID: F8lD8vvfSQ5
2017-06-02 12:05:13 -07:00
Florian Quèze
ff53eb9a63 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Florian Queze
c9a0637249 Bug 1359111 - stop using BrowserUtils.makeURI, r=jaws. 2017-04-25 09:21:49 +02:00
Shane Caraveo
19e21ac660 Bug 1326298 implement off-main-thread delivery with start/stop/error listeners, r=kmag
MozReview-Commit-ID: Ke4NsthrbP2
2017-04-18 15:50:53 -07:00
Florian Queze
ddf0cda8da Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Florian Queze
d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
4cd95d4a02 Backed out changeset 18d45aa984d6 (bug 1355161) 2017-04-14 23:39:23 +02:00
Sebastian Hengst
42670ceca0 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze
9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Florian Queze
35cd8ba883 Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Tomislav Jovanovic
e94741e606 Bug 1323036 - Preserve case of header names r=mixedpuppy
MozReview-Commit-ID: 2jDHOr2GI6T
2017-04-06 01:08:11 +02:00
Tomislav Jovanovic
251163ad61 Bug 1339559 - Enable no-mixed-operators ESLint rule r=kmag
MozReview-Commit-ID: LjuiizBh1OK
2017-03-17 14:28:14 +01:00
Tomislav Jovanovic
410a8bbf73 Bug 1311815 - Check host permissions for webRequest listeners r=kmag
MozReview-Commit-ID: 9bcb4p7tP2u
2017-02-16 14:56:35 +01:00
Shane Caraveo
f094e18e5f Bug 1190689 implement onAuthRequired for WebRequest, r=kmag
MozReview-Commit-ID: D6ydPIMNzDI
2017-01-26 13:40:36 -08:00
Kris Maglione
29d9676b82 Bug 1305162: Part 3 - Allow requestBody in release builds. r=mixedpuppy
MozReview-Commit-ID: AmlVoDduXHf
2016-12-09 14:37:48 -10:00
Phil Ringnalda
c5e57c28f7 Backed out 5 changesets (bug 1305162) for permatimeout in e10s browser_action_keyword.js
Backed out changeset c633650caea6 (bug 1305162)
Backed out changeset 1a23ce5a17c3 (bug 1305162)
Backed out changeset d1095e03dfc6 (bug 1305162)
Backed out changeset 1202edf6008d (bug 1305162)
Backed out changeset de131f7c1fc1 (bug 1305162)
2017-01-21 09:41:03 -08:00
Kris Maglione
f47df64aeb Fix runChannelListener complexity warnings again, change severity to error. r=me (no bug)
MozReview-Commit-ID: HMUPIOLR61Y
2017-01-20 18:07:45 -08:00
Kris Maglione
daa4f26cb7 Bug 1305162: Part 3 - Allow requestBody in release builds. r=mixedpuppy
MozReview-Commit-ID: AmlVoDduXHf
2016-12-09 14:37:48 -10:00
Jared Wein
21fc75d491 Bug 1326479 - Fix 'indent' eslint errors now that eslint scans multiline array and object definitions. r=Gijs
MozReview-Commit-ID: 99mWjxu8PPn
2017-01-03 10:07:50 -05:00
Kris Maglione
87cce088e3 Bug 1325158: Part 3 - Don't create a reference cycle via HTTP channel property bag. r=mixedpuppy
MozReview-Commit-ID: 40Ox7BDlgwy
2016-12-24 18:26:03 -08:00
Andrew Swan
a18ef6d3f7 Bug 1308688 followup r=kmag
MozReview-Commit-ID: GPPJm1Hlx88
2016-12-01 10:35:16 -08:00
Shane Caraveo
829f320c55 Bug 1318800 fix systemPrincipal checks so top level tab loads work with webrequests, r=kmag
MozReview-Commit-ID: D5b8Qs839bP
2016-11-29 16:00:06 -08:00
Andrew Swan
693862066d Bug 1308688 r=kmag
MozReview-Commit-ID: IinAfopVsw8
2016-11-29 11:49:03 -08:00
Kris Maglione
e06abfffac Bug 1319607: Follow-up: Fix typo.
MozReview-Commit-ID: LFZ1ddQy6xQ
2016-11-28 08:19:41 -08:00
Kris Maglione
13de4d9cb5 Bug 1319607: Make request resumption more resilient. r=mixedpuppy
MozReview-Commit-ID: 8ObjJKDf3wb
2016-11-24 13:56:22 -08:00
Kris Maglione
b1988dcf9c Bug 1317366: Handle blocking WebRequest listeners returning non-object values. r=mixedpuppy
MozReview-Commit-ID: HMbgONPqsKU
2016-11-14 21:34:23 -08:00
Kris Maglione
f5251b3399 Bug 1316914: Refactor runChannelListener to decrease complexity to a manageable level. r=mixedpuppy
MozReview-Commit-ID: JdaxEH22Sub
2016-11-11 15:39:31 -08:00
Kris Maglione
b5f8391635 Bug 1305217: Part 1 - Run webRequest listeners asynchronously. r=mixedpuppy
MozReview-Commit-ID: 2XF6irv5WBd
2016-11-12 13:51:59 -08:00
Sebastian Hengst
990d219d9a Backed out changeset 4efa832fc852 (bug 1305217) for frequent timeouts in test_ext_webrequest_upload.html. r=backout 2016-11-12 13:45:03 +01:00
Sebastian Hengst
5406f68caa Backed out changeset 67858d51f777 (bug 1316914) 2016-11-12 13:43:19 +01:00
Kris Maglione
df3dd2dbff Bug 1316914: Refactor runChannelListener to decrease complexity to a manageable level. r=mixedpuppy
MozReview-Commit-ID: JdaxEH22Sub
2016-11-11 15:39:31 -08:00
Kris Maglione
7374699bc7 Bug 1305217: Part 1 - Run webRequest listeners asynchronously. r=mixedpuppy
MozReview-Commit-ID: 2XF6irv5WBd
2016-11-11 11:09:35 -08:00
Shane Caraveo
3a9633522f Bug 1314492 refactor webrequest tests, r=kmag
MozReview-Commit-ID: D0dleERLM3K
2016-11-10 16:01:50 -08:00
Kris Maglione
c891395fc7 Bug 1254204: Part 3 - Refactor runChennelListener to decrease cyclomatic complexity. r=mixedpuppy
MozReview-Commit-ID: udmh8O94Jv
2016-11-08 21:51:23 -08:00
Kris Maglione
1021fda408 Bug 1254204: Part 2 - Allow suspending requests by returning Promises from blocking request listeners. r=mixedpuppy
MozReview-Commit-ID: B1ekz7WJ9kU
2016-11-09 13:39:09 -08:00
Kris Maglione
005089c363 Bug 1254204: Part 1 - Apply WebRequest header changes differentially, after all listeners have run in parallel. r=mixedpuppy
MozReview-Commit-ID: Jk1ja5Y3lMI
2016-11-09 13:36:54 -08:00