Commit Graph

53 Commits

Author SHA1 Message Date
Luca Greco
1c6bc4291a Bug 1273609 - [webext] Support manual_subframe transitionType in webNavigation events details. r=krizsa
MozReview-Commit-ID: F5Z3XppNDYm

--HG--
extra : transplant_source : bF%3A%1A%D3A%13%05p%D9s%B8%AE%ED%F8%9F%0F%E0%0F%CE
2016-05-17 19:08:10 +02:00
Luca Greco
92282aa3cb 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
49a6b9b48d Bug 1267033 - Ensure QI to nsIHttpChannel before trying to merge status info. r=kmag
MozReview-Commit-ID: 5kZndCaQmPr

--HG--
extra : transplant_source : %AAY%CA%DE%3C%FA%99%8B%8Dj%1FZ%B1L%EE%25%CE%20%D2R
2016-04-27 18:11:32 +02:00
Luca Greco
32c8c2f2b7 Bug 1256652 - [webext] Add webNavigation client_redirect transitions implementation and test case. r=krizsa
MozReview-Commit-ID: DoDzXCuk4FQ

--HG--
extra : transplant_source : 9gb%BC9I%B7%B2%2C%3E%17%22%D6%84%04%13%22%1C%15P
2016-04-14 20:27:16 +02:00
Luca Greco
dc5fd2506d Bug 1256652 - [webext] Add webNavigation form_submit transitions implementation and test case. r=krizsa
MozReview-Commit-ID: GiMnQpCpHHm

--HG--
extra : transplant_source : %E5%02vk%3B%95%FC%D8%FF%8AC%E4%A6%A5e_%B4.%EA%DA
2016-04-15 14:50:27 +02:00
Luca Greco
94d2a46537 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

--HG--
extra : transplant_source : 0%B6%F4DE%80%B6%CA%9B%09%81%1C%16%96%F6%C0%1FC%B0%F9
2016-04-15 14:49:13 +02:00
Luca Greco
0f06eace5d 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

--HG--
extra : transplant_source : %FA%B3%14%05%0A%CB%F8%CFG%D4%8Br%D2PH%F1%F1%87%CE%B9
2016-04-07 00:04:23 +02:00
Luca Greco
540c822fb6 Bug 1262794 - [webext] webNavigation refactoring and fix missing onCommitted event on iframes loading. r=krizsa
MozReview-Commit-ID: JSZFCWr2WNk

--HG--
extra : transplant_source : 9%95%7E%B9Yzo%ED%29%DAX%C5%9F%8B%91%13%B5%A4B%AE
2016-04-07 03:00:26 +02:00
Giorgio Maone
710f32856a Bug 1263481 - Fix webRequest multiple listeners support. r=kmag
MozReview-Commit-ID: EYWojttOhk6

--HG--
extra : transplant_source : %CF0%8C-X2%80e%95%E8B%2A%E4%E7%D6%CFQ%C2%D4k
2016-04-11 00:25:47 +02:00
Andrew Swan
8aa15a9f8c Bug 1217944 - Part 1 - Make MatchGlobs work on arbitrary strings r=kmag
MozReview-Commit-ID: CK39lpGglKA

--HG--
extra : transplant_source : m%0C%D4%E0W%00%0F%00%D05%1E%8D%D8%91%C2%218nFB
2016-04-06 13:07:47 -07:00
Giorgio Maone
3e975e83a2 Bug 1242871 - add an originUrl property to every webRequest event details object + tests (extended & fixed + nits). r=kmag
MozReview-Commit-ID: 6PeCwTeCuFs

--HG--
extra : transplant_source : %22%BD_%D3%9FO%D2%9FZ%A9%12%98%F1%A10%17%CE0%B7%11
2016-04-01 00:48:57 +02:00
Giorgio Maone
0f419b63e5 Bug 1252596 - Implement webRequest.onErrorOccurred. r=kmag
MozReview-Commit-ID: GFeFjKlsMAD

