mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 462926 - 'Crash [@ xpc_qsSelfRef::~xpc_qsSelfRef] with getUserData.call'. r+sr=jst.
This commit is contained in:
parent
7f61ea749a
commit
146cbb323b
12
js/src/xpconnect/crashtests/462926.html
Normal file
12
js/src/xpconnect/crashtests/462926.html
Normal file
@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<script type="text/javascript">
|
||||
|
||||
try { document.createTextNode("").getUserData.call(0, 0); } catch(e) { }
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
</body>
|
||||
</html>
|
@ -8,3 +8,4 @@ load 394810-1.html
|
||||
load 403356-1.html
|
||||
load 418139-1.svg
|
||||
load 420513-1.html
|
||||
load 462926.html
|
||||
|
@ -266,7 +266,7 @@ public:
|
||||
|
||||
struct xpc_qsSelfRef
|
||||
{
|
||||
xpc_qsSelfRef() {}
|
||||
xpc_qsSelfRef() : ptr(nsnull) {}
|
||||
explicit xpc_qsSelfRef(nsISupports *p) : ptr(p) {}
|
||||
~xpc_qsSelfRef() { NS_IF_RELEASE(ptr); }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user