593118 Commits

Author SHA1 Message Date
Shane Caraveo
1e0138caf3 Bug 1455755 Move browserSettings.proxyConfig to proxy.settings, r=aswan, mstrimer
--HG--
rename : toolkit/components/extensions/test/xpcshell/test_ext_browserSettings.js => toolkit/components/extensions/test/xpcshell/test_ext_proxy_config.js
2018-04-25 18:50:22 -05:00
Kris Maglione
be628a4524 Bug 1456677: Make the blocklist service a JSM, with an XPCOM service stub. r=Gijs
Aside from making things easier for JS callers, this also makes it harder to
accidentally trigger an early load of the service, which can be expensive
during startup.

This also makes a slight change to nsPluginHost to initially preserve the
previous blocklist state when a plugin is updated, to avoid the risk of the
possible additioanl asynchrony unblocking a plugin that should stay blocked.

MozReview-Commit-ID: 4EvIGJ1Ke0Z

--HG--
rename : toolkit/mozapps/extensions/nsBlocklistService.js => toolkit/mozapps/extensions/Blocklist.jsm
extra : rebase_source : e7047615ea3a728478695c76a0c521b0281f363b
extra : amend_source : b74115abacacd17ae3e8433a534a5bbb541905b0
2018-04-24 17:46:44 -07:00
Kris Maglione
a6d2e794ef Bug 1456035: Part 3.1 - Add temporary fallback XPCOMUtils.generateQI implementation for Android hostutils. r=me
MozReview-Commit-ID: IDs6Jyz5PyO

--HG--
extra : rebase_source : ae871cbec9494945663843a7dbeb56ae2a49c164
2018-04-25 14:26:05 -07:00
Kris Maglione
e318b76d56 Bug 1456035: Part 3 - Replace XPCOMUtils.generateQI with a stub for ChromeUtils.generateQI. r=mccr8
MozReview-Commit-ID: HWnlxUQvxYZ

--HG--
extra : rebase_source : a5801a0d7427a2cf3cedec2a4e8db1a3d80273ec
2018-04-22 18:55:49 -07:00
Kris Maglione
8b53374e1d Bug 1456035: Part 2 - Add fast path for XPCWrappedJS QueryInterface with native helper. r=mccr8
When the QueryInterface method for an XPCWrappedJS class is implemented by the
native helper, we can avoid a lot of overhead by simply asking it if it
supports a given interface rather than going through all of the JSAPI call and
exception handling overhead we'd need otherwise.

MozReview-Commit-ID: FVAN3oYRE9I

--HG--
extra : rebase_source : 23a42374e83ee4314fa89ead135fd2e8f9968296
2018-04-22 20:37:51 -07:00
Kris Maglione
dc8ba3688b Bug 1456035: Part 1 - Add helper to generate native QueryInterface callbacks. r=bz
MozReview-Commit-ID: JpV6zYOdvHu

--HG--
extra : rebase_source : 4aeda7c2c612dd9c7dbb7b6f4fdd33b8b289b702
2018-04-22 20:32:11 -07:00
arthur.iakab
b952733074 Merge mozilla-central to inbound on a CLOSED TREE
--HG--
extra : amend_source : 211f8c266bd77e1617feb70153708664d3edf337
2018-04-26 02:08:49 +03:00
arthur.iakab
b6893939a1 Backed out changeset dd82a78059af (bug 1454123) for devtools failures at devtools/client/webconsole/test/mochitest/browser_webconsole_split.js a=backout 2018-04-26 01:44:27 +03:00
Dorel Luca
7652908dea Backed out changeset 3802f86e1bd1 (bug 1364624) for shutdown hangs on reftests. a=backout 2018-04-26 00:27:45 +03:00
Tiberius Oros
78dbe34925 Bug 1452580 - remove RELEASE_OR_BETA defines for PerformanceCounter usage a=beta-fix 2018-04-25 14:43:48 +03:00
Gurzau Raul
faeb9b7ddd Merge inbound to mozilla-central. a=merge 2018-04-25 12:36:04 +03:00
Robert Longson
83c5aceb17 Bug 1455940 - Remove constructors from SVGNumber r=mystor 2018-04-25 07:00:36 +01:00
Brian Birtles
e0ea50192f Bug 1456688 - Set easing member in result of getComputedTiming(); r=hiro
The test added in this patch fails without the corresponding code changes
(specifically the second gGetComputedTimingTests test fails the comparison of
the 'easing' member).

MozReview-Commit-ID: 9eyXruVrPuN

