77 Commits

Author SHA1 Message Date
Olli.Pettay%helsinki.fi
f0a37dde87 Bug 486398, r=mw22,r+sr=jst,a=dveditz
git-svn-id: svn://10.0.0.236/trunk@257112 18797224-902f-48f8-a5cc-f745e15eee43
2009-05-05 19:37:28 +00:00
Olli.Pettay%helsinki.fi
b6488ec6e9 backout Bug 424377, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@250265 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-15 18:02:23 +00:00
Olli.Pettay%helsinki.fi
5596e1c30a Bug 424377, r=jst, sr=roc
git-svn-id: svn://10.0.0.236/trunk@248951 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-01 10:37:30 +00:00
bent.mozilla%gmail.com
982f9ff69d Bug 416939 - "Broadcast the destruction of DOM windows". r+sr=jst, a=blocking1.9+.
git-svn-id: svn://10.0.0.236/trunk@245649 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-13 23:41:17 +00:00
bent.mozilla%gmail.com
306ca57971 Bug 413447 - "nsXBLDocumentInfo can keep closed global window alive". r=jst, sr=sicking, a=blocking1.9+. Relanding.
git-svn-id: svn://10.0.0.236/trunk@245544 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-13 04:17:19 +00:00
bent.mozilla%gmail.com
b6118e8593 Bug 413447, backing out to see if unit tests pass.
git-svn-id: svn://10.0.0.236/trunk@245515 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-12 20:53:04 +00:00
bent.mozilla%gmail.com
98a9bb7fdd Bug 413447 - "nsXBLDocumentInfo can keep closed global window alive". r=jst, sr=sicking, a=blocking1.9+.
git-svn-id: svn://10.0.0.236/trunk@245501 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-12 17:48:27 +00:00
dcamp%mozilla.com
72024253e9 Bug 402272: Replace <link rel="offline-resource"> with manifests, and navigator.offlineResources/pendingOfflineLoads with window.applicationCache. p=dcamp/Honza Bombas, r=biesi, r+sr=jst, blocking1.9=jst
git-svn-id: svn://10.0.0.236/trunk@243319 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-16 21:54:35 +00:00
jst%mozilla.org
781a3ccd47 Fixing bug 401053. Make sure to initialize LiveConnect any time a Java applet is loaded, no matter what markup was used to load the applet. r+sr=dveditz@cruzio.com, a=dsicore@mozilla.com
git-svn-id: svn://10.0.0.236/trunk@238400 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-31 22:52:11 +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
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
bzbarsky%mit.edu
0583386559 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


git-svn-id: svn://10.0.0.236/trunk@207471 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-15 17:31:16 +00:00
jst%mozilla.jstenback.com
3f3712898a Fixing bug 345791. Removing unused method nsPIDOMWindow::GetObjectProperty(). r=mrbkap@gmail.com, sr=bugmail@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@203701 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-25 23:57:10 +00:00
jst%mozilla.jstenback.com
fc1a7432cb 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
git-svn-id: svn://10.0.0.236/trunk@201619 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-05 22:48:04 +00:00
mhammond%skippinet.com.au
e96b5e495a Land DOM_AGNOSTIC3_BRANCH, bug 255942. r=a few people, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@199778 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-13 03:07:47 +00:00
roc+%cs.cmu.edu
1b9b0d8fc6 Bug 336359. Fire WHATWG online/offline events when the browser offline status changes. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@195938 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-03 21:53:08 +00:00
bzbarsky%mit.edu
01a2e349a8 First part of fix for bug 309721, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@193914 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-08 03:23:37 +00:00
Olli.Pettay%helsinki.fi
b6cdf7cb60 Bug 234455, Centralize event dispatch r=jst, sr=bz
git-svn-id: svn://10.0.0.236/trunk@191900 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-07 17:08:51 +00:00
bzbarsky%mit.edu
6c6dfef96b Remove no longer used method. Bug 327098, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@190979 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 03:24:33 +00:00
bzbarsky%mit.edu
3030894c57 Store the opener principal, not just the opener URI. Bug 325816, r=mrbkap, sr=jst
git-svn-id: svn://10.0.0.236/trunk@190593 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-20 18:52:42 +00:00
bzbarsky%mit.edu
f9ccbdf7ba 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


git-svn-id: svn://10.0.0.236/trunk@190070 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-15 03:22:17 +00:00
bzbarsky%mit.edu
e446371b8e 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


