Tom Schuster
f77a3af47a
Bug 1277799 - Define @@toStringTag on all DOM interface prototype objects. r=peterv
...
Instead of manually defining toStringTag we now add the toStringTag symbol to the list of properties.
This is also how we usually define toStringTag in the JS engine.
Even though this changes more code I like this approach better. Everything is centralized in the generated bindings file.
Differential Revision: https://phabricator.services.mozilla.com/D72179
2020-05-05 17:54:51 +00:00
Botond Ballo
98c8fdcd38
Bug 1634206 - Change the default value of InputAPZContext::sApzResponse to nsEventStatus_eSentinel. r=kats
...
Differential Revision: https://phabricator.services.mozilla.com/D70084
2020-05-05 17:22:01 +00:00
Razvan Maries
0c308b94ae
Backed out 2 changesets (bug 1632794) for build bustages on aboutProcesses.ftl. CLOSED TREE
...
Backed out changeset e616abcb192d (bug 1632794)
Backed out changeset 47701348412d (bug 1632794)
2020-05-05 19:21:24 +03:00
David Teller
615c6f8762
Bug 1632794 - Expose full remoteType through ChromeUtils.requestProcInfo;r=tarek
...
The current `type` field doesn't expose all information such as the origin. Let's fix this.
Differential Revision: https://phabricator.services.mozilla.com/D72616
2020-05-05 15:36:02 +00:00
Simon Giesecke
cb1efac330
Bug 1626570 - Improve handling of copying arrays in dom/reporting/. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D73660
2020-05-05 14:15:50 +00:00
Simon Giesecke
03360c8ab8
Bug 1626570 - Improve handling of copying arrays in dom/push/. r=lina
...
Differential Revision: https://phabricator.services.mozilla.com/D73659
2020-05-05 10:20:12 +00:00
Simon Giesecke
09709ea54f
Bug 1626570 - Improve handling of copying arrays in dom/filesystem/. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D73658
2020-05-05 10:20:04 +00:00
Simon Giesecke
ea103d9ab4
Bug 1626570 - Improve handling of copying arrays in dom/canvas/. r=lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D73657
2020-05-05 14:15:22 +00:00
Simon Giesecke
c398641939
Bug 1626570 - Improve handling of copying arrays in dom/performance/. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D73655
2020-05-05 14:15:00 +00:00
Simon Giesecke
acc731469f
Bug 1626570 - Improve handling of copying arrays in dom/payments/. r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D73654
2020-05-05 14:14:35 +00:00
Simon Giesecke
f43e7cfc99
Bug 1626570 - Improve handling of copying arrays in dom/fetch/. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D73652
2020-05-05 14:14:10 +00:00
Simon Giesecke
a84bea3851
Bug 1626570 - Improve handling of copying arrays in dom/l10n/. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D73651
2020-05-05 10:17:52 +00:00
Simon Giesecke
ea023a9d8e
Bug 1626570 - Improve handling of copying arrays in dom/indexedDB/. r=dom-workers-and-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D73650
2020-05-05 14:13:46 +00:00
Simon Giesecke
f93adeded1
Bug 1626570 - Improve handling of copying arrays in dom/grid/. r=mats
...
Differential Revision: https://phabricator.services.mozilla.com/D73646
2020-05-05 14:13:15 +00:00
Simon Giesecke
45e042a16d
Bug 1626570 - Improve handling of copying arrays in dom/events/. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D73645
2020-05-05 10:16:24 +00:00
Simon Giesecke
88f217f6f8
Bug 1626570 - Improve handling of copying arrays in dom/clients/. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D73644
2020-05-05 14:12:54 +00:00
Simon Giesecke
e1c9ec0e18
Bug 1626570 - Improve handling of copying arrays in dom/smil/. r=birtles
...
Differential Revision: https://phabricator.services.mozilla.com/D73630
2020-05-05 13:00:31 +00:00
Simon Giesecke
53e4e4c078
Bug 1626570 - Improve handling of copying arrays in dom/quota/. r=dom-workers-and-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D73629
2020-05-05 12:58:56 +00:00
Simon Giesecke
f7f5462a4b
Bug 1626570 - Improve handling of copying arrays in dom/media/. r=bryce
...
Differential Revision: https://phabricator.services.mozilla.com/D73627
2020-05-05 11:38:10 +00:00
Simon Giesecke
942d6510f3
Bug 1626570 - Improve handling of copying arrays in dom/html/. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D73626
2020-05-05 10:08:15 +00:00
Simon Giesecke
f458cd246a
Bug 1626570 - Improve handling of copying arrays in dom/base/. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D73625
2020-05-05 10:08:02 +00:00
Simon Giesecke
b4ec5fcde8
Bug 1626570 - Improve handling of copying arrays in dom/animation/. r=hiro
...
Differential Revision: https://phabricator.services.mozilla.com/D73642
2020-05-05 10:42:23 +00:00
Razvan Maries
0a5bb478ea
Backed out 8 changesets (bug 1634943) for build bustages on AnimationInfo.h. CLOSED TREE
...
Backed out changeset 2ee9c0fc07bf (bug 1634943)
Backed out changeset 812f8cfff1b2 (bug 1634943)
Backed out changeset c446c1edc943 (bug 1634943)
Backed out changeset 6ef1fcc1d428 (bug 1634943)
Backed out changeset 5e4ccd0bffac (bug 1634943)
Backed out changeset bf3c4e7b4691 (bug 1634943)
Backed out changeset 8f310f49a366 (bug 1634943)
Backed out changeset 421cd778da3d (bug 1634943)
2020-05-05 13:50:47 +03:00
Hiroyuki Ikezoe
05122f238f
Bug 1634943 - Split CSSAnimation and CSSAnimationKeyframe classes into a new file in dom/animation/. r=boris
...
For consistency with CSSTransition class.
Differential Revision: https://phabricator.services.mozilla.com/D73572
2020-05-05 10:01:38 +00:00
Hiroyuki Ikezoe
eee4796cb1
Bug 1634943 - Split CSSTransition class into a new file in dom/animation/. r=boris
...
The motivation here is that we will want to call CSSTransition specific
functions, e.g. updating the start value of a given CSSTransition with
the latest value of the CSSTransition on the compositor, from somewhere
not in layout/style. Unfotunately nsTransitionManager.h is not exposed
and we will never want to expose it since it's purely for layout/style
stuff.
Differential Revision: https://phabricator.services.mozilla.com/D73571
2020-05-05 10:01:33 +00:00
Hiroyuki Ikezoe
6d7f47890b
Bug 1634943 - Fix non-unified build in dom/animation/. r=boris
...
Differential Revision: https://phabricator.services.mozilla.com/D73570
2020-05-05 10:01:24 +00:00
Hiroyuki Ikezoe
d90042d013
Bug 1634943 - Include nsPrintfCString.h in TimingParams.h. r=boris
...
Differential Revision: https://phabricator.services.mozilla.com/D73569
2020-05-05 10:00:29 +00:00
Hiroyuki Ikezoe
c12c2e810c
Bug 1634943 - Export nsDOMMutationObserver.h since it's used in layout/style/. r=boris
...
I have no idea why compilers don't complain about it.
Differential Revision: https://phabricator.services.mozilla.com/D73568
2020-05-05 10:00:21 +00:00
Peter Van der Beken
6c885dbb71
Bug 1629390 - Don't crash when throwing exception with invalid UTF-8. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D73203
2020-04-30 10:25:58 +00:00
Simon Giesecke
b3881bb2e1
Bug 1633719 - Support NotNull<SafeRefPtr<T>>. r=dom-workers-and-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D72828
2020-05-05 09:09:41 +00:00
Mirko Brodesser
82f7f93e17
Bug 1633448: part 11) Add const-correctness to `Selection::CollapseToStart` and `CollapseToEnd`. r=hsivonen
...
Differential Revision: https://phabricator.services.mozilla.com/D73434
2020-05-04 10:11:14 +00:00
Mirko Brodesser
2d12323c40
Bug 1633448: part 10) Add `StyledRanges::Clear`. r=hsivonen
...
Differential Revision: https://phabricator.services.mozilla.com/D73433
2020-05-04 10:11:13 +00:00
Mirko Brodesser
d0cba89c40
Bug 1633448: part 9) Add `StyledRanges::Length`. r=hsivonen
...
Another step towards privatizing `StyledRanges::mRanges`.
Differential Revision: https://phabricator.services.mozilla.com/D73432
2020-05-04 10:11:13 +00:00
Mirko Brodesser
36148ce9a8
Bug 1633448: part 8) Add `StyledRanges::RemoveCollapsedRanges`. r=hsivonen
...
Another step towards privatizing `StyledRanges::mRanges`.
Depends on D73430
Differential Revision: https://phabricator.services.mozilla.com/D73431
2020-05-04 10:11:13 +00:00
Mirko Brodesser
c4ed6f536e
Bug 1633448: part 7) Add `StyledRanges::UnregisterSelection`. r=hsivonen
...
One step closer towards privatizing `StyledRanges::mRanges`.
Depends on D73234
Differential Revision: https://phabricator.services.mozilla.com/D73430
2020-05-04 10:11:13 +00:00
Mirko Brodesser
c6b90540b1
Bug 1633448: part 6) Change `IsUserSelectionNotCollapsed` to `IsUserSelectionCollapsed`. r=hsivonen
...
Removes unnecessary double negations.
Differential Revision: https://phabricator.services.mozilla.com/D73234
2020-05-04 10:11:13 +00:00
Mirko Brodesser
6aabdca219
Bug 1633448: part 5) Rename `AreUserSelectedRangesNonEmpty` to `IsUserSelectionNotCollapsed`. r=hsivonen
...
Differential Revision: https://phabricator.services.mozilla.com/D73233
2020-05-04 10:11:12 +00:00
Lars T Hansen
414fee387b
Bug 1478632 - wasm simd, part 1: feature gating and related prep. r=rhunt
...
We add a configuration option for SIMD and apply ENABLE_WASM_SIMD
throughout the engine as appropriate, mostly to insert #error or
MOZ_CRASH where things need to be done in later patches or for
architectures that we won't currently consider.
We add a command line switch for the shell and an option for
about:config and plumb the value of this through the engine.
Differential Revision: https://phabricator.services.mozilla.com/D57940
2020-05-05 08:17:47 +00:00
Jan Varga
7908ce2965
Bug 1624802 - Refactor tests in dom/cache/test/xpcshell to use a common initialization function; r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D73145
2020-05-05 06:28:31 +00:00
Jan Varga
0d91cacd5b
Bug 1624802 - Add a method for retrieving storage name in tests; r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D73144
2020-05-05 06:25:18 +00:00
Jan Varga
00dceeab95
Bug 1624802 - Add a pref for overriding storage name; r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D73142
2020-05-05 06:24:17 +00:00
Stephen A Pohl
ee3fa26401
Bug 1616404: Change macOS version detection to accommodate major versions between 10 and 255 as well as minor and bugfix versions between 0 and 255. r=mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D73180
2020-05-04 21:11:09 +00:00
Hiroyuki Ikezoe
cff00579e3
Bug 1633442 - Check the current keyframe's properties instead of checking mTransitionProperty. r=boris
...
Since mTransitionProperty keep holding the original transition property even if
the target effect or keyframe was replaced by others. We need to make sure the
current transition is runnable on the compositor, i.e. having the effect and
keyframes and one of the properties is runnable on the compositor.
Differential Revision: https://phabricator.services.mozilla.com/D73586
2020-05-05 01:29:44 +00:00
Boris Chiou
3ceed5d372
Bug 1633486 - Add ::marker when checking may_have_animations() during traversal. r=emilio
...
When unhidding a ::marker element, we construct its generated item, and
then call StyleNewSubtree() on this generated item. During traversal, we
may update any animation related values in Gecko_UpdateAnimations(), which
may update the base styles for animation properties.
The test case is an animation segment from "null" to "inital" value. We
replace the "null" value with the base style value for the specific animation
property, so we can do interpolation properly.
(e.g. opacity: "null => initial" becomes "1.0 => initial")
If we don't update the animation related values in
Gecko_UpdateAnimations after generating ::marker, we may do
interpolation from "null" to "initial", which causes a panic.
Differential Revision: https://phabricator.services.mozilla.com/D73408
2020-05-04 19:15:43 +00:00
Emilio Cobos Álvarez
c9dbf72d3b
Bug 1635082 - Remove nsImageLoadingContent::GetImageReferrerPolicy. r=edgar
...
It's useless now, the relevant check lives in
ReferrerInfo::InitFromNode.
Differential Revision: https://phabricator.services.mozilla.com/D73620
2020-05-04 21:26:38 +00:00
Emilio Cobos Álvarez
a59ab657b0
Bug 1635082 - Fix crossorigin relevant mutation tests. r=edgar
...
referrerpolicy and crossorigin changes were handled in
AfterMaybeChangeAttr, but were only handling the case where the
attribute changed (that is, the AfterSetAttr caller). However
AfterSetAttr only calls AfterMaybeChangeAttr if there's a new value,
which means that we don't handle attribute removal.
So their handling can just move to AfterSetAttr, and we can simplify
AfterMaybeChangeAttr to just deal with src changes which is what it was
intended to deal with anyhow.
Differential Revision: https://phabricator.services.mozilla.com/D73619
2020-05-04 21:18:41 +00:00
Dorel Luca
83d5bcb017
Backed out changeset 4d5b82209f5a (bug 1633374) for Mochitest failures in gecko/mfbt/Assertions.cpp. CLOSED TREE
2020-05-04 22:47:00 +03:00
Dorel Luca
34f3c60771
Backed out changeset 06fadee788b3 (bug 1616404) for XPCShell failures on OSX in xpcshell/rs-blocklist/test_gfxBlacklist_OK.js. CLOSED TREE
2020-05-04 22:46:01 +03:00
Liang-Heng Chen
a433ad5e67
Bug 1634312 - use BEHAVIOR_REJECT_TRACKER to run BroadcastChannel test; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D73618
2020-05-04 19:07:09 +00:00
Liang-Heng Chen
7560eb3292
Bug 1634305 - use BEHAVIOR_REJECT_TRACKER to run test; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D73607
2020-05-04 19:04:23 +00:00