mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 00:32:11 +00:00
6430c24e0a
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 |
||
---|---|---|
.. | ||
tests | ||
MIDIAccess.cpp | ||
MIDIAccess.h | ||
MIDIAccessManager.cpp | ||
MIDIAccessManager.h | ||
MIDIInput.cpp | ||
MIDIInput.h | ||
MIDIInputMap.cpp | ||
MIDIInputMap.h | ||
MIDIManagerChild.cpp | ||
MIDIManagerChild.h | ||
MIDIManagerParent.cpp | ||
MIDIManagerParent.h | ||
MIDIMessageEvent.cpp | ||
MIDIMessageEvent.h | ||
MIDIMessageQueue.cpp | ||
MIDIMessageQueue.h | ||
MIDIOutput.cpp | ||
MIDIOutput.h | ||
MIDIOutputMap.cpp | ||
MIDIOutputMap.h | ||
MIDIPermissionRequest.cpp | ||
MIDIPermissionRequest.h | ||
MIDIPlatformRunnables.cpp | ||
MIDIPlatformRunnables.h | ||
MIDIPlatformService.cpp | ||
MIDIPlatformService.h | ||
MIDIPort.cpp | ||
MIDIPort.h | ||
MIDIPortChild.cpp | ||
MIDIPortChild.h | ||
MIDIPortInterface.cpp | ||
MIDIPortInterface.h | ||
MIDIPortParent.cpp | ||
MIDIPortParent.h | ||
MIDITypes.ipdlh | ||
MIDIUtils.cpp | ||
MIDIUtils.h | ||
moz.build | ||
PMIDIManager.ipdl | ||
PMIDIPort.ipdl | ||
TestMIDIPlatformService.cpp | ||
TestMIDIPlatformService.h |