aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlscriptelement.rs
Commit message (Collapse)AuthorAgeFilesLines
* Stop destructuring load in HTMLScriptElement::execute().Ms2ger2016-07-161-11/+10
|
* Turn ScriptOrigin into a struct.Ms2ger2016-07-161-13/+30
|
* Convert script source to DOMString earlier.Ms2ger2016-07-161-3/+3
|
* Pull HTMLScriptElement::load inside-out.Ms2ger2016-07-161-9/+9
|
* Update step numbers in HTMLScriptElement::execute().Ms2ger2016-07-161-15/+10
|
* Replace any errors caused by content-provided URLs by warnings.Alan Jeffrey2016-07-151-2/+2
|
* Remove TODO comment in ScriptContext::response_complete().Ms2ger2016-07-141-1/+0
| | | | We already do what it suggests.
* Handle script encoding more in line with the specification.Ms2ger2016-07-141-28/+31
|
* Extract some code into a new fetch_a_classic_script function.Ms2ger2016-07-141-25/+30
|
* Update step numbers in HTMLScriptElement::prepare().Ms2ger2016-07-141-13/+17
|
* Remove an unnecessary variable from HTMLScriptElement::prepare().Ms2ger2016-07-141-3/+2
|
* Inline DOM element creation into box expressions in components/script/dom/Kuba Birecki2016-07-141-2/+3
|
* Make all task source runnables cancellableConnor Brewster2016-07-131-2/+3
| | | | Implement all Runnable methods on CancellableRunnable to redirect to their inner runnable
* Make network listener runnable cancellableConnor Brewster2016-07-081-0/+1
|
* Move util::str to styleAnthony Ramine2016-07-051-1/+1
|
* Switch to using the new rooted!/RootedGuard API for rooting.Eduard Burtescu2016-07-041-2/+1
|
* Abstractify the Listener abstractions furtherManish Goregaokar2016-06-101-1/+1
|
* Auto merge of #11496 - GuillaumeGomez:range, r=noxbors-servo2016-06-031-3/+3
|\ | | | | | | | | | | | | | | Implement Range::createContextualFragment <!-- 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/11496) <!-- Reviewable:end -->
| * Replace HTMLScriptElement::mark_script_already_started by ↵Guillaume Gomez2016-06-031-3/+3
| | | | | | | | set_script_already_started
* | removed unused importsConnor Brewster2016-06-021-2/+0
| |
* | Clean up DOMManipulationTaskSourceKeith Yeung2016-06-021-6/+2
|/
* Move DOMString back to scriptAnthony Ramine2016-05-241-1/+2
| | | | This entirely removes the 'non-geckolib' feature of the util crate.
* Removed unused importsPer Lundberg2016-05-151-3/+1
| | | | This fixes #11185.
* Remove extraneous script_chan parameter from Trusted::newKeith Yeung2016-04-281-11/+5
|
* Upgrade to rust-url 1.0 and hyper 0.9Simon Sapin2016-04-231-1/+1
|
* Propagating the load errors from network loaderRavi Shankar2016-04-201-14/+16
|
* Use the document base url when resolving script URLsLiamsi2016-04-151-5/+2
|
* Avoid script execution when not foundShiroy2016-04-091-3/+20
| | | | Fix #8391
* refactors entities from script_thread into script_runtimeRahul Sharma2016-04-061-1/+2
|
* HTMLScriptElement: Added missing DOM propertiesPer Lundberg2016-04-031-0/+25
| | | | | | This should sort out most (all?) of the ones pointed out in #10227. (Amended with suggested fixes in PR #10354.)
* Use a Cell for HTMLScriptElement::block_character_encoding.Ms2ger2016-03-181-4/+4
|
* Implement encoding determination for external scripts.askalski2016-03-181-8/+13
|
* Add task_source directoryKeith Yeung2016-03-101-32/+11
| | | | Use DOMManipulationTaskSource whenever possible
* Issue #9561 Renamed *_thread_source to *_task_source and ThreadSource to ↵Kamil Muszyński2016-02-141-3/+3
| | | | TaskSource
* Update HTMLScriptElement::prepare to match the changed specification.Ms2ger2016-01-211-48/+58
|
* task -> threadrohan.prinja2016-01-101-5/+5
|
* Auto merge of #9213 - frewsxcv:broken-link, r=KiChjangbors-servo2016-01-091-1/+1
|\ | | | | | | | | | | | | | | Fix broken spec link in HTMLScriptElement <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9213) <!-- Reviewable:end -->
| * Fix broken spec link in HTMLScriptElementCorey Farwell2016-01-081-1/+1
| |
* | Update specification references and TODO comments in HTMLScriptElement.Ms2ger2016-01-071-46/+23
|/
* Fix a bunch of clippy lintsJohannes Linke2016-01-021-2/+2
|
* Use Url.join instead of UrlParser.base_url(...).parse (#9002)Mathieu Agopian2015-12-181-2/+2
|
* Remove from Trusted::new an unnecessary argumentArthur Skobara2015-12-121-3/+3
|
* Pass around event types as Atoms instead of StringsCorey Farwell2015-12-101-9/+6
| | | | | | `Event` internally stores the `type` as an `Atom`, and we're `String`s everywhere, which can cause unnecessary allocations to occur since they'll end up as `Atom`s anyways.
* Split fn script_chan into 5 different task channel fnKeith Yeung2015-12-061-20/+22
|
* Introduce abstraction over HTML and XML parsers for parser network listener.Josh Matthews2015-12-041-1/+1
|
* Remove unnecessary conversion to/from DOMString for localName.Eli Friedman2015-12-021-2/+3
|
* Compute attribute name atoms at compile-time.Eli Friedman2015-11-271-1/+1
|
* Update string_cache to 0.2.Alan Jeffrey2015-11-251-6/+6
| | | | | | | | | | | Updated string_cache, html5ever, xml5ever and selectors in Cargo.toml files and Cargo.lock. Removed references to string_cache_plugin. Import atom! and ns! from string_cache. Replaced ns!("") by ns!(). Replaced ns!(XML) and co by ns!(xml) and co. Replaced atom!(foo) by atom!("foo"). Replaced Atom::from_slice by Atom::from. Replaced atom.as_slice() by &*atom.
* Replaced DOMString constructor by conversion functions.Alan Jeffrey2015-11-121-2/+2
| | | | | | Replaced DOMString(...) by DOMString::from(...). Replaced ....0 by String::from(...). Removed any uses of .to_owner() in DOMString::from("...").
* Make DOMString a newtype around String, rather than a typedef.Ms2ger2015-11-041-4/+5
| | | | | | | | | | This should make it somewhat easier to experiment with alternative representations in the future. To reduce churn, this commit leaves the String field public, though. Also, this will allow us to use the default String type to represent the IDL USVString type, which explicitly forbids unpaired surrogates, ans as such is a better match to the Rust String type.