Commit Graph

2396 Commits

Author SHA1 Message Date
Gurzau Raul
5088af0fad Merge inbound to mozilla-central. a=merge 2018-02-17 00:09:28 +02:00
Cosmin Sabou
7d2694191a Bug 1434777 - Disabled toolkit/components/extensions/test/mochitest/test-oop-extensions/test_ext_contentscript_devtools_metadata.html for frequent failures. r=jmaher 2018-02-16 08:33:26 -05:00
Margareta Eliza Balazs
f725b11176 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-15 22:43:18 +02:00
Shane Caraveo
d86aa77f96 Bug 1324255 make webextension panels focused when opened, r=Gijs,rpl 2018-02-15 09:52:54 -07:00
Mark Striemer
1c2934d1bf Bug 1412873 - Disarm JSONFile when trying to discard changes in preferences tests r=aswan
MozReview-Commit-ID: 5l0yRop3guh
2018-02-12 15:51:48 -06:00
Tim Nguyen
800b8501ca Bug 1404688 - Make headerURL optional and remove text-shadow when there is no headerURL. r=jaws
MozReview-Commit-ID: 5x6SPWEJ3jp
2018-02-15 13:37:30 +00:00
Andreea Pavel
9ec6f2f2a3 Merge mozilla-inbound to mozilla-central a=merge 2018-02-15 12:24:21 +02:00
Coroiu Cristina
86747c3ece Backed out changeset 067ee834b07b (bug 1404688) for xpcshell failures at toolkit/mozapps/extensions/test/xpcshell/test_LightweightThemeManager.js 2018-02-15 05:15:10 +02:00
Tim Nguyen
f26ed7c47c Bug 1404688 - Make headerURL optional and remove text-shadow when there is no headerURL. r=jaws
MozReview-Commit-ID: BWhStvcLpkL
2018-02-15 02:30:44 +00:00
Dorel Luca
c2e3efbc47 Merge mozilla-centra to mozilla-inbound 2018-02-15 00:37:44 +02:00
Prathiksha
1667cf617f Bug 1431242 - Use popupnotification's built-in bolding for webextension prompts. r=aswan,johannh
MozReview-Commit-ID: 52AtWUlJj4p
2018-01-19 23:34:25 +05:30
Dorel Luca
2385f5c71f Backed out changeset 85e30806ade1 (bug 1404688) for Browser chrome failure on browser/base/content/test/general/browser_compacttheme.js. CLOSED TREE 2018-02-14 21:50:09 +02:00
Tim Nguyen
212aa936f0 Bug 1404688 - Make headerURL optional and remove text-shadow when there is no headerURL. r=jaws
MozReview-Commit-ID: iHJggOjHBa
2018-02-11 19:28:32 +00:00
Masayuki Nakano
53a40055b6 Bug 1436926 - part 2: Remove unnecessary KeyboardEvent.code specification of callers of EventUtils.synthesizeKey() r=smaug
Now, callers of EventUtils.synthesizeKey() don't need to specify
KeyboardEvent.code value anymore if they assume that active keyboard layout
is US keyboard layout.

Note that this patch changes the meaning of only test_bug551434.html.
Some callers in it don't match the key value and code value but that looks
like that they don't checking such odd keyboard events.  So, they must be
bug of the test.

MozReview-Commit-ID: Itxo7yZ9rkK
2018-02-09 19:17:26 +09:00
Noemi Erli
cf812e1e6e Backed out changeset 719333bb05af (bug 1417880) for failing in toolkit/components/extensions/test/browser/browser_ext_themes_arrowpanels.js on a CLOSED TREE 2018-02-13 14:29:36 +02:00
Mark Striemer
de4cbaa8f3 Bug 1429590 - Only allow one homepage to be set by extensions r=aswan
MozReview-Commit-ID: 8DTj8ceWAr8
2018-01-31 20:21:32 -06:00
Connor Masini
fe4861acc9 Bug 1417880: Allow theming arrow panels(popups). r=jaws
MozReview-Commit-ID: 9f1sSzaGZzf
2018-02-07 00:22:22 -05:00
Tom Ritter
5918a1f53d Bug 1435296 Address xpcshell test failures from increasing timer precision r=baku
See the comment on "Address test failures caused by bumping timer precision to 2 ms"
for more details.

