Commit Graph

2033 Commits

Author SHA1 Message Date
Dan Banner
b2e847755c Bug 1367704 - Enable the semi ESLint rule across the tree. r=standard8
MozReview-Commit-ID: GrlcOI9K2hJ

--HG--
extra : rebase_source : 6574cf3c67eb11733ffd9999c260f71c8551abc4
2017-05-28 19:57:46 +01:00
Shane Caraveo
1bc1c23eb7 Bug 1416872 fix canceling request, r=rpl
MozReview-Commit-ID: BqZFsPHo4Ty

--HG--
rename : toolkit/components/extensions/test/mochitest/test_chrome_ext_identity.html => toolkit/components/extensions/test/mochitest/test_ext_identity.html
extra : rebase_source : 9bbef2189b9e1400b0f4ca80a6da77164cfbf373
2017-11-16 13:07:51 -08:00
Bob Silverberg
ea5edb4f6a Bug 1404584 Part 3: Convert ExtensionPreferencesManager to use update and uninstall events, r=aswan,jkt
This includes removing the "web-extension-preferences-replacing" and "web-extension-preferences-replaced"
notifications as they are no longer needed.

MozReview-Commit-ID: IjNf4BImgas

--HG--
extra : rebase_source : a48e72c291ebd509d19e9e94196d3600eb7328c4
2017-11-01 09:51:41 -04:00
Bob Silverberg
d5a84e4c0a Bug 1404584 Part 2: Convert ext-chrome-settings-overrides to use update and uninstall events, r=aswan,mkaply
MozReview-Commit-ID: KtagRbDz19S

--HG--
extra : rebase_source : 07b6aca0c1ad1653397055fc0ab61c2f37ad51bb
2017-11-01 09:50:03 -04:00
Andrew Swan
e22db87de6 Bug 1404584 Part 1: Use extensionId in ExtensionSettingsStore and ExtensionPreferencesManager methods, r=aswan
This code changes all of the functions in the ESS and the EPM to accept an extensionId rather than an
extension object, which is required for responding to the new onUpdate event.

MozReview-Commit-ID: FwMVa0fShGj

--HG--
extra : rebase_source : 6b17f729966b5f1c804fb50fe41459859ab3049b
2017-10-24 20:18:03 -07:00
Tim Nguyen
3adfb3eca6 Bug 1415878 - Accept both Chrome arrays and CSS colors for all properties. r=jaws
MozReview-Commit-ID: 6NkIUZKWkBI

--HG--
extra : rebase_source : 9f333c76bd3d9b321851129b0cb815686753fe82
2017-11-16 12:40:53 +00:00
Bob Silverberg
6cef32056d Bug 1416984 - Remove all cookies at the beginning of test_ext_cookies.html, r=mixedpuppy
This test was failing when running locally during the second run (i.e., the non-oop run).
The problem ocurred because the cookies created during the first run were not removed
prior to the second run. This patch adds code to clean up any existing cookies before
running the test.

MozReview-Commit-ID: LieSZDudawN

--HG--
extra : rebase_source : dff0183db12e5df1774aa5355fcf5da38442a411
2017-11-15 10:00:32 -05:00
Tim Nguyen
6a9b3a4737 Bug 1415872 - Implement colors.tab_text and colors.background_tab_text. r=jaws
MozReview-Commit-ID: Gp5CHqmOi6A

--HG--
extra : rebase_source : 3d88c63a68721a120161b9ddb915eb05a24ad9e0
2017-11-15 17:34:12 +00:00
Shane Caraveo
1521922988 Bug 1404671 check the error string r=mixedpuppy
MozReview-Commit-ID: GEiFEb7JMdh

--HG--
extra : rebase_source : 06d7a88032e7790c932959e4b31bc21977ab8262
2017-11-14 17:09:23 -08:00
Noemi Erli
e515bbaf88 Backed out changeset aa3d66cd3c40 (bug 1415872) for ES failure in toolkit/components/extensions/test/browser/head.js:37:7 r=backout on a CLOSED TREE
--HG--
extra : amend_source : f07f736626fd98258d126f5d63a614297695ab4a
2017-11-15 12:08:22 +02:00
Tim Nguyen
5cfc3ef89b Bug 1415872 - Implement colors.tab_text and colors.background_tab_text. r=jaws
MozReview-Commit-ID: Gp5CHqmOi6A

