Bill McCloskey
f43508ae12
Bug 1197346 - Allow browser.storage to be used from content scripts (r=kmag)
2016-04-23 20:04:30 -07:00
Luca Greco
1daaa04fc1
Bug 1261857 - [webext] Support WebExtensions ContentScripts in the Tab DevTools Debugger. r=kmag
...
MozReview-Commit-ID: BtGqvAkRJZx
2016-04-15 17:09:57 +02:00
Dave Townsend
6c83da2486
Bug 1257246: Update webextension APIs for eslint 2. r=kmag
...
ESLint 2 now flags anonymous generator functions that don't match the
generator-star-spacing rule so this mostly is fixing that.
MozReview-Commit-ID: 5sLaF26sd0E
2016-04-05 11:30:51 -07:00
Wes Kocher
afb79fc224
Merge inbound to central, a=merge
...
MozReview-Commit-ID: L8YZYtbmper
2016-04-07 13:42:10 -07:00
Andrew Swan
2680b7869a
Bug 1217944 - Part 2 - Support wildcards in web_accessible_resources r=kmag
...
MozReview-Commit-ID: Ln6JJ5lxc3w
2016-04-06 13:20:23 -07: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
Kris Maglione
51106a2f9e
Bug 1258199: [webext] Return an empty string for missing keys in getMessage. r=aswan
...
MozReview-Commit-ID: KEQYq4nZbfk
2016-04-04 13:54:27 -07:00
Wes Kocher
c533b72e89
Backed out changeset c67309c62021 (bug 1258199) for xpcshell failures
...
MozReview-Commit-ID: FySkZPotDGU
2016-04-04 13:51:12 -07:00
Kris Maglione
3793854b24
Bug 1258199: [webext] Return an empty string for missing keys in getMessage. r=aswan
...
MozReview-Commit-ID: KEQYq4nZbfk
2016-03-28 17:21:06 +02:00
Tom Schuster
a73438740f
Bug 1223634 - Support exclude_globs/include_globs in webext manifests. r=kmag
2016-03-16 15:11:57 +01:00
Kris Maglione
e0795d5219
Bug 1220154, 1249830: Handle sendMessage replies with 0 and >1 listeners correctly. r=billm
...
MozReview-Commit-ID: 7lE7RaJcl7n
2016-03-04 15:40:56 -08:00
Dave Huseby
d7c8e692f6
Bug 1238177 - fix extension content needs to use the correct user context id origin attribute. r=sicking
...
(HEAD -> oa, refs/patches/oa/Bug_1238177)
Fixes Bug 1238177 -- extension content needs to use the correct user context id origin attribute
2016-04-04 12:20:00 +02:00
Kris Maglione
d7334ea44a
Bug 1248499: [webext] Implement tabs.detectLanguage. r=billm
...
MozReview-Commit-ID: F4GpSesj2ho
2016-02-26 13:20:28 -08:00
Kris Maglione
7a1a4278dd
Bug 1248497 – Add promise support to the sendMessage APIs. r=billm
...
MozReview-Commit-ID: AZH9LUq8kGr
2016-02-15 17:37:19 -08: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
bsilverberg
1ba83c667a
Bug 1213450 - Complete the implementation of chrome.i18n - getAcceptLanguages, r=kmag
...
Implement browser.i18n.getAcceptLanguages() including tests
Rebase against fx-team, resolving some conflicts
Fix eslint errors/warnings
MozReview-Commit-ID: 52sZWsIHbl4
2016-02-25 07:29:09 -05:00
bsilverberg
520cdab332
Bug 1246754 - Complete the implementation of chrome.i18n.detectLanguage, r=kmag
...
MozReview-Commit-ID: 7cvJj0QP5XO
2016-02-23 22:01:11 -05:00
Phil Ringnalda
8fcf6aa84e
Back out 9466f6513f50 (bug 1213450) for timeouts in test_ext_i18n.html
2016-02-23 18:36:11 -08:00
bsilverberg
4cacadedfd
Bug 1213450 - Complete the implementation of chrome.i18n - getAcceptLanguages, r=kmag
...
Implement browser.i18n.getAcceptLanguages() including tests
MozReview-Commit-ID: EeuxXvg0l3M
2016-02-18 08:59:57 -05:00
bsilverberg
e72c240afa
Bug 1246748 - Complete the implementation of chrome.i18n.getUILanguage, r=kmag
...
Implement chrome.i18n.getUILanguage including tests
Add API to content scripts
MozReview-Commit-ID: IcDlLj8Et73
2016-02-18 07:50:17 -05: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
Luca Greco
171f767c3c
Bug 1190685 - [webext] Implements webNavigation.getFrame/getAllFrames API methods. r=kmag
2016-02-08 18:30:48 +01:00
Kris Maglione
d70aaf9205
Bug 1231819: [webext] Implement the captureVisibleTab API. r=billm
2016-01-25 17:48:54 -08:00
Kris Maglione
cb2bf096f9
Bug 1190680: Part 2 - [webext] Add initial support for lastError callbacks. r=billm
2016-01-29 18:38:08 -08:00
Kris Maglione
47d18c471a
Bug 1190680: Part 1 - [webext] Factor common extension context logic into a shared base class. r=billm
2016-01-29 18:39:29 -08:00
Luca Greco
795f912e2d
Bug 1242752 - Fix exception raised when a WebExtension iframe is destroyed. r=kmag
2016-01-26 13:30:17 +01:00
Kris Maglione
f7fb9d596b
Bug 1210583: Part 2 - [webext] Support callbacks in tabs.executeScript/tabs.insertCSS. r=billm
2016-01-25 20:25:11 -08:00
Kris Maglione
b0279e6f59
Bug 1210583: Part 1 - [webext] Add support for cross-process messaging with async responses. r=billm
2016-01-27 12:57:21 -08:00
Luca Greco
e712f0a1a8
Bug 1214658 - Enable content script APIs into sub-frames pointed to a valid add-on url. r=kmag
2016-01-22 06:02:00 -05:00
Phil Ringnalda
ded78a88c1
Back out 3 changesets (bug 1214658) for b2g emulator timeouts in test_ext_contentscript_*
...
CLOSED TREE
Backed out changeset b76ab3324cd2 (bug 1214658)
Backed out changeset aee8341f15c7 (bug 1214658)
Backed out changeset 743d7567b280 (bug 1214658)
2016-01-23 13:06:49 -08:00
Luca Greco
a63e68c208
Bug 1214658 - Enable content script APIs into sub-frames pointed to a valid add-on url. r=kmag
2016-01-22 06:02:00 -05:00
Fabrice Desré
a9e4990d14
Bug 1224703 - part 2: Enable tests on emulator r=billm
2016-01-05 15:37:06 -08:00
Bill McCloskey
74fc2770d5
Bug 1205886 - [webext] Allow content scripts to do cross-origin XHRs if they have permission (r=kmag)
2015-12-23 12:29:39 -08:00
Bill McCloskey
994bef148c
Bug 1228044 - [webext] Filter messages between extensions (r=kmag)
2015-12-23 12:29:39 -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
Kris Maglione
342e9bd17c
Bug 1193837: Part 2 - [webext] Enforce host matching and load URI restrictions on tabs.executeScript and insertCSS. r=billm
2015-12-01 20:32:18 -08:00
Wes Kocher
4e87701a29
Backed out 2 changesets (bug 1193837) because the web extension tests are failing CLOSED TREE
...
Backed out changeset ebe2433705a5 (bug 1193837)
Backed out changeset c3307a5ac126 (bug 1193837)
2015-12-02 13:23:18 -08:00
Kris Maglione
b2dfad4ce8
Bug 1193837: Part 2 - [webext] Enforce host matching and load URI restrictions on tabs.executeScript and insertCSS. r=billm
2015-12-01 20:32:18 -08:00
jignesh
a99e78f4f6
Bug 1216704 - [webext] Fix incorrect parameter to getManifest in content scripts and test for the same. r=billm
2015-11-18 12:36:00 +01:00
Kris Maglione
722cf7262d
Bug 1208761: [webext] Support l10n.getMessage in content scripts. r=billm
2015-11-23 17:52:23 -08:00
Kris Maglione
55f968e981
Bug 1209184: Part 1a - [webext] Make localization work in content processes. r=billm
2015-11-21 12:07:14 -08:00
Kris Maglione
9ab3082ad4
Bug 1215893: [webext] Check capturing event listeners for the correct target. r=billm
2015-11-14 23:30:52 -08:00
Kris Maglione
314e0a9694
Bug 1224961: Remove non-standard JS features from WebExtension code
2015-11-02 18:09:09 -08:00
Bill McCloskey
948f074381
Bug 1223585 - [webext] Annotate ignoreEvent (r=kmag)
2015-11-12 08:19:45 -08:00
Bill McCloskey
98a92be943
Bug 1191557 - User inner-window-destroyed notification (r=kmag)
2015-11-04 13:40:15 -08:00
Bobby Holley
cc1ac7faa2
Bug 1198934 - Mark WebExtensions content script sandboxes as such. r=billm
2015-10-14 16:57:51 -07:00
Bill McCloskey
53ba768590
Bug 1202481 - [webext] Fix browser.runtime.onMessage reply handling (r=gabor)
2015-09-23 17:18:34 -07:00
Bill McCloskey
6567491b58
Bug 1202486 - [webext] Add test for browser.runtime.connect, fix a few bugs (r=gabor)
2015-09-23 17:18:33 -07:00
Bill McCloskey
9b6ceea392
Bug 1202478 - [webext] Run WebExtension callbacks asynchronously (r=gabor)
2015-09-23 17:18:29 -07:00
Bill McCloskey
23405e5ea8
Bug 1202501 - [webext] Clean up WebExtension tests (r=gabor)
2015-09-23 17:18:28 -07:00