gecko-dev/dom
Brian Birtles 2f6180dd9e Bug 1253476 - Use update() to update declarations from Servo_DeclarationBlock_SetPropertyToAnimationValue; r=emilio
This method is used when updating the SMIL override style and from Web
Animations' Animation.commitStyles method. By using update we accurately return
false when no change is made to a declaration block.

For SMIL this simply acts as an optimization, meaning we can avoid updating the
SMIL override style ub some cases.

For Animation.commitStyles, however, this allows us to avoid generating
a mutation record. Normally making a redundant change to an attribute *does*
generate a mutation record but the style attribute is different. All browsers
avoid generating a mutation record for a redundant change to inline style.
This is specified in the behavior for setProperty[1] which does not update the
style attribute if updated is false.

[1] https://drafts.csswg.org/cssom/#dom-cssstyledeclaration-setproperty

Differential Revision: https://phabricator.services.mozilla.com/D30871

--HG--
extra : moz-landing-system : lando
2019-05-20 05:22:39 +00:00
..
abort
animation Bug 1253476 - Use update() to update declarations from Servo_DeclarationBlock_SetPropertyToAnimationValue; r=emilio 2019-05-20 05:22:39 +00:00
audiochannel Bug 1544352 - update BUG_COMPONENT for some dom/* and testing/web-platform/* files. r=overholt,jmaher 2019-04-25 09:14:08 +00:00
base Bug 1253476 - Move IsRendered to Element; r=emilio 2019-05-20 05:22:27 +00:00
battery
bindings Bug 1549340 - Part 2: Use union instead of reinterpret_cast to initialize const char* with symbol for JSPropertySpec.name. r=jandem 2019-05-13 10:26:48 +00:00
broadcastchannel Backed out 12 changesets (bug 1547813) for failures in browser_partitionedIndexedDB.js CLOSED TREE 2019-05-09 20:04:16 +03:00
browser-element Bug 1320404 - Remove appId from origin attributes - part 1 - OriginAttributes and nsIPrincipal, r=Ehsan,flod 2019-05-03 17:13:17 +00:00
cache Backed out 8 changesets (bug 1513937, bug 1546310, bug 1548788, bug 1547688, bug 1547452, bug 1540777, bug 1542669, bug 1547454) for causing bug 1549362. 2019-05-06 09:02:54 -04:00
canvas Bug 1552616 - Enable webgl draft exts for webgl-conf tests. r=lsalzman 2019-05-18 05:49:07 +00:00
chrome-webidl Bug 1552263 - Add docShell attribute to JSWindowActorChild; r=nika 2019-05-17 19:01:21 +00:00
clients Backed out 12 changesets (bug 1547813) for failures in browser_partitionedIndexedDB.js CLOSED TREE 2019-05-09 20:04:16 +03:00
commandhandler
console
credentialmanagement Bug 1551342 - Update U2F, WebAuthn, and CredMan tests for Android r=keeler 2019-05-15 21:34:58 +00:00
crypto
docs Bug 1547812 - Add dom/docs for design documents about the DOM. r=nika 2019-05-03 21:51:51 +00:00
encoding
events Bug 1523853 - Avoid racy synthesizeWheel calls in test_bug574663.html, r=kats 2019-05-20 00:30:39 +00:00
fetch Bug 1426562 - Don't crash on Response constructor in WebExtensions. r=baku 2019-05-13 17:03:58 +00:00
file Bug 1548770 - Better test for File.createFile(), r=smaug 2019-05-10 09:25:01 +00:00
filehandle Bug 1545758 - Move dom/file IPC components into mozilla::dom namespace - PendingIPCBlob actors, r=qdot 2019-04-26 18:01:08 +00:00
filesystem
flex
gamepad Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-04-28 09:30:05 +00:00
geolocation
grid
html Bug 1253476 - Move IsRendered to Element; r=emilio 2019-05-20 05:22:27 +00:00
imptests
indexedDB Bug 1551226 - Run Android x86_64 7.0/debug mochitests; r=snorp 2019-05-13 20:52:36 +00:00
interfaces Bug 1550930 part 3. Stop using [array] for nsIDroppedLinkHandler.dropLinks. r=NeilDeakin 2019-05-15 20:58:08 +00:00
ipc Bug 1536465 - remove expiring FX_TAB_REMOTE_NAVIGATION_DELAY_MS telemetry probe. r=mconley 2019-05-20 11:57:42 +02:00
jsurl
l10n Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-04-28 09:30:05 +00:00
locales Bug 1552430 - Fix some typos using codespell trunk r=ahal 2019-05-17 15:56:50 +00:00
localstorage Merge mozilla-inbound to mozilla-central. a=merge 2019-05-18 13:25:28 +03:00
manifest
mathml
media Bug 1552652 - Unbreak building tests on Tier3 after bug 1545079. r=padenot 2019-05-20 09:06:35 +00:00
messagechannel Bug 1549326 - Remove simpletest.js from eval()-whitelist, r=ckerschb 2019-05-16 13:44:36 +00:00
midi Bug 1548625 part 2. Get rid of some ExposeObjectToActiveJS calls in DOM code. r=mccr8,jonco 2019-05-03 10:09:11 +00:00
network Bug 1550364 part 6. Stop using [array] in nsIUDPSocketInternal. r=baku 2019-05-09 06:55:07 +00:00
notification Bug 1547877 - enable configuration of new Notification Store implementation r=mossop,lina 2019-05-02 23:02:13 +00:00
offline
payments Bug 1514425 - disable webpayment tests as we do not currently ship this feature. r=marcosc,edenchuang 2019-05-01 06:59:03 +00:00
performance Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - dom.performance.enable_notify_performance_timing, r=Ehsan 2019-05-01 21:09:31 +00:00
permission Bug 1547397 - Part 3: Move the permission manager code to extensions/permissions; r=baku 2019-04-30 14:06:53 +00:00
plugins Bug 1547698 - Refactor the code that writes the .extra file for a content process crash or hang r=froydnj 2019-05-18 16:19:55 +00:00
power Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
presentation Bug 1320404 - Remove appId from origin attributes - part 1 - OriginAttributes and nsIPrincipal, r=Ehsan,flod 2019-05-03 17:13:17 +00:00
prio
promise Bug 1548625 part 2. Get rid of some ExposeObjectToActiveJS calls in DOM code. r=mccr8,jonco 2019-05-03 10:09:11 +00:00
prototype Bug 1548625 part 2. Get rid of some ExposeObjectToActiveJS calls in DOM code. r=mccr8,jonco 2019-05-03 10:09:11 +00:00
push Bug 1550569 part 2. Stop using [array] in nsIPushService. r=dragana 2019-05-10 07:15:31 +00:00
quota Bug 1551055 - StoragePrincipal should be supported by localStorage - part 1, r=asuth 2019-05-14 05:49:46 +00:00
reporting
res
script Bug 325352 part 1. Align our "defined insertion point" concept more closely with the spec's "script nesting level" concept. r=hsivonen 2019-05-08 06:10:47 +00:00
security Bug 1551821 - Get rid of pref network.cookie.same-site.enabled, r=ckerschb 2019-05-15 13:33:45 +00:00
serviceworkers Bug 1313741 - Use AppConstants in DOM and XPConnect tests instead of manual detection. r=bzbarsky 2019-05-14 21:01:05 +00:00
simpledb Bug 1551099. Stop using [array] in nsISDBResults. r=asuth 2019-05-14 17:23:54 +00:00
smil Bug 1253476 - Use update() to update declarations from Servo_DeclarationBlock_SetPropertyToAnimationValue; r=emilio 2019-05-20 05:22:39 +00:00
storage Bug 1551055 - StoragePrincipal should be supported by localStorage - part 1, r=asuth 2019-05-14 05:49:46 +00:00
svg Backed out 12 changesets (bug 1383650) for landing in the soft-freeze period 2019-05-16 04:47:58 +03:00
system Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
tests Bug 1549326 - Remove simpletest.js from eval()-whitelist, r=ckerschb 2019-05-16 13:44:36 +00:00
u2f Bug 1551342 - Update U2F, WebAuthn, and CredMan tests for Android r=keeler 2019-05-15 21:34:58 +00:00
url Bug 1544352 - update BUG_COMPONENT for some dom/* and testing/web-platform/* files. r=overholt,jmaher 2019-04-25 09:14:08 +00:00
vr Bug 1548625 part 2. Get rid of some ExposeObjectToActiveJS calls in DOM code. r=mccr8,jonco 2019-05-03 10:09:11 +00:00
webauthn Bug 1552539 - Refactor Android WebAuthn methods to use more GeckoBundles r=keeler 2019-05-17 18:36:01 +00:00
webbrowserpersist Bug 1532318 - Part 2 : update changes of nsIHttpChannel in codebase r=smaug 2019-05-02 12:33:55 +00:00
webgpu
webidl Bug 1253476 - Implement Animation.commitStyles; r=boris,emilio,bzbarsky,smaug 2019-05-20 06:04:23 +00:00
websocket Bug 1546736 Part 4 - Only capture web socket stacks for net monitor when the docshell/worker is being watched by the devtools, r=bzbarsky. 2019-05-19 12:53:45 -10:00
workers Bug 1313741 - Use AppConstants in DOM and XPConnect tests instead of manual detection. r=bzbarsky 2019-05-14 21:01:05 +00:00
worklet Bug 1547923 part 3. Add nsIGlobalObject::GetGlobalJSObjectPreserveColor(). r=mccr8 2019-05-02 21:23:35 +00:00
xbl Bug 1547782 - Implement GCPolicy<T>::isValid for Gecko specializations r=jonco 2019-04-30 21:48:32 +00:00
xhr Bug 1551226 - Run Android x86_64 7.0/debug mochitests; r=snorp 2019-05-13 20:52:36 +00:00
xml Bug 1551226 - Run Android x86_64 7.0/debug mochitests; r=snorp 2019-05-13 20:52:36 +00:00
xslt Bug 1532318 - Part 2 : update changes of nsIHttpChannel in codebase r=smaug 2019-05-02 12:33:55 +00:00
xul Bug 1548625 part 2. Get rid of some ExposeObjectToActiveJS calls in DOM code. r=mccr8,jonco 2019-05-03 10:09:11 +00:00
jar.mn
moz.build Bug 1547812 - Add dom/docs for design documents about the DOM. r=nika 2019-05-03 21:51:51 +00:00