Commit Graph

60 Commits

Author SHA1 Message Date
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
Jared Wein
ebf1ccbe46 Bug 1291855 - Enable the no-else-return rule for eslint. r=Felipe,kmag,mossop
MozReview-Commit-ID: DYOmE6xwMJh
2016-08-03 18:54:59 -04: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
Luca Greco
d741338096 Bug 1242522 - [webext] Implement optional UrlFilter on WebNavigation event listeners. r=kmag
MozReview-Commit-ID: 7tVgBhgDwfM
2016-06-07 17:33:29 +02:00
Kris Maglione
4a1342c9e6 Bug 1278733: Turn on JSDoc validation, and fix basic errors in existing comments. r=aswan
MozReview-Commit-ID: EZpOyvoi2h0
2016-06-07 18:36:19 -07:00
Luca Greco
a2252672a6 Bug 1273609 - [webext] Support manual_subframe transitionType in webNavigation events details. r=krizsa
MozReview-Commit-ID: F5Z3XppNDYm
2016-05-17 19:08:10 +02:00
Luca Greco
73f3f127b7 Bug 1263723 - [webext] Track awesomebar user interaction for webNavigation transition types and qualifiers. r=krizsa
- introducing tabTransitionData in the webNavigation internals
- listen for the "autocomplete-did-enter-text" topic notified on the observer service
- add support to from_address_bar transition qualifier and auto_bookmark/keyword/generated transition types

MozReview-Commit-ID: 7krQiJlnc1d
2016-05-09 18:24:53 +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
Luca Greco
923144d689 Bug 1256652 - [webext] Add webNavigation client_redirect transitions implementation and test case. r=krizsa
MozReview-Commit-ID: DoDzXCuk4FQ
2016-04-14 20:27:16 +02:00
Luca Greco
40288df697 Bug 1256652 - [webext] Add webNavigation form_submit transitions implementation and test case. r=krizsa
MozReview-Commit-ID: GiMnQpCpHHm
2016-04-15 14:50:27 +02:00
Luca Greco
9f864a0e47 Bug 1256652 - [webext] Initial support of webNavigation transition types and qualifiers. r=krizsa
- transition types: reload, link, auto_subframe
- transition qualifiers: forward_back, server_redirect

MozReview-Commit-ID: Bx3oG2fuWuv
2016-04-15 14:49:13 +02:00
Luca Greco
0066303b5a Bug 1246125 - [webext] webNavigation events should not resolve local special schemes into file/jar URLs. r=krizsa
- chrome, resource, about and moz-extension URLs should not be reported with their resolved
  file or jar URLs

MozReview-Commit-ID: H03rjxGpgOZ
2016-04-07 00:04:23 +02:00
Luca Greco
9e98f8048a Bug 1262794 - [webext] webNavigation refactoring and fix missing onCommitted event on iframes loading. r=krizsa
MozReview-Commit-ID: JSZFCWr2WNk
2016-04-07 03:00:26 +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
Andrew Swan
354791b132 Bug 1217944 - Part 1 - Make MatchGlobs work on arbitrary strings r=kmag
MozReview-Commit-ID: CK39lpGglKA
2016-04-06 13:07:47 -07: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
Tom Schuster
cc3ea81a77 Bug 1223634 - fix eslint failure. r=me 2016-03-16 15:32:49 +01:00
Tom Schuster
a73438740f Bug 1223634 - Support exclude_globs/include_globs in webext manifests. r=kmag 2016-03-16 15:11: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
Carsten "Tomcat" Book
3969e7dcc7 merge mozilla-inbound to mozilla-central a=merge 2016-02-29 11:35:30 +01:00
Kris Maglione
55354c26e2 Bug 1213993: [webext] Support frameId/allFrames/runAt in browser.tabs.executeScript and insertCSS. r=billm
MozReview-Commit-ID: FgV9vyHVjj8
2016-02-08 17:40:02 -08: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
Luca Greco
35dda23f3e Bug 1239349 - Implement webNavigation.onHistoryStateUpdated. r=kmag
MozReview-Commit-ID: FvtkZpcJYCU
2016-02-12 02:13:19 +01:00
Carsten "Tomcat" Book
9be5b729af Backed out changeset f3dcf982a76f (bug 1239349) for ES lint failures 2016-02-24 16:28:16 +01:00
Luca Greco
eda6711573 Bug 1239349 - Implement webNavigation.onHistoryStateUpdated. r=kmag
MozReview-Commit-ID: FvtkZpcJYCU
2016-02-12 02:13:19 +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
Luca Greco
171f767c3c Bug 1190685 - [webext] Implements webNavigation.getFrame/getAllFrames API methods. r=kmag 2016-02-08 18:30:48 +01:00
Wes Kocher
cb018f4ae2 Merge m-c to inbound, a=merge 2016-02-25 14:38:16 -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
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
811a418bc8 Bug 1210996: [webext] Check host permissions in the browser.cookies API. r=billm 2015-12-02 21:20:01 -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
Dave Townsend
7b18d60eed Bug 1229519: Fix toolkit/modules to pass eslint checks. r=mak 2015-12-03 09:58:56 -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
b13e53c118 Bug 1212718 - [webext] Add resource types for webRequest (r=Mossop) 2015-10-12 20:04:00 -07:00
Bill McCloskey
f259d95d46 Bug 1212718 - [webext] Ensure webrequest onComplete fires (r=Mossop) 2015-10-12 20:01:28 -07:00
Carsten "Tomcat" Book
036e6d2fa3 Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
12369728f5 Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)
2015-10-07 12:13:45 +02:00
Shu-yu Guo
474f49adb7 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -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