Zhen Zhang
184b522230
Add XHR support for FormData
2016-08-10 12:58:35 +02:00
Josh Matthews
f152bc3b06
Implement Window.postMessage for same-origin windows.
2016-08-04 11:52:26 +02:00
Nazım Can Altınova
d6c1f7b5e3
Implement Document.referrer
2016-07-14 21:35:39 +03:00
Ms2ger
a972fdb353
Update web-platform-tests to revision 1e42017386ce1eaeed4925fb8bc7f5417752019a
2016-07-06 09:18:04 +02:00
Ms2ger
79b1e6c40c
Update web-platform-tests to revision 346d5b51a122f7bb1c7747064499ef281a0200f7
2016-06-24 11:36:34 +02:00
Manish Goregaokar
fd6f9bd411
Test fixes; update for changes in spec
2016-06-10 20:55:25 +05:30
bors-servo
2ae8a70e2b
Auto merge of #11692 - jdm:language, r=Manishearth
...
Add a default Accept-Language header to HTTP requests.
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #11008
- [X] There are tests for these changes
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11692 )
<!-- Reviewable:end -->
2016-06-10 05:52:37 -05:00
Josh Matthews
c8bf60de57
Add a default Accept-Language header to HTTP requests.
2016-06-10 08:58:20 +01:00
Kosov Eugene
3bb093cc16
Make Document::DefaultView return a null value when there's no browsing context
2016-06-08 23:10:20 +03:00
Ms2ger
b97474fbba
Update web-platform-tests to revision 697b971060b2d475a73c1c3755232a4674d61cf5
2016-05-10 12:17:47 +02:00
Ms2ger
ebddcc2d7f
Update web-platform-tests to revision fab2c513bffb2bd19600d23b495264d123df092f
2016-05-07 23:23:48 +02:00
Ramana Venkata
f56bd3a6f3
Allow setting withCredentials in synchronous XMLHttpRequest
...
closes #10839
2016-04-26 17:08:39 +05:30
Keith Yeung
4a1eb47937
Implement HTMLBaseElement attributes
2016-04-13 08:57:17 -04:00
Ms2ger
299ad0f9d0
Update web-platform-tests to revision d011702f368b88b3bae86e7a8fd2ddd22e18b33c
2016-04-12 10:47:32 +02:00
Arnaud Marant
9b8f183cba
Issue #10491 add HTMLInputElement attributes that reflect content identically
...
it uses a new version of string-cache https://github.com/servo/string-cache/pull/148
2016-04-12 00:15:57 +02:00
bors-servo
07304235cc
Auto merge of #10502 - KiChjang:fix-open-url-base, r=Ms2ger
...
Add API base url method to global objects
This adds an `api_base_url` function to global objects, which fixes `open-url-base.htm` under XMLHttpRequest.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10502 )
<!-- Reviewable:end -->
2016-04-11 17:57:02 +05:30
Keith Yeung
c75079eff3
Add API base url method to global objects
2016-04-11 07:49:31 -04:00
shubham_jain
6626c5cfd4
issue #10141 : Document::location set null for documents without a browsing context. r=Ms2ger
2016-04-09 22:54:07 +05:30
Dongie Agnir
6f2bce779d
Update expected outcomes for data-uri.htm
2016-04-01 18:27:05 -10:00
James Graham
78369e95cf
Update web-platform-tests to 5582e4d2bfcfd1fa9f105406b143170ee2af7db1
2016-04-01 13:38:57 +02:00
bors-servo
f335586ff5
Auto merge of #10292 - jdm:cssom, r=jdm
...
Initial steps for CSSOM
Squashed and rebased #10133 .
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10292 )
<!-- Reviewable:end -->
2016-04-01 04:29:08 +05:30
Mohamed Albashir
b7a57ef487
Initial steps for CSSOM API
2016-03-31 18:17:30 -04:00
Shing Lyu
f55b0765d1
Bug 8830 - Implemented XMLHttpRequest.responseURL
2016-03-22 13:56:31 +08:00
Ms2ger
a91433f0c8
Update web-platform-tests to revision 66c4613f823c4384c78ada77346eda17bb128947
2016-03-15 16:34:24 +01:00
Chandler Abraham
3a949b77b2
don't unconditionally override header
2016-02-27 10:47:13 -05:00
Chandler Abraham
c375ad5e95
disallow restricted XMLHttpRequest header prefixes
2016-02-26 11:04:33 -05:00
Ms2ger
62a9bebeef
Update web-platform-tests to revision 7ed49cff4d031720f829c01df837ed7a09ad5c60
2016-02-24 11:04:43 +01:00
Keith Yeung
066c5ea73a
Clean up XHR API
2016-02-17 12:44:54 -05:00
bors-servo
c388c83dcd
Auto merge of #9625 - danlrobertson:i9547, r=KiChjang
...
Implement step 9 of XHR Open method
Implement step 9 of the [XMLHttpRequest Open](https://xhr.spec.whatwg.org/#dom-xmlhttprequest-open ) method. Thanks to @KiChjang for all the help!
As always, comments and critiques are welcomed!
Fix : #9547
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9625 )
<!-- Reviewable:end -->
2016-02-17 02:51:44 +05:30
Daniel Robertson
4d15b02dde
Handle credentials in modify_request_headers
...
Handle credentials and set the apropriate header in
`modify_request_headers`.
2016-02-15 06:47:47 +00:00
Keith Yeung
6be5218d3c
Cache XHR JSON responses
2016-02-14 23:55:43 -05:00
Daniel Robertson
0b0e1473cd
Implement Blob response for XMLHttpRequest: #9623
...
In response to #9623 implement the Blob response for XML HttpRequest and
change the expected result for the script test.
2016-02-14 20:00:30 +00:00
Josh Matthews
e9b98ad5fa
Make iframes block the enclosing document's load event. Fixes #6663 .
2016-02-10 09:20:00 -05:00
Ms2ger
eb10cad2e3
Disable send-entity-body-document.htm.
...
We don't implement the feature it tests anyway.
2016-02-01 16:32:14 +01:00
Ms2ger
1f5d8fedd4
Update web-platform-tests to revision 78862c14a70cabb48c685144666912f08e726390
2016-01-18 13:24:36 +01:00
Keith Yeung
a64f832e57
Change all DOMStrings to USV strings for XHR
2016-01-16 08:51:34 -05:00
Anthony Ramine
d13da7d9b3
Fix prototypes of interface objects ( fixes #2665 )
2016-01-12 17:15:44 +01:00
bors-servo
e13a25d022
Auto merge of #9133 - nox:enable-xmlhttprequest-timeout-worker-twice, r=jdm
...
Enable xmlhttprequest-timeout-worker-twice.html (fixes #4041 )
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9133 )
<!-- Reviewable:end -->
2016-01-03 17:16:37 +05:30
Anthony Ramine
5cb681007f
Enable xmlhttprequest-timeout-worker-twice.html ( fixes #4041 )
2016-01-02 20:18:53 +01:00
Anthony Ramine
482dddcaa4
Enable xmlhttprequest-timeout-worker-overrides.html ( fixes #3887 )
2016-01-02 19:32:55 +01:00
Keith Yeung
7001583047
Refactor FormData code to match updated spec
...
Use Atoms instead of Strings as keys
2016-01-01 05:38:10 -08:00
Jitendra Jain
88e6504e0a
Implement responseXML API and document response type for XHR
2015-12-09 17:48:04 -05:00
David Zbarsky
789a90a82f
Implement IsPointInPath
2015-12-05 17:49:49 -08:00
Jitendra Jain
af7c0837f4
Implement final_mime_type and final_charset helpers and use in text_response
2015-12-02 20:06:59 -05:00
Josh Matthews
c23cbd4163
Dispatch load events for cross origin iframes. Resolves #6672 .
2015-11-30 17:37:16 -05:00
Tom Schuster
0e0e051f3f
Implement document.domain getter
2015-11-23 15:45:02 -05:00
benshu
d27a3244f2
XHR timeouts use same abstraction as scripts timers. ( fixes #3396 )
2015-11-11 00:52:34 +01:00
Ms2ger
2a509e4fa2
Update js.
2015-11-06 18:38:07 +01:00
Jitendra Jain
ed809a60bf
Implement the overrideMimeType method for XMLHttpRequest
2015-11-05 22:19:24 -05:00
David Zbarsky
a63c98c24a
Implement HTMLCanvasElement#toDataURL
2015-10-26 21:24:21 -07:00