2107 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
dc9c2f83af Fix a few issues in bfcache and XBL when javascript is being toggled on and
off.  Bug 398668, r+sr+a=jst


git-svn-id: svn://10.0.0.236/trunk@237342 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-06 00:35:01 +00:00
bzbarsky%mit.edu
78c25ccf26 Remove trunk instances of MOZILLA_1_8_BRANCH interfaces. Bug 347910, r+sr+a=jst
git-svn-id: svn://10.0.0.236/trunk@237338 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-05 23:37:27 +00:00
dmose%mozilla.org
c3a45aefee First part of fix for web-based protocol handlers failing in certain situations (bug 394483); r=biesi, sr=sicking
git-svn-id: svn://10.0.0.236/trunk@237258 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-04 06:10:48 +00:00
smontagu%smontagu.org
418b960267 Regression test for bug 92473
git-svn-id: svn://10.0.0.236/trunk@236987 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-01 14:14:58 +00:00
roc+%cs.cmu.edu
6b325628dd Bug 392873. Add debugging code to help track down a crash in the bfcache-expiry code. r+sr=bzbarsky,a=damon
git-svn-id: svn://10.0.0.236/trunk@236961 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-30 21:34:56 +00:00
martijn.martijn%gmail.com
75ee24e139 Bug 299555 – F5 reloads Print Preview after right clicking several times on this specific testcase, r=bzbarsky, sr+a=jst
git-svn-id: svn://10.0.0.236/trunk@236891 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-28 23:40:02 +00:00
ajschult%verizon.net
b7d977c90b Bug 396649: Content viewers not evicted when going back. r+sr+a=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@236821 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-28 02:56:08 +00:00
roc+%cs.cmu.edu
7b90bd1aa0 Bug 395045. Expire cached content-viewers after they've been unused for 20-30 minutes. r+sr+a=bz
git-svn-id: svn://10.0.0.236/trunk@236433 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-21 09:20:00 +00:00
bzbarsky%mit.edu
d81f1b725a Relanding bug 396587. Maybe it'll stick now. r+sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@236404 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-20 23:28:26 +00:00
bzbarsky%mit.edu
bd6ec39767 Backing out bug 396587 to hopefully fix orange.
git-svn-id: svn://10.0.0.236/trunk@236345 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-20 03:41:29 +00:00
bzbarsky%mit.edu
f0794c0305 Resize the subdocument off a post-reflow callback so that we don't run script
during reflow, and a few related checks to make sure we can deal with script in
reflow callbacks better.  Bug 396587, r+sr+a=roc.


git-svn-id: svn://10.0.0.236/trunk@236344 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-20 02:46:28 +00:00
bzbarsky%mit.edu
7fe3159fed Fix session restore to save and restore principals, so that about:blank,
javascript:, data: stuff gets restored correctly.  Bug 389274, r+sr=jst for the
docshell changes, r=zeniko@gmail.com for the session restore changes, a=mconnor


git-svn-id: svn://10.0.0.236/trunk@236165 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-17 22:27:18 +00:00
bzbarsky%mit.edu
5b55964d58 Add a flag to nsIWebNavigation to disable popup-blocking for loads as needed.
Bug 278357, r=biesi, sr=jst, a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@235986 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-14 19:21:45 +00:00
surkov.alexander%gmail.com
fa2dd72cb3 390414 - text-changed:delete event details no longer correct effective, r=aaronlev, sr=bz, a=dsicore
git-svn-id: svn://10.0.0.236/trunk@233915 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-05 08:22:19 +00:00
bzbarsky%mit.edu
52d93b63e1 Adding tests.
git-svn-id: svn://10.0.0.236/trunk@233780 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-03 04:58:05 +00:00
dmose%mozilla.org
210b7f773c Fix for protocol handling dialog throwing exception when a web handler is selected (bug 392957), r=biesi, sr=mconnor, a=bz
git-svn-id: svn://10.0.0.236/trunk@233779 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-03 04:44:26 +00:00
bzbarsky%mit.edu
2e1311397f Revoke presentation restore events even if we just get a network stop. Bug
306283, r+sr=biesi


git-svn-id: svn://10.0.0.236/trunk@233535 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-01 03:21:22 +00:00
dcamp%mozilla.com
fb936930bc only malware check nsHttpChannel for now, should fix orange. b=384941, r+sr=biesi
git-svn-id: svn://10.0.0.236/trunk@233529 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-01 00:48:30 +00:00
dcamp%mozilla.com
c33eb833cd another bustage fix, fix up the PR_LOG ifdefs from the last commit. b=384941 rs=biesi
git-svn-id: svn://10.0.0.236/trunk@233525 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-31 23:48:39 +00:00
dcamp%mozilla.com
2e26d97414 fix bustage from bug 384941
git-svn-id: svn://10.0.0.236/trunk@233524 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-31 23:29:45 +00:00
dcamp%mozilla.com
1a066ed8a8 block document loads for URIs tagged as malware by the url-classifier service. b=384941, r=bzbarsky, r=tony, sr=biesi, ui-r=johnath, a=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@233523 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-31 23:18:48 +00:00
sharparrow1%yahoo.com
224e717d50 Bug 390180: Full page zoom interacts badly with bfcache. r+sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@233179 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-28 01:20:18 +00:00
bzbarsky%mit.edu
da0a4bbfea Add comment for bug 388579
git-svn-id: svn://10.0.0.236/trunk@232999 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-24 01:50:14 +00:00
bzbarsky%mit.edu
1bdb136de8 Make sure to not think we're in the middle of firing unload just because we
created an about:blank content viewer.  Bug 388579, r=biesi, sr=jst


