зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1446668: Remove setUserData crashtests. r=smaug
Reviewers: smaug Bug #: 1446668 Differential Revision: https://phabricator.services.mozilla.com/D758 MozReview-Commit-ID: wyAvCCWbrS
This commit is contained in:
Родитель
bf8ff28130
Коммит
d5f66d9925
|
@ -1,14 +0,0 @@
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<script>
|
|
||||||
function loaded() {
|
|
||||||
var node = document;
|
|
||||||
var handler = function(operation, key, data, src, dst) { alert(data); };
|
|
||||||
node.setUserData("foo", "data", handler);
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
</head>
|
|
||||||
<body onload="loaded();">
|
|
||||||
<div id="elem"></div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,21 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<script>
|
|
||||||
|
|
||||||
function boom()
|
|
||||||
{
|
|
||||||
var frameDoc = document.getElementById("f").contentDocument;
|
|
||||||
|
|
||||||
var confusedNode = frameDoc.createTextNode("y");
|
|
||||||
confusedNode.__proto__ = document.createTextNode("x");
|
|
||||||
confusedNode.setUserData("key", "data", null);
|
|
||||||
confusedNode.setUserData("key", "data", null);
|
|
||||||
}
|
|
||||||
|
|
||||||
</script>
|
|
||||||
</head>
|
|
||||||
<body onload="boom();">
|
|
||||||
<iframe src="data:text/html,1" id="f"></iframe>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -8,7 +8,6 @@ load 244933-1.html
|
||||||
load 275912-1.html
|
load 275912-1.html
|
||||||
load 293388-1.html
|
load 293388-1.html
|
||||||
load 308120-1.xul
|
load 308120-1.xul
|
||||||
load 324871-1.html
|
|
||||||
load 325730-1.html
|
load 325730-1.html
|
||||||
load 326618-1.html
|
load 326618-1.html
|
||||||
load 326646-1.html
|
load 326646-1.html
|
||||||
|
@ -163,7 +162,6 @@ load 815477.html
|
||||||
load 815500.html
|
load 815500.html
|
||||||
load 816253.html
|
load 816253.html
|
||||||
load 819014.html
|
load 819014.html
|
||||||
load 822691.html
|
|
||||||
load 822723.html
|
load 822723.html
|
||||||
load 824719.html
|
load 824719.html
|
||||||
load 827190.html
|
load 827190.html
|
||||||
|
|
|
@ -53,7 +53,6 @@ try{o62=o13.ownerDocument.getElementById('ifr17516').contentDocument.getElementB
|
||||||
try{tmp.id = 'ifr2522';}catch(e){}
|
try{tmp.id = 'ifr2522';}catch(e){}
|
||||||
try{o101=o15.ownerDocument.getElementById('ifr2522').contentDocument.getElementById('element3');;}catch(e){}
|
try{o101=o15.ownerDocument.getElementById('ifr2522').contentDocument.getElementById('element3');;}catch(e){}
|
||||||
try{o101.appendChild(o24);}catch(e){}
|
try{o101.appendChild(o24);}catch(e){}
|
||||||
try{o109=o35.setUserData('key',null,function (o,k,d,s,ds) { gc(); });;}catch(e){}
|
|
||||||
try{o112=document.createElementNS('http://www.w3.org/1999/xhtml', 'script');;}catch(e){}
|
try{o112=document.createElementNS('http://www.w3.org/1999/xhtml', 'script');;}catch(e){}
|
||||||
try{o124=document.createElementNS('http://www.w3.org/1998/Math/MathML','root');;}catch(e){}
|
try{o124=document.createElementNS('http://www.w3.org/1998/Math/MathML','root');;}catch(e){}
|
||||||
try{o125=document.createElementNS('http://www.w3.org/2000/svg','font-face');;}catch(e){}
|
try{o125=document.createElementNS('http://www.w3.org/2000/svg','font-face');;}catch(e){}
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>Testcase for bug 582649</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<script>
|
|
||||||
var foo = [];
|
|
||||||
foo[0] = foo;
|
|
||||||
document.body.setUserData("foo", foo, null);
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -25,7 +25,6 @@ load 512815-1.html
|
||||||
load 515726-1.html
|
load 515726-1.html
|
||||||
load 545291-1.html
|
load 545291-1.html
|
||||||
load 558979.html
|
load 558979.html
|
||||||
load 582649.html
|
|
||||||
load 601284-1.html
|
load 601284-1.html
|
||||||
load 603146-1.html
|
load 603146-1.html
|
||||||
load 603858-1.html
|
load 603858-1.html
|
||||||
|
|
Загрузка…
Ссылка в новой задаче