Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(613)

Side by Side Diff: LayoutTests/http/tests/xmlhttprequest/origin-exact-matching-expected.txt

Issue 14200030: Remove XMLHttpRequestException in favor of DOMException (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix tests after rebasing... Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest /resources/access-control-allow-lists.php?origin=http%3A%2F%2Fwww2.localhost%3A8 000. Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin. 1 CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest /resources/access-control-allow-lists.php?origin=http%3A%2F%2Fwww2.localhost%3A8 000. Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin.
2 CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest /resources/access-control-allow-lists.php?origin=%2F%2Flocalhost%3A8000. Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin. 2 CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest /resources/access-control-allow-lists.php?origin=%2F%2Flocalhost%3A8000. Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin.
3 CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest /resources/access-control-allow-lists.php?origin=%3A%2F%2Flocalhost%3A8000. Orig in http://localhost:8000 is not allowed by Access-Control-Allow-Origin. 3 CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest /resources/access-control-allow-lists.php?origin=%3A%2F%2Flocalhost%3A8000. Orig in http://localhost:8000 is not allowed by Access-Control-Allow-Origin.
4 CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest /resources/access-control-allow-lists.php?origin=ftp%3A%2F%2Flocalhost%3A8000. O rigin http://localhost:8000 is not allowed by Access-Control-Allow-Origin. 4 CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest /resources/access-control-allow-lists.php?origin=ftp%3A%2F%2Flocalhost%3A8000. O rigin http://localhost:8000 is not allowed by Access-Control-Allow-Origin.
5 CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest /resources/access-control-allow-lists.php?origin=http%3A%3A%2F%2Flocalhost%3A800 0. Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin. 5 CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest /resources/access-control-allow-lists.php?origin=http%3A%3A%2F%2Flocalhost%3A800 0. Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin.
6 CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest /resources/access-control-allow-lists.php?origin=http%3A%2Flocalhost%3A8000. Ori gin http://localhost:8000 is not allowed by Access-Control-Allow-Origin. 6 CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest /resources/access-control-allow-lists.php?origin=http%3A%2Flocalhost%3A8000. Ori gin http://localhost:8000 is not allowed by Access-Control-Allow-Origin.
7 CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest /resources/access-control-allow-lists.php?origin=http%3Alocalhost%3A8000. Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin. 7 CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest /resources/access-control-allow-lists.php?origin=http%3Alocalhost%3A8000. Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin.
8 CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest /resources/access-control-allow-lists.php?origin=localhost%3A8000. Origin http:/ /localhost:8000 is not allowed by Access-Control-Allow-Origin. 8 CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest /resources/access-control-allow-lists.php?origin=localhost%3A8000. Origin http:/ /localhost:8000 is not allowed by Access-Control-Allow-Origin.
9 CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest /resources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%3 F. Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin. 9 CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest /resources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%3 F. Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin.
10 CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest /resources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%2 F. Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin. 10 CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest /resources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%2 F. Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin.
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 PASS xhr.send(null) is undefined. 51 PASS xhr.send(null) is undefined.
52 Should allow origin: 'http://localhost:8000' 52 Should allow origin: 'http://localhost:8000'
53 PASS xhr.send(null) is undefined. 53 PASS xhr.send(null) is undefined.
54 Should allow origin: ' http://localhost:8000' 54 Should allow origin: ' http://localhost:8000'
55 PASS xhr.send(null) is undefined. 55 PASS xhr.send(null) is undefined.
56 Should allow origin: ' http://localhost:8000 ' 56 Should allow origin: ' http://localhost:8000 '
57 PASS xhr.send(null) is undefined. 57 PASS xhr.send(null) is undefined.
58 Should allow origin: ' http://localhost:8000' 58 Should allow origin: ' http://localhost:8000'
59 PASS xhr.send(null) is undefined. 59 PASS xhr.send(null) is undefined.
60 Should disallow origin: 'http://www2.localhost:8000' 60 Should disallow origin: 'http://www2.localhost:8000'
61 PASS xhr.send(null) threw exception Error: NETWORK_ERR: XMLHttpRequest Exception 101. 61 PASS xhr.send(null) threw exception Error: NetworkError: DOM Exception 19.
62 Should disallow origin: '//localhost:8000' 62 Should disallow origin: '//localhost:8000'
63 PASS xhr.send(null) threw exception Error: NETWORK_ERR: XMLHttpRequest Exception 101. 63 PASS xhr.send(null) threw exception Error: NetworkError: DOM Exception 19.
64 Should disallow origin: '://localhost:8000' 64 Should disallow origin: '://localhost:8000'
65 PASS xhr.send(null) threw exception Error: NETWORK_ERR: XMLHttpRequest Exception 101. 65 PASS xhr.send(null) threw exception Error: NetworkError: DOM Exception 19.
66 Should disallow origin: 'ftp://localhost:8000' 66 Should disallow origin: 'ftp://localhost:8000'
67 PASS xhr.send(null) threw exception Error: NETWORK_ERR: XMLHttpRequest Exception 101. 67 PASS xhr.send(null) threw exception Error: NetworkError: DOM Exception 19.
68 Should disallow origin: 'http:://localhost:8000' 68 Should disallow origin: 'http:://localhost:8000'
69 PASS xhr.send(null) threw exception Error: NETWORK_ERR: XMLHttpRequest Exception 101. 69 PASS xhr.send(null) threw exception Error: NetworkError: DOM Exception 19.
70 Should disallow origin: 'http:/localhost:8000' 70 Should disallow origin: 'http:/localhost:8000'
71 PASS xhr.send(null) threw exception Error: NETWORK_ERR: XMLHttpRequest Exception 101. 71 PASS xhr.send(null) threw exception Error: NetworkError: DOM Exception 19.
72 Should disallow origin: 'http:localhost:8000' 72 Should disallow origin: 'http:localhost:8000'
73 PASS xhr.send(null) threw exception Error: NETWORK_ERR: XMLHttpRequest Exception 101. 73 PASS xhr.send(null) threw exception Error: NetworkError: DOM Exception 19.
74 Should disallow origin: 'localhost:8000' 74 Should disallow origin: 'localhost:8000'
75 PASS xhr.send(null) threw exception Error: NETWORK_ERR: XMLHttpRequest Exception 101. 75 PASS xhr.send(null) threw exception Error: NetworkError: DOM Exception 19.
76 Should disallow origin: 'http://localhost:8000?' 76 Should disallow origin: 'http://localhost:8000?'
77 PASS xhr.send(null) threw exception Error: NETWORK_ERR: XMLHttpRequest Exception 101. 77 PASS xhr.send(null) threw exception Error: NetworkError: DOM Exception 19.
78 Should disallow origin: 'http://localhost:8000/' 78 Should disallow origin: 'http://localhost:8000/'
79 PASS xhr.send(null) threw exception Error: NETWORK_ERR: XMLHttpRequest Exception 101. 79 PASS xhr.send(null) threw exception Error: NetworkError: DOM Exception 19.
80 Should disallow origin: 'http://localhost:8000 /' 80 Should disallow origin: 'http://localhost:8000 /'
81 PASS xhr.send(null) threw exception Error: NETWORK_ERR: XMLHttpRequest Exception 101. 81 PASS xhr.send(null) threw exception Error: NetworkError: DOM Exception 19.
82 Should disallow origin: 'http://localhost:8000#' 82 Should disallow origin: 'http://localhost:8000#'
83 PASS xhr.send(null) threw exception Error: NETWORK_ERR: XMLHttpRequest Exception 101. 83 PASS xhr.send(null) threw exception Error: NetworkError: DOM Exception 19.
84 Should disallow origin: 'http://localhost:8000%23' 84 Should disallow origin: 'http://localhost:8000%23'
85 PASS xhr.send(null) threw exception Error: NETWORK_ERR: XMLHttpRequest Exception 101. 85 PASS xhr.send(null) threw exception Error: NetworkError: DOM Exception 19.
86 Should disallow origin: 'http://localhost:8000:80' 86 Should disallow origin: 'http://localhost:8000:80'
87 PASS xhr.send(null) threw exception Error: NETWORK_ERR: XMLHttpRequest Exception 101. 87 PASS xhr.send(null) threw exception Error: NetworkError: DOM Exception 19.
88 Should disallow origin: 'http://localhost:8000, *' 88 Should disallow origin: 'http://localhost:8000, *'
89 PASS xhr.send(null) threw exception Error: NETWORK_ERR: XMLHttpRequest Exception 101. 89 PASS xhr.send(null) threw exception Error: NetworkError: DOM Exception 19.
90 Should disallow origin: 'HTTP://LOCALHOST:8000' 90 Should disallow origin: 'HTTP://LOCALHOST:8000'
91 PASS xhr.send(null) threw exception Error: NETWORK_ERR: XMLHttpRequest Exception 101. 91 PASS xhr.send(null) threw exception Error: NetworkError: DOM Exception 19.
92 Should disallow origin: 'HTTP://localhost:8000' 92 Should disallow origin: 'HTTP://localhost:8000'
93 PASS xhr.send(null) threw exception Error: NETWORK_ERR: XMLHttpRequest Exception 101. 93 PASS xhr.send(null) threw exception Error: NetworkError: DOM Exception 19.
94 Should disallow origin: '-' 94 Should disallow origin: '-'
95 PASS xhr.send(null) threw exception Error: NETWORK_ERR: XMLHttpRequest Exception 101. 95 PASS xhr.send(null) threw exception Error: NetworkError: DOM Exception 19.
96 Should disallow origin: '**' 96 Should disallow origin: '**'
97 PASS xhr.send(null) threw exception Error: NETWORK_ERR: XMLHttpRequest Exception 101. 97 PASS xhr.send(null) threw exception Error: NetworkError: DOM Exception 19.
98 Should disallow origin: '*' 98 Should disallow origin: '*'
99 PASS xhr.send(null) threw exception Error: NETWORK_ERR: XMLHttpRequest Exception 101. 99 PASS xhr.send(null) threw exception Error: NetworkError: DOM Exception 19.
100 Should disallow origin: ''*'' 100 Should disallow origin: ''*''
101 PASS xhr.send(null) threw exception Error: NETWORK_ERR: XMLHttpRequest Exception 101. 101 PASS xhr.send(null) threw exception Error: NetworkError: DOM Exception 19.
102 Should disallow origin: '"*"' 102 Should disallow origin: '"*"'
103 PASS xhr.send(null) threw exception Error: NETWORK_ERR: XMLHttpRequest Exception 101. 103 PASS xhr.send(null) threw exception Error: NetworkError: DOM Exception 19.
104 Should disallow origin: '* *' 104 Should disallow origin: '* *'
105 PASS xhr.send(null) threw exception Error: NETWORK_ERR: XMLHttpRequest Exception 101. 105 PASS xhr.send(null) threw exception Error: NetworkError: DOM Exception 19.
106 Should disallow origin: '*http://*' 106 Should disallow origin: '*http://*'
107 PASS xhr.send(null) threw exception Error: NETWORK_ERR: XMLHttpRequest Exception 101. 107 PASS xhr.send(null) threw exception Error: NetworkError: DOM Exception 19.
108 Should disallow origin: '*http://localhost:8000' 108 Should disallow origin: '*http://localhost:8000'
109 PASS xhr.send(null) threw exception Error: NETWORK_ERR: XMLHttpRequest Exception 101. 109 PASS xhr.send(null) threw exception Error: NetworkError: DOM Exception 19.
110 Should disallow origin: '* http://localhost:8000' 110 Should disallow origin: '* http://localhost:8000'
111 PASS xhr.send(null) threw exception Error: NETWORK_ERR: XMLHttpRequest Exception 101. 111 PASS xhr.send(null) threw exception Error: NetworkError: DOM Exception 19.
112 Should disallow origin: '*, http://localhost:8000' 112 Should disallow origin: '*, http://localhost:8000'
113 PASS xhr.send(null) threw exception Error: NETWORK_ERR: XMLHttpRequest Exception 101. 113 PASS xhr.send(null) threw exception Error: NetworkError: DOM Exception 19.
114 Should disallow origin: 'http://localhost:8000' 114 Should disallow origin: 'http://localhost:8000'
115 PASS xhr.send(null) threw exception Error: NETWORK_ERR: XMLHttpRequest Exception 101. 115 PASS xhr.send(null) threw exception Error: NetworkError: DOM Exception 19.
116 Should disallow origin: 'null http://localhost:8000' 116 Should disallow origin: 'null http://localhost:8000'
117 PASS xhr.send(null) threw exception Error: NETWORK_ERR: XMLHttpRequest Exception 101. 117 PASS xhr.send(null) threw exception Error: NetworkError: DOM Exception 19.
118 Should disallow origin: 'http://example.net' 118 Should disallow origin: 'http://example.net'
119 PASS xhr.send(null) threw exception Error: NETWORK_ERR: XMLHttpRequest Exception 101. 119 PASS xhr.send(null) threw exception Error: NetworkError: DOM Exception 19.
120 Should disallow origin: 'null' 120 Should disallow origin: 'null'
121 PASS xhr.send(null) threw exception Error: NETWORK_ERR: XMLHttpRequest Exception 101. 121 PASS xhr.send(null) threw exception Error: NetworkError: DOM Exception 19.
122 Should disallow origin: '' 122 Should disallow origin: ''
123 PASS xhr.send(null) threw exception Error: NETWORK_ERR: XMLHttpRequest Exception 101. 123 PASS xhr.send(null) threw exception Error: NetworkError: DOM Exception 19.
124 Should disallow origin: 'http://localhost:8000/xmlhttprequest/resources/origin-e xact-matching-iframe.html' 124 Should disallow origin: 'http://localhost:8000/xmlhttprequest/resources/origin-e xact-matching-iframe.html'
125 PASS xhr.send(null) threw exception Error: NETWORK_ERR: XMLHttpRequest Exception 101. 125 PASS xhr.send(null) threw exception Error: NetworkError: DOM Exception 19.
126 Should disallow origin: 'http://localhost:8000/xmlhttprequest/resources/' 126 Should disallow origin: 'http://localhost:8000/xmlhttprequest/resources/'
127 PASS xhr.send(null) threw exception Error: NETWORK_ERR: XMLHttpRequest Exception 101. 127 PASS xhr.send(null) threw exception Error: NetworkError: DOM Exception 19.
128 Should disallow origin: 'http://localhost:8000/xmlhttprequest/resources/origin-e xact-matching-iframe.html' 128 Should disallow origin: 'http://localhost:8000/xmlhttprequest/resources/origin-e xact-matching-iframe.html'
129 PASS xhr.send(null) threw exception Error: NETWORK_ERR: XMLHttpRequest Exception 101. 129 PASS xhr.send(null) threw exception Error: NetworkError: DOM Exception 19.
130 PASS successfullyParsed is true 130 PASS successfullyParsed is true
131 131
132 TEST COMPLETE 132 TEST COMPLETE
133 133
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698