Bug 1603209 - Expose FrameLoader::IsRemoteFrame() to chrome privileged JS r=farre

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

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Julian Descottes 2019-12-18 18:27:47 +00:00
parent 634d236f08
commit 35f5405f7a

View File

@ -48,6 +48,11 @@ interface FrameLoader {
[Pure]
readonly attribute boolean depthTooGreat;
/**
* Find out whether the loader's frame is a remote frame.
*/
readonly attribute boolean isRemoteFrame;
/**
* Activate remote frame.
* Throws an exception with non-remote frames.