| Index: lib/child/utils.js |
| =================================================================== |
| --- a/lib/child/utils.js |
| +++ b/lib/child/utils.js |
| @@ -96,16 +96,17 @@ let getFrames = exports.getFrames = func |
| } |
| // URLs like about:blank inherit their security context from upper-level |
| // frames, resolve their URLs accordingly. |
| for (let i = frames.length - 2; i >= 0; i--) |
| { |
| let frame = frames[i]; |
| if (frame.location == "about:blank" || frame.location == "moz-safe-about:blank" || |
| + frame.location == "about:srcdoc" || |
| Utils.netUtils.URIChainHasFlags(Utils.makeURI(frame.location), Ci.nsIProtocolHandler.URI_INHERITS_SECURITY_CONTEXT)) |
| { |
| frame.location = frames[i + 1].location; |
| } |
| } |
| return frames; |
| }; |