[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
Mon Sep 3 02:17:35 PDT 2012


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





--- Comment #16 from Peter Wang <peter.wang at torchmobile.com.cn>  2012-09-03 02:17:46 PST ---
(In reply to comment #13)
> (In reply to comment #12)
> > (From update of attachment 161650 [details] [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

Thx. Yes, window.location.hash is a problem.

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