866 Commits

Author SHA1 Message Date
reed%reedloden.com
41502a32b2 Bug 394525 - "malware check non-http URIs" (treat Suspend() failures as nonfatal) [p=dcamp r=bzbarsky sr=biesi a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@239289 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-13 08:23:32 +00:00
jst%mozilla.org
fac3c1b64a Fixing bug 392532. Infinite recursion crash when getting scroll chrome flags off of a window at the wrong point in time. r+sr=bzbarsky@mit.edu, a=vladimir@pobox.com
git-svn-id: svn://10.0.0.236/trunk@239184 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-12 05:48:25 +00:00
smontagu%smontagu.org
9d14bfb11b Preserve history on charset reload. Bug 134911, r+sr=bz, a=roc
git-svn-id: svn://10.0.0.236/trunk@239153 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-11 19:48:09 +00:00
reed%reedloden.com
c4527937e9 Bug 398718 - "Better explanatory text for SSL error pages" [p=kaie/johnath r=rrelyea r=biesi a=blocking1.9+ for M9]
git-svn-id: svn://10.0.0.236/trunk@238348 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-30 20:26:28 +00:00
reed%reedloden.com
ba0dc7bcab Bug 399233 - "Phishing UI hidden by content, inconsistent with malware" [p=johnath r=tony r=biesi ui-r=beltzner a=blocking-firefox3+ for M9]
git-svn-id: svn://10.0.0.236/trunk@238312 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-29 18:29:18 +00:00
bzbarsky%mit.edu
19f3323d77 Make the "href" property of stylesheets reflect the original URI that was
reflected to load the sheet.  Bug 397427, r=dbaron,biesi, sr=dbaron, a=dsicore


git-svn-id: svn://10.0.0.236/trunk@238046 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-23 21:56:43 +00:00
bzbarsky%mit.edu
e0a43bc995 Give the about:blank document we create when loading a javascript: URI from
history the principal of the history entry so the JS will actually execute
against that about:blank, not in a sandbox.  Bug 384014, r+sr+a=jst


git-svn-id: svn://10.0.0.236/trunk@237380 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-07 18:26:02 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
kaie%kuix.de
098dcde100 Bug 107491, follow up check in, Rename string ID nssFailure to nssFailure2
rs=Pike


git-svn-id: svn://10.0.0.236/trunk@228381 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-20 14:10:32 +00:00
bzbarsky%mit.edu
7bd3f5ccc3 Don't allow loads to start in a docshell that's firing the unload event. Also
don't allow document.open of the document in that docshell.  Bug 371360,
r=biesi, sr=jst


git-svn-id: svn://10.0.0.236/trunk@228064 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-14 18:18:06 +00:00
sdwilsh%shawnwilsher.com
20de4ecc31 Bug 382383 - nsDocShell::LoadURI discards LOAD_FLAGS_FIRST_LOAD. r=bzbarsky, sr=cbiesinger
git-svn-id: svn://10.0.0.236/trunk@227772 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-10 23:28:27 +00:00
mats.palmgren%bredband.net
5a743d0a0b Move nsIDocShellTreeItem::childOffset to nsDocShell and remove all uses except internally by nsDocShell (it should be removed eventually). b=376562 r=Olli.Pettay sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@226604 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-18 03:49:15 +00:00
bzbarsky%mit.edu
a5510fca0d Make nsIDocShellTreeItem inherit from nsIDocShellTreeNode. Bug 377303,
r=bsmedberg, sr=biesi


git-svn-id: svn://10.0.0.236/trunk@226009 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-06 21:06:28 +00:00
bzbarsky%mit.edu
462a42d337 Don't make embedding of a content viewer in a child frame force a layout flush
on the parent.  The child doesn't really care that much about up-to-date layout
info at this point; if its size changes it will deal.  Bug 379485, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@225491 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-02 20:34:41 +00:00
bzbarsky%mit.edu
3f6c05c342 Be a little more careul with inheriting principals. Bug 304690, r=dveditz,
sr=jst


git-svn-id: svn://10.0.0.236/trunk@225122 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-27 04:01:17 +00:00
mats.palmgren%bredband.net
f48b9434d2 Fix compile errors and warnings with -DDEBUG_DOCSHELL_FOCUS. b=373985 r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@222313 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-24 10:51:44 +00:00
cbiesinger%web.de
56a61985cf bug 371299 add a way to query if meta refreshes are pending for a docshell
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@220767 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-22 22:11:30 +00:00
kaie%kuix.de
905aa04b98 Bug 107491, improve SSL error messages
Patch v9 - docshell and netwerk portions
Second and final checkin of this patch, enabling the new SSL error page
r/sr=biesi


git-svn-id: svn://10.0.0.236/trunk@220499 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-18 04:24:05 +00:00
bzbarsky%mit.edu
d6f747716d Decouple the execution of javascript: URIs from the question of whether they
have known subject principals.  Make it possible for callers to control
execution on a per-channel basis.  Bug 369244, r=jst, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@220358 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-16 01:01:39 +00:00
Olli.Pettay%helsinki.fi
49e16cb1d6 Bug 363067, Add nsPIDOMEventTarget and kill nsIChromeEventHandler, r=jst, sr=sicking
git-svn-id: svn://10.0.0.236/trunk@220346 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-15 23:04:33 +00:00
sharparrow1%yahoo.com
4e50607a9e Bug 370185: clean up view header includes (trivial). rs=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@219987 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-12 19:17:33 +00:00
bzbarsky%mit.edu
b0a555bb73 Bail out of loads if were going away. Bug 369126, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@219842 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-09 04:40:56 +00:00
mozilla.mano%sent.com
ebcefa5a98 Bug 83265 - Add a way to disable HTTP-EQUIV=refresh. patch from Mark Pilgrim <pilgrim@gmail.com>, r=biesi,mano,mento. sr=bz.
git-svn-id: svn://10.0.0.236/trunk@219699 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-08 13:15:50 +00:00
sharparrow1%yahoo.com
dd459d0a71 Bug 177805: Fix the use of units in Gecko. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219640 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-07 07:46:44 +00:00
bzbarsky%mit.edu
b9bb9fb2a4 Use the right URI when restoring a page from history. Bug 360511, r=jst, sr=sicking
git-svn-id: svn://10.0.0.236/trunk@218524 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 18:55:35 +00:00
bzbarsky%mit.edu
43d470b66b Make the redirect check get principals the same way we get them elsewhere.
Clean up some code to use the new security manager method.  Bug 354693,
r=dveditz, sr=sicking


git-svn-id: svn://10.0.0.236/trunk@215685 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 18:27:54 +00:00
bzbarsky%mit.edu
3f520eaa49 Make it possible for protocol handlers to configure how CheckLoadURI should
treat them via their protocol flags.  Remove the protocol list we used before.
Bug 120373, r=dveditz, sr=darin


git-svn-id: svn://10.0.0.236/trunk@215130 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 23:49:08 +00:00
bzbarsky%mit.edu
5525c8b256 Improve wording of the postdata dialog. Bug 112848, patch by Magnus Melin
<mkmelin+mozilla@iki.fi>, r=darin, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@214849 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 03:28:50 +00:00