Closed Bug 863948 Opened 11 years ago Closed 11 years ago

Implement support for nullable union arguments in JS-implemented WebIDL

Categories

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

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bzbarsky, Unassigned)

References

(Blocks 1 open bug)

Details

Something seems to be confused about them being represented by pointers instead of structs:

  ../TestJSImplGenBinding.cpp:17617:13: error: member reference type 'const Nullable<mozilla::dom::ObjectOrLong>' is not a pointer
      if (!arg->ToJSVal(cx, mCallback, &argv[0])) {
This worksforme now.  I assume we fixed it sometime.  I'm uncommenting the relevant tests in bug 949271.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.