2022 Commits

Author SHA1 Message Date
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
peterv%propagandism.org
857e346b36 Backing out to fix orange.
git-svn-id: svn://10.0.0.236/trunk@228906 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 23:21:09 +00:00
peterv%propagandism.org
4161532453 Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@228893 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 22:29:54 +00:00
kaie%kuix.de
057078aa02 Bug 107491, Follow up checkin, one more place where nssFailure needs to be renamed
r=benjamin


git-svn-id: svn://10.0.0.236/trunk@228863 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 18:25:12 +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
kherron%fmailbox.com
dd7c9d0784 Bug 375314 - discriminate ping and xmlhttprequests in content policy check. Patch by Wladimir Palant <trev.moz@adblockplus.org>, r=jst, sr=peterv.
git-svn-id: svn://10.0.0.236/trunk@228200 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-17 13:50:53 +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
timeless%mozdev.org
b53b26a75e Bug 378692 warning C4099: 'OnLinkClickEvent' : type name first seen using 'struct' now seen using 'class'
r=bz sr=bz


git-svn-id: svn://10.0.0.236/trunk@224986 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-25 03:13:57 +00:00
benjamin%smedbergs.us
7262cdad6d Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me
git-svn-id: svn://10.0.0.236/trunk@224885 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-23 14:22:04 +00:00
sayrer%gmail.com
4aec4dcf7d Bug 368994. move mochitests near the code they test. round 7. r=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@224573 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-16 15:18:50 +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
tor%cs.brown.edu
624fbcce20 Bug 373089 - add a ParentChainChanged notification to nsIMutationObserver.
r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@221698 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-10 13:49:43 +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
gavin%gavinsharp.com
120ebebc31 Bug 364903: Error page 'Try Again' button doesn't dim once pressed, r=neil, sr=bzbarksy
git-svn-id: svn://10.0.0.236/trunk@217744 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-04 18:53:28 +00:00
jwatt%jwatt.org
c08a026ac8 Fixing bug 334587. Unify event handling for links and fix various XLink bugs. r=olli.pettay@gmail.com, r=dbaron@mozilla.com, sr=bugmail@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@217719 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-04 10:53:59 +00:00
neil%parkwaycc.co.uk
29ed8be6fd Bug 363725 Make about:logo work in (some) toolkit apps r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@217120 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 10:51:10 +00:00
gavin%gavinsharp.com
7a9f44f99f Bug 212852: Browser assumes ftp protocol for URL's beginning with 'ftp' and written without protocol in address field, patch by Magnus Melin <mkmelin+mozilla@iki.fi>, r=biesi, sr=darin
git-svn-id: svn://10.0.0.236/trunk@217049 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 14:32:19 +00:00
cvshook%sicking.cc
57f03ac9c1 Bug 323924, Call CheckLoadURIWithPrincipal before issuing pings and on redirects. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@216045 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 03:08:49 +00:00
cvshook%sicking.cc
0f2957680d Bug 323924, Call CheckLoadURIWithPrincipal before issuing pings. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@215999 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 20:47:10 +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
cvshook%sicking.cc
78a449be36 Bug 358106: Make ranges use nsIMutationObserver rather than their own notification system. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@214666 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-03 21:51:01 +00:00