[Webkit-unassigned] [Bug 68002] Some interface attributes do not appear on the prototype as required by WebIDL
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Sep 15 20:09:37 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=68002
--- Comment #2 from Yuta Kitamura <yutak at chromium.org> 2011-09-15 20:09:37 PST ---
For example, what should happen if you call "WebSocket.prototype.readyState" without creating a WebSocket instance?
Firefox Aurora raises a cryptic exception, which actually made me get surprised.
> MozWebSocket.prototype.readyState
[Exception... "Illegal operation on WrappedNative prototype object" nsresult: "0x8057000c (NS_ERROR_XPC_BAD_OP_ON_WN_PROTO)" location: "JS frame :: Web Console :: <TOP_LEVEL> :: line 1" data: no]
Does this match what the spec expects?
--
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