aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom
Commit message (Collapse)AuthorAgeFilesLines
* auto merge of #4674 : Ms2ger/servo/doc-js, r=jdmbors-servo2015-01-205-17/+40
|\
| * Document js.rs.Ms2ger2015-01-191-0/+36
| |
| * Remove OptionalSettable.Ms2ger2015-01-195-17/+4
| | | | | | | | It was obsoleted by MutNullableJS.
* | Share supported CSS properties between style and CSSStyleDeclarationBruno de Oliveira Abinader2015-01-192-89/+19
| | | | | | | | | | | | | | | | | | | | | | Avoids duplicated code when implementing the CSS properties accessors in CSSStyleDeclaration WebIDL. Servo internal CSS properties are not accessible. CSS property "float" is unnacessible because we currently lack support for BinaryName IDL annotation (#4435). Fixes #4429, #4430.
* | auto merge of #4664 : Ms2ger/servo/from_elem, r=larsbergstrombors-servo2015-01-191-3/+4
|\ \ | |/ |/| | | It is obsolete on Rust master.
| * Stop using Vec::from_elem.Ms2ger2015-01-191-3/+4
| | | | | | | | It is obsolete on Rust master.
* | Disallow lines that span more than 160 columns.Ms2ger2015-01-191-1/+3
|/ | | | | The Rust style guide suggests 100, but we have too many violations in the tree already. This check can be tightened over time.
* auto merge of #4654 : Ms2ger/servo/bindings-docs, r=jdmbors-servo2015-01-182-2/+30
|\
| * Document global.rs.Ms2ger2015-01-181-0/+10
| |
| * Document error.rs.Ms2ger2015-01-181-2/+20
| |
* | Implement Element#closestJim Hoskins2015-01-173-0/+27
|/ | | | | | | | fixes #4603 - Add definition to the Element.webidl and implementation to element.rs. - Create inclusive_ancestors helper in NodeHelpers - Update test expectations
* 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
| |
* | 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-143-13/+53
| |
* | 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-122-10/+122
| |
* | 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-103-8/+8
|\
| * Make StructuredCloneData an opaque struct.Ms2ger2015-01-101-4/+2
| |
| * Make Runnable::handler take self by value.Ms2ger2015-01-102-4/+6
| | | | | | | | | | 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-103-12/+32
|/ | | | 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).
* | 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-0910-0/+20
|\ \ | | | | | | | | | As a first start, this allows them indiscriminately where used.
| * | Deny unsafe blocks in script.Ms2ger2015-01-0910-0/+20
| |/ | | | | | | As a first start, this allows them indiscriminately where used.
* / Fix assertion trying to remove a Node that has no parentArpad Borsos2015-01-091-0/+1
|/ | | | fixes #4562
* auto merge of #4575 : mttr/servo/warnings, r=jdmbors-servo2015-01-089-28/+27
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| |
| * Fix `non_upper_case_globals` warningsMatthew Rasmus2015-01-082-8/+8
| |
| * Fix `variable does not need to be mutable` warningMatthew Rasmus2015-01-082-2/+2
| |
* | 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-087-22/+88
|\ \ \
| * | | Fix #3936 – {Window,WorkerGlobalScope}.set{Timeout,Interval}(DOMString)Guillaume Bort2015-01-077-22/+88
| | |/ | |/|