Commit Graph

1109 Commits

Author SHA1 Message Date
Florian Quèze
b2499a4c57 Bug 1353542 - smaller script-generated patch converting remaining generators that are likely tasks (actual generators were identified by hand and whitelisted), r=Mossop. 2017-05-12 14:45:01 +02:00
Florian Quèze
ff53eb9a63 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Mark Banner
44d0568f41 Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
MozReview-Commit-ID: 5fVG7akPnGM
2017-05-08 10:29:47 +01:00
Sebastian Hengst
c8bd0b3620 Backed out changeset e0f9c56c15f0 (bug 1362947) for linting failures, e.g. at accessible/tests/mochitest/jsat/doc_content_text.html:15. r=backout 2017-05-11 10:15:55 +02:00
Mark Banner
dae8146427 Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
MozReview-Commit-ID: 5fVG7akPnGM
2017-05-08 10:29:47 +01:00
Kris Maglione
56747678e9 Bug 1362623 - Wait for idle callback before executing document_idle content scripts. r=mixedpuppy
MozReview-Commit-ID: 6pOrH1lrTV2
2017-05-05 21:17:37 -07:00
Tomislav Jovanovic
b326b3ffd9 Bug 1354337 - Add frameId to ExtensionPageChild message sender, r=mixedpuppy
MozReview-Commit-ID: 8C074ACnsHS
2017-05-07 01:49:32 +02:00
Andrew Swan
3e9f8ffba5 Bug 1259944 Fix runtime.sendMessage() handling of 2 arguments r=zombie
MozReview-Commit-ID: AefmoEfy12j
2017-05-01 10:08:56 -07:00
Shane Caraveo
4611875e9c Bug 1336908 implement management APIs needed for theme management, r=aswan
MozReview-Commit-ID: 8tZpCE3nXGr
2017-05-04 11:40:02 -07:00
Ethan Glasser-Camp
1322ce9119 Bug 1359879: add logging and robustness to key syncing, r=kmag
It seems like the server-side keyring is getting deleted somehow. This
causes syncing of the keyring to fail. We haven't completely
fixed the root problem yet, but this adds logging to try to flag
down the dangerous operation of deleting a bucket to make sure we
aren't doing that by accident. We also try to recover from the
server-keyring-was-deleted situation by wiping all storage.sync data,
the same as if we found a keyring that we couldn't decrypt.

MozReview-Commit-ID: JMB0IxApbGq
2017-05-01 14:22:51 -04:00
Shane Caraveo
f4b6f6f07d Bug 1357723 fix intermittent failure of tab close, r=kmag,mattw
MozReview-Commit-ID: 257gWUotCqE
2017-04-24 13:59:36 -07:00
Matthew Wein
edd755b057 Bug 1356457 - Fix and enable test_ext_proxy.html r=jmaher
I was able to fix the issue by only letting the background script send one error message per test. This isn't an ideal fix because it doesn't get to the bottom of why a second error message is sometimes sent, but it should be a good placeholder while the underlying issue is researched.

MozReview-Commit-ID: 21uZL3r4zVS
2017-05-01 11:25:04 -04:00
Geoff Brown
fbbdb54a90 Bug 1356457 - Skip test_ext_proxy.html for frequent failures; r=jmaher 2017-04-28 09:29:47 -06: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