servo/components/script/dom
bors-servo 054bb381e9 Auto merge of #10826 - danlrobertson:cookies, r=asajeffrey
Add webdriver commands for (Get|Add)Cookie

Add the webdriver commands for GetCookie and AddCookie. In addition the basic messages for sending cookie data back and forth from the resource thread needed to be created and the handlers for those messages were created as well.

Do we plan to have some sort of test suite for the webdriver at some point? At this point I primarily test my PRs with basic shell scripts with a lot of `curl` and `jq`.

<!-- 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/10826)
<!-- Reviewable:end -->
2016-06-26 03:19:14 -05:00
..
bindings Wrap executions of Rust code called from JS in catch_unwind. Propagate the interrupted panic to the origin of the JS execution via TLS before resuming. Fix #6462. 2016-06-22 09:35:19 -04:00
webgl_validations webgl: Refactor texture validations to take advantage of rust type system 2016-06-25 00:03:15 +02:00
webidls Add a manual test for panicking while JS stack frames exist. 2016-06-22 09:35:19 -04:00
abstractworker.rs implement related sw interface and register method 2016-06-02 04:09:39 +05:30
abstractworkerglobalscope.rs implement related sw interface and register method 2016-06-02 04:09:39 +05:30
activation.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
attr.rs Stop re-exporting AttrValue. 2016-06-07 13:15:23 +02:00
beforeunloadevent.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
blob.rs Update Blob::{new, new_inherited} to take Strings 2016-06-17 07:43:11 -07:00
bluetooth.rs Fix an incorect behavior, when converting optional services. 2016-06-06 10:12:31 +02:00
bluetoothadvertisingdata.rs Fix value types 2016-05-03 10:17:38 +02:00
bluetoothcharacteristicproperties.rs WebBluetooth API classes 2016-03-16 10:34:48 +01:00
bluetoothdevice.rs Remove empty lines following braces. 2016-05-27 13:32:05 -04:00
bluetoothremotegattcharacteristic.rs Add WebBluetooth Blacklist support 2016-05-31 17:05:45 +02:00
bluetoothremotegattdescriptor.rs Add WebBluetooth Blacklist support 2016-05-31 17:05:45 +02:00
bluetoothremotegattserver.rs Add WebBluetooth Blacklist support 2016-05-31 17:05:45 +02:00
bluetoothremotegattservice.rs Add blacklist check to GetIncludedSevice(s) functions 2016-06-07 10:38:28 +02:00
bluetoothuuid.rs Remove empty lines following braces. 2016-05-27 13:32:05 -04:00
browsingcontext.rs Avoid an index-out-of-bounds error in ScriptMemoryFailsafe. 2016-06-09 14:51:10 +02:00
canvasgradient.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
canvaspattern.rs Add origin-clean flag tracking for canvas 2015-12-17 11:40:38 -08:00
canvasrenderingcontext2d.rs Make canvas send their data themselves to other canvas 2016-06-16 18:24:04 +01:00
characterdata.rs Make /dom/nodes/CharacterData-surrogates.html not panic. 2016-05-24 16:08:01 +02:00
client.rs implement related sw interface and register method 2016-06-02 04:09:39 +05:30
closeevent.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
comment.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
console.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
create.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
crypto.rs Say farewell to in-tree HeapSizeOf 2016-02-04 22:03:32 +01:00
css.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
cssstyledeclaration.rs Auto merge of #11428 - g-k:csstext, r=SimonSapin 2016-06-01 01:59:12 -05:00
customevent.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
dedicatedworkerglobalscope.rs implement related sw interface and register method 2016-06-02 04:09:39 +05:30
document.rs Use common cookie struct add cookie webdriver cmds 2016-06-25 22:24:35 +00:00
documentfragment.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
documenttype.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
domexception.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
domimplementation.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
domparser.rs Added support for additional xml types to DOMParser::parseFromString 2016-06-01 20:55:27 -05:00
dompoint.rs Add DOMQuad element 2015-12-18 17:37:10 +01:00
dompointreadonly.rs Rustfmt some of script. 2015-11-18 11:14:05 +01:00
domquad.rs Remove empty lines following braces. 2016-05-27 13:32:05 -04:00
domrect.rs Rustfmt some of script. 2015-11-18 11:14:05 +01:00
domrectlist.rs Remove JS::from_rooted 2016-05-31 14:43:58 +02:00
domrectreadonly.rs Rustfmt some of script. 2015-11-18 11:14:05 +01:00
domstringmap.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
domtokenlist.rs Make DOMTokenList.contains not throw anymore 2016-06-04 15:22:11 +02:00
element.rs Fix insert-adjacent error 2016-06-23 17:18:18 +02:00
errorevent.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
event.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
eventdispatcher.rs Refactor dispatch_event according to the spec (fixes #9178) 2016-02-29 10:42:09 +01:00
eventsource.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
eventtarget.rs Make report_pending_exception unsafe 2016-06-07 00:26:49 +02:00
file.rs Update Blob::{new, new_inherited} to take Strings 2016-06-17 07:43:11 -07:00
filelist.rs Remove JS::from_rooted 2016-05-31 14:43:58 +02:00
filereader.rs Add file backend support for Blob and related 2016-06-01 09:47:07 +08:00
focusevent.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
forcetouchevent.rs Remove empty lines following braces. 2016-05-27 13:32:05 -04:00
formdata.rs Auto merge of #11522 - nox:root-ref, r=jdm 2016-06-01 07:36:47 -05:00
hashchangeevent.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
htmlanchorelement.rs Stop re-exporting AttrValue. 2016-06-07 13:15:23 +02:00
htmlappletelement.rs Stop re-exporting AttrValue. 2016-06-07 13:15:23 +02:00
htmlareaelement.rs Stop re-exporting AttrValue. 2016-06-07 13:15:23 +02:00
htmlaudioelement.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
htmlbaseelement.rs Stop re-exporting AttrValue. 2016-06-07 13:15:23 +02:00
htmlbodyelement.rs Stop re-exporting AttrValue. 2016-06-07 13:15:23 +02:00
htmlbrelement.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
htmlbuttonelement.rs delete suffixes 2016-06-04 09:23:55 -04:00
htmlcanvaselement.rs Move HTMLCanvasData to script_layout_interface. 2016-06-20 19:04:41 +02:00
htmlcollection.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
htmldataelement.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
htmldatalistelement.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
htmldetailselement.rs Clean up DOMManipulationTaskSource 2016-06-02 15:27:08 -04:00
htmldialogelement.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
htmldirectoryelement.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
htmldivelement.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
htmldlistelement.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
htmlelement.rs fixup! Fixed issue #11651 (Do not fire a blur event when calling .focus() on a focused element) 2016-06-10 11:36:08 +02:00
htmlembedelement.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
htmlfieldsetelement.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
htmlfontelement.rs Stop re-exporting AttrValue. 2016-06-07 13:15:23 +02:00
htmlformcontrolscollection.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
htmlformelement.rs indexed getter of form elements 2016-06-14 21:40:32 -07:00
htmlframeelement.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
htmlframesetelement.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
htmlheadelement.rs Add meta-referrer support for documents 2016-06-02 21:48:09 -04:00
htmlheadingelement.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
htmlhrelement.rs Stop re-exporting AttrValue. 2016-06-07 13:15:23 +02:00
htmlhtmlelement.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
htmliframeelement.rs URI to URL 2016-06-20 20:18:42 -04:00
htmlimageelement.rs Stop re-exporting AttrValue. 2016-06-07 13:15:23 +02:00
htmlinputelement.rs Implement filter for file-type input's accept attribute 2016-06-20 20:58:53 +08:00
htmllabelelement.rs Stop re-exporting AttrValue. 2016-06-07 13:15:23 +02:00
htmllegendelement.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
htmllielement.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
htmllinkelement.rs Move the remainder of layout_interface into script_layout_interface. 2016-06-20 19:08:12 +02:00
htmlmapelement.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
htmlmediaelement.rs Abstractify the Listener abstractions further 2016-06-10 20:53:19 +05:30
htmlmetaelement.rs Stop re-exporting AttrValue. 2016-06-07 13:15:23 +02:00
htmlmeterelement.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
htmlmodelement.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
htmlobjectelement.rs Move is_image_data to script_layout_interface. 2016-06-20 19:08:11 +02:00
htmlolistelement.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
htmloptgroupelement.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
htmloptionelement.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
htmloutputelement.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
htmlparagraphelement.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
htmlparamelement.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
htmlpreelement.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
htmlprogresselement.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
htmlquoteelement.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
htmlscriptelement.rs Abstractify the Listener abstractions further 2016-06-10 20:53:19 +05:30
htmlselectelement.rs Stop re-exporting AttrValue. 2016-06-07 13:15:23 +02:00
htmlsourceelement.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
htmlspanelement.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
htmlstyleelement.rs Move the remainder of layout_interface into script_layout_interface. 2016-06-20 19:08:12 +02:00
htmltablecaptionelement.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
htmltablecellelement.rs Stop re-exporting AttrValue. 2016-06-07 13:15:23 +02:00
htmltablecolelement.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
htmltabledatacellelement.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
htmltableelement.rs Stop re-exporting AttrValue. 2016-06-07 13:15:23 +02:00
htmltableheadercellelement.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
htmltablerowelement.rs Stop re-exporting AttrValue. 2016-06-07 13:15:23 +02:00
htmltablesectionelement.rs Stop re-exporting AttrValue. 2016-06-07 13:15:23 +02:00
htmltemplateelement.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
htmltextareaelement.rs Stop re-exporting AttrValue. 2016-06-07 13:15:23 +02:00
htmltimeelement.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
htmltitleelement.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
htmltrackelement.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
htmlulistelement.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
htmlunknownelement.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
htmlvideoelement.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
imagedata.rs Update SpiderMonkey 2016-05-03 18:36:11 +02:00
keyboardevent.rs Fix all the links to the UI Events spec 2016-06-04 16:04:35 +02:00
location.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
macros.rs Stop re-exporting AttrValue. 2016-06-07 13:15:23 +02:00
mediaerror.rs Tidy fixes. 2016-05-03 18:05:27 -04:00
messageevent.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
mimetype.rs Report use statements that use {} with only one entry 2016-05-27 10:18:44 +01:00
mimetypearray.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
mod.rs webgl: Refactor texture validations to take advantage of rust type system 2016-06-25 00:03:15 +02:00
mouseevent.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
namednodemap.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
navigator.rs implement related sw interface and register method 2016-06-02 04:09:39 +05:30
navigatorinfo.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
node.rs Avoid an unnecessary panic when the script task deals with a GC after the layout thread is unreachable. 2016-06-22 09:35:19 -04:00
nodeiterator.rs Remove empty lines following braces. 2016-05-27 13:32:05 -04:00
nodelist.rs Update to rustc 2016-06-14. 2016-06-15 00:27:36 +01:00
pagetransitionevent.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
performance.rs Remove JS::from_rooted 2016-05-31 14:43:58 +02:00
performancetiming.rs Remove empty lines following braces. 2016-05-27 13:32:05 -04:00
plugin.rs Report use statements that use {} with only one entry 2016-05-27 10:18:44 +01:00
pluginarray.rs Remove empty lines following braces. 2016-05-27 13:32:05 -04:00
popstateevent.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
processinginstruction.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
progressevent.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
radionodelist.rs Remove JS::from_rooted 2016-05-31 14:43:58 +02:00
range.rs Implement Range::createContextualFragment 2016-06-03 01:31:53 +02:00
screen.rs more refactoring 2015-10-30 20:26:29 +09:00
serviceworker.rs implement related sw interface and register method 2016-06-02 04:09:39 +05:30
serviceworkercontainer.rs implement related sw interface and register method 2016-06-02 04:09:39 +05:30
serviceworkerglobalscope.rs implement related sw interface and register method 2016-06-02 04:09:39 +05:30
serviceworkerregistration.rs implement related sw interface and register method 2016-06-02 04:09:39 +05:30
servohtmlparser.rs rename of page_fetch_complete and handle_page_fetch_complete 2016-05-31 17:27:59 -04:00
servoxmlparser.rs Auto merge of #10647 - ConnorGBrewster:parse_xml, r=jdm 2016-04-27 07:50:54 -07:00
storage.rs Clean up DOMManipulationTaskSource 2016-06-02 15:27:08 -04:00
storageevent.rs Report use statements that use {} with only one entry 2016-05-27 10:18:44 +01:00
stylesheet.rs Report use statements that use {} with only one entry 2016-05-27 10:18:44 +01:00
stylesheetlist.rs servo: Clean up unused variables and imports 2016-04-02 16:30:18 +02:00
testbinding.rs Add a manual test for panicking while JS stack frames exist. 2016-06-22 09:35:19 -04:00
testbindingproxy.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
text.rs Report use statements that use {} with only one entry 2016-05-27 10:18:44 +01:00
textdecoder.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
textencoder.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
touch.rs more refactoring 2015-10-30 20:26:29 +09:00
touchevent.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
touchlist.rs merge from master 2015-11-03 19:01:23 +09:00
treewalker.rs Get rid of a bunch of explicit derefs 2015-11-03 19:51:46 -08:00
uievent.rs Fix all the links to the UI Events spec 2016-06-04 16:04:35 +02:00
url.rs Implement Blob URL's DOM interfaces 2016-06-17 20:06:37 +08:00
urlhelper.rs Upgrade to rust-url 1.0 and hyper 0.9 2016-04-23 20:27:58 +02:00
urlsearchparams.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
userscripts.rs Report use statements that use {} with only one entry 2016-05-27 10:18:44 +01:00
validation.rs Implement initial pieces of form validation. 2016-03-24 09:07:38 -04:00
validitystate.rs Remove empty lines following braces. 2016-05-27 13:32:05 -04:00
values.rs Consolidate magic number representing max unsigned long 2015-10-10 13:46:11 -04:00
virtualmethods.rs Stop re-exporting AttrValue. 2016-06-07 13:15:23 +02:00
webglactiveinfo.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
webglbuffer.rs Implement IsBuffer, IsFramebuffer and IsRenderbuffer for WebGLRenderingContext 2016-05-29 17:08:10 -04:00
webglcontextevent.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
webglframebuffer.rs Auto merge of #11426 - DDEFISHER:master, r=emilio 2016-05-29 20:03:56 -05:00
webglobject.rs more refactoring 2015-10-30 20:26:29 +09:00
webglprogram.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
webglrenderbuffer.rs Implement IsBuffer, IsFramebuffer and IsRenderbuffer for WebGLRenderingContext 2016-05-29 17:08:10 -04:00
webglrenderingcontext.rs webgl: Refactor texture validations to take advantage of rust type system 2016-06-25 00:03:15 +02:00
webglshader.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
webglshaderprecisionformat.rs more refactoring 2015-10-30 20:26:29 +09:00
webgltexture.rs webgl: Refactor texture validations to take advantage of rust type system 2016-06-25 00:03:15 +02:00
webgluniformlocation.rs webgl: Rename UniformType to UniformSetterType and hoist to the bottom 2016-04-19 20:25:30 +02:00
websocket.rs Propagate privacy information of iframes to corresponding pipelines. Make iframes of differing privacy values be considered cross-origin. 2016-06-20 14:55:01 -04:00
window.rs Wrap executions of Rust code called from JS in catch_unwind. Propagate the interrupted panic to the origin of the JS execution via TLS before resuming. Fix #6462. 2016-06-22 09:35:19 -04:00
worker.rs Implement Blob URL's DOM interfaces 2016-06-17 20:06:37 +08:00
workerglobalscope.rs Wrap executions of Rust code called from JS in catch_unwind. Propagate the interrupted panic to the origin of the JS execution via TLS before resuming. Fix #6462. 2016-06-22 09:35:19 -04:00
workerlocation.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
workernavigator.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
xmldocument.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
xmlhttprequest.rs Auto merge of #11768 - achals:blob-string, r=Ms2ger 2016-06-17 09:52:38 -05:00
xmlhttprequesteventtarget.rs Introduce trait Castable 2015-10-21 11:37:16 +02:00
xmlhttprequestupload.rs more refactoring 2015-10-30 20:26:29 +09:00