gecko-dev/dom
Hiroyuki Ikezoe fa97dda579 Bug 1458841 - Use waitForAnimationReadyToRestyle wherever we wait for animation.ready right after animation creation. r=birtles
Previously we used the tweakExpectedRestyleCount function (replaced by the
waitForAnimationReadyToRestyle function in the previous patch) only in cases
where we were actually expecting restyles to happen.  For cases where we don't
expect restyles, i.e. cases where we assert the restyle count is zero, we
didn't use this method meaning we didn't bother checking if there was a restyle
expected for the current frame or not.

Since we normally wait for 5 frames anyway before checking that there have been
no restyles, failing to count the number of frames and waiting only 4 frames is
not a problem.  However, if a new test were added that just copied this code and
only waited one frame, it might fail to test what it intended.  So, to avoid
possible future bugs and in order to be more consistent with tests that do
expect restyles, this patch replaces a number of uses animation.ready with
waitForAnimationReadyToRestyle.

MozReview-Commit-ID: 7qBmobTKolh

--HG--
extra : rebase_source : baa272102fed7a66cc4fc89f6d63ba0333087a2d
2018-05-30 09:48:10 +09:00
..
abort
animation Bug 1458841 - Use waitForAnimationReadyToRestyle wherever we wait for animation.ready right after animation creation. r=birtles 2018-05-30 09:48:10 +09:00
asmjscache Bug 1462937: Update callers to use nsIFile::GetDirectoryEntries as a nsIDirectoryEnumerator. r=froydnj 2018-05-19 20:17:45 -07:00
audiochannel Bug 1458383 - Don't dispatch mediaBlockStop notification. r=baku 2018-05-09 16:22:40 +12:00
base Merge inbound to mozilla-central. a=merge 2018-05-30 00:41:41 +03:00
battery Backed out 8 changesets (bug 1453011, bug 1452981, bug 1146316) For xpcshell and mochitest failures on multiple files. CLOSED TREE 2018-04-20 21:40:24 +03:00
bindings Bug 1464036 - Remove PropertyInfo constructor to keep MSVC from generating static initializers. r=bz 2018-05-26 14:14:10 +02:00
broadcastchannel
browser-element Bug 1461292 part 1 - Rename JSAutoCompartment to JSAutoRealm. r=bz,luke 2018-05-16 10:53:16 +02:00
cache Bug 1462937: Update callers to use nsIFile::GetDirectoryEntries as a nsIDirectoryEnumerator. r=froydnj 2018-05-19 20:17:45 -07:00
canvas Bug 1462695 - Prevent crashing when context lost during WebVR presentation,r=jgilbert 2018-05-25 14:10:47 -07:00
chrome-webidl Backed out changeset f65b3816a198 (bug 1451973) for tps failure on multiple files. CLOSED TREE 2018-05-25 21:17:01 +03:00
clients Bug 1462077 P2 Add a release assert in ClientHandle::Control() that enforces same-origin policy. r=asuth 2018-05-16 14:18:36 -07:00
commandhandler Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj 2018-04-28 12:50:58 -07:00
console Bug 1463614 - Fix intermittent failure in test_timer.html, r=me 2018-05-29 13:09:00 +02:00
credentialmanagement
crypto
encoding Bug 1461292 part 1 - Rename JSAutoCompartment to JSAutoRealm. r=bz,luke 2018-05-16 10:53:16 +02:00
events Merge mozilla-inbound to mozilla-central. a=merge 2018-05-26 07:09:39 +03:00
fetch Bug 1457157 P2 Clear a worker's ClientSource when it reaches Terminating. r=baku 2018-05-02 06:29:26 -07:00
file Bug 1461426 - IPCBlobInputStreamParent should be sent as underlying stream to the content, r=smaug 2018-05-29 20:02:03 +02:00
filehandle
filesystem Bug 1462937: Update callers to use nsIFile::GetDirectoryEntries as a nsIDirectoryEnumerator. r=froydnj 2018-05-19 20:17:45 -07:00
flex
gamepad Bug 1460940 - Clean up most remaining C++-side uses of nsIDOMDocument. r=bz 2018-05-11 19:46:15 +02:00
geolocation Bug 1455674 part 10. Remove nsIDOMElement use from remaining dom/ xpidl files. r=qdot 2018-04-26 23:36:10 -04:00
grid Bug 1456590 Part 2: Update test expectations to check that names from implicit named areas are not assigned to lines. r=mats 2018-05-02 16:38:02 -07:00
html Bug 1465078 - Wait for MozAfterPaint on new windows before requesting fullscreen. r=xidorn 2018-05-29 11:33:25 -04:00
imptests
indexedDB Bug 1462964: Remove obsolete nsIDOMBlob interface. r=bz 2018-05-21 17:32:44 -07:00
interfaces Bug 1460735 part 2. Remove nsIDOMDocument. r=qdot 2018-05-29 13:39:06 -04:00
ipc Bug 1465162 - don't crash in ContentParent::RecvDeallocateLayerTreeId if the content parent ID doesn't exist; r=jld 2018-05-29 13:56:12 -04:00
jsurl Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj 2018-04-28 12:50:58 -07:00
locales Backed out 3 changesets (bug 1186265) for devtools chrome failures on browser_webconsole_visibility_messages.js. CLOSED TREE 2018-05-25 05:36:52 +03:00
manifest
mathml Bug 1455674 part 20. Get rid of nsIDOMElement. r=qdot 2018-04-26 23:37:34 -04:00
media Backed out changeset 9e1a3230d085 (bug 1456265) for mda3 failures in dom/media/webaudio/test/test_channelSplitterNode.html on a CLOSED TREE 2018-05-29 19:32:26 +03:00
messagechannel
midi Bug 1455674 part 10. Remove nsIDOMElement use from remaining dom/ xpidl files. r=qdot 2018-04-26 23:36:10 -04:00
network Bug 1461292 part 1 - Rename JSAutoCompartment to JSAutoRealm. r=bz,luke 2018-05-16 10:53:16 +02:00
notification Bug 1455674 part 10. Remove nsIDOMElement use from remaining dom/ xpidl files. r=qdot 2018-04-26 23:36:10 -04:00
offline Bug 1455052 part 8. Stop using nsIDOMEvent in docshell and dom. r=masayuki 2018-04-20 12:55:30 -04:00
payments Bug 1435157 - mochitest for AddressErrors in WebPayment. r=baku 2018-05-18 14:40:34 +08:00
performance Backed out 3 changesets (bug 1462993) wpt failures on nav2_test_attributes_exist.html. CLOSED TREE 2018-05-24 22:08:45 +03:00
permission
plugins Bug 1464061 - Return error immediately when plugin frame is destroyed. r=masayuki 2018-05-25 10:20:00 -04:00
power
presentation Bug 1462964: Remove obsolete nsIDOMBlob interface. r=bz 2018-05-21 17:32:44 -07:00
promise Backed out 2 changesets (bug 1458043) for dom/presentation/tests/mochitest/test_presentation_1ua_connection_wentaway_inproc.html failures a=backout 2018-05-17 00:54:04 +03:00
push Bug 1456035: Part 5 - Convert manual QueryInterface to ChromeUtils.generateQI. r=mccr8 2018-04-23 12:58:34 -07:00
quota Bug 1462937: Update callers to use nsIFile::GetDirectoryEntries as a nsIDirectoryEnumerator. r=froydnj 2018-05-19 20:17:45 -07:00
res
script Bug 1427610 - Implement import.meta in the browser r=bkelly 2018-05-23 09:30:13 +01:00
security Bug 1460940 - Convert nsIPrincipal to use nsIDocument. r=bz 2018-05-11 19:46:15 +02:00
serviceworkers Bug 1146316 - Leak fix, declare ServiceWorkerPrivate::mSandbox to the CC. r=bkelly. 2018-05-15 21:36:12 +02:00
smil Bug 1458580 - Rename GetSMILStyleOverride since it can't return null. r=emilio 2018-05-25 12:12:37 +02:00
storage
svg Bug 1463287: Add QueryInterface helper macro for concrete class types. r=bz 2018-05-21 16:33:18 -07:00
system Bug 1460940 - Clean up most remaining C++-side uses of nsIDOMDocument. r=bz 2018-05-11 19:46:15 +02:00
tests Bug 1462703 - Additional setElementCreationCallback tests in XUL document r=smaug 2018-05-23 14:13:22 +08:00
u2f Bug 1460767 - Return device ineligible when appropriate for U2F r=ttaubert 2018-05-10 16:36:18 -07:00
url Backed out changeset 0c5a4939300c (bug 1454889) for causing frequent Leaks (Bug 1378025). a=backout 2018-05-07 12:06:25 +03:00
vr
webauthn Bug 1463170 - Set AuthenticatorAssertionResponse.userHandle to null r=ttaubert r=smaug 2018-05-21 09:04:50 -07:00
webbrowserpersist Bug 1462937: Update callers to use nsIFile::GetDirectoryEntries as a nsIDirectoryEnumerator. r=froydnj 2018-05-19 20:17:45 -07:00
webidl Bug 1460735 part 2. Remove nsIDOMDocument. r=qdot 2018-05-29 13:39:06 -04:00
websocket Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8 2018-04-22 20:55:06 -07:00
workers Bug 1460610: Fix content process whitelist for profile extensions when none are present at startup. r=aswan 2018-05-19 17:23:01 -07:00
worklet Bug 1461605 part 1 - Rename CompartmentOptions to RealmOptions. r=luke,bz 2018-05-17 10:59:45 +02:00
xbl Bug 1450688: Follow-up: Fix rebase bustage. r=bustage CLOSED TREE 2018-05-26 12:03:31 -07:00
xhr Bug 1462357 - remove the channel and socket interface id r=bagder,baku 2018-05-16 16:05:03 -04:00
xml Bug 1462806 - Extract is value from nsXMLContentSink r=smaug 2018-05-20 10:23:46 +08:00
xslt Bug 1460940 - Remove nsIDOMDocument uses in dom/xslt/. r=bz 2018-05-11 19:46:15 +02:00
xul Bug 1464519. Remove some dead code in nsXULPopupListener::HandleEvent. r=felipe 2018-05-26 00:23:04 -04:00
jar.mn
moz.build Bug 1377980 part 4. Remove nsIDOMRange. r=mccr8 2018-05-17 12:01:38 -04:00