Sign in
chromium
/
external
/
w3c
/
web-platform-tests
/
refs/tags/merge_pr_42197
/
.
/
long-animation-frame
/
tentative
/
resources
/
event-generates-loaf.js
blob: fe7c3eca2b372a71cf6350bd6577bd60f372c38f [
file
] [
log
] [
blame
]
(()
=>
{
const
xhr
=
new
XMLHttpRequest
();
xhr
.
open
(
'GET'
,
'/common/dummy.xml'
);
xhr
.
addEventListener
(
'load'
,
()
=>
{
const
deadline
=
performance
.
now
()
+
360
;
while
(
performance
.
now
()
<
deadline
)
{
}
});
xhr
.
send
();
})();