aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/history.rs
Commit message (Collapse)AuthorAgeFilesLines
* Update MPL license to https (part 3)Jan Andre Ikenmeyer2018-11-191-1/+1
|
* Reorder importsPyfisch2018-11-061-1/+1
|
* `cargo fix --edition`Simon Sapin2018-11-061-16/+16
|
* Format script componentchansuke2018-09-191-45/+71
|
* Track hash changes in session historyConnor Brewster2018-07-211-1/+4
| | | | Notify history changed on pushState and scroll to frag
* Let the popstate and hashchange events not bubbletigercosmos2018-06-171-1/+1
|
* Updated to mozjs v0.7.1.Alan Jeffrey2018-05-301-1/+1
|
* Make session history aware of URLsConnor Brewster2018-04-241-5/+39
|
* Auto merge of #20661 - cbrewster:history_state_discard, r=asajeffreybors-servo2018-04-191-0/+7
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove insaccessible history states <!-- Please describe your changes on the following line: --> --- <!-- 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 build-geckolib` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- 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/20661) <!-- Reviewable:end -->
| * Remove insaccessible history statesConnor Brewster2018-04-171-0/+7
| |
* | History: update document URL on pushState/replaceStateAndrew Shu2018-04-181-5/+39
|/ | | | | https://html.spec.whatwg.org/multipage/#dom-history-pushstate Steps 6, 7, 10
* Implement history stateConnor Brewster2018-04-161-6/+72
|
* Adapt Servo for mozjs 0.6 and the changes introduced in servo/rust-mozjs#393Marcin Mielniczuk2018-03-281-1/+2
|
* Implements profiler for blocked recvNakul Jindal2018-03-221-3/+4
|
* Implement initial part of history.stateConnor Brewster2018-01-301-1/+93
|
* Remove use of unstable box syntax.Simon Sapin2017-10-161-1/+1
| | | | | | | | | | | | | | | | | | | | http://www.robohornet.org gives a score of 101.36 on master, and 102.68 with this PR. The latter is slightly better, but probably within noise level. So it looks like this PR does not affect DOM performance. This is expected since `Box::new` is defined as: ```rust impl<T> Box<T> { #[inline(always)] pub fn new(x: T) -> Box<T> { box x } } ``` With inlining, it should compile to the same as box syntax.
* Rename Root<T> to DomRoot<T>Anthony Ramine2017-09-261-2/+2
| | | | | | | In a later PR, DomRoot<T> will become a type alias of Root<Dom<T>>, where Root<T> will be able to handle all the things that need to be rooted that have a stable traceable address that doesn't move for the whole lifetime of the root. Stay tuned.
* Rename JS<T> to Dom<T>Anthony Ramine2017-09-261-3/+3
|
* Rename dom::bindings::js to dom::bindings::rootAnthony Ramine2017-09-261-1/+1
|
* make use of ScriptToConstellationChanPaul Rouget2017-08-151-7/+5
|
* Webdriver uses browsing context ids rather than pipeline ids.Alan Jeffrey2017-05-251-9/+7
|
* Make History attributes and methods throwConnor Brewster2017-05-021-11/+17
|
* Implement setter for document.domainAlan Jeffrey2017-03-151-3/+5
|
* Added some same-origin-domain checks.Alan Jeffrey2017-03-141-2/+1
|
* Make #[dom_struct] a proc_macro attributeAnthony Ramine2017-02-241-0/+1
|
* Introduce GlobalScope::pipeline_idAnthony Ramine2016-10-061-4/+6
|
* Introduce GlobalScope::constellation_chanAnthony Ramine2016-10-061-2/+4
|
* Make reflect_dom_object take a &GlobalScopeAnthony Ramine2016-10-061-2/+1
|
* Use fn pipeline_id consistently, not fn pipelineAneesh Agrawal2016-09-131-2/+2
| | | | | | | | | | | | Consistently use the name 'pipeline_id' to refer to a function that returns an (optional) PipelineId. This was prompted by discovering both fn pipeline and fn pipeline_id doing the same job in htmliframeelement.rs. Note that there is fn pipeline in components/compositing/compositor.rs, but that actually returns an Option<&CompositionPipeline>, not any kind of PipelineId.
* Implement history.lengthConnor Brewster2016-08-031-0/+10
| | | | | Add full frame tree iter to reduce code duplication Add FrameId field to the Frame struct.
* Add History interfaceConnor Brewster2016-07-221-0/+70
implement go, forward, back