--HG--
extra : transplant_source : G%ED%267%A3%23%BE%D2%17%9DV%D3.%3D%D9%13M%E8%7B%2A
2016-03-07 09:35:24 +01:00
Andreas Wagner
f976c62952 Bug 1256264 - Make requestId a string. r=kmag
MozReview-Commit-ID: G9qh3jurdfZ

--HG--
extra : transplant_source : %A0%0FZ%C2%99%27%07%22d%05M%EAP%C2%CE6F%E2%BFl
2016-03-14 14:05:57 +01:00
Tom Schuster
2477d37bae Bug 1223634 - fix eslint failure. r=me 2016-03-16 15:32:49 +01:00
Tom Schuster
3f7b262a15 Bug 1223634 - Support exclude_globs/include_globs in webext manifests. r=kmag
--HG--
extra : rebase_source : e6a951c77581b08fa8613852f54665506e9fb0ba
2016-03-16 15:11:57 +01:00
Giorgio Maone
2f92feb878 Bug 1253924 - Implement statusLine + fix & test statusCode r=kmag
MozReview-Commit-ID: BhyM10w8iGt

--HG--
extra : rebase_source : f7d53d17fbe77ebd0bcdb8205ee7e7bc2a1e6300
2016-03-06 16:59:07 +01:00
Giorgio Maone
92558f57d8 Bug 1232849 - Better chrome compatibility + binaryValue support + serious header manipulation tests + nits r=kmag
MozReview-Commit-ID: G8mgtVLFfoD

--HG--
extra : rebase_source : 68135fffd8470462066aa77d5e8097ae1607a09a
2016-03-06 09:02:06 +01:00
Carsten "Tomcat" Book
7f956c0bfb merge mozilla-inbound to mozilla-central a=merge 2016-02-29 11:35:30 +01:00
Kris Maglione
2eda01945e Bug 1213993: [webext] Support frameId/allFrames/runAt in browser.tabs.executeScript and insertCSS. r=billm
MozReview-Commit-ID: FgV9vyHVjj8

--HG--
extra : rebase_source : 04582c711ef40f3afc7eeaa9e4dec2e31b63e4e0
2016-02-08 17:40:02 -08:00
Giorgio Maone
24ecf3fc2d Bug 1163862 - Switch to HTTP observer + support requestId & data: URIs + test fixes r=billm
MozReview-Commit-ID: 30nEXQpWEHg

--HG--
extra : rebase_source : 2928c50f78cec17419d3d6a550c124729949c567
2016-02-26 19:08:32 +01:00
Phil Ringnalda
04f23241db Back out 8ae0fba61023 (bug 1163862) for Win7 e10s test_ext_webrequest.html bustage 2016-02-25 20:41:40 -08:00
Luca Greco
c56fcca8c3 Bug 1239349 - Implement webNavigation.onHistoryStateUpdated. r=kmag
MozReview-Commit-ID: FvtkZpcJYCU

--HG--
extra : transplant_source : %0B%CA%07NX7d%17W%D5%A0P%7D%0B%A8yG%E4l%CE
2016-02-12 02:13:19 +01:00
Carsten "Tomcat" Book
0bc2cf3b95 Backed out changeset f3dcf982a76f (bug 1239349) for ES lint failures 2016-02-24 16:28:16 +01:00
Luca Greco
c70af9110b Bug 1239349 - Implement webNavigation.onHistoryStateUpdated. r=kmag
MozReview-Commit-ID: FvtkZpcJYCU

--HG--
extra : transplant_source : -%C8%E7%26%B6%3B%D2%5C%D6z%AD%B02%99%88D%3D%F4%CAu
2016-02-12 02:13:19 +01:00
Kris Maglione
ba2e5f60f4 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
2779dbcc01 Bug 1236940 - Add ip property to chrome.webRequest.onCompleted callback. r=billm 2016-02-02 21:08:51 -08:00
Luca Greco
fca2a13a13 Bug 1190685 - [webext] Implements webNavigation.getFrame/getAllFrames API methods. r=kmag 2016-02-08 18:30:48 +01:00
Wes Kocher
bfc867440c Merge m-c to inbound, a=merge
--HG--
extra : commitid : 2o7h1aSJgql
2016-02-25 14:38:16 -08:00
Giorgio Maone
b1ccc3bb44 Bug 1163862 - Switch to HTTP observer where possible + support requestId & data: URIs r=billm
MozReview-Commit-ID: EBRWBgGPqyD

