mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 822842 - crash when nsROCSSPrimitiveValue::Reset() is called multiple times r=bz
This commit is contained in:
parent
9b7394adca
commit
dc0dda5386
13
layout/style/crashtests/822842.html
Normal file
13
layout/style/crashtests/822842.html
Normal file
@ -0,0 +1,13 @@
|
||||
<html>
|
||||
<head></head>
|
||||
<body></body>
|
||||
<script type="text/javascript">
|
||||
window.x = window.getComputedStyle(document.documentElement, null).getPropertyCSSValue("transition-timing-function");
|
||||
window.x = window.getComputedStyle(document.documentElement, null).getPropertyCSSValue("color");
|
||||
x.z = x.getRGBColorValue().blue;
|
||||
x.getRGBColor().blue.d = x;
|
||||
x= null;
|
||||
SpecialPowers.forceGC();
|
||||
SpecialPowers.forceCC();
|
||||
</script>
|
||||
</html>
|
@ -82,3 +82,4 @@ skip-if(browserIsRemote) load 786108-2.html # Bug 795534
|
||||
load 788836.html
|
||||
load 806310-1.html
|
||||
load 812824.html
|
||||
load 822842.html
|
||||
|
@ -656,4 +656,6 @@ nsROCSSPrimitiveValue::Reset()
|
||||
NS_RELEASE(mValue.mColor);
|
||||
break;
|
||||
}
|
||||
|
||||
mType = CSS_UNKNOWN;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user