[webkit-changes] cvs commit: WebCore/khtml/xml xml_tokenizer.cpp
Vicki
vicki at opensource.apple.com
Wed Aug 17 16:25:51 PDT 2005
vicki 05/08/17 16:25:51
Modified: . Tag: Safari-1-3-branch ChangeLog
khtml/xml Tag: Safari-1-3-branch xml_tokenizer.cpp
Log:
Reviewed by Darin.
- fix <rdar://problem/4217250> REGRESSION (OC): crash loading XML file with <script> tag in it
* khtml/xml/xml_tokenizer.cpp:
(khtml::XMLTokenizer::startElement): make sure elements that id themselves as scripts are also
HTML elements
Revision Changes Path
No revision
No revision
1.4108.4.48 +10 -0 WebCore/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /cvs/root/WebCore/ChangeLog,v
retrieving revision 1.4108.4.47
retrieving revision 1.4108.4.48
diff -u -r1.4108.4.47 -r1.4108.4.48
--- ChangeLog 15 Jul 2005 18:06:00 -0000 1.4108.4.47
+++ ChangeLog 17 Aug 2005 23:25:43 -0000 1.4108.4.48
@@ -1,3 +1,13 @@
+2005-08-17 Vicki Murley <vicki at apple.com>
+
+ Reviewed by Darin.
+
+ - fix <rdar://problem/4217250> REGRESSION (OC): crash loading XML file with <script> tag in it
+
+ * khtml/xml/xml_tokenizer.cpp:
+ (khtml::XMLTokenizer::startElement): make sure elements that id themselves as scripts are also
+ HTML elements
+
=== WebCore-315.9 ===
2005-07-15 Adele Peterson <adele at apple.com>
No revision
No revision
1.30.6.2 +1 -1 WebCore/khtml/xml/xml_tokenizer.cpp
Index: xml_tokenizer.cpp
===================================================================
RCS file: /cvs/root/WebCore/khtml/xml/xml_tokenizer.cpp,v
retrieving revision 1.30.6.1
retrieving revision 1.30.6.2
diff -u -r1.30.6.1 -r1.30.6.2
--- xml_tokenizer.cpp 5 May 2005 00:15:50 -0000 1.30.6.1
+++ xml_tokenizer.cpp 17 Aug 2005 23:25:50 -0000 1.30.6.2
@@ -333,7 +333,7 @@
m_currentNode = implicitTBody;
}
- if (newElement->id() == ID_SCRIPT)
+ if (newElement->isHTMLElement() && newElement->id() == ID_SCRIPT)
static_cast<HTMLScriptElementImpl *>(newElement)->setCreatedByParser(true);
if (m_currentNode->addChild(newElement)) {
More information about the webkit-changes
mailing list