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

Unified Diff: chrome/test/data/flash_embeds.html

Issue 2425623003: Revert of Fix <object data=> YouTube Flash rewrites. (Closed)
Patch Set: Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/flash_embeds.html
diff --git a/chrome/test/data/flash_embeds.html b/chrome/test/data/flash_embeds.html
index 11d6c731fdc29654e7b2a1095a3bdd8f0500d25c..0b945d4984f31b30ed12df55f1fb63f33d6e6ba1 100644
--- a/chrome/test/data/flash_embeds.html
+++ b/chrome/test/data/flash_embeds.html
@@ -4,7 +4,7 @@
<body>
</body>
<script>
- function appendEmbedToDOM(url, type) {
+ function appendToDOM(url, type) {
var object = document.createElement("object");
var embed = document.createElement("embed");
embed.src = url;
@@ -12,12 +12,5 @@
object.appendChild(embed);
document.body.appendChild(object);
}
-
- function appendDataEmbedToDOM(url, type) {
- var object = document.createElement("object");
- object.setAttribute("data", url);
- object.setAttribute("type", type);
- document.body.appendChild(object);
- }
</script>
</html>

Powered by Google App Engine
This is Rietveld 408576698