Граф коммитов

564494 Коммитов

Автор SHA1 Сообщение Дата
Mark Banner 42cb2dc6a3 Bug 1230373 - Enable mozilla/use-services for browser/components/ r=mossop
MozReview-Commit-ID: 9m9iss3jUJJ

--HG--
extra : rebase_source : e6a6f9dec168ab1d0e0343236db65f3dd1b44aeb
2017-10-11 15:43:51 +01:00
Mark Banner 8340eb52c8 Bug 1230373 - Add an ESLint rule to prefer using Services.jsm rather than getService. r=mossop
MozReview-Commit-ID: G9dp4PxcyT7

--HG--
extra : rebase_source : 957b5ead56c8c778b1ba812343c132b34030135f
2017-10-06 17:03:38 +01:00
Mark Banner d4ad271c61 Bug 1230373 - Fix an issue with eslint-plugin-mozilla not detecting the global scope properly when arrow functions are used. r=mossop
MozReview-Commit-ID: IOCM8Fjl0xQ

--HG--
extra : rebase_source : 63face219569f50bdfb00bcd7384f334ec6113c2
2017-10-16 15:08:26 +01:00
Nevin Chen 18a6b40049 Bug 1405853 - Change about page logo. r=walkingice
MozReview-Commit-ID: IOzO9cE4h1M

--HG--
extra : rebase_source : e7289e8fa13f346d522874fac17db28fc35d289a
2017-10-18 14:29:18 +08:00
Mark Banner 77fa87faaa Bug 1409769 - Properly disable idle-daily for mochitests, to avoid background interactions. r=jmaher
MozReview-Commit-ID: 6yS6zwFjphd

--HG--
extra : rebase_source : a3652de9807376a24f576cce6b627f10d014e337
2017-10-18 16:29:37 +01:00
Zibi Braniecki feea53af8e Bug 1409158 - Use LC_TIME to retrieve OSPreferences::GetRegionalPrefsLocales on Unix. r=jfkthame
MozReview-Commit-ID: ImjQCggy8yk

--HG--
extra : rebase_source : 4d943dda3332049bc52c17eca01cf935275897be
2017-10-16 13:55:51 -07:00
Ian Moody 9d62373c5d Bug 1408670 - Use PBU.isContentWindowPrivate instead of PBU.isBrowserPrivate in ContextMenu.jsm. r=Felipe
Follow up correction to bug 1399429.  isBrowserPrivate causes console spam,
probably not e10s safe going forward.

MozReview-Commit-ID: JMoTVbc3SAx

--HG--
extra : rebase_source : 323559cbac6dd877b32f17bdc810975078583934
2017-10-14 16:43:38 +01:00
Emilio Cobos Álvarez 40903f292f servo: Merge #18937 - style: Use a proper flattened tree iterator if we're under a shadow tree (from emilio:shadow-proper-flattened-tree); r=heycam
Source-Repo: https://github.com/servo/servo
Source-Revision: eea678c1412e2bb7db7f9a7459d1b68ef57c55f2

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d69b2faf4eb2fd8851a7335506ec2a0e0bf87d55
2017-10-18 12:44:32 -05:00
Brian Grinstead 62ec8eba92 Bug 1407737 - Don't persist sidebar state unless if the last window is being closed. r=mikedeboer
MozReview-Commit-ID: 7wBtCZDG1V3

--HG--
extra : rebase_source : 414412a0f01566b84f28d12df4985369d2a8110b
2017-10-18 08:32:41 -07:00
Alex Gaynor 279b3dd5ce Bug 1409747 - fixed compilation on macOS with the sandbox disabled; r=haik
MozReview-Commit-ID: F9lNO8OPKS4

--HG--
extra : rebase_source : dbf7e1858f712182bab5c85fbd70b5b4293c5db5
2017-10-18 10:27:34 -04:00
Tom Ritter 6ed6471255 Bug 1409579 Only define PATH_MAX if it is not already defined. r=jdm
MozReview-Commit-ID: 7ntgDp7sj65

