Closed
Bug 517557
Opened 15 years ago
Closed 15 years ago
Get rid of --enable-canvas
Categories
(Core :: Graphics: Canvas2D, defect)
Core
Graphics: Canvas2D
Tracking
()
RESOLVED
FIXED
mozilla1.9.3a1
People
(Reporter: vlad, Assigned: vlad)
References
Details
Attachments
(2 files)
(deleted),
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Callek
:
review+
|
Details | Diff | Splinter Review |
Canvas is a pretty core part of the platform now; --enable-canvas doesn't make sense any more. This also gets rid of --enable-webgl as well, as it has a pref and doesn't have any non-core-OS link-time dependencies (and causes some problems on platforms where it's not supported).
Attachment #401523 -
Flags: review?(roc)
Assignee | ||
Updated•15 years ago
|
Attachment #401523 -
Flags: review?(roc) → review?(ted.mielczarek)
Comment 1•15 years ago
|
||
Comment on attachment 401523 [details] [diff] [review]
remove --enable-canvas
[Checkin: Comment 2]
I mentioned this in bug 513924 comment 17, it's good to get rid of stuff that doesn't make sense anymore.
--- a/dom/interfaces/canvas/Makefile.in
+XPIDLSRCS = \
+ nsIDOMCanvasRenderingContext2D.idl \
+ nsICanvasRenderingContextWebGL.idl \
+ $(NULL)
Nix the tabs, just use two-space indent here.
Looks fine otherwise.
Attachment #401523 -
Flags: review?(ted.mielczarek) → review+
Assignee | ||
Comment 2•15 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/0544b8fb6531
Crap, missed the tabs comment -- will fix that next time I touch this file.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 3•15 years ago
|
||
I disagree. I think it should be possible to disable this. I think <canvas> is against the idea of the web (procedural DrawLine() instead of semantic markup <strong>test</strong>), and many people dislike Flash. I must be able to remove this from the build, if I don't like it. There may also be custom distributions or mini/special browsers which don't need it and don't want it.
Also, I have serious security concerns about WebGL. I read there's a pref, but I'd rather not have this in the build at all.
Please keep the build flags. REOPEN.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 4•15 years ago
|
||
This bug is called "get rid of", and this is clearly fixed. I filed a new bug 517659 to re-add the flags.
Status: REOPENED → RESOLVED
Closed: 15 years ago → 15 years ago
Resolution: --- → FIXED
Updated•15 years ago
|
Assignee: nobody → vladimir
Updated•15 years ago
|
Target Milestone: --- → mozilla1.9.3a1
Version: unspecified → Trunk
Comment 5•15 years ago
|
||
Attachment #429321 -
Flags: review?(bugspam.Callek)
Comment 6•15 years ago
|
||
Serge, I think it's rather silly to *require* an email client to have <canvas> support in HTML mails.
Comment 7•15 years ago
|
||
Actually, Serge, should be a new bug.
Comment 8•15 years ago
|
||
Comment on attachment 429321 [details] [diff] [review]
(Bv1-CC) Port it to comm-central
[Checkin: Comment 11]
(In reply to comment #7)
> Actually, Serge, should be a new bug.
I agree on should be a new bug, but since we are here.
I am with ted (and his comments in other bug). for m-c. and as for c-c I don't see ANY reason to keep unsupported options around.
Attachment #429321 -
Flags: review?(bugspam.Callek) → review+
Comment 9•15 years ago
|
||
> keep unsupported options around
The point is that they must be supported. I don't want OpenGL in emails or even RSS feeds!
Comment 10•15 years ago
|
||
(or <canvas> or plugins or whatever)
Comment 11•15 years ago
|
||
Comment on attachment 429321 [details] [diff] [review]
(Bv1-CC) Port it to comm-central
[Checkin: Comment 11]
http://hg.mozilla.org/comm-central/rev/adcc3e59475b
Attachment #429321 -
Attachment description: (Bv1-CC) Port it to comm-central → (Bv1-CC) Port it to comm-central
[Checkin: Comment 11]
Updated•15 years ago
|
Attachment #401523 -
Attachment description: remove --enable-canvas → remove --enable-canvas
[Checkin: Comment 2]
Updated•15 years ago
|
Blocks: C192ConfSync
Comment 13•15 years ago
|
||
(In reply to comment #6)
> Serge, I think it's rather silly to *require* an email client to have <canvas>
> support in HTML mails.
Maybe. Yet I'm just synchronizing with Core, which I can't override(!)...
(In reply to comment #7)
> Actually, Serge, should be a new bug.
Indeed: in this case, I just missed to use bug 534522 which I had filed previously :-/
Comment 14•15 years ago
|
||
> Yet I'm just synchronizing with Core, which I can't override(!)...
OK, then I'm reopening this.
It can't be that I'm required to allow OpenGL and whatnot when reading RSS feeds, with no way to disable it.
Guys, HTML is a *semantic* language. I must be able to use Gecko as HTML renderer, without also getting purely presentational (and flashy) things like OpenGL. OpenGL and canvas has absolutely no business in HTML emails, blogs and similar places where I just want to have text with bulleted lists and links. That "we define what the web platform is" is totally irrelevant for Thunderbird and many other applications which embed Gecko for rendering rich text.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 15•15 years ago
|
||
On, and on the mail/ check-in: based on which capability was this reviewed? Called is not a mail reviewer.
https://developer.mozilla.org/en/Mailnews_and_Mail_code_review_requirements
Assignee | ||
Comment 16•15 years ago
|
||
Gecko is an HTML5 renderer, which happens to include things like Canvas, Video, and Audio. If you don't want canvas in "HTML emails, blogs, and similar places", then you need to filter the content in those things, because then they're not "HTML".
This bug is RESOLVED FIXED, and please stop spamming this bug further.
Status: REOPENED → RESOLVED
Closed: 15 years ago → 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•