Closed
Bug 339722
Opened 18 years ago
Closed 18 years ago
enable canvas by default for the 1.8 branch, but disable it for mail and minimo (and gtk1, oops!)
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: moco, Assigned: moco)
References
()
Details
Attachments
(3 files)
46.31 KB,
image/jpeg
|
Details | |
2.43 KB,
patch
|
benjamin
:
review+
benjamin
:
approval-branch-1.8.1+
|
Details | Diff | Splinter Review |
625 bytes,
patch
|
robert.strong.bugs
:
review+
rhelmer
:
superreview+
|
Details | Diff | Splinter Review |
fix build config so that if anti-phishing is enabled, canvas is enabled in my ff 2.0 / 1.8 branch build the anti-phishing feature doesn't work. I get a grey page, and then the browser doesn't work properly (see attached screen shot). In my console I get: ************************************************************ * Call to xpconnect wrapped JSObject produced this error: * [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VAL UE) [nsIDOMHTMLCanvasElement.getContext]" nsresult: "0x80070057 (NS_ERROR_ILLEG AL_VALUE)" location: "JS frame :: file:///c:/builds/bonecho/mozilla/ff-debug/di st/bin/components/nsSafebrowsingApplication.js :: anonymous :: line 3047" data: no] ************************************************************ Tony tells me the problem is that I need to build with canvas enabled. he suggested we make it so if anti-phishing / safe browsing is enabled, canvas is enabled. note: Safe Browsing works fine with the official bon echo builds.
Assignee | ||
Comment 1•18 years ago
|
||
Comment 2•18 years ago
|
||
I coulda sworn I made canvas/svg on-by-default on the 1.8branch (they are on-by-default on trunk). warning/erroring during configure is good: having safe-browsing implying canvas enabled is bad.
Assignee | ||
Comment 3•18 years ago
|
||
chatting with bsmedberg over irc, the right thing to do is follow what he did on the trunk (both enabling MOZ_ENABLE_CANVAS (see http://lxr.mozilla.org/mozilla/source/configure.in#4002) but then disabling it for things like minimo.
Assignee | ||
Comment 4•18 years ago
|
||
updating summary. following what bsmedberg did for #311198 thanks to bsmedberg for the guidance. patch coming...
Status: NEW → ASSIGNED
Depends on: 311198
Summary: fix build config so that if anti-phishing is enabled, canvas is enabled → enable canvas by default for the 1.8 branch, but disable it for mail and minimo
Assignee | ||
Comment 5•18 years ago
|
||
rebuilding with this one now...
Assignee | ||
Updated•18 years ago
|
Attachment #223854 -
Flags: review?(benjamin)
Assignee | ||
Comment 6•18 years ago
|
||
> rebuilding with this one now...
my patch built fine, just waiting for a review from bsmedberg,
note, the poor man's solution to this is to just do --enable-canvas in your mozconfig, but I think it should be enabled by default (for ff) since safe browsing is also enabled by default.
Updated•18 years ago
|
Attachment #223854 -
Flags: review?(benjamin)
Attachment #223854 -
Flags: review+
Attachment #223854 -
Flags: approval-branch-1.8.1+
Assignee | ||
Comment 7•18 years ago
|
||
I plan on landing later tonight / tomorrow, as soon as I know I'll be around to watch tbox and deal with any problems.
Whiteboard: [will land ASAP]
Assignee | ||
Comment 8•18 years ago
|
||
fix landed on the 1.8 branch. this change is not necessary on the trunk, as bsmedberg already made a similar (but different) change to mozilla/configure.in on the trunk.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Whiteboard: [will land ASAP]
Assignee | ||
Comment 9•18 years ago
|
||
Attachment #224149 -
Flags: review?
Assignee | ||
Updated•18 years ago
|
Summary: enable canvas by default for the 1.8 branch, but disable it for mail and minimo → enable canvas by default for the 1.8 branch, but disable it for mail and minimo (and gtk1, oops!)
Assignee | ||
Updated•18 years ago
|
Attachment #224149 -
Flags: superreview?(benjamin)
Attachment #224149 -
Flags: review?(robert.bugzilla)
Attachment #224149 -
Flags: review?
Updated•18 years ago
|
Attachment #224149 -
Flags: review?(robert.bugzilla) → review+
Updated•18 years ago
|
Attachment #224149 -
Flags: superreview?(benjamin) → superreview+
Updated•6 years ago
|
Component: Build Config → General
Product: Firefox → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•