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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 9 09:21:10 PDT 2009


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


Andrew Wilson <atwilson at chromium.org> changed:

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




--- Comment #8 from Andrew Wilson <atwilson at chromium.org>  2009-10-09 09:21:10 PDT ---
(In reply to comment #7)
> fyi: a similar bug: https://bugs.webkit.org/show_bug.cgi?id=30240

Bug 30240 has a V8 implementation of turning off attributes at runtime, so you
should be able to leverage that work.

I do think that it's the wrong approach to have an
experimentalWebSocketsEnabled() flag in Settings, because that Settings object
is not available in worker context so you can't disable WebSockets in workers.
IMO, a better approach is via some kind of global static API ala
SharedWorker.isAvailable() or MediaPlayer.isAvailable().

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