servo/components/script/dom
bors-servo 896be066dd Auto merge of #13580 - asajeffrey:script-browsingcontext-without-session-history, r=ConnorGBrewster.
Removed the session history from BrowsingContext.

<!-- Please describe your changes on the following line: -->

The session history is stored in the constellation and accessed via the `History` object, so `BrowsingContext` doesn't need to track it.

cc @jdm @ConnorGBrewster @Ms2ger

---
<!-- 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] These changes do not require tests because it's a refactoring.

<!-- 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/13580)
<!-- Reviewable:end -->
2016-10-05 13:19:37 -05:00
..
bindings Auto merge of #13572 - nox:cleanup-global, r=jdm 2016-10-04 17:19:11 -05:00
webgl_validations
webidls Fix WebGL tests & Implement WebGLRenderingContext::{validateProgram, getProgramInfoLog, disableVertexAttribArray}, r=emilio 2016-10-03 16:17:19 +02:00
abstractworker.rs Remove dead error handling code. 2016-09-05 17:53:53 +02:00
abstractworkerglobalscope.rs
activation.rs One last refactoring before fixing 2016-09-18 05:57:24 -05:00
attr.rs Revert "Make DOMRefCell use style’s copy of RefCell" 2016-10-04 18:35:01 +02:00
beforeunloadevent.rs
blob.rs Refactored a couple of files from codeStyle to code_style. 2016-09-17 20:31:46 -05:00
bluetooth.rs Reorganise the BluetoothUUID utility functions 2016-10-02 23:06:33 +02:00
bluetoothadvertisingdata.rs Refactored a couple of files from codeStyle to code_style. 2016-09-17 20:31:46 -05:00
bluetoothcharacteristicproperties.rs Refactored a bluetooth* related files from codeStyle to code_style. 2016-09-18 00:07:32 -05:00
bluetoothdevice.rs Refactored a bluetooth* related files from codeStyle to code_style. 2016-09-18 00:07:32 -05:00
bluetoothremotegattcharacteristic.rs Reorganise the BluetoothUUID utility functions 2016-10-02 23:06:33 +02:00
bluetoothremotegattdescriptor.rs Update WebBluetooth to use Promises 2016-09-26 20:02:42 +02:00
bluetoothremotegattserver.rs Reorganise the BluetoothUUID utility functions 2016-10-02 23:06:33 +02:00
bluetoothremotegattservice.rs Reorganise the BluetoothUUID utility functions 2016-10-02 23:06:33 +02:00
bluetoothuuid.rs Reorganise the BluetoothUUID utility functions 2016-10-02 23:06:33 +02:00
browsingcontext.rs Removed the session history from BrowsingContext. 2016-10-05 13:18:35 -05:00
canvasgradient.rs Reorder use statements 2016-09-09 04:55:19 +02:00
canvaspattern.rs
canvasrenderingcontext2d.rs More code refactoring (exampleVar to example_var) 2016-09-18 01:02:57 -05:00
characterdata.rs Revert "Make DOMRefCell use style’s copy of RefCell" 2016-10-04 18:35:01 +02:00
client.rs Replace instances of old ServiceWorker specification URL with new one 2016-09-25 20:32:32 +05:30
closeevent.rs More code refactoring (exampleVar to example_var) 2016-09-18 01:02:57 -05:00
comment.rs
console.rs Remove GlobalRef::get_worker_id 2016-10-04 13:58:26 +02:00
create.rs
crypto.rs Compile WebIDL return type "object" to NonZero<*mut JSObject> 2016-08-30 19:07:13 +02:00
css.rs
cssstyledeclaration.rs Use parking_lot::RwLock instead of DOMRefCell for PropertyDeclarationBlock 2016-10-04 18:34:59 +02:00
customevent.rs
dedicatedworkerglobalscope.rs Refactor WorkerGlobalScope::report_an_error 2016-10-03 09:22:20 +02:00
document.rs Auto merge of #13459 - servo:no-arc-heapsize, r=emilio 2016-10-04 11:58:56 -05:00
documentfragment.rs
documenttype.rs Inline DOM element creation into box expressions in components/script/dom/ 2016-07-14 08:44:22 +02:00
domexception.rs
domimplementation.rs Reorder use statements 2016-09-09 04:55:19 +02:00
dommatrix.rs DOMMatrix and DOMMatrixReadOnly 2016-09-15 00:16:42 +01:00
dommatrixreadonly.rs Revert "Make DOMRefCell use style’s copy of RefCell" 2016-10-04 18:35:01 +02:00
domparser.rs Reorder use statements 2016-09-09 04:55:19 +02:00
dompoint.rs Made fixes for PR. 2016-09-18 07:12:39 -05:00
dompointreadonly.rs Made fixes for PR. 2016-09-18 07:12:39 -05:00
domquad.rs
domrect.rs
domrectlist.rs Use Option<T> to return from getters 2016-08-30 19:07:19 +02:00
domrectreadonly.rs
domstringmap.rs Use Option<T> to return from getters 2016-08-30 19:07:19 +02:00
domtokenlist.rs Use Option<T> to return from getters 2016-08-30 19:07:19 +02:00
element.rs Revert "Make DOMRefCell use style’s copy of RefCell" 2016-10-04 18:35:01 +02:00
errorevent.rs
event.rs Return an enum instead of a boolean from dispatch_event 2016-09-26 17:52:38 +02:00
eventdispatcher.rs Return an enum instead of a boolean from dispatch_event 2016-09-26 17:52:38 +02:00
eventsource.rs
eventtarget.rs Invert conditional and return early for AddEventListener/RemoveEventListener 2016-10-05 07:55:33 -07:00
extendableevent.rs Silence a warning in ExtendableEvent::WaitUntil 2016-09-21 15:38:51 +02:00
extendablemessageevent.rs implement ExtendableEvent as base type for ServiceWorker events 2016-09-17 20:58:46 +05:30
file.rs Replace typeString with type_string. 2016-09-17 20:31:46 -05:00
filelist.rs Use Option<T> to return from getters 2016-08-30 19:07:19 +02:00
filereader.rs Implement file reading task source 2016-07-14 13:27:42 -04:00
filereadersync.rs Add FileReaderSync skeleton 2016-07-31 09:19:39 +02:00
focusevent.rs
forcetouchevent.rs
formdata.rs Added FormData Iterable 2016-09-23 10:19:11 -04:00
hashchangeevent.rs
headers.rs Implement the Fetch method 2016-09-29 08:19:41 -07:00
history.rs Use fn pipeline_id consistently, not fn pipeline 2016-09-13 15:17:40 -04:00
htmlanchorelement.rs Bring referrer policy delivery to <a> and <link> via rel attribute 2016-09-20 21:17:37 +08:00
htmlappletelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmlareaelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmlaudioelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmlbaseelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmlbodyelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmlbrelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmlbuttonelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmlcanvaselement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmlcollection.rs implement HTMLOptionsCollection and add related items to HTMLSelectElement 2016-09-26 21:49:10 +03:00
htmldataelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmldatalistelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmldetailselement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmldialogelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmldirectoryelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmldivelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmldlistelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmlelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmlembedelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmlfieldsetelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmlfontelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmlformcontrolscollection.rs Use Option<T> to return from getters 2016-08-30 19:07:19 +02:00
htmlformelement.rs script: Fix bogus is_listed_element assertion. 2016-10-02 17:57:06 +02:00
htmlframeelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmlframesetelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmlheadelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmlheadingelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmlhrelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmlhtmlelement.rs Inline DOM element creation into box expressions in components/script/dom/ 2016-07-14 08:44:22 +02:00
htmliframeelement.rs Replace current session entry for reloads 2016-09-19 14:23:03 -05:00
htmlimageelement.rs Auto merge of #13387 - emilio:debug-assertions, r=aneeshusa,jdm,pcwalton 2016-10-04 14:01:49 -05:00
htmlinputelement.rs Implement minlength for text inputs 2016-09-21 07:54:39 -05:00
htmllabelelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmllegendelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmllielement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmllinkelement.rs Auto merge of #13575 - servo:fetch-link, r=jdm 2016-10-04 18:12:18 -05:00
htmlmapelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmlmediaelement.rs checking for metadata in htmlmediaelement::response_complete 2016-09-27 19:36:36 +08:00
htmlmetaelement.rs Make script build without impl<T: HeapSizeOf> HeapSizeOf for Arc<T>. 2016-10-04 13:45:58 +02:00
htmlmeterelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmlmodelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmlobjectelement.rs Make script build without impl<T: HeapSizeOf> HeapSizeOf for Arc<T>. 2016-10-04 13:45:58 +02:00
htmlolistelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmloptgroupelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmloptionelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmloptionscollection.rs implement HTMLOptionsCollection and add related items to HTMLSelectElement 2016-09-26 21:49:10 +03:00
htmloutputelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmlparagraphelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmlparamelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmlpreelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmlprogresselement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmlquoteelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmlscriptelement.rs Auto merge of #13571 - servo:simplify-fetching, r=nox 2016-10-04 08:05:44 -05:00
htmlselectelement.rs implement HTMLOptionsCollection and add related items to HTMLSelectElement 2016-09-26 21:49:10 +03:00
htmlsourceelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmlspanelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmlstyleelement.rs Make script build without impl<T: HeapSizeOf> HeapSizeOf for Arc<T>. 2016-10-04 13:45:58 +02:00
htmltablecaptionelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmltablecellelement.rs
htmltablecolelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmltabledatacellelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmltableelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmltableheadercellelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmltablerowelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmltablesectionelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmltemplateelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmltextareaelement.rs Implement minlength for text inputs 2016-09-21 07:54:39 -05:00
htmltimeelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmltitleelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmltrackelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmlulistelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmlunknownelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
htmlvideoelement.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
imagedata.rs Compile WebIDL return type "object" to NonZero<*mut JSObject> 2016-08-30 19:07:13 +02:00
keyboardevent.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
location.rs Make Assign throw error on invalid url 2016-09-26 11:03:22 -06:00
macros.rs adding macro to return string or url, 2016-09-27 09:33:11 -07:00
mediaerror.rs
messageevent.rs
mimetype.rs
mimetypearray.rs Use Option<T> to return from getters 2016-08-30 19:07:19 +02:00
mod.rs implement HTMLOptionsCollection and add related items to HTMLSelectElement 2016-09-26 21:49:10 +03:00
mouseevent.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
namednodemap.rs Use Option<T> to return from getters 2016-08-30 19:07:19 +02:00
navigator.rs Replace instances of old ServiceWorker specification URL with new one 2016-09-25 20:32:32 +05:30
navigatorinfo.rs
node.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
nodeiterator.rs
nodelist.rs Use Option<T> to return from getters 2016-08-30 19:07:19 +02:00
pagetransitionevent.rs
performance.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
performancetiming.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
plugin.rs Use Option<T> to return from getters 2016-08-30 19:07:19 +02:00
pluginarray.rs Use Option<T> to return from getters 2016-08-30 19:07:19 +02:00
popstateevent.rs
processinginstruction.rs
progressevent.rs
promise.rs Remove maybe_ prefix from Promise methods. 2016-09-22 16:21:23 -04:00
promisenativehandler.rs Support native promise callbacks. 2016-09-22 16:16:52 -04:00
radionodelist.rs Use Option<T> to return from getters 2016-08-30 19:07:19 +02:00
range.rs Reorder use statements 2016-09-09 04:55:19 +02:00
request.rs Revert "Make DOMRefCell use style’s copy of RefCell" 2016-10-04 18:35:01 +02:00
response.rs Revert "Make DOMRefCell use style’s copy of RefCell" 2016-10-04 18:35:01 +02:00
screen.rs
serviceworker.rs Replace instances of old ServiceWorker specification URL with new one 2016-09-25 20:32:32 +05:30
serviceworkercontainer.rs Replace instances of old ServiceWorker specification URL with new one 2016-09-25 20:32:32 +05:30
serviceworkerglobalscope.rs Move workers' pipeline IDs to WorkerGlobalScope 2016-10-02 23:06:30 +02:00
serviceworkerregistration.rs Remove ScopeThings::pipeline_id 2016-10-04 14:05:28 +02:00
servohtmlparser.rs Excise SubpageId and use only PipelineIds 2016-09-13 15:37:38 -04:00
servoxmlparser.rs
storage.rs Made fixes for PR. 2016-09-18 07:12:39 -05:00
storageevent.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
stylesheet.rs
stylesheetlist.rs Use Option<T> to return from getters 2016-08-30 19:07:19 +02:00
testbinding.rs Remove maybe_ prefix from Promise methods. 2016-09-22 16:21:23 -04:00
testbindingiterable.rs Use Option<T> to return from getters 2016-08-30 19:07:19 +02:00
testbindingpairiterable.rs Implement pair iterators in WebIDL interfaces. 2016-08-24 11:26:01 -04:00
testbindingproxy.rs Use Option<T> to return from getters 2016-08-30 19:07:19 +02:00
text.rs
textdecoder.rs
textencoder.rs removed support for UTF-16 in TextEncoder 2016-09-27 05:44:52 +05:30
touch.rs
touchevent.rs Most of the code refactoring needed to be done is done with this commit. 2016-09-18 03:41:16 -05:00
touchlist.rs Use Option<T> to return from getters 2016-08-30 19:07:19 +02:00
treewalker.rs Reorder use statements 2016-09-09 04:55:19 +02:00
uievent.rs Reorder use statements 2016-09-09 04:55:19 +02:00
url.rs Made fixes for PR. 2016-09-18 07:12:39 -05:00
urlhelper.rs Made fixes for PR. 2016-09-18 07:12:39 -05:00
urlsearchparams.rs
userscripts.rs Use Result instead of panicking when the resource dir can't be found 2016-07-21 12:07:25 +05:30
validation.rs
validitystate.rs
values.rs
virtualmethods.rs Implement HTMLLIElement#value 2016-07-28 21:07:21 -03:00
webglactiveinfo.rs
webglbuffer.rs
webglcontextevent.rs
webglframebuffer.rs webgl: Do validation that the framebuffer is complete for FBO operations. 2016-09-21 08:05:45 +10:00
webglobject.rs
webglprogram.rs Fix WebGL tests & Implement WebGLRenderingContext::{validateProgram, getProgramInfoLog, disableVertexAttribArray}, r=emilio 2016-10-03 16:17:19 +02:00
webglrenderbuffer.rs
webglrenderingcontext.rs Fix WebGL tests & Implement WebGLRenderingContext::{validateProgram, getProgramInfoLog, disableVertexAttribArray}, r=emilio 2016-10-03 16:17:19 +02:00
webglshader.rs
webglshaderprecisionformat.rs
webgltexture.rs
webgluniformlocation.rs
websocket.rs Made fixes for PR. 2016-09-18 07:12:39 -05:00
window.rs Replace ScriptHelpers by GlobalRef methods 2016-10-03 11:42:21 +02:00
worker.rs Move workers' pipeline IDs to WorkerGlobalScope 2016-10-02 23:06:30 +02:00
workerglobalscope.rs Make script build without impl<T: HeapSizeOf> HeapSizeOf for Arc<T>. 2016-10-04 13:45:58 +02:00
workerlocation.rs Made fixes for PR. 2016-09-18 07:12:39 -05:00
workernavigator.rs
xmldocument.rs Use Option<T> to return from getters 2016-08-30 19:07:19 +02:00
xmlhttprequest.rs Auto merge of #13485 - mathieuh:xhr-event, r=jdm 2016-10-04 09:46:11 -05:00
xmlhttprequesteventtarget.rs
xmlhttprequestupload.rs