Commit Graph

798 Commits

Author SHA1 Message Date
Phil Ringnalda
cc1b685ac9 Backed out changeset ddcbb81610fd (bug 1355198) for Android test_ext_proxy.html bustage
MozReview-Commit-ID: KetgckpyHea
2017-04-26 20:38:36 -07:00
Matthew Wein
16f7a437e0 Bug 1355198 - Fix "DIRECT" return type to take no arguments and update error handling r=mixedpuppy
MozReview-Commit-ID: AKY6cjDoSmZ
2017-04-11 12:19:53 -04:00
Ethan Glasser-Camp
2b966460f6 Bug 1351678: Handle resolved conflicts correctly, r=kmag
The elements of the SyncResultObject#conflicts field are {local,
remote} pairs.  However, the elements of the SyncResultObject#resolved
field are just the resolutions, and trying to access "local" and
"remote" fields of those resolutions causes a crash. Add a test that
demonstrates the error, and then fix it.

MozReview-Commit-ID: LF0NBw5VKBC
2017-04-20 13:44:46 -04:00
Shane Caraveo
19e21ac660 Bug 1326298 implement off-main-thread delivery with start/stop/error listeners, r=kmag
MozReview-Commit-ID: Ke4NsthrbP2
2017-04-18 15:50:53 -07:00
Kris Maglione
ce246a6039 Bug 1356891: Get rid of getAPILevelForWindow. r=mixedpuppy
MozReview-Commit-ID: 4IMnEiC5VAh
2017-04-16 08:32:59 -07:00
Kris Maglione
da08b6926c Bug 1317697: Remove things from ExtensionUtils that don't belong there. r=mixedpuppy
MozReview-Commit-ID: CTX0TckLqoV
2017-04-07 13:39:06 -07:00
Kris Maglione
e69c789ec0 Bug 1317697: Split extension page child and content script child code as much as possible. r=mixedpuppy
MozReview-Commit-ID: 4lKFqoJHVFb
2017-04-14 16:57:34 -07:00
Kris Maglione
bdb8ae3dfd Bug 1317697: Split ExtensionContent.jsm into a stub process script. r=mixedpuppy
MozReview-Commit-ID: 4vn0ERZiBQd
2017-04-14 17:00:51 -07:00
Florian Queze
451928e614 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
42670ceca0 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Sebastian Hengst
f75839c723 Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze
61aabdf237 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Wes Kocher
74eee0ab05 Merge m-c to autoland, a=merge 2017-04-13 17:35:34 -07:00
Wes Kocher
e18b7d684a Merge inbound to central, a=merge 2017-04-13 17:24:01 -07:00
Wes Kocher
41c8e2c1ff Merge autoland to central, a=merge 2017-04-13 13:03:43 -07:00
Kris Maglione
00e762fa9e Bug 1354294 - Follow-up: Fix tests to check for nuked wrapper exception. r=me a=bustage
MozReview-Commit-ID: Hv1uDW8iJP8
2017-04-13 10:07:26 -07:00
Joel Maher
8a9b3299a4 Bug 1348241 - Intermittent toolkit/components/extensions/test/mochitest/test_ext_contentscript_cache.html. disabled on linux/android debug. r=gbrown
MozReview-Commit-ID: LcVBulC62Uh
2017-04-13 09:46:16 -04:00
Andrew Swan
c5c9303396 Bug 1352152 Fix several issues with optional webextension permissions r=kmag
1. Use the right strings in permission dialogs
2. Don't show permissions dialogs for non-promptable permissions
3. Enable dialogs by default

MozReview-Commit-ID: JJdxxcP7IeU
2017-04-10 19:12:23 -07:00
Kris Maglione
e6a8ac0beb Bug 1355120: Get rid of top-level window ID tracking. r=aswan
MozReview-Commit-ID: y7DzMxXBot
2017-04-12 14:12:22 -07:00
Gijs Kruitbosch
0bb03c74c3 Bug 1353104 - use HiddenFrame.jsm to create frames for add-on sdk add-ons, r=kmag
MozReview-Commit-ID: CfR9xMPVr9H
2017-04-03 21:25:16 +01:00
Matthew Wein
0d8281e2b9 Bug 1345491 - Fix intermittent caused by closing window before extension is unloaded r=gbrown
MozReview-Commit-ID: KGk1YGrhX9X
2017-04-10 02:21:01 -04:00
Tomislav Jovanovic
b916f5f3e6 Bug 1345225 - Check if webRequest filters overlap with host permissions r=kmag
MozReview-Commit-ID: 1tMHynv9FBO
2017-03-26 20:53:28 +02:00
Tomislav Jovanovic
3206e4731d Bug 1318565 - Test extension permission to read from a tainted canvas r=kmag
MozReview-Commit-ID: FkgSLDRyY3R
2017-04-01 15:38:23 +02:00
Sebastian Hengst
cd96931410 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-04-08 22:56:39 +02:00
Kris Maglione
d7a95b9b00 Bug 1353150: Add tests for WebExtension Xray named element property access. r=bz,mixedpuppy
MozReview-Commit-ID: ARyek92K5qR
2017-04-06 15:20:24 -07:00
Tomislav Jovanovic
e94741e606 Bug 1323036 - Preserve case of header names r=mixedpuppy
MozReview-Commit-ID: 2jDHOr2GI6T
2017-04-06 01:08:11 +02:00
Kris Maglione
9e1d79362b Bug 1350522: Part 5 - Remove registerSchemaAPI(). r=aswan
MozReview-Commit-ID: 5yK2wUms86G
2017-03-25 13:59:14 -07:00
Kris Maglione
884009911d Bug 1350522: Part 2 - Convert toolkit APIs to lazy loading. r=aswan
MozReview-Commit-ID: 8TbTIM4WX2d
2017-03-31 19:36:00 -07:00
Kris Maglione
dccaa03b3d Bug 1350522: Part 1 - Allow lazily loading and instantiating API modules. r=aswan
MozReview-Commit-ID: 7ETOJL6ERkg
2017-03-31 17:16:39 -07:00
Mike de Boer
8f70b61135 Bug 1319821 - Themes should allow for multiple background images in the toolbar. r=jaws,mattw
This patch also changes the 'headerURL' and 'theme_frame' properties to be of type
ExtensionURL, instead of strings. This improves validation robustness.
Alignment and tiling properties for the additional background images can be
specified in the newly introduced 'properties' section of the manifest.

