[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
Wed Aug 29 06:24:06 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=95334
--- Comment #4 from Peter Wang <peter.wang at torchmobile.com.cn> 2012-08-29 06:24:08 PST ---
(In reply to comment #2)
> (From update of attachment 161203 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=161203&action=review
>
> > Source/WebCore/inspector/front-end/WorkerManager.js:166
> > + if (!search)
>
> This can be simplified:
> var url = window.location.href
> if (!search)
> url += "?";
> url += "&dedicatedWorkerId=" + workerId;
But, seems for Chromium the "window.location.href" have a '?'(In reply to comment #2)
> (From update of attachment 161203 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=161203&action=review
>
> > Source/WebCore/inspector/front-end/WorkerManager.js:166
> > + if (!search)
>
> This can be simplified:
> var url = window.location.href
> if (!search)
> url += "?";
> url += "&dedicatedWorkerId=" + workerId;
sorry.
--
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