Closed
Bug 801712
Opened 12 years ago
Closed 12 years ago
Convert ImageData to WebIDL
Categories
(Core :: Graphics: Canvas2D, defect)
Tracking
()
RESOLVED
FIXED
mozilla19
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
Details
Attachments
(3 files, 1 obsolete file)
(deleted),
patch
|
peterv
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
peterv
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
peterv
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #671489 -
Flags: review?(peterv)
Assignee | ||
Comment 2•12 years ago
|
||
Attachment #671490 -
Flags: review?(peterv)
Assignee | ||
Comment 3•12 years ago
|
||
Attachment #671491 -
Flags: review?(peterv)
Comment 4•12 years ago
|
||
Comment on attachment 671490 [details] [diff] [review] part 2. Switch ImageData to WebIDL bindings. Review of attachment 671490 [details] [diff] [review]: ----------------------------------------------------------------- ::: js/xpconnect/src/dom_quickstubs.qsconf @@ -963,5 @@ > 'unwrapThisFailureFatal' : False > - }, > - 'nsIDOMImageData_GetWidth': { > - 'thisType': 'nsIDOMImageData', > - 'code': 'uint32_t result = static_cast<mozilla::dom::ImageData*>(self)->GetWidth();', This code is busted between part 1 and 2?
Assignee | ||
Comment 5•12 years ago
|
||
> This code is busted between part 1 and 2?
Er, yes. I'll add a bit to part 1 to fix that.
Assignee | ||
Comment 6•12 years ago
|
||
Attachment #671639 -
Flags: review?(peterv)
Assignee | ||
Updated•12 years ago
|
Attachment #671490 -
Attachment is obsolete: true
Attachment #671490 -
Flags: review?(peterv)
Assignee | ||
Updated•12 years ago
|
Attachment #671639 -
Attachment description: With the imagedata classinfo really gone → Part 2 with the imagedata classinfo really gone
Assignee | ||
Comment 7•12 years ago
|
||
Note to self: this causes a single test failure due to bug 742191 because unwrapping WebIDL objects don't throw a TypeError yet.
Depends on: 742191
Updated•12 years ago
|
Attachment #671489 -
Flags: review?(peterv) → review+
Comment 8•12 years ago
|
||
Comment on attachment 671639 [details] [diff] [review] Part 2 with the imagedata classinfo really gone Review of attachment 671639 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/base/nsJSEnvironment.cpp @@ +3838,5 @@ > + > + // Write the internals to the stream. > + return JS_WriteUint32Pair(writer, SCTAG_DOM_IMAGEDATA, 0) && > + JS_WriteUint32Pair(writer, width, height) && > + JS_WriteTypedArray(writer, dataArray); Keep the JS_* lined up.
Attachment #671639 -
Flags: review?(peterv) → review+
Updated•12 years ago
|
Attachment #671491 -
Flags: review?(peterv) → review+
Assignee | ||
Comment 9•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/c97738963229 https://hg.mozilla.org/integration/mozilla-inbound/rev/c8ad798b2ced https://hg.mozilla.org/integration/mozilla-inbound/rev/982da0cd2711
Flags: in-testsuite-
Whiteboard: [need review]
Target Milestone: --- → mozilla19
Comment 10•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/c97738963229 https://hg.mozilla.org/mozilla-central/rev/c8ad798b2ced https://hg.mozilla.org/mozilla-central/rev/982da0cd2711
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•