--HG--
extra : rebase_source : c107772902a35b8d9f8a4ac9a543ddf3dd832ca4
2017-10-17 18:46:22 -05:00
Hector Zhao 19a4cacc8a Bug 1409348 - Prefer the per-provider report{Malware,Phish}MistakeURL in about:blocked. r=francois
MozReview-Commit-ID: 6Wmzf4SvXnE

--HG--
extra : rebase_source : b253fe62b7682362c3a9d0522d90770825ea4963
2017-10-17 19:42:31 +08:00
Sean Lee c05d2f91b9 Bug 1409306 - Check the existence of the profile's cc-exp-month and cc-exp-year in `findCreditCardSelectOption`. r=lchang
MozReview-Commit-ID: 5gBLJcWXkGT

--HG--
extra : rebase_source : a8374b7a7c8791788a17ec38526def4279daf327
2017-10-18 12:21:00 +08:00
Scott Wu e0cee9667c Bug 1409250 - Add padding to Form Autofill dropdown footer button. r=lchang
MozReview-Commit-ID: GwZ7u9yT8d

--HG--
extra : rebase_source : 7e0e9c6a6d18393e73260acd92d22c5bd3026c89
2017-10-17 17:01:46 +08:00
Jan Horak 165fab2f85 Bug 1381815 - fixing dimensions of radio and checkbox for GTK 3.20+; r=karlt
In the GTK < 3.20 the size of radio and checkbox toggle is determined by indicator
spacing and indicator size. By  GTK 3.20+ it is replaced by standard box model
(padding, margin, border). The patch fixes that while keeping the functionality
for older GTK. The values are also cached by similar way as scrollbar metrics
are cached now.

The focus is no longer rendered by GTK but by Mozilla code, so the extra
size for toggles has been removed from GetExtraSizeForWidget and toggles
no longer render focus indicator.

MozReview-Commit-ID: 1Wg5AgHy1Vz

--HG--
extra : rebase_source : 81437f45b7d32555942d21fccc9de4a561d85111
2017-10-10 13:35:56 +02:00
Blake Kaplan 816bc3bdf2 Bug 1406212 - Fix the reftest harness's logic for enabling or disabling e10s. r=jmaher
Right now, e10s defaults to "on" in Nightly via the default pref
browser.tabs.remote.autostart.2=true. The reftest harness ignores that pref
and attempts to enable it by setting browser.tabs.remote.autostart to true (as
well as disabling the checks for non-mpc-compatible extensions). There's a
bug, however, and we overwrite the value for .autostart by reading
reftest-prefernces.js (which unconditionally sets .autostart to false).

Therefore, the existing code works because it ignores the .autostart.2 pref
and whether we enable e10s is entirely controlled by setting
extensions.e10sBlocksEnabling (the reftest extension is not mpc-compatible).
With this change, we unconditionally set .remote to the value that we want
(and we trust that the only non-mpc-compatible extensions are specially vetted
and part of our build system) so that things work as advertised on the box.

MozReview-Commit-ID: Li5N4NP4PwD

--HG--
extra : rebase_source : 50f842bcf6a13e8daeae8c0c76696c2edeb8f96b
2017-10-16 14:01:01 -07:00
Blake Kaplan 3fa965430b Bug 1406212 - Remove references to extensions.e10sBlocksEnabling. r=Felipe
MozReview-Commit-ID: 11q3Go0IkPh

--HG--
extra : rebase_source : fdcf714d18effc964191665eb8422305bda92b65
2017-10-16 13:52:48 -07:00
Blake Kaplan 22ee7f1db9 Bug 1406212 - Remove multiprocessBlockPolicy. r=Felipe
MozReview-Commit-ID: F6P5fUPSc7L

--HG--
extra : rebase_source : 2663c37c2dfe853adc86ba36599fed715114b812
2017-10-12 11:16:46 -07:00
Blake Kaplan 448808fee2 Bug 1406212 - Remove browser.tabs.remote.autostart.N. r=Felipe
These are no longer needed.

MozReview-Commit-ID: C49R7GsWPDg

--HG--
extra : rebase_source : 3711365017bf48c1f53315ce48fa419ac2a89b3e
2017-10-10 16:12:20 -07:00
Blake Kaplan 04ac34653b Bug 1406212 - Remove old uses of the now-defunct .web pref. r=timdream
I'm pretty sure these changes are correct, but please double-check my work
(especially on the test, which becomes much simpler now that there's only one
pref controlling the behavior).

MozReview-Commit-ID: JhjZeVAMxAV

--HG--
extra : rebase_source : 917a4e28cc983e4fbd37adc3b2a57c600b3e1f2a
2017-09-28 16:11:03 -07:00
Blake Kaplan 0a9754f57f Bug 1406212 - Remove the code that handles extensions for e10s{,-multi}. r=Felipe
MozReview-Commit-ID: ElPZIBmOYHR

--HG--
extra : rebase_source : 97e955084c71be1658a588013160d69469dc307c
2017-09-28 16:09:20 -07:00
Blake Kaplan ec2bd7a65e Bug 1406212 - Remove the e10srollout extension. r=Felipe
MozReview-Commit-ID: 1y141p0MalB

--HG--
extra : rebase_source : 151f67eaf17afd2f01726221842b28410905d385
2017-09-28 15:54:36 -07:00
Blake Kaplan d85edbdb89 Bug 1406212 - Default to e10s on with 4 content processes. r=Felipe
MozReview-Commit-ID: CtBXBOgTuki

--HG--
extra : rebase_source : 5c4472e0c798f618f7a3ce644d506319b6ceed3c
2017-09-28 15:50:15 -07:00
Andreas Tolfsen ac39cffaab Bug 1408508 - Move Context to browser module. r=maja_zf
To avoid circular dependencies, where file A depends on B depending
on A, we should strive towards fewer inter-dependencies and more
autonomy between modules.

For example, if testing/marionette/browser.js needs access to
the Context enum it can currently only attain it by importing
testing/marionette/driver.js.  Because driver.js imports browser.js,
we create a circular dependency and Cu.import enters an infinite
import recursion.

MozReview-Commit-ID: LGiA9sy9xrd

--HG--
extra : rebase_source : f1748894c4309a5bc34b72acd4931d7937e8810e
2017-10-16 17:47:35 +01:00
Sebastian Hengst 164fef69ff Backed out changeset 286a5ba56cec (bug 1408508) for eslint failure at testing/marionette/driver.js:881:50 | 'resp' is defined but never used. r=backout
--HG--
extra : amend_source : becc15136f2e7113ab248154be37dfa2bf923dc9
2017-10-18 20:28:15 +02:00
Andreas Tolfsen a03f21ac1c Bug 1409040 - Add element.isElement shorthand. r=maja_zf
Introduces new element.isElement shorthand API for identifying DOM-,
SVG-, and XUL elements.

It is the equivalent of this:

	if (element.isDOMElement(el) ||
	    element.isSVGElement(el) ||
	    element.isXULElement(el)) {
	  // ...
	}

MozReview-Commit-ID: H8MDkP5bQmW

--HG--
extra : rebase_source : 6bef09999e47b178614e4bd307266b4449f39901
2017-10-17 14:53:42 +01:00
Andreas Tolfsen b23b5f643a Bug 1409040 - Add element.isSVGElement. r=maja_zf
MozReview-Commit-ID: 4VCjHCnO3QB

--HG--
extra : rebase_source : f74e6a2ab48dfc59bc53b12f24e8a21131d8712c
2017-10-16 14:25:53 +01:00
Andreas Tolfsen ded7e79114 Bug 1409040 - Add element.isDOMWindow. r=maja_zf
In addition to tell DOM- and XUL elements apart we will in the
future need to identify WindowProxies because WebDriver expects
there to be a separate "web window" serialisation for these.

Telling if an abritrary object is a WindowProxy is tricky but we
check if its node.toString is callable, that it returns "[object
Window"], and finally that its "self" attribute is itself.  This is
not perfect, but good enough for now.

MozReview-Commit-ID: 6FLOa3qYLPP

--HG--
extra : rebase_source : 27d25d97facf73761a1600e88d938eb76b3bc005
2017-10-13 19:22:01 +01:00
Andreas Tolfsen 8d4160ddc0 Bug 1409040 - Add element.isDOMElement. r=maja_zf
Introduces a new element.isDOMElement function, similar to isXULElement,
for checking whether an element is a DOM element.

It follows the same formula as isXULElement by first testing if the
element is an object so we know we can accesss node.namespaceURI
and node.nodeType without causing a JS error.

MozReview-Commit-ID: 6Mlo33vu5LG

--HG--
extra : rebase_source : 547a2fc5bc0051e3bb51e14add4f57d1ff7972b9
2017-10-13 19:20:26 +01:00
Andreas Tolfsen 6332833688 Bug 1409040 - Make element.isXULElement more resiliant. r=maja_zf
Fixes isXULElement to recognise XBL elements, such as <xbl:framebox>.

Also tightens up the input checks so that arbitrary objects can be
tested, as checking node.namespaceURI directly could cause a JS error
if node is not an object.  Before checking the namespace we also ensure
it's an element node so that text- and comment nodes are not picked up.

This patch also introduces tests, which were sorely missing.

MozReview-Commit-ID: 8LNF1z3X1gP

--HG--
extra : rebase_source : ffacc5b1336b35624aaf0534101ce5c3fbdeaa95
2017-09-16 14:37:21 +01:00
Andreas Tolfsen fe6ba66d6c Bug 1409438 - Make references to mutable variables immutable. r=whimboo
References to mutable variables do not need mutable themselves.
This fixes a series of mutable variable warnings emitted by the
Rust compiler.

MozReview-Commit-ID: EosL5XNRRX4

--HG--
extra : rebase_source : 62aa86b2c6c87a5f39ee228dcad6b5e4162779d8
2017-10-17 17:04:11 +01:00
Tim Nguyen 91e239073d Bug 1409684 - Polish d3 graphs style. r=bgrins
MozReview-Commit-ID: FUaRBk9knBW

--HG--
extra : rebase_source : f9b1adb7923e985b13b607d755813f926bd48eab
2017-10-18 18:43:11 +01:00
Andreas Tolfsen 4092fd5b34 Bug 1408508 - Move Context to browser module. r=maja_zf
To avoid circular dependencies, where file A depends on B depending
on A, we should strive towards fewer inter-dependencies and more
autonomy between modules.

For example, if testing/marionette/browser.js needs access to
the Context enum it can currently only attain it by importing
testing/marionette/driver.js.  Because driver.js imports browser.js,
we create a circular dependency and Cu.import enters an infinite
import recursion.

MozReview-Commit-ID: LGiA9sy9xrd

--HG--
extra : rebase_source : e4b69c91b9cf78705c902f1e5038d815b88114d0
2017-10-16 17:47:35 +01:00
Nils Ohlmeier [:drno] 8fd8af4c1b Bug 1408371: report AEC log dir through getter. r=ng,smaug
MozReview-Commit-ID: 1Tb8nwYzMFt

--HG--
extra : rebase_source : e44b90749667961771d573da3b9e6d65b3bf554c
2017-10-13 17:57:15 -07:00
Haik Aftandilian 90adeb05d8 Bug 1404919 - Whitelist Extensis Suitcase Fusion fontvaults and /System/Library/Fonts. r=Alex_Gaynor
MozReview-Commit-ID: 5UaqiHBKd90

--HG--
extra : rebase_source : 3497f97815d57e9e3fa0cc13482af5d0d81cfd87
2017-10-12 18:29:42 -07:00
Kit Cambridge e2f0256658 Bug 1301622 - Teach Places maintenance about Sync. r=mak
This patch bumps the Sync change counter for moved children and changed
types, extends the "GUID change" trigger to bump the change counter
for old parents, and adds a trigger to insert tombstones for deleted
synced items.

MozReview-Commit-ID: 5jalCfy9AMk

--HG--
extra : rebase_source : f793b0ffd694e75ece95fb6d8d497e2ada28f715
2017-10-16 16:50:10 -07:00
David Keeler 6bbfc835f0 bug 1406396 - work around NSS utils potentially loading spurious root cert modules r=mgoodwin
NSS command-line utilities may add a built-in root certificate module with the
name "Root Certs" if run on a profile that has a copy of the module file (which
is an unexpected configuration in general for Firefox). This can cause breakage.
To work around this, PSM now simply deletes any module named "Root Certs" at
startup. In an effort to prevent PSM from deleting unrelated modules
coincidentally named "Root Certs", we also prevent the user from using the
Firefox UI to name modules "Root Certs".

