Skip to content

Commit

Permalink
Rewrite algorithm to handle sandboxes inside 'http://127.0.0.1/'
Browse files Browse the repository at this point in the history
bzbarsky@ noted in #26 that the current algorithm
does a poor job handling sandboxed contexts inside non-HTTPS secure contexts.
That is, 'about:blank' inside 'file:///usr/local/whatever' would not be
considered a secure context, as its 'HTTPS State' won't be 'modern'. The
rewrite in this patch drops the dependency on 'HTTPS State', and examines
the origin and URL instead, as appropriate.
  • Loading branch information
mikewest committed Jul 19, 2016
1 parent 43aa80c commit 4e14df5
Show file tree
Hide file tree
Showing 2 changed files with 224 additions and 165 deletions.
Loading

0 comments on commit 4e14df5

Please sign in to comment.