ASSERTION FAILED: !m_code || m_code == defaultExceptionCode
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 9 May 2014 10:58:14 +0000 (10:58 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 9 May 2014 10:58:14 +0000 (10:58 +0000)
commitdf287af8e8d51db91c009c95f69e320cf024a60a
tree7a19d13aa2c46b1da3ee9b1e149012be7326e5a7
parent976f116b6fb9bfa47bae7149eb7e6d7ca0dbc8b3
ASSERTION FAILED: !m_code || m_code == defaultExceptionCode
in WebCore::constructQualifiedName
https://bugs.webkit.org/show_bug.cgi?id=132343

'Remove bad assertion in SVGSMILElement's constructQualifiedName() by passing
IGNORE_EXCEPTION instead ASSERT_NO_EXCEPTION to Document::parseQualifiedName().
The constructQualifiedName() function handles parseQualifiedName() failures
propertly by returning early so there is no reason to assert on parsing
failures.'

Blink merge: http://src.chromium.org/viewvc/blink?view=revision&revision=173564
Based on the patch made by Christophe Dumez <ch.dumez@samsung.com>.

Patch by Martin Hodovan <mhodovan@inf.u-szeged.hu> on 2014-05-09
Reviewed by Dirk Schulze.

Source/WebCore:
Test: svg/custom/bad-attributeName-crash.html

* svg/animation/SVGSMILElement.cpp:
(WebCore::constructQualifiedName):

LayoutTests:
* svg/custom/bad-attributeName-crash-expected.txt: Added.
* svg/custom/bad-attributeName-crash.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@168524 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/svg/custom/bad-attributeName-crash-expected.txt [new file with mode: 0644]
LayoutTests/svg/custom/bad-attributeName-crash.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/svg/animation/SVGSMILElement.cpp