Created attachment 726515 [details] [diff] [review] Fix. When using the example code generator it generates example code using the WebIDL interface name as the class name etc instead of using the native type name available to it. This makes it harder to cut n' paste the generated example code and use that as a starting point for writing the actual class.
Attachment #726515 - Flags: review?(bzbarsky)
Comment on attachment 726515 [details] [diff] [review] Fix. >+ "nativeType": self.descriptor.nativeType } Shouldn't that also use self.descriptor.nativeType.split('::')[-1]? r=me with that
Attachment #726515 - Flags: review?(bzbarsky) → review+
Created attachment 726774 [details] [diff] [review] Updated fix. This fixes the issue pointed out by bz, in all places for now (per irc discussion).
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.