Find
C
ase-sensitive
R
egexp search
Path
Showing
58f365ba
:
Bug
2011393
- Fix build issue on Solaris/gcc. r=TYLin
firefox-main
/
testing
/
web-platform
/
tests
/
resize-observer
/
resources
Navigation
Enable keyboard shortcuts
Name
Description
Size
cross-origin-subframe.html
927
iframe.html
1048
image.png
170
resizeTestHelper.js
ResizeTestHelper is a framework to test ResizeObserver notifications. Use it to make assertions about ResizeObserverEntries. This framework is needed because ResizeObservations are delivered asynchronously inside the event loop. Features: - can queue multiple notification steps in a test - handles timeouts - returns Promise that is fulfilled when test completes. Use to chain tests (since parallel async ResizeObserver tests would conflict if reusing same DOM elements). Usage: create ResizeTestHelper for every test. Make assertions inside notify, timeout callbacks. Start tests with helper.start() Chain tests with Promises. Counts animation frames, see startCountingRaf
5698