servo/components/script/dom/bindings
bors-servo 03fa7f0ba5 Auto merge of #12467 - jeenalee:jeena-headersAPI, r=jdm
Add the append method for the Headers API

<!-- Please describe your changes on the following line: -->
This commit adds the append method for the Headers API. @malisas and I are both contributors.

There are a few TODOs related:
- The script needs to parse the header value for certain header names to decide the header group it belongs
- There are possible spec bugs that could change what a valid header value looks like (related: [issue page](https://github.com/whatwg/fetch/issues/332))

There are WPT tests already written for the Headers API, but they will fail as the Headers API is not fully implemented.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because tests for the Headers API already exists, but this commit does not implement the interface fully. The tests will fail.

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12467)
<!-- Reviewable:end -->
2016-07-20 16:24:48 -05:00
..
codegen Generate a list of supported DOM APIs from parsed WebIDLs. 2016-07-15 18:13:09 -04:00
callback.rs Reuse report_pending_exception in CallSetup. 2016-07-05 20:20:23 +02:00
cell.rs task -> thread 2016-01-10 17:58:13 +09:00
conversions.rs Avoid unnecessary JS_WrapValue calls for DOM reflectors. 2016-07-12 08:22:50 -04:00
error.rs Auto merge of #12261 - szeged:gattcharacteristicfunctions, r=jdm 2016-07-06 11:11:26 -07:00
global.rs Integrate service worker manager thread 2016-07-16 23:29:44 +05:30
guard.rs Refactor util::prefs operations to be methods on static struct. 2016-07-02 16:43:39 -04:00
inheritance.rs Rustfmt some of script. 2015-11-18 11:14:05 +01:00
interface.rs Implement the [Exposed] extended attribute on interfaces. 2016-07-12 13:06:56 +02:00
js.rs Move TrustedNodeAddress to script_layout_interface. 2016-06-20 19:08:06 +02:00
mod.rs Remove utils::Prefable in favour of guard::Guard 2016-05-26 23:56:13 +02:00
num.rs Use num-traits in script. 2016-04-20 15:23:43 +02:00
proxyhandler.rs Switch to using the new rooted!/RootedGuard API for rooting. 2016-07-04 20:59:01 +03:00
refcounted.rs Make debug logging for tracing JS objects more informative. 2016-05-11 08:34:48 -04:00
reflector.rs Add global default method for Reflectable trait 2016-01-11 20:23:47 -05:00
str.rs Auto merge of #12467 - jeenalee:jeena-headersAPI, r=jdm 2016-07-20 16:24:48 -05:00
structuredclone.rs Update SpiderMonkey 2016-05-03 18:36:11 +02:00
trace.rs Refactor FileAPI implementation 2016-07-13 12:12:32 +08:00
utils.rs Implement the [Exposed] extended attribute on interfaces. 2016-07-12 13:06:56 +02:00
weakref.rs Removed unused imports 2016-05-15 22:24:26 +03:00
xmlname.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00