git-svn-id: svn://10.0.0.236/trunk@232956 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-23 19:03:08 +00:00
masayuki%d-toybox.com
4a791f4b57 Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@232841 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 11:13:55 +00:00
sdwilsh%shawnwilsher.com
d430bcaaf6 Bug 391279 - Allow createInstance to work for web handlers. r=cbiesinger, sr=dmose
git-svn-id: svn://10.0.0.236/trunk@232048 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-14 16:47:44 +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
jst%mozilla.org
4abaf2e122 Fixing bug 389911. Removing nsIScriptGlobalObject::Get/SetGlobalObjectOwner() as it's not needed any more. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@231758 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-09 22:30:30 +00:00
jst%mozilla.org
450dd656cb Fixing bug 389634. Remove dependency on XUL windows from modal content dialog opening code (window.showModalDialog()). r=bzbarksy@mit.edu, sr=jonas@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@231748 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-09 22:03:02 +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
ginn.chen%sun.com
7103fbf947 Bug 389793 Firefox build failed on OpenSolaris without --disable-mochitest
r=benjamin a=dsicore


git-svn-id: svn://10.0.0.236/trunk@231518 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-06 03:22:43 +00:00
sharparrow1%yahoo.com
01db109725 Update UUID after checkin for bug 4821
git-svn-id: svn://10.0.0.236/trunk@231066 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 20:28:00 +00:00
jst%mozilla.org
43a9473fed Fixing bug 194404. Adding support for window.showModalDialog() for compatibility with IE. r+sr=jonas@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@231061 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 17:52:53 +00:00
sharparrow1%yahoo.com
46080bf88d Bug 4821: Implement page zoom (backend). r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@231009 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 03:34:16 +00:00
dcamp%mozilla.com
9f40ca2397 move the offline cache update logic from the content sink and prefetch service into an nsOfflineCacheUpdate object. bug=388839, r=biesi, sr=jst
git-svn-id: svn://10.0.0.236/trunk@230909 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 05:35:40 +00:00
bzbarsky%mit.edu
c57e87303d More consistent handling of principals for loads across docshell type
boundaries.  Bug 388121, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@230161 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 01:47:07 +00:00
bzbarsky%mit.edu
4b27284a24 Adding test.
git-svn-id: svn://10.0.0.236/trunk@230010 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-15 22:33:21 +00:00
bzbarsky%mit.edu
84ec807bc2 Adding test.
git-svn-id: svn://10.0.0.236/trunk@229944 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-14 05:02:22 +00:00
bzbarsky%mit.edu
1420b2bffc Hold a strong ref to the URI while we're using it. Bug 387968, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@229942 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-14 04:27:08 +00:00
bzbarsky%mit.edu
b5b433a6b7 Make attribute changes that also cause a state change properly reresolve style
when a selector uses both the state and the attribute.  Bug 315920, r=dbaron,
sr=sicking.


git-svn-id: svn://10.0.0.236/trunk@229833 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 20:05:49 +00:00
bzbarsky%mit.edu
1c2db6da8d Add test. Patch by Sylvain Pasche <sylvain.pasche@gmail.com>, r=smaug
git-svn-id: svn://10.0.0.236/trunk@229723 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 17:33:46 +00:00
bzbarsky%mit.edu
815c82f4c9 Make sure to properly set subframes loaded from bfcache as not having had
unload fired on them.  Bug 364461, r=biesi, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@229717 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 17:15:16 +00:00
peterv%propagandism.org
6dccfe3ea8 Fix for bug 386496 (Clicking on link in designMode document does follow that link now). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@229697 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 13:05:06 +00:00
bzbarsky%mit.edu
7970aabd91 Eliminate more callers of CheckSameOriginPrincipal in favor of
Equals/Subsumes.  Bug 387212, r=mrbkap, sr=jst


git-svn-id: svn://10.0.0.236/trunk@229589 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-10 04:22:56 +00:00
jwalden%mit.edu
dda6ff3c99 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
sdwilsh%shawnwilsher.com
e180b655fb Bug 380932 - Handle malware URIs with error page. Patch by Dão Gottwald <dao@design-noir.de>. r=cbiesinger
git-svn-id: svn://10.0.0.236/trunk@229386 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-05 22:26:06 +00:00
dmose%mozilla.org
3c752eb47d Refactor nsIMIMEInfo and nsExternalHelperAppService to support local and web-based protocol handlers (bug 384374), r=biesi, sr=sicking
git-svn-id: svn://10.0.0.236/trunk@229371 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-05 19:31:46 +00:00
gavin%gavinsharp.com
35799b3ea9 Bug 380932: land netError page for malware URIs, patch by Johnathan Nightingale <johnath@mozilla.com>, r=biesi, ui+r=beltzner
git-svn-id: svn://10.0.0.236/trunk@229252 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 16:49:07 +00:00
jwalden%mit.edu
031199ebd3 Fix up three uses of NS_STATIC_CAST which can't be automatically converted to static_cast<> due to a deficiency in the fixup script.
git-svn-id: svn://10.0.0.236/trunk@229203 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-02 23:46:19 +00:00
peterv%propagandism.org
9e04fca5dd Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@228918 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-28 02:48:22 +00:00