Closed Bug 755636 Opened 13 years ago Closed 13 years ago

Implement a dom::Sequence for sequence arguments, so that we don't have to expose details about fallibility and auto-arrayness.

Categories

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

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla15

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

(Blocks 1 open bug)

Details

Attachments

(2 files, 3 obsolete files)

      No description provided.
There is a part 2 coming up which adds some tests and fixes the various sequence codegen bugs those tests uncovered.
Attachment #624975 - Flags: review?(peterv)
Note that the XXXbz comment is part of what part 2 will need to deal with...
Comment on attachment 624975 [details] [diff] [review]
part 1.  Convert sequence argument codegen to dom::Sequence.

And actually, I think I can make this better.
Attachment #624975 - Flags: review?(peterv) → review-
OK, this is a bit better.  Please do let me know whether you prefer the holder approach here or the Constifier approach from the first patch?
Attachment #625013 - Flags: review?(peterv)
Attachment #625015 - Flags: review?(peterv)
Attachment #625013 - Attachment is obsolete: true
Attachment #625013 - Flags: review?(peterv)
Attachment #625211 - Flags: review?(peterv)
Attachment #625015 - Attachment is obsolete: true
Attachment #625015 - Flags: review?(peterv)
Attachment #624975 - Attachment is obsolete: true
Attachment #625212 - Flags: review?(peterv)
Depends on: 755080
Whiteboard: [need review]
Comment on attachment 625211 [details] [diff] [review]
Part 1 with some comments fixed too

Review of attachment 625211 [details] [diff] [review]:
-----------------------------------------------------------------

::: content/canvas/src/WebGLContextGL.cpp
@@ +4442,5 @@
>      return NS_OK;                                                               \
>  }                                                                               \
>  void                                                                            \
>  WebGLContext::name##_base(WebGLUniformLocation *location_object,                \
> +                        uint32_t arrayLength, const ptrType* data) {                  \

Line up \ (here and in the other lines you changed).
Attachment #625211 - Flags: review?(peterv) → review+
> Line up \ (here and in the other lines you changed).

Done.
Attachment #625212 - Flags: review?(peterv) → review+
http://hg.mozilla.org/mozilla-central/rev/9d354b418ea7
http://hg.mozilla.org/mozilla-central/rev/9f4b10b1ff45
Status: NEW → RESOLVED
Closed: 13 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Whiteboard: [need review]
Target Milestone: --- → mozilla15
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: