31 Commits

Author SHA1 Message Date
jst%mozilla.org
4d8b6a2c2d Re-landing fix for bug 438830. Plugins can be instantiated, and then re-instantiated during page load. r+sr=jonas@sicking.cc, a=dveditz@cruzio.com
git-svn-id: svn://10.0.0.236/trunk@255761 18797224-902f-48f8-a5cc-f745e15eee43
2009-01-08 02:39:49 +00:00
reed%reedloden.com
3b75815082 Back out jst's patches from bug 438830 and bug 445520 due to regression bug 450949.
git-svn-id: svn://10.0.0.236/trunk@253863 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-27 06:48:45 +00:00
jst%mozilla.org
ed232dc625 Landing fix for bug 438830 for 3.0. Fix plugin double instantiation problem. r+sr=jonas@sicking.cc, a=samuel.sidler@gmail.com
git-svn-id: svn://10.0.0.236/trunk@253658 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-17 00:47:03 +00:00
jonas%sicking.cc
546ba272ce Bug 401155: Make it safe to create a wrapper for an object at any time by making sure wrapping doesn't write script. Also set up a service that tries to keep track of when it's safe to execute script. r=bz sr=jst
git-svn-id: svn://10.0.0.236/trunk@247875 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-14 23:08:59 +00:00
dcamp%mozilla.com
818a3abe5f Bug 394485: Prevent loading blocklisted urls loaded from <object> tags. r=jonas, sr=biesi, blocking1.9=stuart
git-svn-id: svn://10.0.0.236/trunk@247681 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 21:52:55 +00:00
jonas%sicking.cc
fbfd1bd5fa Back out due to failed mochitest
git-svn-id: svn://10.0.0.236/trunk@247519 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-11 02:18:16 +00:00
jonas%sicking.cc
99b2e4ecd5 Bug 401155: Make sure plugins and XBL constructors not execute when creating a script wrapper if it's not safe to execute scripts. r=bz sr=jst.
git-svn-id: svn://10.0.0.236/trunk@247516 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-11 00:49:20 +00:00
jst%mozilla.org
ed52909cca Fixing bug 410946. Prevent plugins from being destroyed while there's code from those plugins on the stack. r+sr=bzbarsky@mit.edu, a=beltzner@mozilla.com
git-svn-id: svn://10.0.0.236/trunk@246771 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-29 02:06:00 +00:00
dtownsend%oxymoronical.com
09cf157306 Bug 409025: OBJECTs with type attribute but no data attribute do not fire
plugin errors. r=biesi, sr=jst


git-svn-id: svn://10.0.0.236/trunk@246583 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 00:29:02 +00:00
bzbarsky%mit.edu
26ad06cc91 Make disabling image loading in prefs also block images loaded via <object>.
Bug 393503, r+sr=biesi, a=jst


git-svn-id: svn://10.0.0.236/trunk@235983 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-14 18:57:59 +00:00
bzbarsky%mit.edu
c929b7fe04 Make HTML content objects use QI tables. Bug 389797, r+sr=jst, a=sicking.
git-svn-id: svn://10.0.0.236/trunk@232422 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-20 22:55:08 +00:00
cbiesinger%gmx.at
b54ca703b5 Bug 390385 make sure that plugins don't get instantiated before the first Reflow of the objectframe, so that the first NPP_SetWindow call contains the right dimensions
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@231564 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-07 00:32:14 +00:00
bzbarsky%mit.edu
73e6ccf0ea Flush layout before starting to pump data into plug-ins if we started the data
load ourselves.  Fixes various issues with a number of plug-ins that expect
NPP_SetWindow() to have been called before NPP_WriteReady or NPP_Write.  Bug
381512, r=biesi, sr=jst


git-svn-id: svn://10.0.0.236/trunk@231321 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 17:54:37 +00:00
Olli.Pettay%helsinki.fi
29c87c6a3f Bug 386599, Recursive <object> with border hangs Firefox, r=biesi, sr=bz
git-svn-id: svn://10.0.0.236/trunk@230099 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-17 07:43:36 +00:00
flamingice%sourmilk.net
499adb6a0e Bug 330511, Plugin-in blocklisting, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@229935 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-14 00:28:06 +00:00
peterv%propagandism.org
4fff00b28c Fix for bug 368773 (Add a bunch of DOM objects to cycle collection). r=sicking, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@221534 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-08 11:17:16 +00:00
bzbarsky%mit.edu
a03439b0a2 Don't show the plugin wizard for plugins that are actually disabled (only Java
at the moment).  Bug 344923, r=biesi, sr=jst


git-svn-id: svn://10.0.0.236/trunk@207202 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-12 02:13:24 +00:00
cbiesinger%web.de
261170077b Also add using declarations for OnStartRequest and OnStopRequest,
to fix new compile warnings. bug 341096 r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@199714 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-12 17:11:43 +00:00
darin%meer.net
42edf059cf landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
bzbarsky%mit.edu
8373755204 Need shorter comments here
git-svn-id: svn://10.0.0.236/trunk@193308 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-31 08:20:34 +00:00
bzbarsky%mit.edu
14903561f3 Add comments describing some more files.
git-svn-id: svn://10.0.0.236/trunk@193306 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-31 08:00:42 +00:00
cbiesinger%web.de
4988bf0fe7 Remove aForceType argument of LoadObject, make it a capability instead
bug 322128 r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@186979 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-05 13:30:19 +00:00
cbiesinger%web.de
006a37ec44 Bug 314453 more ObjectURIChanged occurences; these got missed in the first
checkin


git-svn-id: svn://10.0.0.236/trunk@186800 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-01 19:06:43 +00:00
cbiesinger%web.de
aa80ec3c74 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


git-svn-id: svn://10.0.0.236/trunk@186776 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-01 11:25:43 +00:00
cbiesinger%web.de
32c8a8358d 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


git-svn-id: svn://10.0.0.236/trunk@186703 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-29 14:15:33 +00:00
cbiesinger%web.de
d01ec451f8 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


git-svn-id: svn://10.0.0.236/trunk@185638 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-03 11:27:42 +00:00
cbiesinger%web.de
f6782116ce 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


git-svn-id: svn://10.0.0.236/trunk@184472 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 20:12:35 +00:00
cbiesinger%web.de
4510cfee8d 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


git-svn-id: svn://10.0.0.236/trunk@183271 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-31 18:28:56 +00:00
cbiesinger%web.de
8eb2b61bb7 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


git-svn-id: svn://10.0.0.236/trunk@183238 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-29 12:56:44 +00:00
cbiesinger%web.de
1abd193a90 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


git-svn-id: svn://10.0.0.236/trunk@182838 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-23 20:00:47 +00:00
cbiesinger%web.de
054912c09e 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


git-svn-id: svn://10.0.0.236/trunk@180762 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-21 19:14:30 +00:00