Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
55 lines (52 loc) · 2.12 KB

File metadata and controls

55 lines (52 loc) · 2.12 KB
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<script>
var arr = new Array("var%20x=' ';", // Space %20
"var%20x='#';", // # %23
"var%20x='$';", // $ %24
"var%20x='%';", // % %25
"var%20x='&';", // & %26
"var%20x='/';", // / %2F
"var%20x=':';", // : %3A
"var%20x=';';", // ; %3B
"var%20x='<';", // < %3C
"var%20x='=';", // = %3D
"var%20x='>';", // > %3E
"var%20x='?';", // ? %3F
"var%20x='@';", // @ %40
"var%20x='[';", // [ %5B
"var%20x='\\';", // \ %5C
"var%20x=']';", // ] %5D
"var%20x='^';", // ^ %5E
"var%20x='`';", // ' %60
"var%20x='{';", // { %7B
"var%20x='|';", // | %7C
"var%20x='}';", // } %7D
"var%20x='~';"); // ~ %7E
function makeLinks()
{
var str = "javascript:";
var anchor, anchorText;
for (key in arr)
{
anchor = document.createElement("a");
anchor.setAttribute("href", str+arr[key]);
anchorText = document.createTextNode(arr[key]);
anchor.appendChild(anchorText);
document.body.appendChild(anchor);
document.body.appendChild(document.createElement("br"));
}
}
</script>
<body onload="makeLinks();">
This test is for <a href="rdar://problem/5310312">rdar://problem/5310312</a> and can be run manually only.<br>
<a href="rdar://problem/5379908">rdar://problem/5379908</a> tracks the effort to enhance DRT to make this into a layout test.<br>
<br>
<b>Directions:</b>
<ol>
<li> drag each link below to the bookmarks bar to create bookmarks
<li> open the JavaScript console (in the debug menu)
<li> click on all the bookmarks you've just created
</ol>
<b>Expected results:</b>
no parse errors in the JavaScript console<br>
<br>
</body>
Morty Proxy This is a proxified and sanitized view of the page, visit original site.