mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
Issue #1885 - Follow-up: Update error message if invalid rootMargin specified.
This commit is contained in:
parent
e5962d9f4c
commit
4dace76a04
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ DOMIntersectionObserver::Constructor(const mozilla::dom::GlobalObject& aGlobal,
|
|||
|
||||
if (!observer->SetRootMargin(aOptions.mRootMargin)) {
|
||||
aRv.ThrowDOMException(NS_ERROR_DOM_SYNTAX_ERR,
|
||||
NS_LITERAL_CSTRING("rootMargin must be specified in pixels or percent."));
|
||||
NS_LITERAL_CSTRING("rootMargin must be a valid absolute or percent length."));
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue