LayoutTests:
Reviewed by Maciej.
<rdar://problem/5360748>
REGRESSION (r21002-r21003): Flash widget sniffer doesn't work (affects iWeb)
Update test case to handle the case where the node list is accessed after
the document has finished loading.
* fast/dom/NodeList/invalidate-node-lists-when-parsing-expected.txt:
* fast/dom/NodeList/invalidate-node-lists-when-parsing.html:
WebCore:
Reviewed by Maciej.
<rdar://problem/5360748>
REGRESSION (r21002-r21003): Flash widget sniffer doesn't work (affects iWeb)
Don't check whether the document is being parsed or not, because the node list
could be accessed after the document has finished parsing.
* dom/Node.cpp:
(WebCore::Node::registerNodeList):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25056 268f45cc-cd09-0410-ab3c-d52691b4dbfc
5 files changed