[Webkit-unassigned] [Bug 112042] New: Unsafe JavaScript attempt errors are ludicrously verbose and annoying

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 11 11:09:32 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=112042

           Summary: Unsafe JavaScript attempt errors are ludicrously
                    verbose and annoying
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: timothy at apple.com


Unsafe JavaScript attempt to access frame with URL http://www.theverge.com/ from frame with URL http://ad.doubleclick.net/adi/N6249.529834.VOXMEDIAINC/B7379039.33;sz=728x90;click1=http://ox-d.sbnation.com/w/1.0/rc?ts=1fHNpZD05MjMxfHJhaWQ9OGU2OTllZDktMjE4Ny00YjM2LTg3ZjgtMzUyNTVjMjRkYzJifGF1aWQ9MzIxMDkxfGFpZD05MjY0MzF8cHViPTg5NDF8bGlkPTU1MzEyMnx0PTV8cmlkPWY2ZDFlODFjLTY3MDktNGQyMy1iZjQ2LTU3NDY5ZDc5MTRhN3xvaWQ9MTYwMTgyfGJtPUJVWUlORy5HVUFSQU5URUVERVhDTFVTSVZFfHBjPVVTRHxwPTEwMDAwMHxhYz1VU0R8cG09UFJJQ0lORy5DUE18cnQ9MTM2MzAyMzc0OXxwcj0xMDAwMDB8YWR2PTY3NjA4&r=;ord=FJAJyrczhF?. Domains, protocols and ports must match.

We should simplify these errors by not including the whole URL and on only show the "domains, protocols and ports" since that is all that matters.

The offending frame URL (and better yet, specific script and line) should be included as meta data so the Inspector can show it and prettify the URL like other messages. Including the URLs in the messages is just meh and asking for a bad user experience. Especially since doubleclick.net keeps trying to be "evil" in 2013…

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list