зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1419902 - Add crashtest for nullptr deref of doc within nsGlobalWindowOuter::CloseOuter. r=smaug,ryanvm
This commit is contained in:
Родитель
d30019b2d4
Коммит
4ed18db7cb
|
@ -0,0 +1,15 @@
|
|||
<html>
|
||||
<head>
|
||||
<script>
|
||||
for (let i = 0; i < 38; i++) {
|
||||
customElements.define("custom-element_0", class extends HTMLElement {
|
||||
constructor() {
|
||||
try { o1 = document.createElement("custom-element_0") } catch (e) {}
|
||||
try { o2 = window.open("data:,") } catch (e) {}
|
||||
}
|
||||
})
|
||||
try { o3 = document.createElement("custom-element_0") } catch (e) {}
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
</html>
|
|
@ -238,3 +238,4 @@ pref(dom.webcomponents.customelements.enabled,true) load 1413815.html
|
|||
load 1411473.html
|
||||
pref(dom.webcomponents.enabled,false) load 1422931.html
|
||||
pref(dom.webcomponents.enabled,true) load 1419799.html
|
||||
skip-if(!browserIsRemote) pref(dom.webcomponents.customelements.enabled,true) pref(dom.disable_open_during_load,false) load 1419902.html # skip on non e10s loads, Bug 1419902
|
||||
|
|
Загрузка…
Ссылка в новой задаче