mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1244898: Suppress the exception from BeginElement. r=bz
This commit is contained in:
parent
dfc97a509b
commit
5ab7e29b04
@ -372,7 +372,7 @@ SVGAnimationElement::ActivateByHyperlink()
|
||||
// else, silently fail. We mustn't be part of an SVG document fragment that
|
||||
// is attached to the document tree so there's nothing we can do here
|
||||
} else {
|
||||
ErrorResult rv;
|
||||
IgnoredErrorResult rv;
|
||||
BeginElement(rv);
|
||||
}
|
||||
}
|
||||
|
14
dom/svg/crashtests/1244898-1.xhtml
Normal file
14
dom/svg/crashtests/1244898-1.xhtml
Normal file
@ -0,0 +1,14 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
|
||||
|
||||
<script>
|
||||
|
||||
window.addEventListener("load", function() {
|
||||
location.hash = "#a";
|
||||
document.documentElement.removeAttribute("class");
|
||||
}, false);
|
||||
|
||||
</script>
|
||||
|
||||
<animate xmlns="http://www.w3.org/2000/svg" id="a"/>
|
||||
|
||||
</html>
|
@ -74,4 +74,5 @@ load 880544-5.svg
|
||||
load 898915-1.svg
|
||||
load 1035248-1.svg
|
||||
load 1035248-2.svg
|
||||
load 1244898-1.xhtml
|
||||
load zero-size-image.svg
|
||||
|
Loading…
Reference in New Issue
Block a user