aboutsummaryrefslogtreecommitdiffstats
path: root/components/script
Commit message (Collapse)AuthorAgeFilesLines
* auto merge of #4540 : saneyuki/servo/internal, r=jdmbors-servo2015-01-161-3/+36
|\ | | | | | | Fix #4504
| * fixup! Make script load event asynchronous for internal scriptsTetsuharu OHZEKI2015-01-111-1/+1
| |
| * Make script load event asynchronous for internal scriptsTetsuharu OHZEKI2015-01-111-0/+28
| |
| * Add the enum to describe the script origin.Tetsuharu OHZEKI2015-01-111-3/+8
| |
* | added unit tests for TextInput - fixes #4352donaldpipowitch2015-01-161-3/+165
| |
* | Stop pretending to do anything except eagerly report pending exceptions ↵Josh Matthews2015-01-141-27/+3
| | | | | | | | after invoking a callback.
* | Add handling for unreported exceptions when invoking callback objects.Josh Matthews2015-01-144-15/+55
| |
* | Check quirks mode in {Document,Element}::getElementsByClassNameBruno de Oliveira Abinader2015-01-121-3/+14
| | | | | | | | Fixes #4604.
* | Implement most of the important WindowProxy trapsTom Schuster2015-01-123-11/+123
| |
* | Remove RethrowContentExceptions and related infrastructure.Ms2ger2015-01-102-35/+13
|/ | | | We do not intend to implement the DOM in JS, so this code isn't necessary.
* auto merge of #4609 : Ms2ger/servo/runnable-self-by-value, r=jdmbors-servo2015-01-104-10/+10
|\
| * Make StructuredCloneData an opaque struct.Ms2ger2015-01-101-4/+2
| |
| * Make Runnable::handler take self by value.Ms2ger2015-01-103-6/+8
| | | | | | | | | | With my thanks to kimundi and eddyb for their help in making this approach work.
* | auto merge of #4608 : Ms2ger/servo/ReverseChildrenIterator, r=jdmbors-servo2015-01-101-10/+12
|\ \ | |/ |/|
| * Rewrite ReverseChildrenIterator to return Temporary.Ms2ger2015-01-101-10/+12
| |
* | Implement StructuredCloneData::read.Ms2ger2015-01-103-28/+21
| |
* | Implement StructuredCloneData::write.Ms2ger2015-01-103-36/+33
| |
* | Create a StructuredCloneData struct to encapsulate the result of a ↵Ms2ger2015-01-105-14/+35
|/ | | | structured clone.
* Update FrameTree pipelines when appropriateMartin Robinson2015-01-091-34/+29
| | | | | | Instead of simply creating a new FrameTree when an iframe starts a load, update the existing FrameTree's pipeline. This prevents the FrameTree from accumulating many extra children.
* auto merge of #4596 : jimrhoskins/servo/sandbox-tokenlist, r=jdmbors-servo2015-01-091-11/+13
|\ | | | | | | | | | | | | | | | | | | | | Fixes #3758 Store the sandbox attribute of HTMLIFrameElement as a TokenList internally. Use .tokens() to iterate over the tokens instead of splitting on the string value. The external interface for sandbox remains a DOMString, which will need to be fixed when DOMSettableTokenList is implemented (#1717).
| * Store HTMLIFrameElement sandbox attr as TokenListJim Hoskins2015-01-091-11/+13
| | | | | | | | | | | | | | | | | | | | | | Fixes #3758 Store the sandbox attribute of HTMLIFrameElement as a TokenList internally. Use .tokens() to iterate over the tokens instead of splitting on the string value. The external interface for sandbox remains a DOMString, which will need to be fixed when DOMSettableTokenList is implemented (#1717).
* | auto merge of #4532 : saneyuki/servo/event, r=jdmbors-servo2015-01-091-12/+63
|\ \ | | | | | | | | | Fix #4505
| * | Make DOMContentLoaded and load asynchronous with using Runnable.Tetsuharu OHZEKI2015-01-101-12/+63
| |/
* / CanvasRenderTask connected to LayoutEdit Balint2015-01-092-2/+34
|/ | | | Update rust-azure to f4a02f3f621b0a994a20d42e438371a87c62f898.
* auto merge of #4585 : Ms2ger/servo/NavigatorInfo, r=jdmbors-servo2015-01-093-37/+33
|\ | | | | | | It serves no purpose.
| * Remove the NavigatorInfo struct.Ms2ger2015-01-093-37/+33
| | | | | | | | It serves no purpose.
* | auto merge of #4584 : Ms2ger/servo/unsafe, r=jdmbors-servo2015-01-0914-0/+27
|\ \ | | | | | | | | | As a first start, this allows them indiscriminately where used.
| * | Deny unsafe blocks in script.Ms2ger2015-01-0914-0/+27
| |/ | | | | | | As a first start, this allows them indiscriminately where used.
* | auto merge of #4586 : Swatinem/servo/noderemove, r=Ms2gerbors-servo2015-01-091-0/+1
|\ \ | | | | | | | | | fixes #4562
| * | Fix assertion trying to remove a Node that has no parentArpad Borsos2015-01-091-0/+1
| |/ | | | | | | fixes #4562
* | auto merge of #4579 : mattnenterprise/servo/textinput-select-refactor, r=jdmbors-servo2015-01-091-11/+24
|\ \ | |/ |/| | | Fixes #4573 Replaces the boolean argument of TextInput::adjust[horizontal | vertical] with enum to self document the code
| * Fixes #4573 Replaces the boolean argument of ↵Matt McCoy2015-01-081-11/+24
| | | | | | | | TextInput::adjust[horizontal|vertical] with enum to self document the code
* | auto merge of #4575 : mttr/servo/warnings, r=jdmbors-servo2015-01-0811-31/+31
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: * This adds `#![allow(missing_copy_implementations)]` to components/*/lib.rs. I'm not sure how to approach the missing Copy warnings (are there things for which Copy should NOT be implemented, and how can I tell?) so I stuck this in to make life easier when looking through the warnings. I can easily remove this if necessary. * This leaves the following type of warnings, which I couldn't figure out how to approach (I'll investigate it later if no one else wants to). ``` css/matching.rs:72:23: 72:35 warning: use of deprecated item: Use overloaded core::cmp::PartialEq, #[warn(deprecated)] on by default css/matching.rs:72 this_as_query.equiv(other) ^~~~~~~~~~~~ css/matching.rs:95:10: 95:49 warning: use of deprecated item: Use overloaded core::cmp::PartialEq, #[warn(deprecated)] on by default css/matching.rs:95 impl<'a> Equiv<ApplicableDeclarationsCacheEntry> for ApplicableDeclarationsCacheQuery<'a> { ```
| * | Fix Equiv related deprecation warningsMatthew Rasmus2015-01-083-6/+6
| | | | | | | | | | | | ...except where we have our own implementations of Equiv.
| * | Fix `renamed to slice::from_raw_buf` warningMatthew Rasmus2015-01-081-11/+10
| | |
| * | Fix `use Deref instead` warningMatthew Rasmus2015-01-081-1/+1
| | |
| * | Allow `missing_copy_implementations`Matthew Rasmus2015-01-081-0/+1
| | |
| * | Fix `non_upper_case_globals` warningsMatthew Rasmus2015-01-083-11/+11
| | |
| * | Fix `variable does not need to be mutable` warningMatthew Rasmus2015-01-082-2/+2
| | |
* | | auto merge of #4574 : Ms2ger/servo/if_let, r=Manishearthbors-servo2015-01-081-1/+1
|\ \ \ | |_|/ |/| | | | | This feature is now supported unconditionally.
| * | Remove if_let feature gates.Ms2ger2015-01-081-1/+1
| |/ | | | | | | This feature is now supported unconditionally.
* | auto merge of #4566 : mattnenterprise/servo/globalref-by-value, r=Ms2gerbors-servo2015-01-0825-64/+64
|\ \
| * | Fixes #4164 Make file.rs Constructor and new functions take GlobalRef by valueMatt McCoy2015-01-082-5/+5
| | |
| * | Fixes #4164 Make Constructor and new functions take GlobalRef by valueMatt McCoy2015-01-0725-61/+61
| | |
* | | auto merge of #4541 : Manishearth/servo/ban-stuff, r=jdmbors-servo2015-01-081-0/+1
|\ \ \ | |_|/ |/| | | | | Didn't do the `Vec<Temporary<T>>` banning since we might want to whitelist something there. I'll work on that next.
| * | Mention MutHeap in DESIGN.mdManish Goregaokar2015-01-041-0/+1
| | |
* | | auto merge of #4069 : guillaumebort/servo/fix/3936, r=jdmbors-servo2015-01-0810-31/+114
|\ \ \
| * | | Fix #3936 – {Window,WorkerGlobalScope}.set{Timeout,Interval}(DOMString)Guillaume Bort2015-01-0710-31/+114
| | |/ | |/|
* / | Update rustc to revision 2cfb5acb5a2751c759627377e602bac4f88f2d19.Ms2ger2015-01-0832-121/+172
|/ /
* | Remove spawn_named_native.Ms2ger2015-01-051-3/+2
| | | | | | | | All threads are native now, so this was just an alias for spawn_named.