12 lines
276 B
JavaScript
12 lines
276 B
JavaScript
var EXPORTED_SYMBOLS = ["Bug1622420Child"];
|
|
|
|
class Bug1622420Child extends JSWindowActorChild {
|
|
receiveMessage(msg) {
|
|
switch (msg.name) {
|
|
case "hasWindowContextForTopBC":
|
|
return !!this.browsingContext.top.currentWindowContext;
|
|
}
|
|
return null;
|
|
}
|
|
}
|