git://git.webkit.org
/
WebKit-https.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Reduce promise reaction memory usage when there are multiple reactions
[WebKit-https.git]
/
LayoutTests
/
http
/
tests
/
loading
/
resources
/
gmail-assert-on-load-frame.html
1
<script>
2
function destroyIt() {
3
frameElement.parentNode.removeChild(frameElement);
4
}
5
</script>
6
<script>
7
// Force a sleep for 1 second, to make sure the rest of the parsing is done
8
// via a timer.
9
var start = new Date()
10
var startMS = start.getTime()
11
while (true) {
12
var now = new Date()
13
if (now.getTime() - startMS > 1000) {
14
break;
15
}
16
}
17
</script>
18
19
<body onload="destroyIt()">
20
</body>