Commit Graph

42 Commits

Author SHA1 Message Date
bzbarsky@mit.edu
6b859eef41 Make sure we flush out content before we try to set up the plug-in, sincethat's going to perform DOM access that can flush. Bug 377070, r+sr=biesi 2007-05-23 12:53:31 -07:00
Olli.Pettay@helsinki.fi
b0100770e3 Bug 378776, Need safe way to iterate a document's presshells, r+sr=bz 2007-05-22 14:45:03 -07:00
bzbarsky@mit.edu
086c2eb0c0 Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers ofGetShellAt(0) to using this API. Bug 378780. API introduction part by me,r+sr=jst. Mass-changes done by taras using squash, r+sr=me 2007-05-01 15:24:20 -07:00
peterv%propagandism.org
a267e57680 Fix for bug 373219 (ASSERTION: Fault in cycle collector: null XPCOM pointer returned (ptr: 0)). r/sr=dbaron. 2007-03-09 13:14:06 +00:00
peterv%propagandism.org
12f2917956 Fix for bug 368773 (Add a bunch of DOM objects to cycle collection). r=sicking, sr=jst. 2007-03-08 11:17:16 +00:00
cvshook%sicking.cc
a39ff30284 Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128 2007-01-30 00:06:41 +00:00
timeless%mozdev.org
4e651390ef Bug 355300 There should be only one nsGkAtoms creature
r=dbaron
2006-12-26 17:47:52 +00:00
bzbarsky%mit.edu
fd5afe6c06 If we have an unsupported classid, bail out even if we have no URI. Bug
363379, r+sr=biesi
2006-12-19 16:31:42 +00:00
bzbarsky%mit.edu
5eed3a5d4c Don't show the plugin wizard for plugins that are actually disabled (only Java
at the moment).  Bug 344923, r=biesi, sr=jst
2006-08-12 02:13:24 +00:00
dbaron%dbaron.org
cd4d6ee0e9 Fix GC hazards associated with event handlers on images only reachable from their current network loads, some of which are regressions from 241518. b=321054 r=darin sr=bzbarsky 2006-06-01 18:35:21 +00:00
bzbarsky%mit.edu
00745f1a47 Make the URI of an nsIImageLoadingContent immutable. Bug 337246, r=biesi, sr=sicking 2006-05-31 15:58:43 +00:00
darin%meer.net
0318b8c707 landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
cvshook%sicking.cc
d3ec0aa5c5 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz 2006-05-05 06:52:21 +00:00
bzbarsky%mit.edu
0c3706888c Rename GetNodePrincipal to NodePrincipal. Bug 327246, r+sr=sicking 2006-04-27 18:21:11 +00:00
bzbarsky%mit.edu
c6cc005766 Fix image blocking for obviously image objects. Bug 334825, r=biesi, sr=shaver 2006-04-24 19:56:18 +00:00
bzbarsky%mit.edu
fcf3fc6532 Need shorter comments here 2006-03-31 08:20:34 +00:00
bzbarsky%mit.edu
0764beeffd Add comments describing some more files. 2006-03-31 08:00:42 +00:00
bzbarsky%mit.edu
263cf7dc11 Push up GetPrincipal to nsINode (as GetNodePrincipal). This way all nsINodes
(content, documents, attr nodes) can return their principal as needed.
Eliminate lazy allocation of principals in nsDocument.  Bug 324600, r=sicking, sr=jst
2006-02-02 20:02:34 +00:00
cbiesinger%web.de
cf2058af9d bug 324705 prefer natively handled document types over plugins
r+sr=bz
2006-01-28 14:08:55 +00:00
cbiesinger%web.de
c3d7007a30 fix debug build bustage (from bug 322128) 2006-01-05 18:03:09 +00:00
cbiesinger%web.de
2f52d47057 Remove aForceType argument of LoadObject, make it a capability instead
bug 322128 r+sr=bz
2006-01-05 13:30:19 +00:00
cbiesinger%web.de
e50740533c Bug 314453 more ObjectURIChanged occurences; these got missed in the first
checkin
2006-01-01 19:06:43 +00:00
cbiesinger%web.de
1efb68569c bug 314453 Rename ImageURIChanged and ObjectURIChanged to LoadImage and
LoadObject, respectively, in order to make it clear what they do rather than
prescribing when they should be called. r+sr=bz
2006-01-01 11:25:43 +00:00
cbiesinger%web.de
1d04cb0110 Bug 309521
- add pseudo-classes for :-moz-type-unsupported and :-moz-has-handlerref (and a
  content state for the former)
  - make nsObjectLoadingContent return the right content state
- Add an XBL binding that gets instantiated for broken plugins
  - Make it themable
- Remove a lot of now-unused code in nsObjectFrame
- Fixes pluginfinder.
r+sr=bz, r=mconnor
2005-12-29 14:15:33 +00:00
cbiesinger%web.de
f0f0184a77 bug 309525 Consider content that we don't otherwise support, but for which we
have a stream converter, as supported document types. Change code to use
nsIURILoader to load the data, instead of asking docshell directly.
r+sr=bz
2005-12-17 18:31:02 +00:00
bzbarsky%mit.edu
72a2604c7d Fix crash bug 319049. Patch by Christian Biesinger (:bi) <cbiesinger@gmx.at>, r+sr=bzbarsky 2005-12-05 02:13:17 +00:00
cbiesinger%web.de
3c23130790 Bug #315841 don't flush frames in order to ensure that plugins are instantiated.
also, don't flush when inside of ObjectURIChanged
r+sr=bz
2005-12-03 11:27:42 +00:00
cbiesinger%web.de
abea88f49a more debug bustage 2005-11-11 21:11:29 +00:00
cbiesinger%web.de
5d5af365f5 fixing debug bustage 2005-11-11 21:06:06 +00:00
cbiesinger%web.de
cb96a08471 Bug 309521 part I: Fire PluginNotFound events when the type of the content isn't
known and we'd show the nullplugin
r+sr=bz
2005-11-11 20:12:35 +00:00
cbiesinger%web.de
177f4f0db6 Bug 314452
- In HandleEvent, verify that the type/URI of the plugin didn't change before
  calling instantiate
- Revoke pending instantiate events when a new plugin is loading
r+sr=bz
2005-11-01 15:38:55 +00:00
cbiesinger%web.de
ac00cddace bug 309706
- Add some logging to nsObjectLoadingContent
- Add a StopPlugin() method to nsIObjectFrame
  - Make use of that in PrepareInstanceOwner, so that loading a new plugin in
    the same frame works as expected
- Initialize <applet> and <embed> elements to eType_Loading, so that the type is
  only eType_Plugin if mURI and mContentType are valid

r+sr=bz
2005-10-31 18:28:56 +00:00
cbiesinger%web.de
ec2746ef9a Bug 309529
Move logic from nsObjectFrame::Instantiate(const char*, nsIURI*) into
nsObjectLoadingContent.

Also, fixes ext-to-type mapping if the URI does not implement nsIURL.

r+sr=bz
2005-10-29 12:56:44 +00:00
cbiesinger%web.de
8afaa18779 bug 314091 Fix users of mozAutoDocUpdate to actually declare a local variable,
so that the destructor doesn't get called immediately
r+sr=bz
2005-10-29 12:54:24 +00:00
cvshook%sicking.cc
64a0fbd45f Bug 311827: Make GetAttr return a bool rather then an nsresult.
r/sr=bz
2005-10-28 11:25:24 +00:00
bzbarsky%mit.edu
c826d32b65 Flush out content updates before messing with the frame tree. Bug 313516, r+sr=roc 2005-10-25 22:32:13 +00:00
cbiesinger%web.de
2bcfbdc9b4 bug 313440
- Make sure to actually construct frames synchronously
- don't fallback to alternate content if we have no frame in OnStartRequest
r+sr=bz
2005-10-23 20:00:47 +00:00
bzbarsky%mit.edu
0d1e336c9a Try fixing bug 288064 again. r=biesi, sr=dbaron 2005-10-17 00:50:39 +00:00
peterv%propagandism.org
513c1fd56d Fix for bug 308328 (crash in [@ nsDocument::GetPrincipal] when closing browser). r/sr=bz. 2005-10-14 09:07:29 +00:00
bzbarsky%mit.edu
b3f9b51f10 Make sure that <applet> with no code falls back and that fallback notifies as
needed.  Bug 311674, r=biesi, sr=peterv
2005-10-10 12:28:21 +00:00
cbiesinger%web.de
951c2ec0a2 fallback to alternate content if Instantiate() fails
bug 310515 r+sr=bz
2005-10-03 12:55:07 +00:00
cbiesinger%web.de
7002686d0d bug 1156
- Make object frames have no children
  - Make the frame constructor construct a subdocumentframe, object frame or
    image frame as appropriate
- start the load of <applet>, <embed> and <object> in content code
- fallback to alternate rendering correctly

NOTE: This checkin will break the plugin finder. This will be fixed soon.

r+sr=bz
2005-09-21 19:14:30 +00:00