Commit Graph

847 Commits

Author SHA1 Message Date
bzbarsky@mit.edu
e5d97611d6 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
bzbarsky@mit.edu
bd826c03d9 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
5f96a07bac 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
3b2512803a 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
16e6040261 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
jst@mozilla.org
c1b1b4d758 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
bzbarsky@mit.edu
d8a5bd6455 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
31a5a381e7 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
bzbarsky@mit.edu
4d46bda6dc 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
6d7584839a 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
jwalden@mit.edu
6aaac3b438 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
kaie@kuix.de
ef7c98eca8 Bug 107491, follow up check in, Rename string ID nssFailure to nssFailure2
rs=Pike
2007-06-20 07:10:30 -07:00
bzbarsky@mit.edu
ac7d66789b 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
772f0fdbf4 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
039f630bca 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
7e3d62ddea Make nsIDocShellTreeItem inherit from nsIDocShellTreeNode. Bug 377303,r=bsmedberg, sr=biesi 2007-05-06 14:06:28 -07:00
bzbarsky@mit.edu
b2bf331b94 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
bb11c49afb Be a little more careul with inheriting principals. Bug 304690, r=dveditz,sr=jst 2007-04-26 21:01:17 -07:00
mats.palmgren@bredband.net
7f372116ec Fix compile errors and warnings with -DDEBUG_DOCSHELL_FOCUS. b=373985 r+sr=jst 2007-03-24 03:51:44 -07:00
cbiesinger%web.de
df34976698 bug 371299 add a way to query if meta refreshes are pending for a docshell
r+sr=bz
2007-02-22 22:11:30 +00:00
kaie%kuix.de
5af3e3656c 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
2007-02-18 04:24:05 +00:00
bzbarsky%mit.edu
ef25ce1f54 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
2007-02-16 01:01:39 +00:00
Olli.Pettay%helsinki.fi
805e0ff0f8 Bug 363067, Add nsPIDOMEventTarget and kill nsIChromeEventHandler, r=jst, sr=sicking 2007-02-15 23:04:33 +00:00
sharparrow1%yahoo.com
d19f64369b Bug 370185: clean up view header includes (trivial). rs=bzbarsky. 2007-02-12 19:17:33 +00:00
bzbarsky%mit.edu
34caf9e676 Bail out of loads if were going away. Bug 369126, r+sr=jst 2007-02-09 04:40:56 +00:00
mozilla.mano%sent.com
6040afd6ff Bug 83265 - Add a way to disable HTTP-EQUIV=refresh. patch from Mark Pilgrim <pilgrim@gmail.com>, r=biesi,mano,mento. sr=bz. 2007-02-08 13:15:50 +00:00
sharparrow1%yahoo.com
76a64e5c22 Bug 177805: Fix the use of units in Gecko. r+sr=roc 2007-02-07 07:46:44 +00:00
bzbarsky%mit.edu
297a5ddfea Use the right URI when restoring a page from history. Bug 360511, r=jst, sr=sicking 2007-01-17 18:55:35 +00:00
bzbarsky%mit.edu
8a1b6c5e34 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
2006-11-22 18:27:54 +00:00
bzbarsky%mit.edu
0a3a624149 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
2006-11-10 23:49:08 +00:00
bzbarsky%mit.edu
725237b351 Improve wording of the postdata dialog. Bug 112848, patch by Magnus Melin
<mkmelin+mozilla@iki.fi>, r=darin, sr=bzbarsky
2006-11-07 03:28:50 +00:00
bzbarsky%mit.edu
180dcbfe19 Nuke SameOrSubdomainOfTarget. Bug 327109, r=dveditz, sr=jst 2006-10-08 15:54:28 +00:00
gavin%gavinsharp.com
fe051ef99b Bug 351777: domain fixup/guessing broken, r=biesi, sr=bzbarsky 2006-09-24 02:45:23 +00:00
gavin%gavinsharp.com
a30618405a Bug 349419: add nsIDocShellLoadInfo type for fixup, to silence an assertion that occurs any time a URI is fixed up, r=biesi, sr=bzbarsky 2006-09-01 15:58:18 +00:00
bzbarsky%mit.edu
23d7c72d67 Retarget key events to the parent presshell if we have no root content. Bug
303260, r=mats, sr=roc
2006-08-28 02:04:16 +00:00
cbiesinger%web.de
8c59aae763 Bug 265780 part I: Implement nsIAuthPrompt2 and related interfaces per the design at
http://wiki.mozilla.org/Necko:nsIAuthPrompt2
r=darin
2006-08-26 21:42:54 +00:00
bzbarsky%mit.edu
412f72b084 Use a better way of detecting a newly-opened window. Bug 346404, r=biesi, sr=jst 2006-08-23 04:10:05 +00:00
enndeakin%sympatico.ca
51b0babe5e Bug 341524, DOM storage should follow cookie prefs 2006-08-19 01:21:58 +00:00
bzbarsky%mit.edu
e9379f3679 Remove special-casing of about:blank for security purposes; give about:blank
pages the principal of whoever is responsible for loading them, when possible.
Bug 332182, r=mrbkap, sr=jst
2006-08-15 17:31:16 +00:00
jwalden%mit.edu
833f88d123 Bug 26496 - Jar protocol fails silently on file-not-found. r=darin, sr=bz 2006-08-11 18:36:32 +00:00
marria%gmail.com
18980be0d7 Bug 346851 (LOAD_FLAGS_NEW_WINDOW naming doesn't make much sense) Changed variable name and updated comment. r=cbiesinger, sr=bzbarsky 2006-08-06 18:17:29 +00:00
marria%gmail.com
5defba927b Bug 344808 (Canceling a [download whose link tries to open a new window] causes current tab to close, when browser.link.open_newwindow is 1) This fix does not mark the window returned by Open as new, if it is the same as the original window. r=cbiesinger,sr=darin 2006-08-03 06:22:49 +00:00
marria%gmail.com
b5b0c2a855 Bug 346586 (Non-PRBool values passed as PRBool in bug 241972) 2006-08-02 03:05:17 +00:00
bzbarsky%mit.edu
2d2f802923 Back out the additional patch for bug 305181 to fix bug 346259. r+sr=bryner 2006-07-31 04:04:16 +00:00
bzbarsky%mit.edu
4c1ff8d750 Flush out layout when someone asks how big we are. Bug 344861, r+sr=jst 2006-07-21 00:46:17 +00:00
sharparrow1%yahoo.com
341097b456 Bug 344696: Remove nsIDeviceContext::Get/SetZoom. r+sr=roc. 2006-07-21 00:16:07 +00:00
gavin%gavinsharp.com
07fd113dd7 Bug 341112: LOAD_FLAGS_BYPASS_CACHE flag of nsIWebNavigation::loadURI doesn't work, patch by Nickolay Ponomarev <asqueella@gmail.com>, r=biesi, sr=darin 2006-07-08 21:25:08 +00:00
marria%gmail.com
4776db2c47 Bug 241972 (new window opened by window.open('xxx.exe') or target="_blank" isn't closed automatically when a download begins). Fix stores state on the channel indicating whether a window was opened specifically for the download. The external helper app service then closes the window if there is no refresh header and if the window was opened specifically for the download. r=cbiesinger, sr=darin 2006-07-04 20:48:33 +00:00
beng%bengoodger.com
5a25ac8b43 336903 - feeds should not run with chrome privileges. Expose a currentDocumentChannel attribute on nsIDocShell to look at the channel of the currently loaded page (so that we can find out its actual real URI, etc vs. what webNavigation thinks it is (originalURI). r=bz sr=darin 2006-06-27 19:54:47 +00:00
bzbarsky%mit.edu
9a60679a4c Save the principal in the session history entry so that reloading a data: URL
will do the right thing.  Also, change CheckLoadURI to allow null
principals to load things that anyone can load (e.g. http:// URIs).  Bug
337260, r=dveditz, sr=jst
2006-06-19 21:08:45 +00:00