Closed
Bug 54224
Opened 25 years ago
Closed 13 years ago
Assertion when loading a plugin from XUL in chrome
Categories
(Core Graveyard :: Plug-ins, defect, P3)
Tracking
(Not tracked)
RESOLVED
INVALID
Future
People
(Reporter: DavidA, Assigned: waterson)
References
()
Details
Attachments
(2 files)
300 bytes,
text/plain
|
Details | |
692 bytes,
patch
|
Details | Diff | Splinter Review |
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
BuildID: 2000091312
Attached XUL file, if used with our plugin (but, IIRC, also w/ the Sample
plugin), I get an assertion saying "don't do that".
Reproducible: Always
Steps to Reproduce:
1. Put attached XUL in chrome
2. load XUL with a chrome:// URL
Actual Results: Assertion.
Traceback:nsDebug::Assertion(const char * 0x010f4b24, const char * 0x100c6474,
const
char * 0x010f4ae8, int 312) line 256 + 13 bytes
nsDebug::NotReached(const char * 0x010f4b24, const char * 0x010f4ae8, int
312) line 414 + 22 bytes
nsCachedChromeChannel::GetContentLength(nsCachedChromeChannel * const
0x02c71380, int * 0x0012fb2c) line 312 + 21 bytes
nsPluginStreamListenerPeer::OnStartRequest(nsPluginStreamListenerPeer *
const 0x02c71430, nsIChannel * 0x02c71380, nsISupports * 0x00000000) line
1176 + 16 bytes
nsCachedChromeChannel::HandleStartLoadEvent(PLEvent * 0x02c71110) line 515
PL_HandleEvent(PLEvent * 0x02c71110) line 575 + 10 bytes
PL_ProcessPendingEvents(PLEventQueue * 0x00559910) line 508 + 9 bytes
_md_EventReceiverProc(HWND__ * 0x002a0234, unsigned int 49633, unsigned
int 0, long 5609744) line 1044 + 9 bytes
USER32! 77e13eb0()
USER32! 77e1401a()
USER32! 77e192da()
%0
Reporter | ||
Comment 1•25 years ago
|
||
Reporter | ||
Comment 2•25 years ago
|
||
It's possible that we're doing something wrong in the plugin, but I doubt it,
since the plugin is pretty simple -- it does no loading of URLs, doesn't know
chrome from its foot, and I'm pretty sure I once reproduced it with the Sample
plugin (where can I get that one again?). I suspect that the problem is that
most folks use plugins in non-chrome areas, so we're exercising an "unusual"
code path.
Email from a conversation with Chris Waterson follows:
>> How are you getting a cached chrome channel when loading something from
>> a plugin? (The only thing that I can think of is that you're trying to
>> load a XUL file as a "chrome:" URL from the plugin?)
>
> Well, the plugin isn't trying to load any chrome, but the plugin is _hosted_
> inside a chrome XUL. So, if I understand correctly, the plugin manager
> creates a stream for the chrome (that the plugin lives in), and passes it to
> the plugin so that it can stream it or render it or whatever).
>
> Does this make sense and help elucidate things?
Yes...could you send me the snippet from the XUL file that instantiates
the plugin? Also, what was the stack trace when the assertion was hit?
thanks,
chris
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → Future
Comment 3•24 years ago
|
||
Hey - the assertions stopped recently... WFM
Comment 4•24 years ago
|
||
Sean writes that the assertions have stopped, but it is still happening for me
from the tip.
Comment 5•24 years ago
|
||
Sorry about my false comment - looks like I commented out the assert before the
holidays and forgot about it...
Comment 6•24 years ago
|
||
Assignee | ||
Comment 7•24 years ago
|
||
sure, r=waterson
Comment 8•24 years ago
|
||
This has had an r= for a while now. Who can offer an sr=? The bug is probably
in the wrong component (currently "Plugins", as the patch is for rdf/chrome.)
Comment 9•24 years ago
|
||
You need to specifically ask a particular person for sr (and copy
reviewers@mozilla.org in the email). See
http://www.mozilla.org/hacking/reviewers.html
Comment 10•24 years ago
|
||
The nominated super-reviewer appears to be waterson, but he offered his r=.
Adding blizzard to CC in the hope of getting an sr from him :)
Chris: This is a trivial patch that removes an assertion, and includes a test
case.
Comment 11•24 years ago
|
||
I can sr this but I see no description in this bug as to why the assertion is bogus.
Updated•16 years ago
|
QA Contact: shrir → plugins
Comment 12•13 years ago
|
||
It's possible that loading a plugin from chrome still doesn't work but it's highly unlikely that the issue referenced in this bug is the problem.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
Updated•3 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•