bzbarsky%mit.edu
2e1c916a81
Bug 455472. Be a little more careful with our handling of application/octet-stream. r=jst, a=dveditz
...
git-svn-id: svn://10.0.0.236/trunk@259236 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-16 02:13:35 +00:00
jst%mozilla.org
6db60c3cc1
Bug 488274 - Crash [@ nsObjectLoadingContent::OnStartRequest] with object, DOMAttrModified and colorpicker. Patch by Olli.Pettay@gmail.com, r=jst, sr=bz, a=dveditz
...
git-svn-id: svn://10.0.0.236/trunk@259002 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-17 02:55:21 +00:00
bzbarsky%mit.edu
89f58e8fcc
Fixing bug 475299. Reflow if we're about to instantiate a plugin whose frame
...
has not been reflown yet. This fixes a problem where the WMP plugin doesn't
work right if its initial size is 0x0. patch by jst, r+sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@257364 18797224-902f-48f8-a5cc-f745e15eee43
2009-06-02 21:21:40 +00:00
Olli.Pettay%helsinki.fi
b64c537c97
ug 489988 - Java Applets reload when print is called, r+sr=roc, a=dveditz
...
git-svn-id: svn://10.0.0.236/trunk@257111 18797224-902f-48f8-a5cc-f745e15eee43
2009-05-05 19:16:29 +00:00
nrthomas%gmail.com
73efb72bbd
Bug 487345 - Crash [@ nsObjectLoadingContent::Instantiate] when enabling Flashblock after visiting this URL, p=Olli.Pettay@gmail.com, r=bzbarsky, a=ss
...
git-svn-id: svn://10.0.0.236/trunk@256857 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-09 00:00:16 +00:00
Olli.Pettay%helsinki.fi
49de28c180
Trying to land bug 462517, r=biesi, sr=roc, a=dveditz
...
git-svn-id: svn://10.0.0.236/trunk@256555 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-17 17:02:10 +00:00
Olli.Pettay%helsinki.fi
f8bc3463c6
Backout bug 462517
...
git-svn-id: svn://10.0.0.236/trunk@256550 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-17 13:25:04 +00:00
Olli.Pettay%helsinki.fi
87145cf151
Bug 462517, r=biesi, sr=roc, a=dveditz
...
git-svn-id: svn://10.0.0.236/trunk@256549 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-17 10:07:30 +00:00
Olli.Pettay%helsinki.fi
ad05a57290
Backing out Bug 462517 to see if it caused windows red/orange
...
git-svn-id: svn://10.0.0.236/trunk@256499 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-09 21:54:36 +00:00
Olli.Pettay%helsinki.fi
6be7c70fb7
Whitespace usage fix to trigger new builds
...
git-svn-id: svn://10.0.0.236/trunk@256498 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-09 20:42:03 +00:00
Olli.Pettay%helsinki.fi
3b585762b2
Bug 462517, r=biesi, sr=roc, a=dveditz
...
git-svn-id: svn://10.0.0.236/trunk@256497 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-09 19:08:42 +00:00
jst%mozilla.org
5ab4df3384
Re-landing fix for bug 445520. Fixing flashblock regression from bug 438830. r=cbiesinger, sr=bzbarsky, a=dveditz
...
git-svn-id: svn://10.0.0.236/trunk@255762 18797224-902f-48f8-a5cc-f745e15eee43
2009-01-08 02:41:32 +00:00
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
8abb2bd757
Landing fix for bug 445520 for 3.0. Fix plugin instantiation problem when using flashblock etc. r=cbiesinger@gmail.com, sr=bzbarsky@mit.edu, a=samuel.sidler@gmail.com
...
git-svn-id: svn://10.0.0.236/trunk@253659 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-17 00:49:24 +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
jst%mozilla.org
6a7d9644ab
Fixing bug 430802 (and bug 405357). Prevent plugin instantiation code re-entrancy. r=jwatt@jwatt.org, sr=bzbarsky@mit.edu, a=beltzner
...
git-svn-id: svn://10.0.0.236/trunk@251278 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-06 20:49:30 +00:00
jonas%sicking.cc
2a4fd4d02e
Putting back since orange wasn't affected
...
git-svn-id: svn://10.0.0.236/trunk@251067 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-01 22:43:42 +00:00
jonas%sicking.cc
40372bcdaa
Backing out to try to fix orange
...
git-svn-id: svn://10.0.0.236/trunk@251039 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-01 19:03:48 +00:00
jst%mozilla.org
5677417d70
Fixing bug 431280. Sniff the URI file extension for a mimetype to use if the one given in an embed elements type attribute isn't a supported type. r+sr=bzbarsky@mit.edu, a=dsicore@mozilla.com
...
git-svn-id: svn://10.0.0.236/trunk@251004 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-30 21:23:32 +00:00
mats.palmgren%bredband.net
95c3b7e065
Don't trigger "Missing plugin" UI for supported image or document types when there's no URI. b=429157 r+sr=jst a1.9=beltzner
...
git-svn-id: svn://10.0.0.236/trunk@250324 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-16 20:07:11 +00:00
bent.mozilla%gmail.com
8369be1fe9
Bug 425551 - "Fix async DOM events from keeping link elements alive past unlink". r+sr=sicking, a=beltzner.
...
git-svn-id: svn://10.0.0.236/trunk@250079 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-11 17:29:11 +00:00
jonas%sicking.cc
1cbce53417
Backing out due to test failures
...
git-svn-id: svn://10.0.0.236/trunk@249885 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-09 03:20:42 +00:00
jonas%sicking.cc
44f2be870f
Bug 425551: Improve script blocker code and use it to prevent async DOM events from keeping link elements alive past CC. Patch by bent. r/sr=sicking
...
git-svn-id: svn://10.0.0.236/trunk@249878 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-09 02:06:31 +00:00
jst%mozilla.org
7d79da782b
Fixing bug 393756. Get the plugin mimetype from the file extension in the URI if no other type information is available. r+sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@248731 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-27 23:12:18 +00:00
jst%mozilla.org
068c1fec9a
Fixing bug 425013. Make Firefox show the plugin finder UI for unsupported object tags w/o alternate content. r+sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@248618 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-26 23:04:57 +00:00
jst%mozilla.org
848e5e4245
Landing followup fix for bug 402983 and re-enabling the new stricter file URI security policies. r+sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@248431 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-22 16:50:49 +00:00
jst%mozilla.org
b4be13929b
Fixing bug 395110. Give type attribute higher priority when deciding what plugin to use. r=jonas@sicking.cc, sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@248034 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-18 00:36:14 +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
dtownsend%oxymoronical.com
e9ecfce1ad
Bug 388445: Notify user when plugin on page is blocklisted. r=gavin, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@242117 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-27 11:49:27 +00:00
bzbarsky%mit.edu
fe9618c961
Propagate the node's principal as the owner to <object> loads as needed, and
...
allow <object data="javascript:"> to work. Bug 353334 and bug 300263, r=biesi,
sr=jst, a=dsicore
git-svn-id: svn://10.0.0.236/trunk@240353 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 21:57:18 +00:00
bzbarsky%mit.edu
7fc4c90002
Handle image embeds with a null URI. Bug 402320, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@238911 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-07 17:25:57 +00:00
gavin%gavinsharp.com
71a94bbba6
Back out the patch for bug 393845 because it appears the regressions it caused are worse than the bug it fixed (a=biesi)
...
git-svn-id: svn://10.0.0.236/trunk@236676 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-25 20:41:08 +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
cbiesinger%gmx.at
ffa2c76bb1
393845 Stop plugins from content instead of from layout. Also, reget the frame
...
after stopping the plugin, as that may process events. Finally, make the
object frame not touch member variables after stopping the plugin.
r+sr=bz a=jst
git-svn-id: svn://10.0.0.236/trunk@233968 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-05 20:33:18 +00:00
bzbarsky%mit.edu
c747f19f60
Make <object> do the same text/plain sniffing that <iframe> does, and use the
...
content type hint if the type comes back as application/octet-stream or
sniffed-binary. Bug 389677, r+sr=biesi, a=sicking
git-svn-id: svn://10.0.0.236/trunk@232437 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-21 03:26:13 +00:00
bzbarsky%mit.edu
b9d92a233a
Make NS_CheckContent(Load|Process)Policy only take a principal, not a principal
...
and a uri. Get the URI from the principal. Bug 391438, r+sr+a=sicking
git-svn-id: svn://10.0.0.236/trunk@231781 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 05:35:09 +00:00
bzbarsky%mit.edu
3811c88532
Use the principal doing the load to decide on the URI to pass to content
...
policies. This will help do the right thing for data:/javascript:/about:blank,
as well as allow us to skip content policies altogether if the caller is
system. Bug 388597, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@231622 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-08 01:16:12 +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
cbiesinger%gmx.at
d86f2d454f
364235 don't instantiate plugins for URLs with unknown schemes unless we also have a type specified
...
r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@231539 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-06 18:02:14 +00:00
cbiesinger%gmx.at
71f3df1901
382378 call NotifyContentObjectWrapper after the plugin has been instantiated so that scriptable plugins work correctly
...
r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@231354 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 21:15:05 +00:00
cbiesinger%gmx.at
2be593f733
322170 ignore errors from OnStartRequest (NPP_NewStream) for Shockwave on the Mac
...
r=jst sr=bz
git-svn-id: svn://10.0.0.236/trunk@231343 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 20:16:49 +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
jonas%sicking.cc
857bbdaa67
Bug 389508: Cross site XMLHttpRequest. r=jst/biesi sr/dveditz/biesi
...
git-svn-id: svn://10.0.0.236/trunk@231095 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-27 02:49:19 +00:00
jonas%sicking.cc
7552c132af
backout due to orange
...
git-svn-id: svn://10.0.0.236/trunk@231082 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 23:34:23 +00:00