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

Side by Side Diff: third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.cpp

Issue 1836843002: Replace notImplemented() in core/html/parser/ with DVLOG(1). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/parser/HTMLScriptRunner.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google, Inc. All Rights Reserved. 2 * Copyright (C) 2010 Google, Inc. All Rights Reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 647 matching lines...) Expand 10 before | Expand all | Expand 10 after
658 RefPtrWillBeRawPtr<HTMLScriptElement> element = HTMLScriptElement::create(ow nerDocumentForCurrentNode(), parserInserted, alreadyStarted); 658 RefPtrWillBeRawPtr<HTMLScriptElement> element = HTMLScriptElement::create(ow nerDocumentForCurrentNode(), parserInserted, alreadyStarted);
659 setAttributes(element.get(), token, m_parserContentPolicy); 659 setAttributes(element.get(), token, m_parserContentPolicy);
660 if (scriptingContentIsAllowed(m_parserContentPolicy)) 660 if (scriptingContentIsAllowed(m_parserContentPolicy))
661 attachLater(currentNode(), element); 661 attachLater(currentNode(), element);
662 m_openElements.push(HTMLStackItem::create(element.release(), token)); 662 m_openElements.push(HTMLStackItem::create(element.release(), token));
663 } 663 }
664 664
665 void HTMLConstructionSite::insertForeignElement(AtomicHTMLToken* token, const At omicString& namespaceURI) 665 void HTMLConstructionSite::insertForeignElement(AtomicHTMLToken* token, const At omicString& namespaceURI)
666 { 666 {
667 ASSERT(token->type() == HTMLToken::StartTag); 667 ASSERT(token->type() == HTMLToken::StartTag);
668 notImplemented(); // parseError when xmlns or xmlns:xlink are wrong. 668 DVLOG(1) << "Not implemented."; // parseError when xmlns or xmlns:xlink are wrong.
669 669
670 RefPtrWillBeRawPtr<Element> element = createElement(token, namespaceURI); 670 RefPtrWillBeRawPtr<Element> element = createElement(token, namespaceURI);
671 if (scriptingContentIsAllowed(m_parserContentPolicy) || !toScriptLoaderIfPos sible(element.get())) 671 if (scriptingContentIsAllowed(m_parserContentPolicy) || !toScriptLoaderIfPos sible(element.get()))
672 attachLater(currentNode(), element, token->selfClosing()); 672 attachLater(currentNode(), element, token->selfClosing());
673 if (!token->selfClosing()) 673 if (!token->selfClosing())
674 m_openElements.push(HTMLStackItem::create(element.release(), token, name spaceURI)); 674 m_openElements.push(HTMLStackItem::create(element.release(), token, name spaceURI));
675 } 675 }
676 676
677 void HTMLConstructionSite::insertTextNode(const String& string, WhitespaceMode w hitespaceMode) 677 void HTMLConstructionSite::insertTextNode(const String& string, WhitespaceMode w hitespaceMode)
678 { 678 {
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
874 queueTask(task); 874 queueTask(task);
875 } 875 }
876 876
877 DEFINE_TRACE(HTMLConstructionSite::PendingText) 877 DEFINE_TRACE(HTMLConstructionSite::PendingText)
878 { 878 {
879 visitor->trace(parent); 879 visitor->trace(parent);
880 visitor->trace(nextChild); 880 visitor->trace(nextChild);
881 } 881 }
882 882
883 } // namespace blink 883 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/parser/HTMLScriptRunner.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698