- From: Dan Burnett <dburnett@voxeo.com>
- Date: Mon, 1 Aug 2011 16:17:53 -0400
- To: spec-prod@w3.org
Hi. I'm a new user of ReSpec.js, having started with it last week as the framework for the WebRTC specification. I've run into a couple of WebIDL items I can't seem to figure out and wondered if anyone on this list might be able to help. They are: 1) Specifying a "partial interface" seems to result in a failure. In particular, specifying partial interface URL { static DOMString createObjectURL(in MediaStream stream); }; as <dl title='partial interface URL' class='idl'> <dt>static DOMString createObjectURL (in MediaStream stream)</dt> <dd>Text description here</dd> </dl> gives me the following error: • Expected definition, got: partial interface URL • Processing error: [Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIDOMDocumentFragment.appendChild]" nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)" location: "JS frame :: file:///Users/burn/Documents/webrtc/2009/dap/ReSpec.js/js/respec.js :: anonymous :: line 1976" data: no] Are partial interfaces not supported? 2) I would like to provide a text description for the constructor method ("new Blah") itself, but I haven't yet found a way. Has anyone else figured out a way to get the constructor itself to show up in the list of methods, with a way to provide descriptive text for it? For example, using the extended attribute example in the WebIDL testing document (http://dev.w3.org/2009/dap/ReSpec.js/test-spec/webidl.html#extended-attribute), if I wanted to provide a description of the behavior of "new Dahut" along with the IDL, how would I? -- Dan Burnett
Received on Monday, 1 August 2011 20:18:27 UTC