mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Auto merge of #5839 - nox:range, r=Manishearth
The actual boundary points are behind a Rc<_> value to let nodes be able to store weak references to them in the future. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5839) <!-- Reviewable:end -->
This commit is contained in:
commit
15c4372a8b
28 changed files with 13387 additions and 451 deletions
|
@ -31,6 +31,8 @@ pub enum Error {
|
|||
NotFound,
|
||||
/// HierarchyRequestError DOMException
|
||||
HierarchyRequest,
|
||||
/// WrongDocumentError DOMException
|
||||
WrongDocument,
|
||||
/// InvalidCharacterError DOMException
|
||||
InvalidCharacter,
|
||||
/// NotSupportedError DOMException
|
||||
|
@ -53,6 +55,8 @@ pub enum Error {
|
|||
Abort,
|
||||
/// TimeoutError DOMException
|
||||
Timeout,
|
||||
/// InvalidNodeTypeError DOMException
|
||||
InvalidNodeType,
|
||||
/// DataCloneError DOMException
|
||||
DataClone,
|
||||
/// NoModificationAllowedError DOMException
|
||||
|
@ -81,6 +85,7 @@ pub fn throw_dom_exception(cx: *mut JSContext, global: GlobalRef,
|
|||
Error::IndexSize => DOMErrorName::IndexSizeError,
|
||||
Error::NotFound => DOMErrorName::NotFoundError,
|
||||
Error::HierarchyRequest => DOMErrorName::HierarchyRequestError,
|
||||
Error::WrongDocument => DOMErrorName::WrongDocumentError,
|
||||
Error::InvalidCharacter => DOMErrorName::InvalidCharacterError,
|
||||
Error::NotSupported => DOMErrorName::NotSupportedError,
|
||||
Error::InUseAttribute => DOMErrorName::InUseAttributeError,
|
||||
|
@ -92,6 +97,7 @@ pub fn throw_dom_exception(cx: *mut JSContext, global: GlobalRef,
|
|||
Error::Network => DOMErrorName::NetworkError,
|
||||
Error::Abort => DOMErrorName::AbortError,
|
||||
Error::Timeout => DOMErrorName::TimeoutError,
|
||||
Error::InvalidNodeType => DOMErrorName::InvalidNodeTypeError,
|
||||
Error::DataClone => DOMErrorName::DataCloneError,
|
||||
Error::NoModificationAllowed => DOMErrorName::NoModificationAllowedError,
|
||||
Error::Type(message) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue