Upstream version 5.34.98.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / platform / linux / http / tests / xmlhttprequest / origin-exact-matching-expected.txt
1 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=http%3A%2F%2Fwww2.localhost%3A8000. The 'Access-Control-Allow-Origin' header has a value 'http://www2.localhost:8000' that is not equal to the supplied origin. Origin 'http://localhost:8000' is therefore not allowed access.
2 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=%2F%2Flocalhost%3A8000. The 'Access-Control-Allow-Origin' header contains the invalid value '//localhost:8000'. Origin 'http://localhost:8000' is therefore not allowed access.
3 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=%3A%2F%2Flocalhost%3A8000. The 'Access-Control-Allow-Origin' header contains the invalid value '://localhost:8000'. Origin 'http://localhost:8000' is therefore not allowed access.
4 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=ftp%3A%2F%2Flocalhost%3A8000. The 'Access-Control-Allow-Origin' header has a value 'ftp://localhost:8000' that is not equal to the supplied origin. Origin 'http://localhost:8000' is therefore not allowed access.
5 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=http%3A%3A%2F%2Flocalhost%3A8000. The 'Access-Control-Allow-Origin' header contains the invalid value 'http:://localhost:8000'. Origin 'http://localhost:8000' is therefore not allowed access.
6 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=http%3A%2Flocalhost%3A8000. The 'Access-Control-Allow-Origin' header has a value 'http:/localhost:8000' that is not equal to the supplied origin. Origin 'http://localhost:8000' is therefore not allowed access.
7 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=http%3Alocalhost%3A8000. The 'Access-Control-Allow-Origin' header has a value 'http:localhost:8000' that is not equal to the supplied origin. Origin 'http://localhost:8000' is therefore not allowed access.
8 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=localhost%3A8000. The 'Access-Control-Allow-Origin' header has a value 'localhost:8000' that is not equal to the supplied origin. Origin 'http://localhost:8000' is therefore not allowed access.
9 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%3F. The 'Access-Control-Allow-Origin' header has a value 'http://localhost:8000?' that is not equal to the supplied origin. Origin 'http://localhost:8000' is therefore not allowed access.
10 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%2F. The 'Access-Control-Allow-Origin' header has a value 'http://localhost:8000/' that is not equal to the supplied origin. Origin 'http://localhost:8000' is therefore not allowed access.
11 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%20%2F. The 'Access-Control-Allow-Origin' header contains multiple values 'http://localhost:8000 /', but only one is allowed. Origin 'http://localhost:8000' is therefore not allowed access.
12 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%23. The 'Access-Control-Allow-Origin' header has a value 'http://localhost:8000#' that is not equal to the supplied origin. Origin 'http://localhost:8000' is therefore not allowed access.
13 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%2523. The 'Access-Control-Allow-Origin' header contains the invalid value 'http://localhost:8000%23'. Origin 'http://localhost:8000' is therefore not allowed access.
14 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%3A80. The 'Access-Control-Allow-Origin' header contains the invalid value 'http://localhost:8000:80'. Origin 'http://localhost:8000' is therefore not allowed access.
15 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%2C%20*. The 'Access-Control-Allow-Origin' header contains multiple values 'http://localhost:8000, *', but only one is allowed. Origin 'http://localhost:8000' is therefore not allowed access.
16 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=HTTP%3A%2F%2FLOCALHOST%3A8000. The 'Access-Control-Allow-Origin' header has a value 'HTTP://LOCALHOST:8000' that is not equal to the supplied origin. Origin 'http://localhost:8000' is therefore not allowed access.
17 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=HTTP%3A%2F%2Flocalhost%3A8000. The 'Access-Control-Allow-Origin' header has a value 'HTTP://localhost:8000' that is not equal to the supplied origin. Origin 'http://localhost:8000' is therefore not allowed access.
18 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=-. The 'Access-Control-Allow-Origin' header contains the invalid value '-'. Origin 'http://localhost:8000' is therefore not allowed access.
19 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=**. The 'Access-Control-Allow-Origin' header contains the invalid value '**'. Origin 'http://localhost:8000' is therefore not allowed access.
20 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=%00*. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8000' is therefore not allowed access.
21 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=%27*%27. The 'Access-Control-Allow-Origin' header contains the invalid value ''*''. Origin 'http://localhost:8000' is therefore not allowed access.
22 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=%22*%22. The 'Access-Control-Allow-Origin' header contains the invalid value '"*"'. Origin 'http://localhost:8000' is therefore not allowed access.
23 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=*%20*. The 'Access-Control-Allow-Origin' header contains multiple values '* *', but only one is allowed. Origin 'http://localhost:8000' is therefore not allowed access.
24 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=*http%3A%2F%2F*. The 'Access-Control-Allow-Origin' header contains the invalid value '*http://*'. Origin 'http://localhost:8000' is therefore not allowed access.
25 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=*http%3A%2F%2Flocalhost%3A8000. The 'Access-Control-Allow-Origin' header contains the invalid value '*http://localhost:8000'. Origin 'http://localhost:8000' is therefore not allowed access.
26 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=*%20http%3A%2F%2Flocalhost%3A8000. The 'Access-Control-Allow-Origin' header contains multiple values '* http://localhost:8000', but only one is allowed. Origin 'http://localhost:8000' is therefore not allowed access.
27 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=*%2C%20http%3A%2F%2Flocalhost%3A8000. The 'Access-Control-Allow-Origin' header contains multiple values '*, http://localhost:8000', but only one is allowed. Origin 'http://localhost:8000' is therefore not allowed access.
28 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=%00http%3A%2F%2Flocalhost%3A8000. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8000' is therefore not allowed access.
29 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=null%20http%3A%2F%2Flocalhost%3A8000. The 'Access-Control-Allow-Origin' header contains multiple values 'null http://localhost:8000', but only one is allowed. Origin 'http://localhost:8000' is therefore not allowed access.
30 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=http%3A%2F%2Fexample.net. The 'Access-Control-Allow-Origin' header has a value 'http://example.net' that is not equal to the supplied origin. Origin 'http://localhost:8000' is therefore not allowed access.
31 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=http%3A%2F%2Fexample.net%20http%3A%2F%2Flocalhost%3A8000. The 'Access-Control-Allow-Origin' header contains multiple values 'http://example.net http://localhost:8000', but only one is allowed. Origin 'http://localhost:8000' is therefore not allowed access.
32 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=http%3A%2F%2Fexample.net%2C%20http%3A%2F%2Flocalhost%3A8000. The 'Access-Control-Allow-Origin' header contains multiple values 'http://example.net, http://localhost:8000', but only one is allowed. Origin 'http://localhost:8000' is therefore not allowed access.
33 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origins=http%3A%2F%2Fexample.net,http%3A%2F%2Flocalhost%3A8000. The 'Access-Control-Allow-Origin' header contains multiple values 'http://example.net, http://localhost:8000', but only one is allowed. Origin 'http://localhost:8000' is therefore not allowed access.
34 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origins=http%3A%2F%2Flocalhost%3A8000,http%3A%2F%2Flocalhost%3A8000. The 'Access-Control-Allow-Origin' header contains multiple values 'http://localhost:8000, http://localhost:8000', but only one is allowed. Origin 'http://localhost:8000' is therefore not allowed access.
35 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=null. The 'Access-Control-Allow-Origin' header contains the invalid value 'null'. Origin 'http://localhost:8000' is therefore not allowed access.
36 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8000' is therefore not allowed access.
37 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%2Fxmlhttprequest%2Fresources%2Forigin-exact-matching-iframe.html. The 'Access-Control-Allow-Origin' header has a value 'http://localhost:8000/xmlhttprequest/resources/origin-exact-matching-iframe.html' that is not equal to the supplied origin. Origin 'http://localhost:8000' is therefore not allowed access.
38 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%2Fxmlhttprequest%2Fresources%2F. The 'Access-Control-Allow-Origin' header has a value 'http://localhost:8000/xmlhttprequest/resources/' that is not equal to the supplied origin. Origin 'http://localhost:8000' is therefore not allowed access.
39 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%2Fxmlhttprequest%2Fresources%2Forigin-exact-matching-iframe.html. The 'Access-Control-Allow-Origin' header has a value 'http://localhost:8000/xmlhttprequest/resources/origin-exact-matching-iframe.html' that is not equal to the supplied origin. Origin 'http://localhost:8000' is therefore not allowed access.
40
41
42 --------
43 Frame: '<!--framePath //<!--frame0-->-->'
44 --------
45 Check that exact matching is used when comparing a request's originating url and the value provided by Access-Control-Allow-Origin.
46
47 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
48
49
50 Should allow origin: '*'
51 PASS xhr.send(null) is undefined.
52 Should allow origin: ' *  '
53 PASS xhr.send(null) is undefined.
54 Should allow origin: '  *'
55 PASS xhr.send(null) is undefined.
56 Should allow origin: 'http://localhost:8000'
57 PASS xhr.send(null) is undefined.
58 Should allow origin: ' http://localhost:8000'
59 PASS xhr.send(null) is undefined.
60 Should allow origin: ' http://localhost:8000     '
61 PASS xhr.send(null) is undefined.
62 Should allow origin: '  http://localhost:8000'
63 PASS xhr.send(null) is undefined.
64 Should disallow origin: 'http://www2.localhost:8000'
65 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
66 Should disallow origin: '//localhost:8000'
67 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
68 Should disallow origin: '://localhost:8000'
69 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
70 Should disallow origin: 'ftp://localhost:8000'
71 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
72 Should disallow origin: 'http:://localhost:8000'
73 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
74 Should disallow origin: 'http:/localhost:8000'
75 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
76 Should disallow origin: 'http:localhost:8000'
77 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
78 Should disallow origin: 'localhost:8000'
79 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
80 Should disallow origin: 'http://localhost:8000?'
81 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
82 Should disallow origin: 'http://localhost:8000/'
83 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
84 Should disallow origin: 'http://localhost:8000 /'
85 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
86 Should disallow origin: 'http://localhost:8000#'
87 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
88 Should disallow origin: 'http://localhost:8000%23'
89 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
90 Should disallow origin: 'http://localhost:8000:80'
91 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
92 Should disallow origin: 'http://localhost:8000, *'
93 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
94 Should disallow origin: 'HTTP://LOCALHOST:8000'
95 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
96 Should disallow origin: 'HTTP://localhost:8000'
97 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
98 Should disallow origin: '-'
99 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
100 Should disallow origin: '**'
101 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
102 Should disallow origin: '*'
103 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
104 Should disallow origin: ''*''
105 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
106 Should disallow origin: '"*"'
107 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
108 Should disallow origin: '* *'
109 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
110 Should disallow origin: '*http://*'
111 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
112 Should disallow origin: '*http://localhost:8000'
113 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
114 Should disallow origin: '* http://localhost:8000'
115 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
116 Should disallow origin: '*, http://localhost:8000'
117 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
118 Should disallow origin: 'http://localhost:8000'
119 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
120 Should disallow origin: 'null http://localhost:8000'
121 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
122 Should disallow origin: 'http://example.net'
123 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
124 Should disallow origin: 'http://example.net http://localhost:8000'
125 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
126 Should disallow origin: 'http://example.net, http://localhost:8000'
127 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
128 Should disallow origin: 'http://example.net,http://localhost:8000'
129 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
130 Should disallow origin: 'http://localhost:8000,http://localhost:8000'
131 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
132 Should disallow origin: 'null'
133 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
134 Should disallow origin: ''
135 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
136 Should disallow origin: 'http://localhost:8000/xmlhttprequest/resources/origin-exact-matching-iframe.html'
137 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
138 Should disallow origin: 'http://localhost:8000/xmlhttprequest/resources/'
139 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
140 Should disallow origin: 'http://localhost:8000/xmlhttprequest/resources/origin-exact-matching-iframe.html'
141 PASS xhr.send(null) threw exception NetworkError: A network error occurred..
142 PASS successfullyParsed is true
143
144 TEST COMPLETE
145