Commit Graph

55 Commits

Author SHA1 Message Date
bzbarsky@mit.edu
1ffa5e25bb 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 2007-09-17 15:27:17 -07:00
bzbarsky@mit.edu
09bf873dfb Add a flag to nsIWebNavigation to disable popup-blocking for loads as needed. Bug 278357, r=biesi, sr=jst, a=bsmedberg 2007-09-14 12:21:45 -07:00
surkov.alexander@gmail.com
d91459d49c 390414 - text-changed:delete event details no longer correct effective, r=aaronlev, sr=bz, a=dsicore 2007-09-05 01:22:17 -07:00
bzbarsky@mit.edu
70c3f1d794 Adding tests. 2007-09-02 21:58:05 -07:00
dmose@mozilla.org
b3b2ff44a4 Fix for protocol handling dialog throwing exception when a web handler is selected (bug 392957), r=biesi, sr=mconnor, a=bz 2007-09-02 21:44:25 -07:00
bzbarsky@mit.edu
79ed5fdbdb Revoke presentation restore events even if we just get a network stop. Bug 306283, r+sr=biesi 2007-08-31 20:21:22 -07:00
dcamp@mozilla.com
a0ad408261 only malware check nsHttpChannel for now, should fix orange. b=384941, r+sr=biesi 2007-08-31 17:48:30 -07:00
dcamp@mozilla.com
807bb8c0d3 another bustage fix, fix up the PR_LOG ifdefs from the last commit. b=384941 rs=biesi 2007-08-31 16:48:39 -07:00
dcamp@mozilla.com
66aca8f4e9 fix bustage from bug 384941 2007-08-31 16:29:45 -07:00
dcamp@mozilla.com
791d1813f7 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 2007-08-31 16:18:46 -07:00
sharparrow1@yahoo.com
a0c6a21aa4 Bug 390180: Full page zoom interacts badly with bfcache. r+sr+a=roc 2007-08-27 18:20:17 -07:00
bzbarsky@mit.edu
d77b9ec854 Add comment for bug 388579 2007-08-23 18:50:14 -07:00
bzbarsky@mit.edu
8d78a2ebd3 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 2007-08-23 12:03:08 -07:00
masayuki@d-toybox.com
a17a03f2ea Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc 2007-08-22 04:13:46 -07:00
sdwilsh@shawnwilsher.com
d98abd5a78 Bug 391279 - Allow createInstance to work for web handlers. r=cbiesinger, sr=dmose 2007-08-14 09:47:41 -07:00
bzbarsky@mit.edu
96ec7b6a69 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 2007-08-09 22:35:08 -07:00
jst@mozilla.org
73674fd85b Fixing bug 389911. Removing nsIScriptGlobalObject::Get/SetGlobalObjectOwner() as it's not needed any more. r+sr=peterv@propagandism.org 2007-08-09 15:30:30 -07:00
jst@mozilla.org
93dead394b Fixing bug 389634. Remove dependency on XUL windows from modal content dialog opening code (window.showModalDialog()). r=bzbarksy@mit.edu, sr=jonas@sicking.cc 2007-08-09 15:03:01 -07:00
bzbarsky@mit.edu
73073f4f3b 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 2007-08-07 18:16:09 -07:00
ginn.chen@sun.com
9a8c1632f4 Bug 389793 Firefox build failed on OpenSolaris without --disable-mochitest r=benjamin a=dsicore 2007-08-05 20:22:32 -07:00
sharparrow1@yahoo.com
914f1c7143 Update UUID after checkin for bug 4821 2007-07-26 13:27:21 -07:00
jst@mozilla.org
895b24daf7 Fixing bug 194404. Adding support for window.showModalDialog() for compatibility with IE. r+sr=jonas@sicking.cc 2007-07-26 10:52:26 -07:00
sharparrow1@yahoo.com
5a87530c15 Bug 4821: Implement page zoom (backend). r+sr=roc. 2007-07-25 20:34:16 -07:00
dcamp@mozilla.com
0eee14ff27 move the offline cache update logic from the content sink and prefetch service into an nsOfflineCacheUpdate object. bug=388839, r=biesi, sr=jst 2007-07-24 22:35:39 -07:00
bzbarsky@mit.edu
d59efa6763 More consistent handling of principals for loads across docshell type
boundaries.  Bug 388121, r+sr=jst
2007-07-17 18:47:07 -07:00
bzbarsky@mit.edu
2656bed514 Adding test. 2007-07-15 15:33:21 -07:00
bzbarsky@mit.edu
03bb499b80 Adding test. 2007-07-13 22:02:22 -07:00
bzbarsky@mit.edu
6f445a91b2 Hold a strong ref to the URI while we're using it. Bug 387968, r+sr=jst 2007-07-13 21:27:08 -07:00
bzbarsky@mit.edu
a4c90a1d9d 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.
2007-07-12 13:05:45 -07:00
bzbarsky@mit.edu
27b1e913c9 Add test. Patch by Sylvain Pasche <sylvain.pasche@gmail.com>, r=smaug 2007-07-11 10:33:46 -07:00
bzbarsky@mit.edu
12a2857d4b Make sure to properly set subframes loaded from bfcache as not having had
unload fired on them.  Bug 364461, r=biesi, sr=jst.
2007-07-11 10:15:16 -07:00
peterv@propagandism.org
2fb0fc711a Fix for bug 386496 (Clicking on link in designMode document does follow that link now). r/sr=bz. 2007-07-11 06:05:05 -07:00
bzbarsky@mit.edu
66922fe009 Eliminate more callers of CheckSameOriginPrincipal in favor of
Equals/Subsumes.  Bug 387212, r=mrbkap, sr=jst
2007-07-09 21:22:55 -07:00
jwalden@mit.edu
e3c4baccae 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. 2007-07-08 00:08:04 -07:00
sdwilsh@shawnwilsher.com
8d46f68d78 Bug 380932 - Handle malware URIs with error page. Patch by Dão Gottwald <dao@design-noir.de>. r=cbiesinger 2007-07-05 15:26:06 -07:00
dmose@mozilla.org
d28396462d Refactor nsIMIMEInfo and nsExternalHelperAppService to support local and web-based protocol handlers (bug 384374), r=biesi, sr=sicking 2007-07-05 12:31:44 -07:00
gavin@gavinsharp.com
5d8ffce6bd Bug 380932: land netError page for malware URIs, patch by Johnathan Nightingale <johnath@mozilla.com>, r=biesi, ui+r=beltzner 2007-07-03 09:49:06 -07:00
jwalden@mit.edu
0722082faa 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. 2007-07-02 16:46:19 -07:00
peterv@propagandism.org
76a2c4d37f Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 19:48:16 -07:00
peterv@propagandism.org
0f0097ffc5 Backing out to fix orange. 2007-06-27 16:21:05 -07:00
peterv@propagandism.org
51dda63979 Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 15:29:45 -07:00
kaie@kuix.de
6c02033589 Bug 107491, Follow up checkin, one more place where nssFailure needs to be renamed
r=benjamin
2007-06-27 11:25:12 -07:00
kaie@kuix.de
15e31c0f2b Bug 107491, follow up check in, Rename string ID nssFailure to nssFailure2
rs=Pike
2007-06-20 07:10:30 -07:00
kherron@fmailbox.com
fd55a81c64 Bug 375314 - discriminate ping and xmlhttprequests in content policy check. Patch by Wladimir Palant <trev.moz@adblockplus.org>, r=jst, sr=peterv. 2007-06-17 06:50:50 -07:00
bzbarsky@mit.edu
d7b47663a4 Don't allow loads to start in a docshell that's firing the unload event. Alsodon't allow document.open of the document in that docshell. Bug 371360,r=biesi, sr=jst 2007-06-14 11:18:05 -07:00
sdwilsh@shawnwilsher.com
916e281735 Bug 382383 - nsDocShell::LoadURI discards LOAD_FLAGS_FIRST_LOAD. r=bzbarsky, sr=cbiesinger 2007-06-10 16:28:27 -07:00
mats.palmgren@bredband.net
b426f797d9 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 2007-05-17 20:49:14 -07:00
bzbarsky@mit.edu
3ffbd0069c Make nsIDocShellTreeItem inherit from nsIDocShellTreeNode. Bug 377303,r=bsmedberg, sr=biesi 2007-05-06 14:06:28 -07:00
bzbarsky@mit.edu
18ffde80c6 Don't make embedding of a content viewer in a child frame force a layout flushon the parent. The child doesn't really care that much about up-to-date layoutinfo at this point; if its size changes it will deal. Bug 379485, r+sr=jst 2007-05-02 13:34:41 -07:00
bzbarsky@mit.edu
7efbb54080 Be a little more careul with inheriting principals. Bug 304690, r=dveditz,sr=jst 2007-04-26 21:01:17 -07:00