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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 12 04:24:45 PDT 2013


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


Mike West <mkwst at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|webkit-unassigned at lists.web |mkwst at chromium.org
                   |kit.org                     |




--- Comment #1 from Mike West <mkwst at chromium.org>  2013-03-12 04:27:11 PST ---
Thanks for CCing me, Alexey!

Yes, these messages are a bit verbose. We're currently dealing with it by ellipsizing the middle of the URL to get the whole thing down to ~150 characters, but I agree that we can do better.

Honestly, in most cases the error is useless. Bug 43504 and its children will fix half the problem (we're not throwing a catchable exception), the other half is proving problematic (I've yet to find a solution to bug 98050 that doesn't introduce significant performance regressions). Regardless, I think those bugs cover the long-term solution.

For the short-term, I'm fairly certain that we're already linking correctly to the line of script that tried to access location information by auto-generating a stack trace. I'll see what I can do about adjusting the console message to include a more minimal message. The suggestion to include only the bits that don't match up sounds quite reasonable.

-- 
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