MozReview-Commit-ID: LrsucEPdZIo
2018-02-12 11:41:38 -06:00
Sebastian Hengst
39acc3c032 Backed out 4 changesets (bug 1432358) for failing xpcshell's test_ext_contentscript_triggeringPrincipal.js
Backed out changeset ef7b8eef07c1 (bug 1432358)
Backed out changeset 2fa11c525da3 (bug 1432358)
Backed out changeset a67e95bd0ccf (bug 1432358)
Backed out changeset 91c948c94506 (bug 1432358)
2018-02-12 19:58:28 +02:00
Christoph Kerschbaumer
8f0a795e0a Bug 1432358: Request longer timeout for test test_ext_contentscript_triggeringPrincipal. r=aryx 2018-02-12 10:30:20 +01:00
Jared Wein
5c53ac05e6 Bug 1436749 - Backout support for button_background since it was not supposed to be supported. r=dao
MozReview-Commit-ID: CVZqDOvU04V
2018-02-09 15:28:19 -05:00
Honza Bambas
3ca600a012 Bug 1152332 - Let connection proxy filters return the result asynchronously - update webextensions back-end, r=mixedpuppy 2018-02-01 10:52:00 +02:00
Andrew McCreight
1d9e026e96 Bug 1436184 - Remove definitions of Ci, Cr, Cc, and Cu from httpd.js and .sjs files. r=florian
MozReview-Commit-ID: IKKb9zr2OSf
2018-02-06 15:03:13 -08:00
Thomas Wisniewski
6ba7255647 Bug 792808 - Change toolkit/ to import and instantiate XHRs from global properties rather than using Cc.createInstance(Ci.nsIXMLHttpRequest); r=aswan
MozReview-Commit-ID: CUrMOocHBNu
2018-02-08 20:09:57 -05:00
Andrew McCreight
272cee1e65 Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG
2018-02-06 09:36:57 -08:00
Vivek Dhingra
45870c30d3 Bug 1431189 - Add google chrome toolbar button color properties: r=jaws
Added support for color.button_background, color.button_background_hover, color.button_background_active

MozReview-Commit-ID: F0EcTLMWE6h
2018-02-02 16:24:26 -05:00
Sebastian Hengst
79ac710cac Backed out changeset 1687250b0dd9 (bug 1431189) for eslint failures in toolkit/components/extensions/test/browser/browser_ext_themes_toolbarbutton_colors.js 2018-02-03 02:24:11 +02:00
Zhengyi Lian
2e6376a010 Bug 1426686 - Add support for theming the tab loading indicator. r=jaws
MozReview-Commit-ID: 72F399voah5
2018-01-23 21:03:13 -05:00
Vivek Dhingra
063fd5f965 Bug 1431189 - Add google chrome toolbar button color properties: r=jaws
Added support for color.button_background, color.button_background_hover, color.button_background_active

MozReview-Commit-ID: F0EcTLMWE6h
2018-02-02 16:24:26 -05:00
Tim Nguyen
2642586bef Bug 1423762 - Add support for toolbar_field_separator and proper support for toolbar_vertical_separator. r=jaws
MozReview-Commit-ID: GXDLiyZXqLE
2018-02-02 17:53:24 +00:00
Jared Wein
96af17f56e Bug 1435117 - Use a different name for the icon colors internally since the theme object gets flattened when used by LightweightThemeConsumer. r=ntim
The 'icons' object already exists for a prototype way to allow theme authors to change the icons and it was conflicting with the newly introduced colors.icons pproperty that was added recently.

MozReview-Commit-ID: Hwn9fYN1kcC
2018-02-01 22:07:58 -05:00
Gurzau Raul
a6159359da Merge inbound to mozilla-central. a=merge 2018-02-02 00:22:39 +02:00
Florian Quèze
c5f15a4700 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Dylan Stokes
77433c703e Bug 1347184 - Add support for colors.icons and colors.icons_attention properties. r=jaws
MozReview-Commit-ID: KX4TIdBvza6
2018-01-23 21:00:15 -05:00
Luca Greco
f17d9dd806 Bug 1429425 - contentScripts.register runAt option should be set to document_idle when missing. r=mixedpuppy,zombie
MozReview-Commit-ID: 1D1J8zmVWqC
2018-01-31 20:55:39 +01:00
Bogdan Pozderca
50b200ea7b Bug 1412591 - Implement Google Chrome frame_inactive property. r=jaws
MozReview-Commit-ID: Dd204fZV7Yh
2018-01-23 21:33:57 -05:00
Masayuki Nakano
65ecb061b4 Bug 1134540 - Make all tests stop using nsIDOMWindowUtils.sendKeyEvent() r=smaug
nsIDOMWindowUtils.sendKeyEvent() can dispatch any keyboard events, i.e.,
may dispatch different key events from actual Gecko's behavior.  Instead,
they should use nsITextInputProcessor directly or synthesizeKey() of
EventUtils which wraps nsITextInputProcessor.

MozReview-Commit-ID: EDWqXy1OxJp
2018-01-30 22:05:44 +09:00
Luca Greco
2d6facde38 Bug 1420485 - Reduce memory usage related to the tabs.insertCSS cssCode urls. r=mixedpuppy
This patch introduces a cache of blob urls which are related to the cssCode
injected by the extensions using tabs.insertCSS, which aims to reduce the
amount of memory used by the extensions to store the cssCode injected
into the tabs and their subframes in the content child process.

The generated Blob URL are associated to the extension principal,
so that it is easier to identify in the about:memory reports
which is extension that is using the cached data.

MozReview-Commit-ID: ERhR5nmVMqY
2017-11-24 19:17:33 +01:00
Shane Caraveo
f388e6a2b5 Bug 1393940, reenable proxy script tests which were rewritten in bug 1381290 r=mixedpuppy
MozReview-Commit-ID: Fvz60yOK2tF
2018-01-30 14:57:03 -07:00
Kris Maglione
5298bb7ac5 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
0bb74efdf1 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
Cosmin Sabou
f09d6d985d Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
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