Commit Graph

46 Commits

Author SHA1 Message Date
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
Kris Maglione
1aa2783d54 Bug 1303798: Correctly propagate addListener errors from WebRequest.jsm to extension. r=mixedpuppy
MozReview-Commit-ID: BTTNaaAdBs5
2016-11-06 18:08:46 -08:00
Shane Caraveo
b2ca77fcab Bug 1273138 fix WebRequest for background pages, r=kmag
MozReview-Commit-ID: DEW9anMmKi2
2016-11-02 09:30:50 -07:00
Sebastian Hengst
faa4e03c25 Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop
MozReview-Commit-ID: 1lCt0xTMV5O
2016-10-08 11:14:49 +02:00
Tomislav Jovanovic
32a487cd24 bug 1293355 - add fromCache to onResponseStarted details, r=kmag
MozReview-Commit-ID: GO0a8s8D2oT
2016-09-21 21:57:15 +02:00
Kris Maglione
bad292d78c Bug 1304331: Support setting the Content-Type header from WebRequest observers. r=mao
MozReview-Commit-ID: 93joPUweJ2x
2016-09-21 14:17:24 +01:00
Giorgio Maone
fe97eb7f75 Bug 1201979 - Support requestBody in onBeforeRequest. r=kmag
MozReview-Commit-ID: LAHKN5uZO0
2016-07-29 23:38:43 +02:00
Kershaw Chang
b76875ced4 Bug 1256595 - Add frameOuterWindowID in nsILoadInfo, r=billm 2016-06-27 02:42:00 +02:00
Giorgio Maone
de75ebd62a Bug 1267033 - Ensure QI to nsIHttpChannel before trying to merge status info. r=kmag
MozReview-Commit-ID: 5kZndCaQmPr
2016-04-27 18:11:32 +02:00
Giorgio Maone
019f4d2789 Bug 1263481 - Fix webRequest multiple listeners support. r=kmag
MozReview-Commit-ID: EYWojttOhk6
2016-04-11 00:25:47 +02:00
Giorgio Maone
ac57061154 Bug 1242871 - add an originUrl property to every webRequest event details object + tests (extended & fixed + nits). r=kmag
MozReview-Commit-ID: 6PeCwTeCuFs
2016-04-01 00:48:57 +02:00
Giorgio Maone
91221ae90d Bug 1252596 - Implement webRequest.onErrorOccurred. r=kmag
MozReview-Commit-ID: GFeFjKlsMAD
2016-03-07 09:35:24 +01:00
Andreas Wagner
fc7c4f6552 Bug 1256264 - Make requestId a string. r=kmag
MozReview-Commit-ID: G9qh3jurdfZ
2016-03-14 14:05:57 +01:00
Giorgio Maone
25af910545 Bug 1253924 - Implement statusLine + fix & test statusCode r=kmag
MozReview-Commit-ID: BhyM10w8iGt
2016-03-06 16:59:07 +01:00
Giorgio Maone
d40a5119bb Bug 1232849 - Better chrome compatibility + binaryValue support + serious header manipulation tests + nits r=kmag
MozReview-Commit-ID: G8mgtVLFfoD
2016-03-06 09:02:06 +01:00
Giorgio Maone
b21e727227 Bug 1163862 - Switch to HTTP observer + support requestId & data: URIs + test fixes r=billm
MozReview-Commit-ID: 30nEXQpWEHg
2016-02-26 19:08:32 +01:00
Phil Ringnalda
d4818c82ca Back out 8ae0fba61023 (bug 1163862) for Win7 e10s test_ext_webrequest.html bustage 2016-02-25 20:41:40 -08:00
Giorgio Maone
a690c97982 Bug 1163862 - Switch to HTTP observer where possible + support requestId & data: URIs r=billm
MozReview-Commit-ID: EBRWBgGPqyD
2016-02-24 00:21:42 +01:00
Kris Maglione
666cee3637 Bug 1248855 - [webext] Add "object-curly-spacing" ESLint rule and auto-fix errors. r=billm
MozReview-Commit-ID: BAZ2rRl7eSM
2016-02-16 20:10:00 -08:00
Andrew Swan
0f169f0772 Bug 1236940 - Add ip property to chrome.webRequest.onCompleted callback. r=billm 2016-02-02 21:08:51 -08:00
Kris Maglione
e4fa87d44c Bug 1234755: Follow-up: Fix additional failures. r=trivial 2015-12-31 16:17:00 -08:00
Bill McCloskey
771643dd4e Bug 1215197: Implements onBeforeRedirect by using a channel event sink (r=billm) 2015-12-30 13:34:45 -08:00
Kris Maglione
956fe582d0 Bug 1229874: Part 3 - Enable ESLint in WebExtension code. r=billm
The base .eslintrc is essentially a merge of the root Toolkit .eslintrc and
the devtools .eslintrc, with some minor changes to match our prevalent style.

For the most enforces the coding styles that we've been using most
consistently. There are a couple of significant differences, though:

 * The rule for opening brace alignment can only be applied globally, and
   doesn't make exceptions for top-level functions. I chose to turn it on, and
   change the brace style of existing top-level functions that violated it,
   since the rule seemed worth using, and that's the direction most Toolkit JS
   code has been headed anyway.

 * The rule for switch/case statements requires an added indentation level for
   case statements. Most of our switch statements did not use an extra level
   of indentation, and I initially wrote the rule to enforce that style, until
   I came across case statements that used blocks, and required the extra
   indentation level for sanity.
2015-12-02 16:58:53 -08:00
Jonas Sicking
bb0dc3507b Bug 1182571: Fix nsILoadInfo->GetContentPolicyType API to be less ambigious. Audit and fix all users of it. r=ckerschb 2015-10-19 11:14:54 -07:00
Wes Kocher
4f2d5be924 Backed out 2 changesets (bug 1182571) for being a likely cause of the Android S4 errors
Backed out changeset e2b3064dcace (bug 1182571)
Backed out changeset 8153ae231d16 (bug 1182571)
2015-10-15 14:07:06 -07:00
Jonas Sicking
d5e39db15b Bug 1182571: Fix nsILoadInfo->GetContentPolicyType API to be less ambigious. Audit and fix all users of it. r=ckerschb 2015-10-15 12:18:20 -07:00
Bill McCloskey
f259d95d46 Bug 1212718 - [webext] Ensure webrequest onComplete fires (r=Mossop) 2015-10-12 20:01:28 -07:00
Shu-yu Guo
37989840cd Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Bill McCloskey
48d0da1cd3 Bug 1171248 - Add MatchPattern support to WebRequest module (r=Mossop) 2015-06-19 17:35:06 -07:00
Bill McCloskey
95fadc393b Bug 1163861 - Include windowID in all WebRequest notifications (r=Mossop) 2015-06-09 21:04:51 -07:00
Bill McCloskey
4d6dec1794 Bug 1157561 - Add webRequest-like API to Firefox (r=Mossop) 2015-05-11 17:19:21 -07:00