--HG--
extra : rebase_source : c67a0633fcd2ac8eb8304567fe6ff072484e73bc
2016-02-24 00:21:42 +01:00
Kris Maglione
a49250b7f4 Bug 1234755: Follow-up: Fix additional failures. r=trivial
--HG--
extra : commitid : 4Ef0fj48IPr
extra : amend_source : 839e710a618fc403c156e79e80d91276aa9a0f1d
2015-12-31 16:17:00 -08:00
Bill McCloskey
b29022c1de Bug 1215197: Implements onBeforeRedirect by using a channel event sink (r=billm) 2015-12-30 13:34:45 -08:00
Kris Maglione
77d984b84a Bug 1210996: [webext] Check host permissions in the browser.cookies API. r=billm
--HG--
rename : toolkit/components/extensions/test/mochitest/test_ext_cookies.html => toolkit/components/extensions/test/mochitest/test_ext_cookies_permissions.html
extra : commitid : IqgOPGfrF2K
extra : rebase_source : 1ba3322fec537ba5e0c0f5fe8a30b7e6eec46911
2015-12-02 21:20:01 -08:00
Kris Maglione
b729a30707 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.

--HG--
rename : devtools/.eslintrc => toolkit/components/extensions/.eslintrc
extra : commitid : 4aDZOi5MNPc
extra : rebase_source : f34ba43aeb8046a0c971cb76b76410497bd12b42
extra : source : 2a7eb4ef7b375e5fd52d843ca206a071367a6475
2015-12-02 16:58:53 -08:00
Dave Townsend
76c0eab703 Bug 1229519: Fix toolkit/modules to pass eslint checks. r=mak
--HG--
extra : commitid : 9muV4FzxxCp
extra : rebase_source : 2d651bfb17cd89768cff1f62d2ee7550a9c2589d
extra : amend_source : 5a0584163aaec0534dab50a8cac8597b58214f24
2015-12-03 09:58:56 -08:00
Jonas Sicking
4316c13003 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
c2b3d9275b 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
81a15a3362 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
c18171f450 Bug 1212718 - [webext] Add resource types for webRequest (r=Mossop) 2015-10-12 20:04:00 -07:00
Bill McCloskey
7b60d2ddcd Bug 1212718 - [webext] Ensure webrequest onComplete fires (r=Mossop) 2015-10-12 20:01:28 -07:00
Carsten "Tomcat" Book
08997000eb 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
e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo
d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Shu-yu Guo
64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Fabrice Desré
d0a42c5e92 Bug 1190995 - Support the new extension model in b2g r=billm 2015-08-14 16:55:09 -07:00
Fabrice Desré
4bccca4c8b Bug 1190995 - backout 0450f02a2b3b for M1 failures 2015-08-14 17:57:34 -07:00
Fabrice Desré
dc4738feca Bug 1190995 - Support the new extension model in b2g r=billm 2015-08-14 16:55:09 -07:00
Bill McCloskey
b1a00d7c72 Bug 1175770 - New extension API (r=Mossop) 2015-08-03 10:41:24 -07:00
Carsten "Tomcat" Book
03d48d1951 Backed out changeset 4e3821b236f9 (bug 1175770) 2015-08-03 09:37:54 +02:00
Bill McCloskey
14e7d8ca0a Bug 1175770 - New extension API (r=Mossop) 2015-08-02 17:29:55 -07:00
Bill McCloskey
cd6c14c610 Bug 1171256 - Add an API similar to Chrome's webNavigation (r=Mossop) 2015-06-19 17:35:06 -07:00