summaryrefslogtreecommitdiffstats
path: root/docshell/test/browser/Bug1622420Child.jsm
blob: 69a8f88e09766e178db40e7927798acc07c272ed (plain)
1
2
3
4
5
6
7
8
9
10
11
var EXPORTED_SYMBOLS = ["Bug1622420Child"];

class Bug1622420Child extends JSWindowActorChild {
  receiveMessage(msg) {
    switch (msg.name) {
      case "hasWindowContextForTopBC":
        return !!this.browsingContext.top.currentWindowContext;
    }
    return null;
  }
}