зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1609075 - Silence the getEmbedderElement error message. r=jdescottes
This error should hopefully be addressed in bug 1579042
.
Differential Revision: https://phabricator.services.mozilla.com/D61466
--HG--
extra : moz-landing-system : lando
This commit is contained in:
Родитель
6c24cec024
Коммит
43612e0dba
|
@ -532,9 +532,8 @@ const NodeActor = protocol.ActorClassWithSpec(nodeSpec, {
|
|||
// which is retrieved via Node.getEmbedderElement and doesn't return the LocalTabTargetActor.
|
||||
// We should probably work on TabDescriptor so that the LocalTabTargetActor has a descriptor,
|
||||
// and see if we can possibly move the local tab specific out of the TargetActor and have
|
||||
// the TabDescriptor expose a pure FrameTargetActor??
|
||||
// the TabDescriptor expose a pure FrameTargetActor?? (See bug 1579042)
|
||||
if (Cu.getObjectPrincipal(global) == Cu.getObjectPrincipal(dbg)) {
|
||||
dump("Ignored system principal in getEmbedderElement!\n");
|
||||
return undefined;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче