repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
LayoutTests
/
http
/
tests
/
loading
/
resources
/
gmail-assert-on-load-frame.html
blob
c204fa7e13d2d4ea3ae960b951ec58bd8df155c0
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>