Chromium Code Reviews| 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..c514334bf5136a8725617faf2711397218905be5 |
| --- /dev/null |
| +++ b/chrome/test/data/flash_embeds.html |
| @@ -0,0 +1,15 @@ |
| +<!DOCTYPE html> |
| +<html> |
| + <head></head> |
| + <body> |
| + </body> |
| + <script> |
| + function appendToDOM(url) { |
| + var object = document.createElement("object"); |
| + var embed = document.createElement("embed"); |
| + embed.src = url; |
|
Mike West
2016/08/04 12:41:39
Nit: I'd like to see you check the `type` behavior
kdsilva
2016/08/05 11:06:02
Done.
|
| + object.appendChild(embed); |
| + document.body.appendChild(object); |
| + } |
| + </script> |
| +</html> |