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
Merge Chromium + Blink git repositories
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
LayoutTests
/
fast
/
frames
/
adopt-iframe-into-itself.html
blob
3c57746593fee3991215d494c55f19fa4091a24d
1
<script>
2
if
(
window
.
testRunner
)
3
testRunner
.
dumpAsText
();
4
5
function
test
() {
6
try
{
7
var
frame
=
document
.
getElementById
(
"f"
);
8
var
childNode
=
frame
.
contentDocument
.
adoptNode
(
frame
);
9
}
catch
(
ex
) {
10
alert
(
ex
);
11
}
12
}
13
</script>
14
<iframe
id
=
"f"
onload
=
"test();"
src
=
"data:text/html,<body></body>"
></iframe>