Commit Graph

330 Commits

Author SHA1 Message Date
393791b322 more bustage fix 2007-08-23 11:09:31 -07:00
3b466c55c5 Fix build bustage 2007-08-23 10:39:59 -07:00
5d363f665e 391100 move nsAutoWindowStateHelper from nsPrompt to nsPromptService r=bz sr=jst a=bz 2007-08-23 10:31:39 -07:00
f3f7d0477b 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
51dfda0c8e 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
eda1256578 More consistent handling of principals for loads across docshell type
boundaries.  Bug 388121, r+sr=jst
2007-07-17 18:47:07 -07:00
2cfcd1211d Hold a strong ref on the script context while its JSContext is on the stack. b=380512 r+sr=jst 2007-07-10 06:53:01 -07:00
98de634631 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
hg@mozilla.com
2ca566cd74 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00
bzbarsky@mit.edu
a889674fdc Fix assertion to assert about the right thing. Bug 265780 comment 35 followup. 2006-12-01 04:35:18 +00:00
timeless@mozdev.org
358db4f61b Bug 106386 Correct misspellings in source code
r=glennrp@gmail.com, bclary@bclary.com rs=brendan
2006-11-01 23:02:18 +00:00
bzbarsky@mit.edu
253fb81570 Apply chrome flags to dialogs, even when opened by untrusted content (so alerts
are not resizable, for example).  Bug 294440, r=bsmedberg, sr=jst
2006-10-24 21:42:18 +00:00
cbiesinger@web.de
18c9f8c6dc bug 354410 move auth prompt strings out of necko. also, use the correct
strings for prompting without a realm and for prompting only for a password.
r=darin
2006-09-28 20:11:33 +00:00
mattwillis@gmail.com
65b4f4fb37 bug 354522 - Moves rv outside the if so nsIAuthPrompt2 works properly. r=biesi,sr=dmose 2006-09-27 19:41:01 +00:00
cbiesinger@web.de
345fbfcb8d Bug 265780 make FTP use nsIAuthPrompt2
r=darin
2006-09-22 21:06:57 +00:00
dbaron@dbaron.org
e7d9f3d481 Be more careful pushing/popping contexts. b=352264 r=jst sr=bzbarsky/jst 2006-09-12 22:58:11 +00:00
cbiesinger@web.de
170d2dabf7 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
1401e54c2e 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
bzbarsky@mit.edu
39841f57ac Diverting window.open into a tab doesn't stop the about:blank load before
returning the new window.  Bug 348272, r=bsmedberg, sr=jst
2006-08-12 02:09:23 +00:00
marria@gmail.com
16d7fa3d47 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
cbiesinger@web.de
3ffbd9067a Bug 344980 make nsPrompt functions always set their out parameters/retvals
r+sr=bz
2006-07-20 22:16:15 +00:00
bzbarsky@mit.edu
19df05f931 Don't set the dependent bit on windows not being opened at chrome, even if it's
in the features.  Bug 344257, r=bsmedberg, sr=jst
2006-07-18 20:40:43 +00:00
mrbkap@gmail.com
5a5099cbed Remove extraneous newline. No bug, r+sr=jst 2006-07-11 22:55:09 +00:00
jst@mozilla.jstenback.com
43d057fa77 Fixing bug 334891. Prevent window.close() from closing the window if there's a modal dialog parented at the window. r=dveditz@cruzio.com, sr=bzbarsky@mit.edu 2006-07-05 22:48:04 +00:00
marria@gmail.com
675538f475 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
mrbkap@gmail.com
c762defff9 Restore lost compatibility by not defining an arguments object on the window if there weren't any to begin with. Also, explode nsIArray as well as nsISupportsArray in OpenWindow. bug 342813, r+sr=bzbarsky 2006-06-27 20:09:16 +00:00
darin@meer.net
72c49195c7 fixes bug 313101 "HTTP auth dialog is titled 'Prompt'" patch by gavin sharp and darin, r=mconnor 2006-06-22 00:18:43 +00:00
mrbkap@gmail.com
37065ed130 Fix this to be a real null check. No bug, r+sr=bzbarsky 2006-06-14 22:25:12 +00:00
mrbkap@gmail.com
65d077d443 Restore old behavior where an nsISupportsArray is exploded into multiple arguments whereas any other COM object simply becomes argv[0]. bug 341362, r+sr=bzbarsky 2006-06-14 22:18:03 +00:00
mhammond@skippinet.com.au
b4a24d6cdf Land DOM_AGNOSTIC3_BRANCH, bug 255942. r=a few people, sr=brendan. 2006-06-13 03:07:47 +00:00
mrbkap@gmail.com
76c64de9cd Checking in Ben Turner <bent.mozilla@gmail.com> and timeless's patch to make Gecko use the JS engine's request model to help multithreaded embedders avoid GC races and crashes. bug 176182, r=mrbkap assumed-rs=brendan 2006-06-12 22:39:55 +00:00
timeless@mozdev.org
94c327dca3 Bug 337917 Make consumers stop using cids from other modules
r=smontagu sr=darin
2006-06-03 23:35:59 +00:00
darin@meer.net
0700b87ece landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
benjamin@smedbergs.us
e590887702 Freeze nsIArray (requires separating nsIMutableArray into another .idl file); also removes NS_NewArray and moves do_QueryElementAt into the glue, r=darin 2006-04-12 15:43:32 +00:00
gerv@gerv.net
1bcf852b58 Bug 236613: change to MPL/LGPL/GPL tri-license. 2006-03-31 04:41:00 +00:00
mrbkap@gmail.com
008425ddef Hold a strong reference to our context if we're using a script context from a window, since the window could navigate away before we're done with the context. bug 310508, r=jst sr=bzbarsky 2006-02-24 21:14:01 +00:00
bzbarsky@mit.edu
4afa0b0e8b PArt of patch for bug 266371 2006-02-15 03:33:38 +00:00
bzbarsky@mit.edu
7737505ea2 Keep track of the original window opener (or rather whether one was present)
even if window.open calls target the window.  Bug 266371 and bug 212298,
r=bsmedberg, sr=jst
2006-02-15 03:22:17 +00:00
bryner@brianryner.com
a3b5ab8aec Dispatch a notification that a newly-opened window has been initialized (bug 326784). r+sr=bzbarsky. 2006-02-12 00:39:26 +00:00
bzbarsky@mit.edu
c193e9202b Make nsIWindowProvider report whether it created a new window. Bug 326006,
r=bsmedberg, sr=jst
2006-02-10 20:50:43 +00:00
bzbarsky@mit.edu
06c870db0e Move the "force into tab" code out of Gecko and allow embeddors to do the same
sort of thing.  Bug 323810, r=bsmedberg, sr=jst
2006-02-07 20:46:39 +00:00
cbiesinger@web.de
aae44b57d9 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
mark@moxienet.com
7b256ef7ec 190307 Non-blocking alert service/MathML for Camino. Adding copyright and license information for makotoy@ms.u-tokyo.ac.jp. Also marking the interface scriptable and cleaning up the documentation. 2006-02-02 04:25:41 +00:00
mark@moxienet.com
8a92ccee69 190307 nsINonBlockingAlertService.idl is not frozen, moving out of SDK_XPIDLSRCS 2006-02-02 02:43:42 +00:00
mark@moxienet.com
e8db7a251f 190307 Add MathML support to Camino, adding a non-blocking alert service to handle MathML's missing-font dialog. Patch by Makoto Yamashita <makotoy@ms.u-tokyo.ac.jp>, fixed up for CaminoStatic by me. r=smfr sr=pink 2006-02-02 02:07:45 +00:00
jst@mozilla.jstenback.com
61c08f932c Fixing bug 318461. Move SetNewDocument() and SetOpenerWindow() from nsIScriptGlobalObject to nsPIDOMWindow to clean out non-script related methods form the nsIScriptGlobalObject interface. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2005-12-01 19:35:27 +00:00
jst@mozilla.jstenback.com
3434d072e9 Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org 2005-11-28 23:56:44 +00:00
roc+@cs.cmu.edu
dc49d1afbd Backing out fix for bug 303484 since it exposed some other issues and doesn't fix any known crashers. 2005-10-18 01:41:11 +00:00
bzbarsky@mit.edu
775c247c4b Don't try to duplicate the jsval typedef. Bug 312003, r+sr=brendan 2005-10-12 20:16:35 +00:00
bzbarsky@mit.edu
9869218bad Attempt to fix splitwindow focus stuff -- bug 305032. Issue found by mrbkap,
patch by me, r=mrbkap, sr=jst
2005-09-28 02:44:16 +00:00