Closed
Bug 386744
Opened 18 years ago
Closed 18 years ago
"View Image" on <canvas> throws "Error: uncaught exception: Load of denied."
Categories
(Firefox :: Menus, defect)
Firefox
Menus
Tracking
()
VERIFIED
FIXED
Firefox 3 alpha7
People
(Reporter: ispiked, Assigned: Dolske)
References
Details
Attachments
(1 file, 1 obsolete file)
|
1.54 KB,
patch
|
Details | Diff | Splinter Review |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a7pre) Gecko/2007070304 Minefield/3.0a7pre
Steps to reproduce:
1. Go to http://polyhedra.org/poly/.
2. Right click on the polyhedra on the right side of the page and choose "View Image".
Actual results:
Nothing happens. No image is shown and I get the following error in the Error Console:
Error: uncaught exception: Load of denied.
Expected results:
Image is shown on separate page, as is done for normal images.
From IRC:
13:17 < dolske> the original should have added some code to viewImage() like it did to saveImage().
| Assignee | ||
Comment 1•18 years ago
|
||
The patch in bug 346849 which added this feature added code to allow "View Image" and "Save Image As" menu items on a <canvas>, but only implemented the "Save Image As" code.
This patch implements the "View Image" side of things.
[Currently awaiting a build to complete before testing, but seems simple enough.]
| Assignee | ||
Updated•18 years ago
|
OS: Windows XP → All
Hardware: PC → All
Target Milestone: --- → Firefox 3 beta1
Comment 2•18 years ago
|
||
Comment on attachment 270752 [details] [diff] [review]
Patch for review, v.1
declare viewURL outside the if block and remove single line braces.
r=mano otherwise.
Attachment #270752 -
Flags: review?(mano) → review+
| Assignee | ||
Comment 3•18 years ago
|
||
Checking in browser/base/content/nsContextMenu.js;
/cvsroot/mozilla/browser/base/content/nsContextMenu.js,v <-- nsContextMenu.js
new revision: 1.16; previous revision: 1.15
done
Attachment #270752 -
Attachment is obsolete: true
| Assignee | ||
Updated•18 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Comment 4•18 years ago
|
||
Litmus would be easiest here, although it could be automated with some trouble.
Flags: in-testsuite?
| Reporter | ||
Updated•18 years ago
|
Flags: in-testsuite? → in-litmus?
Updated•18 years ago
|
Whiteboard: litmus owner needed
Comment 5•18 years ago
|
||
Litmus Triage Team: marcia will handle test case.
Comment 6•18 years ago
|
||
https://litmus.mozilla.org/show_test.cgi?id=5009 has been added to cover this scenario.
Flags: in-litmus? → in-litmus+
Whiteboard: litmus owner needed
Comment 7•18 years ago
|
||
verified fixed using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b2pre) Gecko/2007120305 Minefield/3.0b2pre and Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9b2pre) Gecko/2007120304 Minefield/3.0b2pre.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•