Bug 1354047 - Allocate DOMRect and DOMRectReadOnly wrappers from nursery, r=qDot
authorOlli Pettay <Olli.Pettay@helsinki.fi>
Tue, 11 Apr 2017 00:02:00 +0300
changeset 560278 9bc30bb0382636e6ae32bc3c75b673045bb395a1
parent 560277 a5b1f1d71de9f37b07fd8aa6ac80c81bfb5559a2
child 560279 ef60cbd89dd64e2dffb63c70df98deecb33c736b
push id53365
push userjichen@mozilla.com
push dateTue, 11 Apr 2017 08:35:12 +0000
reviewersqDot
bugs1354047
milestone55.0a1
Bug 1354047 - Allocate DOMRect and DOMRectReadOnly wrappers from nursery, r=qDot
dom/webidl/DOMRect.webidl
--- a/dom/webidl/DOMRect.webidl
+++ b/dom/webidl/DOMRect.webidl
@@ -15,16 +15,17 @@
              unrestricted double width, unrestricted double height)]
 interface DOMRect : DOMRectReadOnly {
     inherit attribute unrestricted double x;
     inherit attribute unrestricted double y;
     inherit attribute unrestricted double width;
     inherit attribute unrestricted double height;
 };
 
+[ProbablyShortLivingWrapper]
 interface DOMRectReadOnly {
     readonly attribute unrestricted double x;
     readonly attribute unrestricted double y;
     readonly attribute unrestricted double width;
     readonly attribute unrestricted double height;
     readonly attribute unrestricted double top;
     readonly attribute unrestricted double right;
     readonly attribute unrestricted double bottom;