--HG--
extra : rebase_source : 927f55c0670bf770e03d38eb876202efbb700c1e
2018-04-25 12:25:26 +09:00
sotaro
1787768767 Bug 1454878 - Update WrExternalLogHandler as to use env_logger r=jrmuizel 2018-04-25 12:05:26 +09:00
Lee Salzman
47222b48e5 Bug 1448703 - clear blob image resources from clear_namespace hook. r=jrmuizel 2018-04-24 22:24:55 -04:00
Christoph Diehl
d5091638e8 Bug 777067 - Fuzzing: IPC Protocol Definition Language (IPDL) Protocols. r=jld
--HG--
rename : ipc/glue/Faulty.cpp => tools/fuzzing/faulty/Faulty.cpp
rename : ipc/glue/Faulty.h => tools/fuzzing/faulty/Faulty.h
2018-04-24 20:10:15 +02:00
Masayuki Nakano
19af69cf33 Bug 1456381 - TSFTextStore should discard pending composition update actions before recording composition end action r=m_kato
TSFTextStore should discard pending composition update actions when it records
end composition update action because end composition update action causes
dispatching eCompositionCommit event and it replaces old composition string
anyway.  So, following eCompositionChange which is dispatched by preceding
composition update actions are just redundant.

MozReview-Commit-ID: HBHx2jA15ro

--HG--
extra : rebase_source : 74d1e91d73bf9c8182a9c5e3fd55d052d8ec4bea
2018-04-19 20:42:00 +09:00
Igor Oliveira
d38109b6e2 Bug 1455165 - Filter external apps out if needed. r=mcomella 2018-04-18 17:16:00 +03:00
Andrew Swan
4ad9f49ebe Bug 1447551 Part 2: Convert webRequest to persistent events r=mixedpuppy,kmag
MozReview-Commit-ID: ANprpK8Kw5Q

--HG--
extra : rebase_source : fb3283c36cd392dbb1713e856204226df840930d
2018-04-20 11:41:30 -07:00
Andrew Swan
7af2a23072 Bug 1447551 Part 1: Fix some issues with persistent EventManagers r=kmag
- Un-lazify the startup promises in ext-toolkit.js since the
  manifest background property is handled asynchronously, so it
  races with startup and can miss the relevant events if it
  loses the race.
- Ensure that persistent events don't cause breakage when the
  background-delayed-startup preference is set to false.
- Add a wakeup() method to the fire object provided to primed
  listeners.  This method returns a Promise that resolves when
  the extension background page has started.  Events that need to
  do some work in the context of the extension can wait on the
  result of wakeup(), then continue processing after the background
  page is started, using fire.[a?]sync as normal.

MozReview-Commit-ID: HiYOguVdEQK

--HG--
extra : rebase_source : 249235553d591fec2110c213ab8b4637fe1aaf08
2018-04-20 16:09:13 -07:00
Johan Lorenzo
ce8360e572 Bug 1453261 - adjust bouncer kinds to handle esr60. r=rail,mtabara CLOSED TREE
MozReview-Commit-ID: EpzlzLoQFLk

--HG--
extra : histedit_source : 786c95dc3a579c78ece2094d13a75e13f443fd50%2C5ce141423b18b432d1d6f1a721335f1ab49f636b
2018-04-16 16:25:26 +02:00
Mihai Tabara
20f7adc3ef Bug 1453273,1453255,1453253 - add esr60 fixes in automation. r=aki CLOSED TREE
--HG--
extra : histedit_source : b3427d4436bc7ef445eb67114bde33b16993d63c
2018-04-26 01:29:09 +03:00
Hiroyuki Ikezoe
541443c523 Bug 1349646 - Don't overflow -moz-inner-focus border. r=wisniewskit+471096
MozReview-Commit-ID: FFSI6cKZBha

--HG--
extra : rebase_source : 8b858372c528a7dd0b936f9edec1aa49f8ba8c23
2018-04-07 08:38:26 +09:00
Hiroyuki Ikezoe
fa05c8f6c5 Bug 1349646 - s/-moz-inner-focus/-moz-focus-inner/. r=wisniewskit+471096
MozReview-Commit-ID: Jvw2P7AfSCG

--HG--
extra : rebase_source : 243b23a66ac71475f276e7186a7e79c96f618765
2018-04-07 07:39:26 +09:00
Kartikaya Gupta
56573e4070 Bug 1456561 - Reduce the number of WakeSceneBuilder messages. r=botond
Avoid sending a flood of WakeSceneBuilder messages when we get a series
of updater-thread tasks to run in quick succession.

MozReview-Commit-ID: 2irXrsahMPt

--HG--
extra : rebase_source : d5663824930792c7de03ef2eeaf2e638d2f57fa8
2018-04-24 18:54:45 -04:00
Makoto Kato
5ba93c05e8 Bug 1449983 - The Java thread has the wrong JSON format. r=mstange
MozReview-Commit-ID: 93Kw7McCWva

