[Webkit-unassigned] [Bug 95334] Web Inspector: the URL of worker inspector window sometimes is invalid

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 31 12:29:09 PDT 2012


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


Andrey Adaikin <aandrey at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aandrey at chromium.org




--- Comment #13 from Andrey Adaikin <aandrey at chromium.org>  2012-08-31 12:29:18 PST ---
(In reply to comment #12)
> (From update of attachment 161650 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=161650&action=review
> 
> > Source/WebCore/inspector/front-end/WorkerManager.js:-164
> > -        var url = window.location.href + "&dedicatedWorkerId=" + workerId;
> 
> var url = window.location.href + (window.location.search ? "&" : "?") + "dedicatedWorkerId=" + workerId;
> 
> would keep it one liner.

FYI
provided that window.location.hash is always empty

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