www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14021] New: Chrome security, https over http

https://issues.dlang.org/show_bug.cgi?id=14021

          Issue ID: 14021
           Summary: Chrome security, https over http
           Product: D
           Version: unspecified
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: websites
          Assignee: nobody puremagic.com
          Reporter: alphaglosined gmail.com

On Chrome 39 dlang.org shows in dev console:
Uncaught SecurityError: Failed to read the 'contentDocument' property from
'HTMLIFrameElement': Blocked a frame with origin "http://dlang.org" from
accessing a frame with origin "https://platform.twitter.com".  The frame
requesting access has a protocol of "http", the frame being accessed has a
protocol of "https". Protocols must match.

Suggestion of fix, use // instead of manually specifying http:// or https://.
// is shorthand for current transport.

--
Jan 21 2015