Index: chrome/test/data/flash_embeds.html |
diff --git a/chrome/test/data/flash_embeds.html b/chrome/test/data/flash_embeds.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c617420d3f425cb1af2ce8c9b1802801248a2b17 |
--- /dev/null |
+++ b/chrome/test/data/flash_embeds.html |
@@ -0,0 +1,15 @@ |
+<!DOCTYPE html> |
+<html> |
+ <head></head> |
+ <body> |
+ <script> |
+ function appendToDOM(url) { |
+ var object = document.createElement("object"); |
+ var embed = document.createElement("embed"); |
+ embed.src = url; |
+ object.appendChild(embed); |
+ document.getElementsByTagName('body')[0].appendChild(object); |
mlamouri (slow - plz ping)
2016/07/30 17:46:06
`document.body` is shorter than `document.getEleme
kdsilva
2016/08/01 12:42:44
Done.
|
+ } |
+ </script> |
+ </body> |
mlamouri (slow - plz ping)
2016/07/30 17:46:06
Can you close the body before opening the script?
kdsilva
2016/08/01 12:42:45
Done.
|
+</html> |