MozReview-Commit-ID: ABja3wpShO9

--HG--
extra : rebase_source : cfc62fb3fabf491a72f009601f3ec6973244642e
2017-10-13 11:27:30 -07:00
Masatoshi Kimura 58f00b395f Bug 1409617 - Convert test_ext_history_redirect.html to browser test and make it a bit robust. r=aswan
MozReview-Commit-ID: FKvBB01ntm4

--HG--
rename : browser/components/extensions/test/mochitest/test_ext_history_redirect.html => browser/components/extensions/test/browser/browser_ext_history_redirect.js
extra : rebase_source : 3a42009b063dce8b4b374885fd3ae921824a9dfb
2017-10-18 20:37:39 +09:00
Kartikaya Gupta a6a1631d6b Bug 1408461 - Update additional reftests due to merge conflict with bug 1396491 and something (not sure what) in the WR update. r=Gankro
MozReview-Commit-ID: Dbi7L1nuILw
2017-10-18 12:41:14 -04:00
Kartikaya Gupta 11842e931a Bug 1408461 - Update reftest results and regenerate bindings for changes in WR PR 1841. r=jrmuizel
MozReview-Commit-ID: ExA1MHJ0GFf
2017-10-18 12:37:54 -04:00
Kartikaya Gupta 94c6272403 Bug 1408461 - Update reftest results for changes in WR PR 1868. r=Gankro
MozReview-Commit-ID: d7WkwRf4x4
2017-10-18 12:37:53 -04:00
Kartikaya Gupta 0eb026046c Bug 1408461 - Update reftest results for changes in WR PR 1869. r=jrmuizel
MozReview-Commit-ID: AP6dBvlyCX5
2017-10-18 12:37:53 -04:00
Kartikaya Gupta ad165ce552 Bug 1408461 - Update reftest results for changes in WR PR 1873. r=Gankro
MozReview-Commit-ID: 3pmniFopU34
2017-10-18 12:37:52 -04:00
Nicolas Silva 0caad8382f Bug 1408461 - Update reftest results for changes in WR PR 1822. r=kats
MozReview-Commit-ID: 4FLazNlSZdm
2017-10-18 12:37:52 -04:00
Kartikaya Gupta 991e3f2ee6 Bug 1408461 - Update Cargo lockfiles and re-vendor rust dependencies. r=jrmuizel
MozReview-Commit-ID: L5AVB95yUtP
2017-10-18 12:37:52 -04:00
Kartikaya Gupta e342fa79f4 Bug 1408461 - Update webrender to commit 7892f5364bc4d35c7a9b42949f0ace4cc54f8b3c. r=jrmuizel
MozReview-Commit-ID: 1n7EzemevQX
2017-10-18 12:37:51 -04:00
Sebastian Hengst bffd61287d Backed out changeset dd8eb671df75 (bug 1408461) for failing reftests border-dotted/border-dotted-interaction.html and border-radius/curved-stripe-border.html on Linux QuantumRender. r=backout
--HG--
extra : rebase_source : 6ecd1fd58e3a2b1c711e386a77d4da26dab308c1
2017-10-18 18:28:07 +02:00
Sebastian Hengst 3bc133f2e6 Backed out changeset c654a712755b (bug 1408461)
--HG--
extra : rebase_source : 623157bbabeec362882acc296b4d38e9ea20ddd7
2017-10-18 18:28:01 +02:00
Sebastian Hengst b470b5f4a4 Backed out changeset cd0e3778a5ba (bug 1408461)
--HG--
extra : rebase_source : 0febba200a990a4478c88ba5364ba15ad8e15669
2017-10-18 18:27:56 +02:00
Sebastian Hengst a1d3b37ab0 Backed out changeset d9818c8042f4 (bug 1408461)
--HG--
extra : rebase_source : 03e8b51bf6fd05edd8159432cf94c4cbc2f6f237
2017-10-18 18:27:50 +02:00