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

586855 Коммитов

Автор SHA1 Сообщение Дата
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
Chris H-C 92195259e0 Bug 1439222 - Stop recording VSIZE_MAX_CONTIGUOUS on Win64. r=erahm
MozReview-Commit-ID: 8Tjz3tfwGfw

--HG--
extra : rebase_source : 4e586af1a7063ae960a4562e98a7adaf1f153c34
2018-03-20 06:09:00 +02: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
Ryan Hunt 12792a2bc5 Add GuaranteePersistence to PushLayer in DrawTargetCapture. (bug 1447144, r=bas)
--HG--
extra : amend_source : 4492b72ad9e306aeefadddd970b0e997de386239
2018-03-19 13:32:12 -05:00
Ben Kelly 247ba17756 Bug 1443850 P2 Add a WPT test verifying synthetic responses work when a request fragment is present. r=asuth
--HG--
extra : rebase_source : 0187a366a1e92ae48f5a10d04db3588465c2d2b6
2018-03-19 14:00:00 +02:00
Ben Kelly bb67e81bca Bug 1443850 P1 Don't try to apply the request fragment to an empty response URL when perform service worker interception. r=asuth
--HG--
extra : rebase_source : 017f8afba4af4984d59056a7f44b088eee9b2488
2018-03-19 13:29:00 +02:00
sreeise 47dfe5cd64 Bug 1446925 - Removed unused instantbird references from nsUpdateService.js r=rstrong
Instantbird referenced xul-windows-visible which is a app ID mapping for a signal sent to notify when the app is displayed.
Removed unused app ID of instantbird referring to xul-windows-visible and removed switch statement referring to xul-windows-visble.

--HG--
extra : rebase_source : d9f7fdea810f209b33b195907c38b58a365d9be3
2018-03-20 13:15:41 -04:00
Kris Maglione 03bc5c3910 Bug 1446868: Follow-up: Fix xpcshell tests in unexpected directory. r=bustage DONTBUILD
MozReview-Commit-ID: LKC8eySoCua

--HG--
extra : amend_source : d7d959362a915cb12d9280ef1ffad887a120e6f3
2018-03-20 21:39:49 -07:00
Kris Maglione 1bc713ddbb Bug 1446868: Part 2 - Convert remaining update.rdf tests to JSON format. r=aswan
MozReview-Commit-ID: 4ZIMdrvP5pJ

--HG--
rename : toolkit/mozapps/extensions/test/browser/browser_updatessl.rdf => toolkit/mozapps/extensions/test/browser/browser_updatessl.json
rename : toolkit/mozapps/extensions/test/browser/browser_updatessl.rdf^headers^ => toolkit/mozapps/extensions/test/browser/browser_updatessl.json^headers^
rename : toolkit/mozapps/extensions/test/xpcshell/data/blocklistchange/addon_update1.rdf => toolkit/mozapps/extensions/test/xpcshell/data/blocklistchange/addon_update1.json
rename : toolkit/mozapps/extensions/test/xpcshell/data/blocklistchange/addon_update2.rdf => toolkit/mozapps/extensions/test/xpcshell/data/blocklistchange/addon_update2.json
rename : toolkit/mozapps/extensions/test/xpcshell/data/blocklistchange/addon_update3.rdf => toolkit/mozapps/extensions/test/xpcshell/data/blocklistchange/addon_update3.json
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_backgroundupdate.rdf => toolkit/mozapps/extensions/test/xpcshell/data/test_backgroundupdate.json
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_bug470377/update_1.rdf => toolkit/mozapps/extensions/test/xpcshell/data/test_bug470377/update_1.json
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_bug470377/update_2.rdf => toolkit/mozapps/extensions/test/xpcshell/data/test_bug470377/update_2.json
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_bug470377/update_3.rdf => toolkit/mozapps/extensions/test/xpcshell/data/test_bug470377/update_3.json
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_bug470377/update_4.rdf => toolkit/mozapps/extensions/test/xpcshell/data/test_bug470377/update_4.json
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_bug470377/update_5.rdf => toolkit/mozapps/extensions/test/xpcshell/data/test_bug470377/update_5.json
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_bug655254.rdf => toolkit/mozapps/extensions/test/xpcshell/data/test_bug655254.json
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_corrupt.rdf => toolkit/mozapps/extensions/test/xpcshell/data/test_corrupt.json
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_delay_updates_complete.rdf => toolkit/mozapps/extensions/test/xpcshell/data/test_delay_updates_complete_legacy.json
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_delay_updates_defer.rdf => toolkit/mozapps/extensions/test/xpcshell/data/test_delay_updates_defer_legacy.json
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_delay_updates_ignore.rdf => toolkit/mozapps/extensions/test/xpcshell/data/test_delay_updates_ignore_legacy.json
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_dictionary.rdf => toolkit/mozapps/extensions/test/xpcshell/data/test_dictionary.json
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_updatecompatmode_ignore.rdf => toolkit/mozapps/extensions/test/xpcshell/data/test_updatecompatmode_ignore.json
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_updatecompatmode_normal.rdf => toolkit/mozapps/extensions/test/xpcshell/data/test_updatecompatmode_normal.json
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_updatecompatmode_strict.rdf => toolkit/mozapps/extensions/test/xpcshell/data/test_updatecompatmode_strict.json
extra : rebase_source : 1e05503ba170e5df05d66346ba4808fb9259c445
2018-03-18 22:21:46 -07:00
Kris Maglione 0257b6847c Bug 1446868: Part 1 - Preprocess RDF update manifests into JSON format. r=aswan
MozReview-Commit-ID: 4r5OubGG8Ci

--HG--
extra : rebase_source : 51a205dc36cedc6da977e504a53ba39be2d8009b
2018-03-18 21:24:53 -07:00
Kris Maglione 98aba60038 Bug 1446571: Follow-up: Fix another test that expected raw numeric errors. r=bustage DONTBUILD
MozReview-Commit-ID: 7e3THFQd2CZ
2018-03-20 21:00:28 -07:00
Kris Maglione 46748f4fae Backed out changeset 68e32f5b50e7 (bug 1444554) for failing its own test. r=backout
MozReview-Commit-ID: C6TooaguKcm
2018-03-20 20:31:57 -07:00
Kris Maglione 47469232dd Bug 1446571: Follow-up: Fix sync tests that misuse resources from add-on manager tests. r=bustage
MozReview-Commit-ID: 71lWts76HnJ
2018-03-20 20:26:46 -07:00
Kris Maglione 6620eb80a1 Bug 1446571: Follow-up: Fix tests that try to initialize AddonTestUtils twice. r=bustage DONTBUILD
MozReview-Commit-ID: Thu6IrAx1Z
2018-03-20 20:18:38 -07:00
Kris Maglione 140cc17b5d Bug 1446571: Follow-up: Fix test that expected raw numeric errors. r=bustage
MozReview-Commit-ID: 1Y7kPAvApPo
2018-03-20 20:13:17 -07:00
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 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 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
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
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
Ed Lee 28bf7b2e86 Bug 1446053 - Add about:preferences section, sidebar removal and bug fixes to Activity Stream. r=ursula
Also adds new crh locale and in-content prefs test fix.

MozReview-Commit-ID: DFs0s710wZ4

--HG--
extra : rebase_source : 7edf0d5401cdb8da9559d98fe7837d6f23889c85
2018-03-15 10:38:18 -07:00
Nicolas Chevobbe 9efe6dcb78 Bug 1446941 - Remove old-event-emitter usage from styleeditor; r=gl.
MozReview-Commit-ID: D8szZGCwb9i

--HG--
extra : rebase_source : 50966436201cff0008befd0586323199a4395016
2018-03-19 12:35:40 +01:00
Nicolas Chevobbe 9321958641 Bug 1405243 - Extract consoleAPICall helper function in common.js; r=bgrins.
The function was used through multiple tests so it makes sense
to have it in common.js.
We take this as an opportunity to unify the style of the tests, and
to make closeDebugger return a Promise.

MozReview-Commit-ID: 7y8dMNErYZp

--HG--
extra : rebase_source : 61fa671d0f6c31b68d9b94a388454d39446a12bf
2018-03-19 18:09:41 +01:00
Nicolas Chevobbe d8779b51f0 Bug 1405243 - Migrate browser_webconsole_bug_1006027_message_timestamps_incorrect.js to a server test; r=bgrins.
The test was testing that the 3 messages we display when
evaluating a console.log (text of the input, evaluation result,
consoleAPI message) all had a timestamp in a 2000ms range.
This wasn't really what it should have been about, since the
original bugfix (for Bug 1405243), was only in Console.cpp (and
the fix is still up there).
So here we only assert that the timestamp in the ConsoleAPI packet
is between the moment the log was requested and the time we receive
the packet.

MozReview-Commit-ID: HikGCJGHXMy

--HG--
extra : rebase_source : beeec437f12592b2229c89a5ab9125cc66d1971e
extra : source : 041a5ee841a41db1afca180d6b67890622543123
2018-03-19 16:42:09 +01:00