servo/components/script/dom
bors-servo 6166d8e74f Auto merge of #11544 - jdm:privatebrowsing, r=asajeffrey
Implement private browsing for mozbrowser

<!-- Please describe your changes on the following line: -->
Support the `mozprivatebrowsing` attribute on mozbrowser iframes. This separates the non-private and private sessions in terms of cookies, HSTS lists, cached HTTP credentials, HTTP connection pools, and web storage. The private session is shared between all private mozbrowsers, and lasts until shutdown.

---
<!-- 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
- [X] There are tests for these changes

<!-- 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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11544)
<!-- Reviewable:end -->
2016-06-20 14:32:17 -05:00
..
bindings Move CSSErrorReporter to script_layout_interface. 2016-06-20 19:08:13 +02:00
webidls 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
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
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 Move the remainder of layout_interface into script_layout_interface. 2016-06-20 19:08:12 +02: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
dompointreadonly.rs
domquad.rs Remove empty lines following braces. 2016-05-27 13:32:05 -04:00
domrect.rs
domrectlist.rs Remove JS::from_rooted 2016-05-31 14:43:58 +02:00
domrectreadonly.rs
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 Auto merge of #11548 - kevgs:default_view2, r=Ms2ger 2016-06-09 02:48:30 -05: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 Stop re-exporting AttrValue. 2016-06-07 13:15:23 +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 Auto merge of #11544 - jdm:privatebrowsing, r=asajeffrey 2016-06-20 14:32:17 -05: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 implement related sw interface and register method 2016-06-02 04:09:39 +05:30
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 Move the remainder of layout_interface into script_layout_interface. 2016-06-20 19:08:12 +02: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
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 Update Blob::{new, new_inherited} to take Strings 2016-06-17 07:43:11 -07: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
touchevent.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
touchlist.rs
treewalker.rs
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
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
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 Implement texSubImage2D API 2016-06-10 01:15:55 +01:00
webglshader.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
webglshaderprecisionformat.rs
webgltexture.rs Implement texSubImage2D API 2016-06-10 01:15:55 +01: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 Move CSSErrorReporter to script_layout_interface. 2016-06-20 19:08:13 +02:00
worker.rs Implement Blob URL's DOM interfaces 2016-06-17 20:06:37 +08:00
workerglobalscope.rs Implement Blob URL's DOM interfaces 2016-06-17 20:06:37 +08: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
xmlhttprequestupload.rs