| Index: third_party/WebKit/LayoutTests/fast/xmlhttprequest/xmlhttprequest-invalid-values.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/xmlhttprequest/xmlhttprequest-invalid-values.html b/third_party/WebKit/LayoutTests/fast/xmlhttprequest/xmlhttprequest-invalid-values.html
|
| index 9419e7957058e6c834d06c4e7d91b7ab44dd1fc2..19daf3108a05d0d877c181056bfac5a22d0cc6f1 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/xmlhttprequest/xmlhttprequest-invalid-values.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/xmlhttprequest/xmlhttprequest-invalid-values.html
|
| @@ -1,20 +1,5 @@
|
| <html>
|
| <script>
|
| -function testInvalidMethod() {
|
| - var result = 'FAILURE';
|
| -
|
| - var req = new XMLHttpRequest();
|
| -
|
| - try {
|
| - req.open('test\r\nfoobar', window.location, true)
|
| - } catch (e) {
|
| - if (e.code == DOMException.SYNTAX_ERR)
|
| - result = 'SUCCESS';
|
| - }
|
| -
|
| - debug('testInvalidMethod: ' + result);
|
| -}
|
| -
|
| function testInvalidHeaderName() {
|
| var result = 'FAILURE';
|
|
|
| @@ -76,7 +61,6 @@ function runTest() {
|
| if (window.testRunner)
|
| testRunner.dumpAsText();
|
|
|
| - testInvalidMethod();
|
| testInvalidHeaderName();
|
| testInvalidHeaderValues();
|
| }
|
|
|