зеркало из https://github.com/mozilla/gecko-dev.git
Bug 620034 - "ABORT: DOM wrapper's list length is out of sync" [@ mozilla::DOMSVGNumberList::Length]. r=longsonr, a=blocking.
This commit is contained in:
Родитель
c7eb7f1b6c
Коммит
999d3260be
|
@ -85,7 +85,7 @@ SVGAnimatedLengthList::ClearBaseValue(PRUint32 aAttrEnum)
|
|||
DOMSVGAnimatedLengthList::GetDOMWrapperIfExists(this);
|
||||
if (domWrapper) {
|
||||
// We must send this notification *before* changing mBaseVal! (See above.)
|
||||
domWrapper->InternalAnimValListWillChangeTo(SVGLengthList());
|
||||
domWrapper->InternalBaseValListWillChangeTo(SVGLengthList());
|
||||
}
|
||||
mBaseVal.Clear();
|
||||
// Caller notifies
|
||||
|
|
|
@ -85,7 +85,7 @@ SVGAnimatedNumberList::ClearBaseValue(PRUint32 aAttrEnum)
|
|||
DOMSVGAnimatedNumberList::GetDOMWrapperIfExists(this);
|
||||
if (domWrapper) {
|
||||
// We must send this notification *before* changing mBaseVal! (See above.)
|
||||
domWrapper->InternalAnimValListWillChangeTo(SVGNumberList());
|
||||
domWrapper->InternalBaseValListWillChangeTo(SVGNumberList());
|
||||
}
|
||||
mBaseVal.Clear();
|
||||
// Caller notifies
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<script>
|
||||
|
||||
function boom()
|
||||
{
|
||||
var f = document.createElementNS("http://www.w3.org/2000/svg", "feFuncB");
|
||||
var tvb = f.tableValues.baseVal;
|
||||
f.setAttribute("tableValues", "3 7 5");
|
||||
f.setAttribute("tableValues", "i");
|
||||
tvb.numberOfItems;
|
||||
}
|
||||
|
||||
boom();
|
||||
|
||||
</script>
|
|
@ -101,5 +101,6 @@ load 610594-1.html
|
|||
load 610954-1.html
|
||||
load 612662-1.svg
|
||||
load 612662-2.svg
|
||||
load 620034-1.html
|
||||
|
||||
load 621598-1.svg
|
||||
|
|
Загрузка…
Ссылка в новой задаче