зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1334468 - A crashtest about restricted characters in URI. r=mcmanus
--HG-- extra : rebase_source : acac1c82c5716428a4fa99aa4036cac8a6d4da87
This commit is contained in:
Родитель
08e68a25b0
Коммит
cfa5b03320
|
@ -0,0 +1,25 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<!--
|
||||
user_pref("privacy.firstparty.isolate", true);
|
||||
-->
|
||||
<script>
|
||||
|
||||
let RESTRICTED_CHARS = "\001\002\003\004\005\006\007" +
|
||||
"\010\011\012\013\014\015\016\017" +
|
||||
"\020\021\022\023\024\025\026\027" +
|
||||
"\030\031\032\033\034\035\036\037" +
|
||||
"/:*?\"<>|\\";
|
||||
|
||||
function boom() {
|
||||
for (let c of RESTRICTED_CHARS) {
|
||||
window.location = 'http://s.s' + c;
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body onload="boom();"></body>
|
||||
</html>
|
|
@ -1,3 +1,4 @@
|
|||
load 785753-1.html
|
||||
load 785753-2.html
|
||||
load 1274044-1.html
|
||||
pref(privacy.firstparty.isolate,true) load 1334468-1.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче