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

586641 Коммитов

Автор SHA1 Сообщение Дата
Kris Maglione 8c8e35c46c Bug 1446571: Add missing semicolon. r=eslint-fix DONTBUILD CLOSED TREE
MozReview-Commit-ID: FikjFYLirlG

--HG--
extra : amend_source : 99d4543109bb40096f3978c26f7d215825d9bbe5
2018-03-20 19:55:51 -07:00
Kris Maglione 0f53439c73 Bug 1446571: Part 2b - Update update tests to run in parallel. r=aswan
MozReview-Commit-ID: AYgDFSTcTtT

--HG--
extra : rebase_source : db664ed54f8a64e7f3a4ab733231ff16a9e33fac
extra : amend_source : a2bafbf13bc23f611beecf9c4a087015dbfc1c83
extra : histedit_source : 903684841d1110d8ece769ded2d53263e9af6c8d
2018-03-16 17:52:20 -07:00
Kris Maglione 96e4667ef9 Bug 1446571: Part 2a - Stop throwing raw numeric values in https.js. r=aswan
This isn't strictly related, but I ran into it for the nth time while updating
tests, and I got fed up with having my tests fail with a useless numeric value
with no indication of where it came from.

MozReview-Commit-ID: 6OjgVYw7tNd

--HG--
extra : rebase_source : 259667d2a26ec4252a0f8a097ca35b3b702b17a0
extra : histedit_source : 492f541471b896a9a4b941baad2b14de8faf9113
2018-03-16 17:48:13 -07:00
Kris Maglione 31a77a9a72 Bug 1446571: Part 1 - Remove support for signed update.rdf files. r=aswan
MozReview-Commit-ID: FAXNRAivRcN

--HG--
extra : rebase_source : e701ef697e80907adfe1730982276f2a629663e8
extra : histedit_source : a4d682c300ee81779960a6f8d977a00045287fde
2018-03-16 17:51:11 -07:00
Michael Kelly 3e4a160302 Bug 1444554: Add Telemetry scalars for BrowserErrorReporter.jsm. r=Gijs,chutten
Differential Revision: https://phabricator.services.mozilla.com/D725

MozReview-Commit-ID: KY90uSslMmb

--HG--
extra : source : a760e111f2f157fbb18e66117f026ca298d4343e
2018-03-16 13:24:39 -07:00
Michael Kelly 527a07efae Bug 1445009: Tag errors from extensions with isExtensionError. r=Gijs
MozReview-Commit-ID: AQrlvTfJUUS

--HG--
extra : rebase_source : 0f88d1072dbb66334a6790bc9c62e8ce4a57f097
extra : histedit_source : 6210b991eeb12f19d4eb0e38d105e3200c372f7d
2018-03-19 13:40:53 -07:00
Michael Kelly 693bb90432 Bug 1445009: Refactor BrowserErrorReporter.jsm and tests. r=Gijs
The transforms for turning an nsIScriptError into a payload that Sentry
understands were getting a bit complex for a single function, so they're
refactored into a list of transform functions that are applied in sequence to
produce the payload. This will make it easier to manage adding new transforms to
the list.

Refactoring this revaled a problem with the test code: it assumed that listeners
for console messages were notified in order of registration (since it used a
temporary listener to determine when the rest of the listeners had been notified
of a message). Changing the async evaluation of the code broke the tests, so
they had to be refactored as well.

Without a way to know when all console listeners have been notified, we can't
assert that a message will not be received by BrowserErrorReporter. We do two
things to get around this:

- Where possible, call `observe` directly on the reporter instance.
- Add constructor params for registering and unregistering listeners so we can
  test that logic without relying on messages being received or not.

MozReview-Commit-ID: EEH6IROOuHD

--HG--
extra : rebase_source : a5af344c86e9756d4dbef761e4a6060515c87a61
extra : histedit_source : 5491c7359d2989a2735ec6d39de372154706c475
2018-03-19 12:41:30 -07:00
Cosmin Sabou 2f02b690ff Merge central to inbound. a=merge on a CLOSED TREE 2018-03-21 04:06:42 +02:00
Cosmin Sabou abbd20f9e5 Backed out changeset a760e111f2f1 (bug 1444554) for merge conflicts on browser_BrowserErrorReporter.js and failures after merging to autoland. a=backout 2018-03-21 02:51:03 +02:00
Kris Maglione bc5ab61b19 Bug 1447517: Stop running Windows WebExtensions tests in non-OOP mode. r=mixedpuppy DONTBUILD
Now that WebExtensions run OOP in Windows by default, and we have no intention
of going back, there's no need to run an extra set of in-process tests for
them.

