gecko-dev/dom/xul
Boris Zbarsky 6430c24e0a Bug 1548625 part 2. Get rid of some ExposeObjectToActiveJS calls in DOM code. r=mccr8,jonco
The call in VRFrameData::LazyCreateMatrix is not needed because
aRetval.set(aArray) ends up calling into Heap::get() which does a read barrier
and exposes.

The call in nsXULPrototypeScript::Compile is not needed because initializing
the AutoJSAPI will guarantee that the global of the Realm it enters, which is
what we're examining here, will be exposed.

The call in Promise's CreateNativeHandlerFunction is not needed because the
object being passed in was always just-created into a stack Rooted.

The call in MIDIMessageEvent::GetData is not needed because it's always working
with a just-created object.  Also, mData is a Heap, so there will be a read
barrier anyway before anyone gets at the value.

The call in PrototypeDocumentContentSink::ExecuteScript is not needed because
the AutoEntryScript will guarantee that the global of the Realm it enters is
exposed.  And the JSAutoRealm is not needed either, because we're in that Realm
already.

Differential Revision: https://phabricator.services.mozilla.com/D29720

--HG--
extra : moz-landing-system : lando
2019-05-03 10:09:11 +00:00
..
crashtests Bug 1519956, remove box object related crashtests that will no longer be applicable with no box objects, r=bzbarsky 2019-03-07 17:57:12 -05:00
test Bug 1544051 - Part 3 - Scripted change to remove references to AddTask.js r=ahal 2019-04-18 16:51:01 +00:00
XULBroadcastManager.cpp Bug 1540015 - part 1: Make Document.h stop including nsIPresShell.h r=smaug 2019-03-29 15:11:04 +00:00
XULBroadcastManager.h Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug 2019-01-03 17:48:33 +01:00
XULDocument.cpp Bug 1536411 - StoragePrincipal - part 1 - Implementation, r=Ehsan 2019-04-12 05:31:32 +00:00
XULDocument.h Bug 1536411 - StoragePrincipal - part 1 - Implementation, r=Ehsan 2019-04-12 05:31:32 +00:00
XULFrameElement.cpp Bug 1440537 - SwapFrameLoaders should flush frames. r=bzbarsky 2019-04-29 18:45:03 +00:00
XULFrameElement.h Bug 1524683 - Move all nsIFrameLoaderOwner references to nsFrameLoaderOwner; r=nika 2019-02-15 22:20:53 +00:00
XULMenuElement.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
XULMenuElement.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
XULPersist.cpp Bug 1547877 - enable configuration of new XULStore implementation r=mossop 2019-05-02 23:01:57 +00:00
XULPersist.h Bug 1547877 - enable configuration of new XULStore implementation r=mossop 2019-05-02 23:01:57 +00:00
XULPopupElement.cpp Bug 1540990 - Get rid of unnecessary nsIPresShell.h inclusions r=emilio 2019-04-04 00:19:48 +00:00
XULPopupElement.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
XULTextElement.cpp Bug 1540990 - Get rid of unnecessary nsIPresShell.h inclusions r=emilio 2019-04-04 00:19:48 +00:00
XULTextElement.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
XULTooltipElement.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
XULTooltipElement.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
XULTreeElement.cpp Bug 1528199 - Make nsTreeColFrame::InvalidateColumns not flush. r=dholbert 2019-02-15 19:05:09 +00:00
XULTreeElement.h Bug 1528199 - Make nsTreeColFrame::InvalidateColumns not flush. r=dholbert 2019-02-15 19:05:09 +00:00
moz.build Bug 1533428 - patch 4 - Include chromium-config.mozbuild in the moz.build for a bunch more directories, so that IPC-related headers are available. r=jwatt 2019-04-01 14:32:44 +00:00
nsIController.idl Bug 1534370 part 1. Annotate doCommandWithParams as MOZ_CAN_RUN_SCRIPT. r=masayuki 2019-03-13 00:43:48 +00:00
nsIControllers.idl
nsXULCommandDispatcher.cpp Bug 1540990 - Get rid of unnecessary nsIPresShell.h inclusions r=emilio 2019-04-04 00:19:48 +00:00
nsXULCommandDispatcher.h Bug 1518384 - Fix some lines which depend on |using namespace mozilla| and |using namespace mozilla::dom| in Document.cpp and Element.cpp r=smaug 2019-01-08 10:15:55 +00:00
nsXULContentSink.cpp Bug 1527977 - Share XUL prototype cache with XUL and XHTML. r=smaug 2019-03-09 01:00:23 +00:00
nsXULContentSink.h Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug 2019-01-03 17:48:33 +01:00
nsXULContentUtils.cpp Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug 2019-01-03 17:48:33 +01:00
nsXULContentUtils.h Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug 2019-01-03 17:48:33 +01:00
nsXULControllers.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsXULControllers.h Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp 2018-12-01 04:52:05 +09:00
nsXULElement.cpp Bug 1548625 part 2. Get rid of some ExposeObjectToActiveJS calls in DOM code. r=mccr8,jonco 2019-05-03 10:09:11 +00:00
nsXULElement.h Bug 1547618 - Make dom use mozilla::PresShell rather than via nsIPresShell r=smaug 2019-04-30 01:35:30 +00:00
nsXULPopupListener.cpp Bug 1540990 - Get rid of unnecessary nsIPresShell.h inclusions r=emilio 2019-04-04 00:19:48 +00:00
nsXULPopupListener.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsXULPrototypeCache.cpp Bug 1546329 - Remove dead skins code. r=bzbarsky 2019-04-25 14:00:06 +02:00
nsXULPrototypeCache.h Bug 1546329 - Remove dead skins code. r=bzbarsky 2019-04-25 14:00:06 +02:00
nsXULPrototypeDocument.cpp Bug 1527977 - Share XUL prototype cache with XUL and XHTML. r=smaug 2019-03-09 01:00:23 +00:00
nsXULPrototypeDocument.h Bug 1527977 - Share XUL prototype cache with XUL and XHTML. r=smaug 2019-03-09 01:00:23 +00:00
nsXULSortService.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsXULSortService.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00