[Pkg-mozext-commits] [adblock-plus] 30/98: Issue 4406 - Treat about:srcdoc as not having an own security context, inherit document origin

David Prévot taffit at moszumanska.debian.org
Tue Oct 24 01:30:15 UTC 2017


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository adblock-plus.

commit e80214fe5dc33c778e1a67bf9f894fe73afc13fd
Author: Wladimir Palant <trev at adblockplus.org>
Date:   Mon Sep 12 13:56:49 2016 +0200

    Issue 4406 - Treat about:srcdoc as not having an own security context, inherit document origin
---
 lib/child/utils.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/child/utils.js b/lib/child/utils.js
index 07dc781..a4e6819 100644
--- a/lib/child/utils.js
+++ b/lib/child/utils.js
@@ -101,6 +101,7 @@ let getFrames = exports.getFrames = function(/**Window*/ window)
   {
     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;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus.git



More information about the Pkg-mozext-commits mailing list