зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1257730 - Crashtest for PING without valid URI. r=ryanvm
This commit is contained in:
Родитель
22b11a8c5f
Коммит
f5cf4d69dd
|
@ -0,0 +1,25 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<!--
|
||||
user_pref("browser.send_pings", true);
|
||||
-->
|
||||
<script>
|
||||
|
||||
function boom() {
|
||||
var aLink = document.createElement('a');
|
||||
document.body.appendChild(aLink);
|
||||
aLink.ping = "ping";
|
||||
aLink.href = "href";
|
||||
aLink.click();
|
||||
|
||||
var baseElement = document.createElement('base');
|
||||
baseElement.setAttribute("href", "javascript:void 0");
|
||||
document.head.appendChild(baseElement);
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body onload="boom();"></body>
|
||||
</html>
|
|
@ -12,3 +12,4 @@ load 514779-1.xhtml
|
|||
load 614499-1.html
|
||||
load 678872-1.html
|
||||
skip-if(Android||B2G) pref(dom.disable_open_during_load,false) load 914521.html
|
||||
pref(browser.send_pings,true) load 1257730-1.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче