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

Unified Diff: Source/core/html/parser/HTMLTreeBuilder.cpp

Issue 1291723004: Remove all support for <applet> handling in Chrome. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/parser/HTMLStackItem.h ('k') | Source/core/html/parser/XSSAuditor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/parser/HTMLTreeBuilder.cpp
diff --git a/Source/core/html/parser/HTMLTreeBuilder.cpp b/Source/core/html/parser/HTMLTreeBuilder.cpp
index 7a1d8199dbc66387c93cccb8782af1e74acd83d2..21d666b6fa5734b46e93ecb413b57930edb5c324 100644
--- a/Source/core/html/parser/HTMLTreeBuilder.cpp
+++ b/Source/core/html/parser/HTMLTreeBuilder.cpp
@@ -752,14 +752,12 @@ void HTMLTreeBuilder::processStartTagForInBody(AtomicHTMLToken* token)
m_tree.insertFormattingElement(token);
return;
}
- if (token->name() == appletTag
- || token->name() == embedTag
+ if (token->name() == embedTag
|| token->name() == objectTag) {
if (!pluginContentIsAllowed(m_tree.parserContentPolicy()))
return;
}
- if (token->name() == appletTag
- || token->name() == marqueeTag
+ if (token->name() == marqueeTag
|| token->name() == objectTag) {
m_tree.reconstructTheActiveFormattingElements();
m_tree.insertHTMLElement(token);
@@ -1860,8 +1858,7 @@ void HTMLTreeBuilder::processEndTagForInBody(AtomicHTMLToken* token)
callTheAdoptionAgency(token);
return;
}
- if (token->name() == appletTag
- || token->name() == marqueeTag
+ if (token->name() == marqueeTag
|| token->name() == objectTag) {
if (!m_tree.openElements()->inScope(token->name())) {
parseError(token);
« no previous file with comments | « Source/core/html/parser/HTMLStackItem.h ('k') | Source/core/html/parser/XSSAuditor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698