--HG--
extra : rebase_source : 754d8f1fcc2840d987df7bdbac4f0d08171aa57e
2018-04-20 10:33:26 +09:00
Brian Birtles
33b5b0ea73 Bug 1454123 - Wait a moment after moving toolbox to a window before triggering its menu; r=bgrins
MozReview-Commit-ID: 839Z65WTjpC

--HG--
extra : rebase_source : 6452970fd61b9b0057ae2d91e75d84d0f5adee96
2018-04-25 09:55:04 +09:00
Brian Birtles
e1ca7a480d Bug 1455443 - Convert dock menu options to a checkbox list; r=jryans
This also fixes the grouping so that the checkboxes appear before the separator
as per the mockup here:

  https://mozilla.invisionapp.com/share/M5G8OO1ZVE4#/screens

MozReview-Commit-ID: FfVNzPHEk43

--HG--
extra : rebase_source : 50f1060ab65c307a5474b40ebfb7bfaf8649070d
2018-04-24 13:22:02 +09:00
Ian Bicking
e23d2028e1 Bug 1454029 - Export Screenshots 32.1.0 to Firefox (code excluding translations and Raven update); r=_6a68
MozReview-Commit-ID: GA75ZjrWBjm

--HG--
extra : rebase_source : b4e282a57eb9b80f80a7a07dea171fe87a7ebc46
2018-04-19 16:10:10 -05:00
Ian Bicking
3954244573 Bug 1454029 - Export Screenshots 32.1.0 to Firefox (upgrade Raven to 3.24.1); r=_6a68
MozReview-Commit-ID: 1cYxWWwLzmQ

--HG--
extra : rebase_source : 37e96fab8876a0455466bd67d1517c1f24e30777
2018-04-19 16:09:58 -05:00
Ian Bicking
2b01c1f008 Bug 1454029 - Export Screenshots 32.1.0 to Firefox (translations only); r=flod,_6a68
MozReview-Commit-ID: E6PueP7jKFk

--HG--
extra : rebase_source : 4ef21718bbf57c42c1e8df3e84190ff4db319ec1
2018-04-19 16:09:28 -05:00
Nils Ohlmeier [:drno]
dddddb816e Bug 1448230: close PeerConnection to prevent leaking. r=jib
MozReview-Commit-ID: 9iC9mqpo5ef

--HG--
extra : rebase_source : a7b3dbe511cbfcfae695093eefc5021120a3d658
2018-04-19 17:14:52 -07:00
Michael Kaply
c2f87a5b92 Bug 1418953 - Remove NS_APP_USER_SEARCH_DIR. r=florian
MozReview-Commit-ID: DYzdJtz5aEH

--HG--
extra : rebase_source : 4dc75dfb011a174b7baf50e6f7faa720d88e4723
2018-04-24 15:19:47 -05:00
Brindusan Cristian
9265429dcd Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-25 00:57:49 +03:00
Brindusan Cristian
59f801793b Merge inbound to mozilla-central. a=merge 2018-04-25 00:50:59 +03:00
Andreas Tolfsen
c14aed4d78 Bug 1456450 - Sort marionette.jar manifest lexicographically. r=maja_zf,whimboo
Normally this sort of change could be filed under "needless churn",
but by appending new files to this list we end up with constant
merge conflicts.

MozReview-Commit-ID: HnaIN2d5fOa

--HG--
extra : rebase_source : b6661417d4e7afeb8e73abe5c2ea15714b4f7dbd
2018-04-24 13:35:24 +01:00
Alexandre Poirot
a4ac8e5ad2 Bug 1283714 - Wait for test document load in test_child_docshell.html to fix an intermittent. r=bz
MozReview-Commit-ID: 2qfn77LmG3b

--HG--
extra : rebase_source : ff45023308502245c30b7b444e82cde398109e7e
2018-04-23 08:19:52 -07:00
Brian Grinstead
a6f357cd3b Bug 1456616 - Remove suppressFocusScroll from nsXULCommandDispatcher;r=bz
This attribute doesn't do anything.

MozReview-Commit-ID: FnshlyyAms5

--HG--
extra : rebase_source : 75e67479a3306a29b8ea45491984d08ceb4d6907
2018-04-24 13:22:12 -07:00
Hiroyuki Ikezoe
2cc7ec0f68 Bug 1455999 - Enable animation tests on WebRender. r=kats
MozReview-Commit-ID: xtQbHwAHXT

--HG--
extra : rebase_source : 435fc55c368e0a059175c927d192c768e863c745
2018-04-24 15:25:52 +09:00
Hiroyuki Ikezoe
dd8b403ed7 Bug 1455999 - Skip the visibility hidden test case on WebRender. r=birtles
On WebRender, the animation on the visibility hidden element runs on the
compositor somehow.

MozReview-Commit-ID: 77dVlIeFQ3u

--HG--
extra : rebase_source : 2b93833e9bf5ed17f3e4ee5306bdcfd57e3c87a4
2018-04-24 15:25:41 +09:00
Hiroyuki Ikezoe
374e5b3e07 Bug 1455999 - Drop isStyleByServo() in dom/animation/. r=birtles
We have already dropped the old style sytem.

MozReview-Commit-ID: I4RUlLHLAxr

--HG--
extra : rebase_source : d2f1bacd0c938da760ee37288c5df331de489f40
2018-04-24 08:50:12 +09:00
Hiroyuki Ikezoe
59c7ccd500 Bug 1456003 - Don't allocate new AnimatedValue when we update AnimatedValue. r=kats
We need to allocate new AnimatedValue only if there is no AnimatedValue
corresponding to the id in the hashtable.

MozReview-Commit-ID: HeRt74Tnojt

--HG--
extra : rebase_source : 6920ac7fe770e928883e9995469e972799b3c02e
2018-04-24 15:13:10 +09:00
Tarek Ziadé
90bafd1f42 Bug 1452580 - remove RELEASE_OR_BETA defines for PerformanceCounter usage - r=baku,erahm,farre
PerformanceCounters are currently disabled in two ways:

- a preference that's off by default "dom.performance.enable_scheduler_timing"
- calls made only for nightly using #ifndef RELEASE_OR_BETA

In order to simplify the code, let's remove the #ifndef and rely only on the pref.
That will also allows us to use the feature in every version going forward.

The performance will not be impacted since the current code is already using
the (cached) pref value to determine if the counters are used.

MozReview-Commit-ID: 47t2M1O13aH

--HG--
extra : rebase_source : e129e1829f1dc37c019e50e156474c4876d6d6cb
2018-04-24 22:03:06 +02:00
Kris Maglione
320f51fd2c Bug 1456262: Optimize addAddonsToCrashReporter at startup. r=aswan
This consistently shows up in profiles as taking about 6-10ms during startup.

Part of the problem is that it loads TelemetrySession.jsm, which we can't fix.

Part of the problem is that the escaping and string manipulation it does is fairly expensive. We can cache the escaped values in addonStartup.jsm to avoid that.

A lot of the problem is that we call it every time we load a bootstrap scope, even though we already set the correct value before we start loading any bootstrapped scopes, and it doesn't change after that. We can avoid this by skipping the redundant calls during startup.

MozReview-Commit-ID: 68EWdnJdPvk

--HG--
extra : rebase_source : a2ad982214634304be5adc17661c9997fc94a708
extra : amend_source : aa2038ff9d655e8d5628c70615c04f7a5101fe28
2018-04-22 15:58:02 -07:00
James Willcox
c37c419263 Bug 1456203 - Take patch from upstream lss to fix use of disallowed syscalls on Android r=ted
https://chromium-review.googlesource.com/c/linux-syscall-support/+/699213

MozReview-Commit-ID: 7hjCWfwcuHR
2018-04-24 14:22:25 -05:00
Kris Maglione
fb878aebe0 Bug 1455964: Make encodeBlob fallible on OOM. r=zombie
MozReview-Commit-ID: 83t9c9we5zg

--HG--
extra : rebase_source : 08568d79b13ac498fb5f30b268a202d8219711b9
extra : amend_source : b6092955eddc48d48cb6510384f068f85ab062bf
2018-04-22 12:20:20 -07:00
Kris Maglione
4e1f530c08 Bug 1455406: Convert test_same_site_cookies_webextension to an xpcshell test. r=mixedpuppy
MozReview-Commit-ID: BFAmZUn349n

--HG--
rename : toolkit/components/extensions/test/mochitest/test_same_site_cookies_webextension.html => toolkit/components/extensions/test/xpcshell/test_ext_same_site_cookies.js
extra : rebase_source : 1b7bfbdedf7e023ebbd66568f39ff4c27b031640
extra : amend_source : 9e56278784b6ff7b17daaeaf20a74fdc9d1ac346
2018-04-19 12:49:19 -07:00
Chris Manchester
ac074614a7 Backed out rust 1.25 in mach bootstrap (bug 1450077)
MozReview-Commit-ID: 6TXbyDvWGEP
2018-04-24 12:07:50 -07:00
Chris Manchester
73c4c02d68 Backed out rust 1.25 update due to breaking Windows rust oom stack traces (bug 1447116)
MozReview-Commit-ID: EkBliM51n59
2018-04-24 12:07:49 -07:00
Kris Maglione
5368c68c85 Bug 1363925: Follow-up: Fix JSDoc issues. r=zombie DONTBUILD
MozReview-Commit-ID: 4MlDEcrLOS5

--HG--
extra : rebase_source : d750fbadf20517922879bce386f920e380146fe6
2018-04-24 12:03:51 -07:00