git-svn-id: svn://10.0.0.236/trunk@189344 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 20:46:39 +00:00
bzbarsky%mit.edu
06c30c7c7c Fix bug 306642 -- caller's shouldn't have to guess at how to force inner window
creation.  r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@185922 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-11 20:38:29 +00:00
jst%mozilla.jstenback.com
b3caccffbd 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
git-svn-id: svn://10.0.0.236/trunk@185536 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-01 19:35:27 +00:00
jst%mozilla.jstenback.com
895df6e6ca Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@185351 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-28 23:56:44 +00:00
bsmedberg%covad.net
0217e2f9a9 Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver
git-svn-id: svn://10.0.0.236/trunk@184456 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 14:36:26 +00:00
bryner%brianryner.com
0e0bc1c5ee Move resuming of timeouts to after we've restored the docshell hierarchy, so that they're restored correctly for subframes. Bug 305156, r=cbiesinger, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@178919 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 07:06:59 +00:00
mrbkap%gmail.com
e51f8de643 bug 305236: Don't store the current document in the bfcache if we're going to reuse the current inner window for another page. In this case, the current document never was making it into session history anyway. r=bryner sr=jst
git-svn-id: svn://10.0.0.236/trunk@178653 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 00:24:57 +00:00
jst%mozilla.jstenback.com
a9f668bc25 Followup changes to bzabarsky's review for bug 296639. Reviews pending, a=drivers@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@177635 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-12 04:11:00 +00:00
jst%mozilla.jstenback.com
792744ce69 Landing the split window work, bug 296639. This change doesn't have full reviews yet, bzbarsky@mit.edu and shaver@mozilla.org have done partial reviews, but there's still more to look at. Given the current time constraint this is landed with reviews and followup changes that result to come after the initial checkin. a=drivers
git-svn-id: svn://10.0.0.236/trunk@176884 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-30 20:57:07 +00:00
jst%mozilla.jstenback.com
c9a2d89818 Fixing bug 176079. Provide an API for plugins to control whether popups are enabled or not. Disable popups by default from plugins, but enable/disable popups while handling user input events (mouse click, keydown etc) on the platforms where it's possible (Win32 and Mac), but do that only if the plugin doesn't support the popup enabling/disabling API. r+sr+a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@174814 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-18 06:06:45 +00:00
bzbarsky%mit.edu
676bea63e1 Back out the change for bug 277092, since it breaks other compat and pages.
Bug 292921, r=jst, sr+a=brendan


git-svn-id: svn://10.0.0.236/trunk@173196 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-08 21:44:16 +00:00
bryner%brianryner.com
189a661d09 Add support for caching content viewers in session history to speed up back/forward (bug 274784). This initial landing has the feature disabled by default; set browser.sessionhistory.max_viewers to the maximum number of pages to cache to enable the feature. r=bzbarsky, sr/a=brendan.
git-svn-id: svn://10.0.0.236/trunk@173044 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-04 20:22:32 +00:00
bzbarsky%mit.edu
3040cb0efe Make STOP_CONTENT not only stop the content viewer, but also cancel all pending
timeouts and intervals. Bug 277092, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@168587 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-31 22:49:42 +00:00
dbaron%dbaron.org
3107d83171 Fix another typo that stephend noticed.
git-svn-id: svn://10.0.0.236/trunk@166960 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-22 16:57:03 +00:00
dbaron%dbaron.org
70572756f3 Fix runtime bustage involving some static build and/or --disable-xul situation by giving different classes different names. b=275119 r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@166959 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-22 16:37:51 +00:00
jst%mozilla.jstenback.com
c179a9b1bf Dropping 'Impl' from class names to keep things more sane. rs=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@166573 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-10 19:48:22 +00:00
danm-moz%comcast.net
f27b256f44 single window mode aviary branch merge. bug 172962, 263960 r=jst
git-svn-id: svn://10.0.0.236/trunk@166399 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-07 16:09:10 +00:00
jst%mozilla.jstenback.com
2ecd1a953d Disable site reloading from onresize. Bug 258917. r=bzbarsky@mit.edu, sr=dbaron@dbaron.org
git-svn-id: svn://10.0.0.236/trunk@164070 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-20 02:19:57 +00:00
jst%mozilla.jstenback.com
8daad17357 Fixing bug 260385. Prevent popups from opening from beforeunload events. r=danm.moz@gmail.com, sr=bzbarsky@mit.edu, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@162730 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-23 23:39:16 +00:00
bryner%brianryner.com
2f01bde792 Provide an inline implementation of private operator new and delete, for compilers that think they need the definition. Fixes AIX and probably IRIX bustage.
git-svn-id: svn://10.0.0.236/trunk@161798 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-05 21:29:45 +00:00
jst%mozilla.jstenback.com
b48c485e4b Fixing typos in comments, and a adding a change that got lost in the merge of the patch for bug 252326 when it was merged from the aviary branch.
git-svn-id: svn://10.0.0.236/trunk@161778 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-05 08:24:29 +00:00
jst%mozilla.jstenback.com
809b317cb3 Fixing bug 252326. Fixing some popup blocker problems. Making sure only trusted events get mark trusted, and only allow popups while processing trusted (initiated by the user) events. Patch by trev@gtchat.de and jst@mozilla.org, r=bzbarsky@mit.edu, rs=brendan@mozilla.org, bryner@biranryner.com
git-svn-id: svn://10.0.0.236/trunk@161765 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 19:28:46 +00:00
bsmedberg%covad.net
1173d808a5 Parts of bug 205425 - turn the embedding widget into a GRE client - patch by marco@gnome.org r=me sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@157100 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-29 17:43:59 +00:00
danm-moz%comcast.net
334478975e fix IsLoadingOrRunningTimeout broken in rev 1.31
git-svn-id: svn://10.0.0.236/trunk@155930 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-04 18:58:28 +00:00
jst%mozilla.jstenback.com
571c79a818 Fixinb build warning. sr=bryner@brianryner.com
git-svn-id: svn://10.0.0.236/trunk@155890 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-04 01:36:49 +00:00
bryner%brianryner.com
7247372aa3 deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@155867 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-03 21:48:36 +00:00
gerv%gerv.net
98831918fc Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155044 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 21:52:36 +00:00
danm-moz%comcast.net
c0cfc94bde add methods to track whether window was opened as a popup. bug 197919 r=bryner,jst
git-svn-id: svn://10.0.0.236/trunk@152196 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-03 02:22:02 +00:00
bryner%netscape.com
c4c16cf195 Remove #include "nsIScriptContext.h" from nsPIDOMWindow.h, because this (among other things) creates a dependency on js headers, which is breaking Camino. Bug 210704, r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@144170 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-26 00:41:23 +00:00