--HG--
extra : rebase_source : 8ca5d8107d9ea7479c0690ba12c9baf418cddf01
2017-11-10 11:58:50 +00:00
Mark Banner
c62d0c64f8 Bug 1371293 - Upgrade ESLint to version 4.8.0, configuration changes. r=mossop
MozReview-Commit-ID: 2YHYOLTtqxu

--HG--
extra : rebase_source : 7bbc673bb72d546e1fca63227d54b6607a4ab33e
2017-10-09 10:54:16 +01:00
Csoregi Natalia
e520b4f458 Merge mozilla-central to mozilla-autoland. r=merge a=merge CLOSED TREE 2017-11-14 00:59:27 +02:00
Joel Maher
1b04b190fc Bug 1398120 - Disable toolkit/components/extensions/test/mochitest/test-oop-extensions/test_ext_webrequest_responseBody.html on linux for frequent failures. r=me, a=testonly 2017-11-13 12:20:02 -05:00
Kris Maglione
bbf1f3240d Bug 1416074: Follow-up: Removed unused service getter. r=trivial
MozReview-Commit-ID: CtUId9K5KPM
2017-11-12 16:39:09 -08:00
Andreea Pavel
7fb4cc447c Merge inbound to mozilla-central r=merge a=merge 2017-11-11 11:59:20 +02:00
Kris Maglione
397b8bb7f0 Bug 1416074: Remove obsolete extensionNameFromURI helper. r=mixedpuppy
MozReview-Commit-ID: IzaqUZV03rG

--HG--
extra : rebase_source : 84ee23c5bfeeb738f9ab04f697274b5993017a0c
2017-11-09 17:18:59 -08:00
Kris Maglione
541e9a6989 Remove unused imports. r=trivial (no bug)
MozReview-Commit-ID: EEVSPkAgORY

--HG--
extra : rebase_source : 8a3da61bdf0f65c518e6cea3c6f5cacf42c6d24d
2017-11-09 16:39:57 -08:00
Shane Caraveo
4e6c5b003f Bug 1411646 prevent oauth redirect requests from happening, r=rpl
MozReview-Commit-ID: L8ekyXDeCbp

--HG--
extra : rebase_source : 47b0e4a16c18cdc125d0af5d4749285f58f517e0
2017-11-09 15:11:13 -08:00
Andrew Swan
c0580db8aa Bug 1405491 Switch WebExtensions StartupCache to DeferredTask r=kmag
MozReview-Commit-ID: GfdM0hkAHqP

--HG--
extra : rebase_source : 6e3638436056041790d7e6ad99e0b99cfda6a8d7
2017-10-16 21:01:43 -07:00
Ethan Glasser-Camp
d6e50cf832 Bug 1416077 - Disable retries on storage.sync requests r=markh
--HG--
extra : rebase_source : 0c5c70626d8450dcb818ab964bdd28121d1abe18
2017-11-10 13:06:10 -05:00
Kris Maglione
e32e9e2376 Bug 1414549: Correctly handle GetDeliveryTarget failure. r=mixedpuppy
getter_AddRefs nulls its parameter before passing it to the getter function,
which means that on failure, we wind up with a null IO thread, rather than its
original main thread value.

MozReview-Commit-ID: 1SSIeNtiBq9

--HG--
extra : rebase_source : 05e4437e86ab4036e93e2577f46ff0cfd0a3d329
2017-11-05 19:22:38 -08:00
Shane Caraveo
b6c4b89a2e Bug 1291399 remove references to getExtensionUUID, r=aswan
MozReview-Commit-ID: BMJSjCbk6iU

--HG--
extra : rebase_source : a88473703cf95353ec803f381daac25090800a88
2017-10-17 17:02:06 -07:00
Tim Nguyen
fef7bcd6aa Bug 1414512 - Refactor ext-theme.js to have per-theme Theme objects and global tracking variables. r=mixedpuppy
MozReview-Commit-ID: 7omIglzvjsF

--HG--
extra : rebase_source : 7d164229dfa9feb781f89e55e14e4a5edb89bf29
2017-11-07 17:22:56 +00:00
Andrew Swan
d240a6cf20 Bug 1398762 Fix unparseable host permission warning r=mixedpuppy
MozReview-Commit-ID: B2YALdhEKJs

--HG--
extra : rebase_source : 051aa0a8e2b4f7e679fda7c98b476691f5467ca5
2017-10-27 17:07:29 -07:00
Thom Chiovoloni
f1e51079aa Bug 1414997 - Ensure extension storage sync initializes Kinto exactly once r=glasserc
MozReview-Commit-ID: 3vYEp4eqpJO

--HG--
extra : rebase_source : 51ebc92697d37722691360fc027d8f367d4c8ab4
2017-11-06 19:53:49 -05:00
Mark Banner
cf372ccd32 Bug 1412893 - Change instances of using getService to Services.jsm where possible in toolkit/components - Part 1. r=mossop
MozReview-Commit-ID: BBnacIvRJBR

--HG--
extra : rebase_source : 10157c319a97b14c9a360a26a56725022df14ad4
2017-10-30 16:29:58 +00:00
Tim Nguyen
a8a4525080 Bug 1412595 - Implement colors.bookmark_text as alias for colors.toolbar_text. r=jaws
MozReview-Commit-ID: HjIgXtbYejZ

--HG--
extra : rebase_source : 69e3a81c1e9817c8e4625f490240e879ac781028
2017-10-31 10:35:26 +00:00
Sebastian Hengst
d61954557d merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: Ai6Y5GGfkfT
2017-11-04 10:58:24 +01:00
Kris Maglione
27c96362b9 Bug 1412345: Downgrade expanded principals before inheriting. r=bz,krizsa
There are several ways that expanded principals can be used as triggering
principals for requests. While that works fine for security checks, it also
sometimes causes them to be inherited, and used as result principals in
contexts where expanded principals aren't allowed.

This patch changes our inheritance behavior so that expanded principals are
downgraded to the most appropriate constituent principal when they would
otherwise be inherited.

The logic for choosing the most appropriate principal is a bit suspect, and
may eventually need to be changed to always select the last whitelist
principal, but I chose it to preserve the current principal downgrade behavior
used by XMLHttpRequest for the time being.

MozReview-Commit-ID: 9fvAKr2e2fa

--HG--
extra : rebase_source : c30df1b3851c11fed5a1d6a7fb158cec14933182
2017-11-02 19:56:27 -07:00
NARCIS BELEUZU
480c0efa8b Backed out changeset 209df98be467 (bug 1398120) for frequently failing on toolkit/components/extensions/test/mochitest/test-oop-extensions/test_ext_webrequest_responseBody.html r=backout, a=backout on a CLOSED TREE
--HG--
extra : amend_source : 40ae0321f6f47cc398aec5c4577eec53703bbae8
2017-11-03 14:35:44 +02:00
NARCIS BELEUZU
2e3654a915 Merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-11-03 12:04:55 +02:00
Mark Striemer
73701c8f36 Bug 1386018 - Tell users that the default search engine was set by an extension r=aswan,bsilverberg,jaws
MozReview-Commit-ID: A7uJ2lN0cLF

--HG--
extra : rebase_source : ef7f20b2efd4034116dafa7fe91ee454155bee1b
2017-10-18 14:54:54 -05:00
Zibi Braniecki
4c3a3ac1fb Bug 1410736 - Replace remaining uses of general.useragent.locale with LocaleService API. r=jfkthame
MozReview-Commit-ID: F0Ofe2lHHEo

--HG--
extra : rebase_source : 420c65111dc5066eb00ef86ddf375db533008bbf
2017-11-03 17:08:34 -07:00
Sebastian Hengst
eebc5b65c0 Backed out changeset 0637dca8a971 (bug 1410736) for eslint failure at toolkit/components/extensions/test/xpcshell/test_ext_i18n_css.js:130: Unexpected var, use let or const instead. r=backout on a CLOSED TREE 2017-11-04 00:51:02 +01:00
Kris Maglione
0db55ea537 Bug 1398120: Fix some StreamFilter state handling inconsistencies. r=mixedpuppy
MozReview-Commit-ID: 2mLZ9DeqpE0