MozReview-Commit-ID: t8ryuuNFHe

--HG--
extra : amend_source : 90e006ca618206a943991b14cb11779baa7b8934
2018-03-20 17:32:47 -07:00
Cosmin Sabou 52c9a5448e Merge inbound to mozilla-central. a=merge 2018-03-21 00:24:33 +02:00
Cosmin Sabou 0457be96b5 Merge autoland to mozilla-central. a=merge 2018-03-21 00:23:17 +02:00
Narcis Beleuzu 0a0ba8db56 Backed out 1 changesets (bug 1445883) for Linting opt failures on /MANIFEST.json. a=backout
Bug 1445883 - Port XHR to WorkerRef, r=smaug
2018-03-21 00:17:34 +02:00
Sebastian Hengst 144671581e Backed out changeset 0f81334efa0a (bug 1445883) for crashes (bug 1446902). a=backout 2018-03-20 23:21:24 +02:00
ffxbld 5fe3417f0b No bug, Automated HPKP preload list update from host bld-linux64-spot-301 - a=hpkp-update 2018-03-20 13:10:29 -07:00
ffxbld ff82f5097d No bug, Automated HSTS preload list update from host bld-linux64-spot-301 - a=hsts-update 2018-03-20 13:10:25 -07:00
Cosmin Sabou 6f9a8dd015 Backed out changeset fae7d9814403 (bug 1443443) for mochitest browser-chrome failure on browser_test_performance_metrics.js
--HG--
extra : rebase_source : 03d120899e3898ec18e2fd226973f38d438a156a
2018-03-20 20:31:01 +02:00
Margareta Eliza Balazs b29daa4644 Merge inbound to mozilla-central. a=merge 2018-03-20 18:49:59 +02:00
shindli a569e1df9e Backed out 3 changesets (bug 1366256) for failing in toolkit/components/url-classifier/tests/browser/browser_flashblock_off_with_always_activate.js | Plugin should have the correct 'plugin running' state on a CLOSED TREE
Backed out changeset fb9e8967c454 (bug 1366256)
Backed out changeset 5bee2ab0b174 (bug 1366256)
Backed out changeset c08e6bfa67d0 (bug 1366256)
2018-03-20 15:20:29 +02:00
shindli ae7d662af6 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-20 12:15:46 +02:00
shindli 55e9f63bac Merge inbound to mozilla-central. a=merge 2018-03-20 12:11:27 +02:00
Catalin Badea ec64c538e5 Bug 1445792 - Merge nsIWindowMediator_44 back into nsIWindowMediator. r=dbaron 2018-03-20 05:27:00 -04:00
Makoto Kato 06aaef4673 Bug 1443664 - Form control might not have non-chrome only content. r=smaug 2018-03-20 16:22:39 +09:00
Boris Zbarsky 837dc7eaaa Bug 1446711 part 8. Get rid of nsIDOMMouseEvent. r=qdot
MozReview-Commit-ID: 2FK1MA4LGZj
2018-03-20 00:16:07 -04:00
Boris Zbarsky 89ea512161 Bug 1446711 part 7. Switch the nsIDOMMouseEvent::MOZ_SOURCE_* constants over to MouseEventBinding. r=qdot
We can't include MouseEventBinding.h in MouseEvents.h because that produces
this include loop:

MouseEventBinding.h -> UIEventBinding.h ->
nsGlobalWindow.h -> nsGlobalWindowInner.h -> nsRefreshDriver.h ->
AnimationEventDispatcher.h -> AnimationComparator.h -> Animation.h ->
EffectCompositor.h -> PseudoElementHashEntry.h -> Element.h ->
PointerEventHandler.h -> MouseEvents.h -> MouseEventBinding.h

MozReview-Commit-ID: 6FNksGil7uD
2018-03-20 00:16:06 -04:00
Boris Zbarsky b69e080b56 Bug 1446711 part 6. Get rid of various unused nsIDOMMouseEvent bits. r=qdot
MozReview-Commit-ID: BmO0Ik3B8bO
2018-03-20 00:16:06 -04:00
Boris Zbarsky dcaa6d2614 Bug 1446711 part 5. Get rid of nsIDOMMouseEvent::GetButton. r=qdot
MozReview-Commit-ID: AZWzObh01uI
2018-03-20 00:16:06 -04:00
Boris Zbarsky 1be726ef98 Bug 1446711 part 4. Get rid of nsIDOMMouseEvent::GetCtrl/Shift/Alt/MetaKey. r=qdot
MozReview-Commit-ID: 1H2FzUHf55n
2018-03-20 00:16:06 -04:00
Boris Zbarsky 3318363c75 Bug 1446711 part 3. Get rid of nsIDOMMouseEvent::GetMozInputSource. r=qdot
MozReview-Commit-ID: 4cwIPNPzolI
2018-03-20 00:16:06 -04:00
Boris Zbarsky f982b572f8 Bug 1446711 part 2. Get rid of nsIDOMMouseEvent::GetClientX/Y. r=qdot
MozReview-Commit-ID: DqMhK4wajH5
2018-03-20 00:16:05 -04:00
Boris Zbarsky c0eef0b3dd Bug 1446711 part 1. Get rid of nsIDOMMouseEvent::GetScreenX/Y. r=qdot
MozReview-Commit-ID: 9Y61WHTDVvF
2018-03-20 00:16:05 -04:00
Boris Zbarsky 1a7c5067ca Bug 1446851. Get rid of nsIDOMWheelEvent. r=qdot
We can't include WheelEventBinding.h in MouseEvents.h because that produces
this include loop:

WheelEventBinding.h -> MouseEventBinding.h -> UIEventBinding.h ->
nsGlobalWindow.h -> nsGlobalWindowInner.h -> nsRefreshDriver.h ->
AnimationEventDispatcher.h -> AnimationComparator.h -> Animation.h ->
EffectCompositor.h -> PseudoElementHashEntry.h -> Element.h ->
PointerEventHandler.h -> MouseEvents.h -> WheelEventBinding.h

MozReview-Commit-ID: 5KNwH69aJYW
2018-03-20 00:16:05 -04:00
Nicholas Nethercote 2211e2da6f Bug 1446865 - Rename various AddRefTable() functions as RegisterStaticAtoms. r=froydnj
These functions no longer perform any refcounting, so the existing names are
misleading.

MozReview-Commit-ID: LX55e0bUP8N

--HG--
extra : rebase_source : 89a3da577325286c1d31723acfd4153754f49703
2018-03-20 13:01:30 +11:00
Nicholas Nethercote db20ce5cdf Bug 1446865 - Introduce nsStaticAtomUtils::Lookup. r=froydnj
This function captures a common usage pattern, generalizing the existing
IsMember() function.

MozReview-Commit-ID: 5Pt7kqyGD6Y

--HG--
extra : rebase_source : b03e4cc8f5a4a25da9236420f4b64493664b70e0
2018-03-20 13:01:28 +11:00
Nicholas Nethercote b719af74df Bug 1446865 - Move nsAtomListUtils. r=froydnj
It seems silly to have a tiny utils class with a single function in its own
module. This patch moves it into nsStaticAtom.h/nsAtomTable.cpp. It also
renames nsAtomListUtils as nsStaticAtomUtils. Finally, it uses templates to
remove the need for the `aCount` parameter at callsites.

MozReview-Commit-ID: DvJVoZFv89c

--HG--
extra : rebase_source : 1f1dd27d56e46c71c30c10102ac6132a721e23d1
2018-03-20 11:44:28 +11:00
Daisuke Akatsuka 8ef42462fb Bug 1440831: Add requestLongerTimeout(2) for browser_animation_keyframes-graph_computed-value-path.js. r=gl 2018-03-20 11:17:42 +09:00
Daisuke Akatsuka 275c0e6078 Bug 1445291: Handle to the error 'no such actor'. r=gl 2018-03-20 10:34:32 +09:00
Michael Kelly 193cfecedb Bug 1444554: Add Telemetry scalars for BrowserErrorReporter.jsm. r=Gijs,chutten
Differential Revision: https://phabricator.services.mozilla.com/D725

