Closed Bug 779573 Opened 12 years ago Closed 12 years ago

Empty string as default dictionary member in WebIDL causes compilation to fail.

Categories

(Core :: DOM: Core & HTML, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla17

People

(Reporter: wchen, Assigned: wchen)

References

Details

Attachments

(1 file)

dictionary NotificationOptions {
  DOMString lang = "";
};

Generates in the bindings:

static const PRUnichar data[] = { , 0 };

This causes compilation to fail.
Summary: Empty string as default dictionary member causes compilation to fail. → Empty string as default dictionary member in WebIDL causes compilation to fail.
Keywords: checkin-needed
Blocks: 771636
https://hg.mozilla.org/mozilla-central/rev/71531b2ece95
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: