Closed
Bug 988409
Opened 11 years ago
Closed 11 years ago
Turn on Path2D by default
Categories
(Core :: Graphics: Canvas2D, defect)
Tracking
()
RESOLVED
FIXED
mozilla31
People
(Reporter: cabanier, Assigned: cabanier)
References
Details
(Keywords: dev-doc-complete)
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
See intent to ship thread: https://groups.google.com/forum/#!topic/mozilla.dev.platform/efoymZ_gk6I
Assignee | ||
Comment 1•11 years ago
|
||
Assignee: nobody → cabanier
Attachment #8397419 -
Flags: review?(roc)
Assignee | ||
Updated•11 years ago
|
Keywords: dev-doc-needed
Assignee | ||
Updated•11 years ago
|
Attachment #8397419 -
Flags: review?(roc) → review?(vladimir)
Assignee | ||
Updated•11 years ago
|
Attachment #8397419 -
Flags: review?(vladimir) → review?(dbaron)
Comment 2•11 years ago
|
||
What's up with the repeated changes with the review requestee?
Assignee | ||
Comment 3•11 years ago
|
||
(In reply to David Baron [:dbaron] (needinfo? me) (UTC-7) from comment #2)
> What's up with the repeated changes with the review requestee?
Nothing. I'm trying to find someone who will review and there was no response on IRC.
Comment on attachment 8397419 [details] [diff] [review]
Turn on Path2D by default
Review of attachment 8397419 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/tests/mochitest/general/test_interfaces.html
@@ +735,5 @@
> "PaintRequestList",
> // IMPORTANT: Do not change this list without review from a DOM peer!
> "PannerNode",
> // IMPORTANT: Do not change this list without review from a DOM peer!
> + "Path2D",
Just add pref: "canvas.path.enabled" like we do for other interfaces in this list --- and make that its own patch.
Attachment #8397419 -
Flags: review?(dbaron) → review-
Assignee | ||
Comment 5•11 years ago
|
||
(In reply to Robert O'Callahan (:roc) (Mozilla Corporation) from comment #4)
> Comment on attachment 8397419 [details] [diff] [review]
> Turn on Path2D by default
>
> Review of attachment 8397419 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> ::: dom/tests/mochitest/general/test_interfaces.html
> @@ +735,5 @@
> > "PaintRequestList",
> > // IMPORTANT: Do not change this list without review from a DOM peer!
> > "PannerNode",
> > // IMPORTANT: Do not change this list without review from a DOM peer!
> > + "Path2D",
>
> Just add pref: "canvas.path.enabled" like we do for other interfaces in this
> list --- and make that its own patch.
This patch does that too. see modules/libpref/src/init/all.js
Are you saying as I should break this in 2 patches?
Flags: needinfo?(roc)
Comment 6•11 years ago
|
||
(In reply to Rik Cabanier from comment #5)
> (In reply to Robert O'Callahan (:roc) (Mozilla Corporation) from comment #4)
> > Comment on attachment 8397419 [details] [diff] [review]
> > Turn on Path2D by default
> >
> > Review of attachment 8397419 [details] [diff] [review]:
> > -----------------------------------------------------------------
> >
> > ::: dom/tests/mochitest/general/test_interfaces.html
> > @@ +735,5 @@
> > > "PaintRequestList",
> > > // IMPORTANT: Do not change this list without review from a DOM peer!
> > > "PannerNode",
> > > // IMPORTANT: Do not change this list without review from a DOM peer!
> > > + "Path2D",
This change really needs an r+ from a DOM peer. Those comments should make that *very* clear.
Assignee | ||
Comment 7•11 years ago
|
||
(In reply to :Ehsan Akhgari (lagging on bugmail, needinfo? me!) from comment #6)
> (In reply to Rik Cabanier from comment #5)
> > (In reply to Robert O'Callahan (:roc) (Mozilla Corporation) from comment #4)
> > > Comment on attachment 8397419 [details] [diff] [review]
> > > Turn on Path2D by default
> > >
> > > Review of attachment 8397419 [details] [diff] [review]:
> > > -----------------------------------------------------------------
> > >
> > > ::: dom/tests/mochitest/general/test_interfaces.html
> > > @@ +735,5 @@
> > > > "PaintRequestList",
> > > > // IMPORTANT: Do not change this list without review from a DOM peer!
> > > > "PannerNode",
> > > > // IMPORTANT: Do not change this list without review from a DOM peer!
> > > > + "Path2D",
>
> This change really needs an r+ from a DOM peer. Those comments should make
> that *very* clear.
Ok. Who is a DOM peer?
Comment 8•11 years ago
|
||
(In reply to comment #7)
> (In reply to :Ehsan Akhgari (lagging on bugmail, needinfo? me!) from comment
> #6)
> > (In reply to Rik Cabanier from comment #5)
> > > (In reply to Robert O'Callahan (:roc) (Mozilla Corporation) from comment #4)
> > > > Comment on attachment 8397419 [details] [diff] [review]
> > > > Turn on Path2D by default
> > > >
> > > > Review of attachment 8397419 [details] [diff] [review]:
> > > > -----------------------------------------------------------------
> > > >
> > > > ::: dom/tests/mochitest/general/test_interfaces.html
> > > > @@ +735,5 @@
> > > > > "PaintRequestList",
> > > > > // IMPORTANT: Do not change this list without review from a DOM peer!
> > > > > "PannerNode",
> > > > > // IMPORTANT: Do not change this list without review from a DOM peer!
> > > > > + "Path2D",
> >
> > This change really needs an r+ from a DOM peer. Those comments should make
> > that *very* clear.
> Ok. Who is a DOM peer?
Please see the full list of owners and peers here: <https://wiki.mozilla.org/Modules/Core#Document_Object_Model>
Assignee | ||
Comment 9•11 years ago
|
||
Comment on attachment 8397419 [details] [diff] [review]
Turn on Path2D by default
Thanks.
Adding Boris as an additional reviewer since this adds a user facing object.
Attachment #8397419 -
Flags: review?(bzbarsky)
Comment 10•11 years ago
|
||
Comment on attachment 8397419 [details] [diff] [review]
Turn on Path2D by default
This seems fine assuming we've decided on the name for sure.
I think what roc meant was changing the test to this:
{ name: "Path2D", pref: "canvas.path.enabled" },
so that it would not need to be modified again if we have to disable for some reason: it would just know that the name should be there if and only if the pref is set.
Attachment #8397419 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 11•11 years ago
|
||
(In reply to Boris Zbarsky [:bz] from comment #10)
> Comment on attachment 8397419 [details] [diff] [review]
> Turn on Path2D by default
>
> This seems fine assuming we've decided on the name for sure.
WebKit has the new name and Blink just approved the new name for shipping so I think we're good :-)
> I think what roc meant was changing the test to this:
>
> { name: "Path2D", pref: "canvas.path.enabled" },
ah. I didn't know that was possible. Thanks, I will update the patch.
Assignee | ||
Comment 12•11 years ago
|
||
Attachment #8397419 -
Attachment is obsolete: true
Attachment #8399791 -
Flags: review?(roc)
Flags: needinfo?(roc)
Assignee | ||
Comment 13•11 years ago
|
||
Attachment #8399791 -
Flags: review?(roc) → review+
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 14•11 years ago
|
||
Keywords: checkin-needed
Comment 15•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
Assignee | ||
Comment 16•11 years ago
|
||
See http://blogs.adobe.com/webplatform/2014/04/01/new-canvas-features/ for a description of the feature.
Comment 17•10 years ago
|
||
See bug 830734 comment 67 for MDN docs.
Keywords: dev-doc-needed → dev-doc-complete
You need to log in
before you can comment on or make changes to this bug.
Description
•