Commit Graph

2354 Commits

Author SHA1 Message Date
Kris Maglione
5e845929cf Bug 1431533: Part 5b - Fix ESLint errors left over after rewrite. r=florian
MozReview-Commit-ID: 7bVI1iM6hor
2018-01-18 16:27:26 -08:00
Kris Maglione
fd67f090b2 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Brindusan Cristian
483ba301cb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
3aa3c6fff8 Bug 1431533: Part 5b - Fix ESLint errors left over after rewrite. r=florian
MozReview-Commit-ID: 7bVI1iM6hor
2018-01-18 16:27:26 -08:00
Kris Maglione
683a97d172 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Mark Striemer
3c3b226b47 Bug 1411123 - Enable settings when set in ExtensionSettingsStore r=aswan
MozReview-Commit-ID: 64LaEoe7V42
2018-01-25 17:17:13 -06:00
Sylvestre Ledru
cf45f46d46 Bug 1433417 - Fix a bunch of typo in the doc r=ahal
MozReview-Commit-ID: LRgL0CMJdDP
2018-01-26 12:50:07 +01:00
Kris Maglione
1046270983 Backed out 3 changesets (bug 1431533) for Android mochitest bustage. CLOSED TREE
MozReview-Commit-ID: 5ubE9EMQpZ9
2018-01-24 22:04:59 -08:00
Kris Maglione
75a4f32cb6 Bug 1431533: Part 5b - Fix ESLint errors left over after rewrite. r=florian
MozReview-Commit-ID: 7bVI1iM6hor
2018-01-18 16:27:26 -08:00
Kris Maglione
50ace7f99d Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
MozReview-Commit-ID: 8V1ZT53ReiP
2018-01-24 15:48:47 -08:00
Kris Maglione
a62086a27e Bug 1431533: Part 3 - Define ChromeUtils on chrome-privileged Sandboxes that need it. r=mixedpuppy
This is necessary before we enable the ESLint rule to require using
ChromeUtils for module imports rather than older methods.

MozReview-Commit-ID: mKqByUS0o2
2018-01-18 14:52:39 -08:00
Cosmin Sabou
806255cc04 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-01-25 00:07:47 +02:00
Kris Maglione
2f55feff4b Bug 1432605: Fix alarms API when multiple contexts use it. r=aswan
MozReview-Commit-ID: E5CIYrlEiSd
2018-01-23 18:08:00 -08:00
Edouard Oger
091fe32995 Bug 1426306 - Store only derived keys instead of storing kB/kA. r=glasserc,markh,rfkelly
MozReview-Commit-ID: Hgv5hxSH4qX
2018-01-05 15:56:00 -05:00
Andrew Swan
b80ff2efef Bug 1431371 Only grant activeTab to urls that match <all_urls> r=kmag
MozReview-Commit-ID: ApnAwGsIOaG
2018-01-26 19:54:34 -08:00
Oriol Brufau
4791668dc2 Bug 1424538 - Allow pageAction and sidebarAction set* methods to accept a null value (desktop). r=mixedpuppy
MozReview-Commit-ID: FqcRrFDYqWp
2017-12-18 20:41:10 +01:00
Shane Caraveo
d906a001b7 Bug 1423725 add event, query and details for hidden status, r=Gijs,rpl
MozReview-Commit-ID: AMcmbh4m8lK
2018-01-18 16:37:11 -07:00
Bob Silverberg
cc075aba3f Bug 1425535 - Implement browserSettings.proxyConfig API, r=mixedpuppy
This allows an extension to read and set proxy settings via a config object.

MozReview-Commit-ID: 55wn0RO74E4
2018-01-11 15:22:03 -05:00
Dustin J. Mitchell
924fdd14e9 Bug 1403519 - only build docs when necessary r=gps
This marks **/docs/** as exclusively docs, and code that is autodoc'd as
inclusively docs.

That means that a change that purely modifies documentation files will *only*
run `docs` tasks, while a change that modifies autodoc'd source code will
*additionaly* run `docs` tasks.  The tasks do not run by default.

MozReview-Commit-ID: G9tOK0AwtrI
2017-10-02 18:22:56 +00:00
Noemi Erli
aaef80e91f Backed out 2 changesets (bug 1403519) for bustage on \python\mozbuild\mozbuild\test\frontend\test_reader.py on a CLOSED TREE
Backed out changeset f53f8adcd578 (bug 1403519)
Backed out changeset 5b293bcd3fc7 (bug 1403519)
2018-01-17 07:23:40 +02:00
Dustin J. Mitchell
451e3b63c2 Bug 1403519 - only build docs when necessary r=gps
This marks **/docs/** as exclusively docs, and code that is autodoc'd as
inclusively docs.

That means that a change that purely modifies documentation files will *only*
run `docs` tasks, while a change that modifies autodoc'd source code will
*additionaly* run `docs` tasks.  The tasks do not run by default.

MozReview-Commit-ID: G9tOK0AwtrI
2017-10-02 18:22:56 +00:00
Tim Nguyen
86a05a9a19 Bug 1413089 - Fix intermittent browser_ext_themes_dynamic_getCurrent.js. r=mixedpuppy
MozReview-Commit-ID: MylrmgEfz9
2018-01-12 22:25:31 +00:00
Kris Maglione
9a668fe793 Bug 1430508: Return 0 for ProcessId() when channel IPC is closed. r=dragana
There are some corner cases where we try to attach StreamFilter endpoints to a
channel after its IPC has been closed from from the other side, but request
listeners haven't been notified. This causes crashes in any of several places.

This patch changes nsHttpChannel::ProcessId to return 0 when IPC is closed, so
callers can detect that it's no longer possible to attach endpoints to it.

MozReview-Commit-ID: BZTOqezih0P
2018-01-14 17:40:09 -08:00
Kris Maglione
3229404765 Bug 1323845: Follow-up: Fix more debug bustage in browserSettings normalization. r=bustage
MozReview-Commit-ID: 3UpDXtvOXey
2018-01-12 20:22:57 -08:00
Kris Maglione
ae99a57b3f Bug 1323845: Follow-up: Really fix debug bustage. r=bustage
MozReview-Commit-ID: JeSSguT12rk
2018-01-12 19:11:18 -08:00
Kris Maglione
a516420d8c Bug 1430317: Follow-up: Support QI to nsIMemoryReporter. r=me
MozReview-Commit-ID: 6BvZyVh2dP9
2018-01-12 18:52:36 -08:00
Kris Maglione
ea6106fdbf Bug 1323845: Follow-up: Fix more bustage. r=bustage
MozReview-Commit-ID: 4YNzTYNy0Hh
2018-01-12 18:45:46 -08:00
Kris Maglione
d755814572 Bug 1323845: Follow-up: Fix debug bustage. r=bustage
MozReview-Commit-ID: 27joVg6GYOT
2018-01-12 18:35:03 -08:00
Kris Maglione
75ec02a710 Bug 1323845: Follow-up: Fix Android bustage. r=bustage
MozReview-Commit-ID: 3h2C7mXeZqj
2018-01-12 18:18:10 -08:00
Kris Maglione
10085fad20 Bug 1430317: Add memory reporter to show basic information about active WebExtensions. r=erahm
MozReview-Commit-ID: FR8F30bhhA4
2018-01-12 16:01:18 -08:00
Kris Maglione
4fb2fb4403 Bug 1323845: Part 6b - Test WebExtension-style experiments API providers. r=aswan
MozReview-Commit-ID: 5guKmx77RQm
2018-01-09 17:21:25 -08:00
Kris Maglione
661ea33e42 Bug 1323845: Part 6a - Support WebExtension-style experiment API provider extensions. r=aswan
MozReview-Commit-ID: E1IBFyzEwqU
2018-01-09 17:20:55 -08:00
Kris Maglione
a182138185 Bug 1323845: Part 5b - Add tests for bundled experiments APIs. r=aswan
MozReview-Commit-ID: C0gAmW2QfNr
2018-01-09 17:01:29 -08:00
Kris Maglione
3ad29270e5 Bug 1323845: Part 5a - Allow extensions to bundle experiment API modules. r=aswan
MozReview-Commit-ID: 5suo2MqM51V
2018-01-09 16:28:36 -08:00
Kris Maglione
7e301703f8 Bug 1323845: Part 4 - Add Extension.isPrivileged property. r=aswan
MozReview-Commit-ID: 1ZLVdu4ccWk
2017-12-19 17:31:03 -08:00
Kris Maglione
85e66cb2a3 Bug 1323845: Part 3 - Auto-create intermediate API namespace objects when necessary. r=aswan
MozReview-Commit-ID: HA8WpynPOqp
2018-01-09 16:02:38 -08:00
Kris Maglione
a96e1007ac Bug 1323845: Part 2c - Lazy init API global only when APIs are first loaded. r=aswan
MozReview-Commit-ID: B1bbiM0j5gT
2018-01-09 16:07:45 -08:00
Kris Maglione
2898ad39b0 Bug 1323845: Part 2b - Support separate schema roots for each API manager. r=aswan
MozReview-Commit-ID: 61LhYiIKVTH
2017-12-16 14:51:10 -06:00
Kris Maglione
2d3a2b7f99 Bug 1323845: Part 2a - Support separate API managers for each extension. r=aswan
MozReview-Commit-ID: 5gGsMm1ahd
2017-12-16 15:33:23 -06:00
Kris Maglione
05654848aa Bug 1323845: Part 1 - Support multiple schema root namespaces. r=aswan
MozReview-Commit-ID: DfOjHGzLJro
2017-12-16 15:05:13 -06:00
Kris Maglione
2e65b7ecf0 Bug 1323845: Part 0 - Cleanup some code formatting. r=aswan
MozReview-Commit-ID: 9awFVoN0REF
2017-12-12 17:53:04 -05:00
Nika Layzell
635711a262 Bug 1383876 - Part 2: Remove GroupedSHistory and Prerendering logic from JS code, r=freesamael
MozReview-Commit-ID: KwvOcgQKheK
2018-01-12 17:52:54 -05:00
Csoregi Natalia
89e95002fa Merge mozilla-central to inbound. r=merge a=merge CLOSED TREE 2018-01-13 00:04:06 +02:00
Bob Silverberg
dd4dd43f81 Bug 1363860 - Allow WebExtensions to control cookie behaviour, r=mixedpuppy
This introduces a new setting to the privacy API, browser.privacy.websites.cookieConfig,
which controls both the network.cookie.cookieBehavior pref, and the network.cookie.lifetimePolicy
pref. The former controls which types of cookies are accepted, while the latter which controls
the expiration date of cookies.

This setting accepts an object as its value with properties for "behavior" and
"nonPersistentCookies", which control the prefs discussed above. Each of these properties is
optional.  nonPersistentCookies defaults to false, and an object without a value for the
behavior property will result in the network.cookie.cookieBehavior pref being reset to its
default value.


MozReview-Commit-ID: KKE1dMCzTt6
2017-11-30 09:31:21 -05:00
Margareta Eliza Balazs
a773d5e139 Backed out changeset 6d539e4a02bd (bug 1403519) for lint failures on a CLOSED TREE 2018-01-11 22:32:27 +02:00
Kris Maglione
3d9e837be9 Bug 1429567: Add more detailed add-on info to sandbox names. r=zombie
MozReview-Commit-ID: DMs8dd49j03
2018-01-12 13:21:03 -08:00
Luca Greco
df769bb81d Bug 1428094 - Exception raised from a webRequest blocking listener should report the original error message and filename. r=mixedpuppy
MozReview-Commit-ID: KiCg6dKaVd5
2017-12-07 21:19:03 +01:00
Andrew Swan
8cef91f7e3 Bug 1396399 - Clarify rules for applying activeTab permission to content scripts. r=kmag, r=bz
MozReview-Commit-ID: 9xPDX8Qk2iR
2017-11-04 21:06:20 -07:00
Dorel Luca
595e3afa37 Merge mozilla-central to autoland r=merge 2018-01-11 00:03:38 +02:00
Shane Caraveo
682e6061f8 Bug 1418275 Fix timing of STS header processing for webextensions r=mayhemer
STS header checking was happening before http-on-examine-response which prevents
an observer from adding the STS headers to enforce STS.  This moves the header
processing to after the notification occurs.  In a webextension,
WebRequest.onHeadersReceived can now be used to inject STS and have that
recognized by HttpChannel.

MozReview-Commit-ID: KYZCSTBnZL7
2018-01-10 13:21:08 -08:00