diff options
-rw-r--r-- | dom/base/DOMIntersectionObserver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/base/DOMIntersectionObserver.cpp b/dom/base/DOMIntersectionObserver.cpp index fb6315cc42..7ee1a4c938 100644 --- a/dom/base/DOMIntersectionObserver.cpp +++ b/dom/base/DOMIntersectionObserver.cpp @@ -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; } |