зеркало из https://github.com/mozilla/gecko-dev.git
Bug 462926 - 'Crash [@ xpc_qsSelfRef::~xpc_qsSelfRef] with getUserData.call'. r+sr=jst.
This commit is contained in:
Родитель
0f7b8e7fb2
Коммит
d97b5e0c97
|
@ -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); }
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче