Bug 798275 - Make nsParser always say the insertion point is undefined, since it always is. r=smaug, a=bajaj
authorHenri Sivonen <hsivonen@iki.fi>
Tue, 16 Oct 2012 16:05:06 +0300
changeset 116793 56c208e5b325a28be7920631639e0affe30072ac
parent 116792 b3e7fdafdfa730ab3a27129fdd131372be827310
child 116794 c5d3109c0dcdcc95d2303d825df4da1ad6da845b
push id1708
push userakeybl@mozilla.com
push dateMon, 19 Nov 2012 21:10:21 +0000
treeherdermozilla-beta@27b14fe50103 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmaug, bajaj
bugs798275
milestone18.0a2
Bug 798275 - Make nsParser always say the insertion point is undefined, since it always is. r=smaug, a=bajaj
parser/htmlparser/src/nsParser.cpp
--- a/parser/htmlparser/src/nsParser.cpp
+++ b/parser/htmlparser/src/nsParser.cpp
@@ -1194,17 +1194,17 @@ void nsParser::HandleParserContinueEvent
   NS_ASSERTION(IsOkToProcessNetworkData(),
                "Interrupted in the middle of a script?");
   ContinueInterruptedParsing();
 }
 
 bool
 nsParser::IsInsertionPointDefined()
 {
-  return true;
+  return false;
 }
 
 void
 nsParser::BeginEvaluatingParserInsertedScript()
 {
 }
 
 void