Commit Graph

21 Commits

Author SHA1 Message Date
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