MozReview-Commit-ID: BzvS3eHmDCY
2017-03-31 14:48:44 +02:00
Gijs Kruitbosch
4d22728a9a Bug 1356030 - move HiddenFrame.jsm to toolkit, r=kmag
MozReview-Commit-ID: DUuYqamNMdT
2017-04-13 11:42:56 +01:00
Wes Kocher
b0f256ac8a Backed out changeset 6d376d7031df (bug 1319821) for test_webextension_theme.js failures a=backout CLOSED TREE 2017-03-30 15:10:49 -07:00
Mike de Boer
b15f95ca4c Bug 1319821 - Themes should allow for multiple background images in the toolbar. r=jaws,mattw
This patch also changes the 'headerURL' and 'theme_frame' properties to be of type
ExtensionURL, instead of strings. This improves validation robustness.
Alignment and tiling properties for the additional background images can be
specified in the newly introduced 'properties' section of the manifest.

MozReview-Commit-ID: BzvS3eHmDCY
2017-03-30 12:54:59 +02:00
Bob Silverberg
e2f005fc59 Bug 1311260 - Fix Intermittent toolkit/components/extensions/test/mochitest/test_chrome_ext_idle.html, r=mixedpuppy
Bumped up the amount of time that we add to the current idleTime in the test, which is then used in the background page
to test browser.idle.queryState() with an expectation that the state will be "active".

Also added more logging to detect times when there is a large delay between getting the idleTime in the test, and when
the idleTime is read by the API code in the background page, which I believe is the cause of this intermittent.

MozReview-Commit-ID: DXvbYJ8zBKR
2017-03-08 09:09:26 -05:00
Luca Greco
d0f1fb2bab Bug 1351381 - Provide a console API object in experiments API sandbox. r=kmag
MozReview-Commit-ID: CNPgru9jVLO
2017-03-28 09:51:31 -07:00
Andrew Swan
298bdbae0b Bug 1197420 Part 5 Tests for optional permissions r=kmag
MozReview-Commit-ID: 8uViXB1Jgz3
2017-03-16 14:36:26 -07:00
Andrew Swan
fc72911ff3 Bug 1197420 Part 3 Initial browser.permissions api support r=kmag
With this patch, permissions are not actually applied,
but the permissions api is in place.

MozReview-Commit-ID: CTaXz5sa1xy
2017-03-24 13:55:09 -07:00
Sebastian Hengst
e33b75e3f1 Backed out changeset d1628b66e5f8 (bug 1197420) 2017-03-25 17:39:38 +01:00
Sebastian Hengst
2c71ec8b7b Backed out changeset b56c89bfeb0e (bug 1197420) 2017-03-25 17:39:30 +01:00
Andrew Swan
5c28083872 Bug 1197420 Part 5 Tests for optional permissions r=kmag
MozReview-Commit-ID: 8uViXB1Jgz3
2017-03-16 14:36:26 -07:00
Andrew Swan
a151659a43 Bug 1197420 Part 3 Initial browser.permissions api support r=kmag
With this patch, permissions are not actually applied,
but the permissions api is in place.

MozReview-Commit-ID: CTaXz5sa1xy
2017-03-24 13:55:09 -07:00
Phil Ringnalda
bb0cc6a131 Backed out 5 changesets (bug 1197420) for test_ext_permissions.js and test_chrome_ext_permissions.html timeouts on Fennec
CLOSED TREE

Backed out changeset 8a0125e00903 (bug 1197420)
Backed out changeset 925e3a9499ee (bug 1197420)
Backed out changeset 46e135035f10 (bug 1197420)
Backed out changeset 440bab141509 (bug 1197420)
Backed out changeset 3e690bbe8b5a (bug 1197420)
2017-03-24 20:43:24 -07:00
Andrew Swan
a943135938 Bug 1197420 Part 5 Tests for optional permissions r=kmag
MozReview-Commit-ID: 8uViXB1Jgz3
2017-03-16 14:36:26 -07:00
Andrew Swan
1ab93c4095 Bug 1197420 Part 3 Initial browser.permissions api support r=kmag
With this patch, permissions are not actually applied,
but the permissions api is in place.

MozReview-Commit-ID: CTaXz5sa1xy
2017-03-24 13:55:09 -07:00
Sebastian Hengst
53bc3eea4c Backed out changeset 5750ae148c78 (bug 1197420) 2017-03-24 20:56:01 +01:00
Andrew Swan
81adbb1dea Bug 1197420 Part 5 Tests for optional permissions r=kmag
MozReview-Commit-ID: 8uViXB1Jgz3
2017-03-16 14:36:26 -07:00
Kris Maglione
c97f45a8ff Bug 1348442: Part 2a - Asynchronously load and cache content script CSS. r=aswan
MozReview-Commit-ID: 1BzLNbdXMfU
2017-03-23 18:51:38 -07:00
Mark Banner
ec9074e132 Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws
MozReview-Commit-ID: LH0CQOPfoe6
2017-03-20 12:36:37 +01:00