--HG--
extra : rebase_source : 891800bb6b81f25842cae60fa5fe7d98eaf46977
extra : amend_source : b6cafc1a33dd0d7979ea8653486183746ec8c29a
2017-11-02 12:27:45 -07:00
Zibi Braniecki
5db1dc8a9d Bug 1410736 - Replace remaining uses of general.useragent.locale with LocaleService API. r=jfkthame
MozReview-Commit-ID: CmXBFcKxOkX

--HG--
extra : rebase_source : deeeee81fd187aa9ca4f26f9f5c69633ff405e34
2017-11-02 14:11:41 -07:00
Tim Nguyen
a8c84381e2 Bug 1347190 - Add support for toolbar_top/bottom/vertical_separator in the theming API. r=jaws
MozReview-Commit-ID: EWQar4tKHs0

--HG--
extra : rebase_source : c5b7af5e7155c0ed1318ce4d99f5c30f9fee5f01
2017-11-03 18:00:51 +00:00
Kris Maglione
4985beb010 Bug 1405506: Flush buffered data when disconnecting suspended channel. r=mixedpuppy
MozReview-Commit-ID: F9rIhQHr8i

--HG--
extra : rebase_source : 335c8d0408bf4a8afd508756fc6984495c0d7d13
2017-10-31 18:19:40 -07:00
Csoregi Natalia
423b2522c4 Merge inbound to mozilla-central r=merge a=merge 2017-11-01 12:14:00 +02:00
Kris Maglione
0d67bfc970 Add bug number to comment about implementing notifications.onClose.byUser support. (no bug) r=trivial DONTBUILD
MozReview-Commit-ID: HFernhOu4lG

--HG--
extra : rebase_source : eacece7d19a421a270fbbcbecae816c0c4ff4d68
2017-10-31 12:04:03 -07:00
Sebastian Hengst
2181970726 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-11-01 00:39:58 +01:00
Sebastian Hengst
7a0f790c30 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4CDH6A5NT2U
2017-11-01 00:36:12 +01:00
Joel Maher
cc9a72020b Bug 1407501 - Disable toolkit/components/extensions/test/xpcshell/test_ext_contentscript_scriptCreated.js on debug for frequent failures. r=me, a=testonly 2017-10-31 08:46:43 -04:00
Tim Nguyen
3377c3aff3 Bug 1349944 - Add browser.theme.onUpdated to watch for theme updates. r=jaws,mixedpuppy
MozReview-Commit-ID: JX4gRa3Qt0p

--HG--
extra : rebase_source : 086cdc4b9bc0c003e739ea90737ac30e3a46f263
2017-10-31 01:13:19 +00:00
Tim Nguyen
9056c46ef4 Bug 1349944 - Add browser.theme.getCurrent() to query the selected theme. r=jaws,mixedpuppy
MozReview-Commit-ID: Hzdm21riVlb

--HG--
extra : rebase_source : 135464563d5b6c3784cd475cfe1dbe4a7c72de7b
2017-10-31 01:03:15 +00:00
Phil Ringnalda
7bf1119c24 Backed out changeset 607922c730a1 (bug 1386018) for eslint bustage
MozReview-Commit-ID: JKQnKm7Nf4K
2017-10-31 19:12:01 -07:00
Jeff Walden
0f07840ce6 Bug 1379686 - Make ForwardingProxyHandler::isConstructor query and return whether the target is a constructor, rather than pretending is-constructor is identical to is-callable. r=till
--HG--
extra : rebase_source : fa16ec4ee67d1674ae2cf84e7a39b88192aea3a0
2017-10-20 23:25:54 -07:00
Bob Silverberg
90ec2fbfe2 Bug 1412954 - Re-enable test_ext_permission_xhr.html, r=kmag,mixedpuppy
This test was disabled mistakenly.

MozReview-Commit-ID: 3FcGioEyXZY

--HG--
extra : rebase_source : af667bd239135b99d0070737922933bcdd410dcb
2017-10-30 15:01:24 -04:00
Mark Striemer
405f85917d Bug 1386018 - Tell users that the default search engine was set by an extension r=aswan,bsilverberg,jaws
MozReview-Commit-ID: A7uJ2lN0cLF

--HG--
extra : rebase_source : ea916c020037a303b3d16c6e778049a86a9b44c3
2017-10-18 14:54:54 -05:00