Closed Bug 319300 Opened 19 years ago Closed 16 years ago

Canvas doesn't work in Win32 installer builds

Categories

(SeaMonkey :: Installer, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
seamonkey2.0a1

People

(Reporter: levertond, Unassigned)

References

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20051203 SeaMonkey/1.5a
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20051203 SeaMonkey/1.5a

The canvas tar doesn't work in installer builds on Windows - any attempt by script to draw something results in "[method call] is not a function" in the JavaScript console.  It does work in the ZIP builds.

Reproducible: Always

Steps to Reproduce:
1. Use a Win32 installer build of SeaMonkey.
2. Visit a page the uses canvas.

Actual Results:  
Nothing happens.

Expected Results:  
Display some kind of animation or graphic.
Forgot to add, copying components/dom_canvas.xpt from the ZIP build to the Installer build seems to fix it.
<http://rig.vlad1.com/~vladimir/canvas/cdemo1.html>
(now) gives
{{
Not Found

The requested URL /~vladimir/canvas/cdemo1.html was not found on this server.
Apache/2.2.3 (CentOS) Server at rig.vlad1.com Port 80
}}

***

[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20051212 SeaMonkey/1.5a] (nightly) (W2Ksp4)

Confirming:
with <http://developer.mozilla.org/samples/raycaster/RayCaster.html>

.Zip:
Works fine.

.Exe:
Misses <dom_canvas.xpt>, no canvas, and repetitive
{{
Error: this.canvas.clearRect is not a function
Source File: http://developer.mozilla.org/samples/raycaster/RayCaster.js
Line: 286
}}
Status: UNCONFIRMED → NEW
Ever confirmed: true
Target Milestone: --- → seamonkey2.0alpha
Version: unspecified → Trunk
Based on
<http://bonsai.mozilla.org/cvsblame.cgi?file=/mozilla/suite/installer/windows/packages&rev=1.55&mark=110#102>
this was fixed by bug 351917 attachment 260915 [details] [diff] [review].

R.Fixed
Status: NEW → RESOLVED
Closed: 16 years ago
Depends on: 351917
Resolution: --- → FIXED
(In reply to comment #3)
> this was fixed by bug 351917 attachment 260915 [details] [diff] [review].

(Maybe it had already been solved in the non-NSIS installer ? Anyway.)

> R.Fixed

[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9pre) Gecko/2008042302 SeaMonkey/2.0a1pre] (nightly) (W2Ksp4)

.Zip and .Exe:
Have "global" <browser.xpt>, work fine.
Component: Installer: XPI Packages → Installer
QA Contact: general
You need to log in before you can comment on or make changes to this bug.