MozReview-Commit-ID: KY90uSslMmb

--HG--
extra : rebase_source : 4d079be8eb56ace73b385f276e741b672385bda6
2018-03-16 13:24:39 -07:00
Emilio Cobos Álvarez cc9f814770 Bug 1447405: Add a valgrind suppression on a CLOSED TREE. rpending=jseward
MozReview-Commit-ID: 1DppZjKZEwf
2018-03-20 19:54:24 +01:00
Jon Coppeard 40256267a8 Bug 1447308 - Fix bustage r=me 2018-03-20 18:21:41 +00:00
Jon Coppeard f0fd915638 Bug 1447308 - Fix LifoAlloc::isEmpty() check r=nbp 2018-03-20 18:14:44 +00:00
Jon Coppeard 1d25717185 Bug 1447307 - Fix clearing whole cell store buffer r=sfink 2018-03-20 18:13:47 +00:00
Jon Coppeard ff9605ca1e Bug 1447074 - Improve assertions for the whole cell store buffer r=sfink 2018-03-20 18:10:27 +00:00
Jon Coppeard 6d800ba596 Bug 1447073 - Check that helper threads never allocate in the nursery r=sfink 2018-03-20 17:59:02 +00:00
Steve Fink 073e868441 Bug 1367833 - Do not suppress analysis during minor GC, r=jonco
--HG--
extra : rebase_source : 8434a9a355037d27f0b857292f60c6bcf6df136b
extra : amend_source : 6f41be5f0fac7a08a56a8a373a3fb4841bde41af
2018-03-19 12:00:19 -07:00
Michael Ratcliffe 04ef7324c7 Bug 1428264 - Do not show chrome urls in storage inspector r=pbro
On investigation it turns out that no storage types are supported for chrome:// urls.

MozReview-Commit-ID: JZcQg5FvfvN

--HG--
extra : rebase_source : ea3ad83a5b81fb77fedf1ec4707294c45b6a5257
2018-03-16 14:33:24 +00:00
Kris Maglione c423cc8c0a Bug 1446250: Part 2 - Optimize/reduce calls into the Photon PageAction API. r=mixedpuppy
Calling into the Photon PageAction API to update a property is orders of
magnitude more expensive than the simple DOM-based updates we used previously.
To make matters worse, a lot of our caching was removed during the migration,
and the Photon API introduces a lot of duplicated work when selecting icons.

This patch caches the last known state for each property to avoid calling into
the Photon APIs to update each property more than necessary, and removes the
extraneous preferred icon size calculations that the Photon code already
duplicates.

MozReview-Commit-ID: LjPPxolmcd6

--HG--
extra : rebase_source : 70bce5b1460c93cc738999b1e167eb17a39259b1
2018-03-15 20:20:33 -07:00
Kris Maglione eb1a0bb258 Bug 1446250: Part 1 - Optimize Photon PageAction update performance. r=Gijs
The amount of computational complexity and garbage array/string/object
generation for each update to a pageAction property went up astronomically
with the migration of WebExtension page actions to the Photon API. This
resulted in non-trivial talos regression when Screenshots attempted to switch
back to the built-in pageAction API.

These changes fix most of the garbage generation, and reduce a lot of the
duplicated work for each update.

MozReview-Commit-ID: 4uPLnAesdU2

--HG--
extra : rebase_source : 3f723f3f35abf032cf12e02ce38552e21ea4827f
2018-03-15 21:34:01 -07:00
sotaro 57a55d1c2d Bug 1411481- Enable SkiaGL canvas usage on Mac r=jrmuizel 2018-03-21 08:59:38 +09:00
Kris Maglione 63cdc06086 Bug 1446585: Follow-up: Fix Windows file locking xpcshell bustage. r=bustage
MozReview-Commit-ID: TSB0CWep6h

--HG--
extra : rebase_source : b096176aeb25977de07d610a9ece40078003d107
2018-03-20 16:18:04 -07:00