Closed
Bug 201323
Opened 22 years ago
Closed 22 years ago
Not packaging nsIImageDocument
Categories
(Core :: Layout, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: neil, Assigned: dbaron)
References
Details
(Keywords: regression, Whiteboard: [patch])
Attachments
(1 file)
9.29 KB,
patch
|
netscape
:
review+
jst
:
superreview+
|
Details | Diff | Splinter Review |
OK, so this is a wild guess at a component. I noticed that nsIImageDocument isn't in Components.interfaces, nor does an xpt_dump find it. This means that [object ImageDocument] isn't able to expose its imageResizingEnabled property to script, so that the context image resizing menuitem doesn't work, instead generating the following strict warning: Warning: reference to undefined property _content.document.imageResizingEnabled Source File: chrome://communicator/content/nsContextMenu.js Line: 140 Steps to reproduce problem: 1. Turn on automatic image resizing 2. Open a large image. Note that it automatically resizes 3. Right-click the image. Expected results: "Fit Image to Window" menuitem checked Actual results: No "Fit Image to Window" menuitem
Comment 1•22 years ago
|
||
The problem is that someone in layout is clobbering the .xpt file that's being generated. .xpts are named after the XPIDL_MODULE which is set in the Makefile. If XPIDL_MODULE isn't set, then MODULE is used. After some fun with find, xargs & grep, I see that both mozilla/content/html/document/public/Makefile.in & mozilla/content/xml/document/public/Makefile.in set MODULE=content but do not set XPIDL_MODULE. They will both generate content.xpt from their list of XPIDLSRCS. Whomever gets compiled last wins.
Assignee: seawood → misc
Severity: normal → critical
Component: Build Config → Layout: Misc Code
QA Contact: granrose → nobody
Assignee | ||
Comment 2•22 years ago
|
||
Here's a possible (untested) patch. I didn't add anything to embedding manifests because I don't know under what conditions we should be adding xpt files to the embedding manifests, and I don't see how embedders would need these xpts. Or should we just ship them anyway?
Updated•22 years ago
|
Attachment #119975 -
Flags: review+
Assignee | ||
Updated•22 years ago
|
Attachment #119975 -
Flags: superreview?(jst)
Comment 4•22 years ago
|
||
Comment on attachment 119975 [details] [diff] [review] patch sr=jst
Attachment #119975 -
Flags: superreview?(jst) → superreview+
Assignee | ||
Comment 5•22 years ago
|
||
Fix checked in to trunk, 2003-04-09 14:16 PDT.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Comment 6•22 years ago
|
||
*** Bug 191064 has been marked as a duplicate of this bug. ***
Comment 7•22 years ago
|
||
Verified in the 2003-04-22-08 win32 trunk builds.
Status: RESOLVED → VERIFIED
Updated•6 years ago
|
Product: Core → Core Graveyard
Updated•6 years ago
|
Component: Layout: Misc Code → Layout
Product: Core Graveyard → Core
You need to log in
before you can comment on or make changes to this bug.
Description
•