Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(977)

Side by Side Diff: chrome/test/data/flash_embeds.html

Issue 2154233003: Rewrite YouTube Flash embeds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head></head>
4 <body>
5 <script>
6 function appendToDOM(url) {
7 var object = document.createElement("object");
8 var embed = document.createElement("embed");
9 embed.src = url;
10 object.appendChild(embed);
11 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.
12 }
13 </script>
14 </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.
15 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698