[Webkit-unassigned] [Bug 29896] Runtime configurable WebSocket code is detectable when turned off

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 29 19:00:40 PDT 2009


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





--- Comment #2 from Fumitoshi Ukai <ukai at chromium.org>  2009-09-29 19:00:40 PDT ---
(In reply to comment #0)
> The runtime switch for WebSockets that was added in
> https://bugs.webkit.org/show_bug.cgi?id=28941 does not sufficiently hide
> WebSockets from developer detection techniques.  For instance, ("WebSocket" in
> window) will return true.  This can be seen as a noticeable regression in
> LayoutTests/fast/dom/Window/window-properties-expected.txt as it now has a
> window.WebSocket [undefined] line.

Hmm, I'll try to fix it. could you give me a hint what function/method is used
for '"WebSocket" in window'?

> This should either be fixed shortly or the patch that introduced this behavior
> should be rolled out as we don't want early adopters using the nightly builds
> trying to use feature detection for WebSockets and getting bad results.

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