зеркало из https://github.com/mozilla/gecko-dev.git
dab48182aa
The DOM elements within the UA Widget Shadow DOM should have its reflectors in the UA Widget Scope. This is done by calling nsINode::IsInUAWidget() which would check its containing shadow and its UA Widget bit. To prevent JS access of the DOM element before it is in the UA Widget Shadom DOM tree, various DOM methods are set to inaccessible to UA Widget script. It would need to use the two special methods in ShadowRoot instead to insert the DOM directly into the shadow tree. MozReview-Commit-ID: Jz9iCaVIoij --HG-- extra : rebase_source : b7b17be68dcde00cfeb207cb39cf16b486f2ab02 |
||
---|---|---|
.. | ||
crashtests | ||
docs | ||
mozwebidlcodegen | ||
parser | ||
test | ||
AtomList.h | ||
BindingDeclarations.h | ||
BindingUtils.cpp | ||
BindingUtils.h | ||
Bindings.conf | ||
CallbackFunction.h | ||
CallbackInterface.cpp | ||
CallbackInterface.h | ||
CallbackObject.cpp | ||
CallbackObject.h | ||
Codegen.py | ||
Configuration.py | ||
DOMJSClass.h | ||
DOMJSProxyHandler.cpp | ||
DOMJSProxyHandler.h | ||
DOMString.h | ||
Date.cpp | ||
Date.h | ||
ErrorIPCUtils.h | ||
ErrorResult.h | ||
Errors.msg | ||
Exceptions.cpp | ||
Exceptions.h | ||
FakeString.h | ||
GenerateCSS2PropertiesWebIDL.py | ||
IterableIterator.cpp | ||
IterableIterator.h | ||
JSSlots.h | ||
Makefile.in | ||
NonRefcountedDOMObject.h | ||
Nullable.h | ||
PrimitiveConversions.h | ||
ReadableStream.h | ||
Record.h | ||
RootedDictionary.h | ||
RootedOwningNonNull.h | ||
RootedRefPtr.h | ||
SimpleGlobalObject.cpp | ||
SimpleGlobalObject.h | ||
SpiderMonkeyInterface.h | ||
StructuredClone.cpp | ||
StructuredClone.h | ||
ToJSValue.cpp | ||
ToJSValue.h | ||
TypedArray.h | ||
UnionMember.h | ||
WebIDLGlobalNameHash.cpp | ||
WebIDLGlobalNameHash.h | ||
XrayExpandoClass.h | ||
mach_commands.py | ||
moz.build | ||
nsIScriptError.idl | ||
nsScriptError.cpp | ||
nsScriptError.h | ||
nsScriptErrorWithStack.cpp |