Commit Graph

2679 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
c96c0a25cd Throw if window.open is called on a window that has no chrome. Bug 306804, r+sr=jst 2005-09-10 04:16:59 +00:00
peterv%propagandism.org
aa35c4fb91 Fix for bug 288004 (JS properties on DOM attributes should be preserved across GCs). r=dbaron, sr=jst. 2005-09-08 19:17:52 +00:00
bryner%brianryner.com
03adfcb744 Supply a scriptable interface for accessing the nsIEditor (and therefore the anonymous div) an HTML input or textarea. Bug 303727, r+sr=jst 2005-09-07 18:19:26 +00:00
bzbarsky%mit.edu
23e4e6f111 Make sure to hold on to our JS wrapper after wrapping it so it doesn't get
GC'ed out from under us.  Bug 307279, r=jst, sr=brendan
2005-09-07 03:12:10 +00:00
bzbarsky%mit.edu
877de009ae Make sure to hold on to our JS wrapper after wrapping it so it doesn't get
GC'ed out from under us.  Bug 307279, r=jst, sr=brendan
2005-09-07 02:56:15 +00:00
tor%cs.brown.edu
36c76bbadd Bug 301234 - implement subset of SVG filters. r=scooter 2005-09-06 22:30:40 +00:00
aaronleventhal%moonset.net
4e2b2e9ee4 Bug 305032. Fix various situation where focus is confused and commands get disabled/grayed out. r+sr=bryner 2005-09-06 22:27:41 +00:00
jst%mozilla.jstenback.com
2f032a927a Fixing bug 230909. Add a 'Never show this dialog again' checkbox to the dialog we show when a script runs for more than 5 seconds. r=peterv@propagandism.org, sr=brendan@mozilla.org 2005-09-06 14:51:29 +00:00
bob%bclary.com
b9949fcef0 Bug 303502 - make DOM Don't call me! asserts more meaningful, r=peterv,sr=jst 2005-09-04 18:16:58 +00:00
jst%mozilla.jstenback.com
e8c667e03b Relanding the fix for bug 304423. Make window instanceof Object and Window etc be true again. This regressed with the split window landing. The fix here is to make the inner and outer windows share the outer's XPConnect prototype (but only that, everything below that on the proto chain comes from the inner window). To make this work with fastback we also needed a way to tell XPConnect to restore an old prototype for the window object when going back/forward. r=mrbkap@gmail.com, sr=brendan@mozilla.org 2005-09-01 23:02:57 +00:00
dveditz%cruzio.com
d402ca281c bug 306056: prevent crash calling window.stop() after window.close(). Thanks to Julien Plissonneau Duqu�ne for the original patch, r=dveditz, sr=jst, a=asa 2005-09-01 21:14:47 +00:00
jst%mozilla.jstenback.com
82f4e9911c Backing out my fix for bug 304423 since it broke the Txul tests. 2005-09-01 05:39:58 +00:00
jst%mozilla.jstenback.com
d7b16affa4 Fixing bug 304423. Make window instanceof Object and Window etc be true again. This regressed with the split window landing. The fix here is to make the inner and outer windows share the outer's XPConnect prototype (but only that, everything below that on the proto chain comes from the inner window). To make this work with fastback we also needed a way to tell XPConnect to restore an old prototype for the window object when going back/forward. r=mrbkap@gmail.com, sr=brendan@mozilla.org 2005-09-01 03:56:35 +00:00
jst%mozilla.jstenback.com
b56f380d84 Followup comment change for bug 306630. 2005-09-01 00:24:09 +00:00
jst%mozilla.jstenback.com
fd7e2b6210 Fixing bug 306630. Make <frame src=javascript:...> work again. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2005-08-31 23:55:23 +00:00
pavlov%pavlov.net
2844aa2ba0 adding support for toDataURL and toDataURLAs on canvas. bug 245684. patches from Brett Wilson <brettw@gmail.com>. r=me, sr=vlad 2005-08-31 22:16:51 +00:00
bryner%brianryner.com
8ecd5a1213 Fix a couple of regressions from the last checkin for bug 305167. r+sr=jst. 2005-08-31 20:10:41 +00:00
mrbkap%gmail.com
ef53519297 bug 305452: Don't run timeouts that were set after the page was put into the bfcache (e.g., from a mousemove handler). Instead, store them in the timer list and wait for the page to be pulled out of the bfcache to run them. Also fix a couple of refcounting botches so that timeouts suspended in a page put into the bfcache get cleaned up instead of leaking. r=bryner sr=jst 2005-08-31 19:47:48 +00:00
scott%scott-macgregor.org
adfb499dd1 Bug #282103 --> minor dynamic overlay improvements.
Add IDL documentation stating that it's ok to pass in a null observer to LoadOverlay
Make sure .Init() succeeds on our hashtables, otherwise return an out of memory error code.

r/sr=bz
2005-08-30 21:57:01 +00:00
bryner%brianryner.com
f426cc15ee Stop storing PRIntervalTime values as PRInt64s, and make sure to convert PRIntervalTime to milliseconds before resuming a timeout. Bug 305167, r+sr=jst. 2005-08-30 20:07:58 +00:00
mrbkap%gmail.com
17f1097d7e bug 306164: The global scope polluter is not reinstalled when document.write is used. r+sr=jst 2005-08-29 22:04:39 +00:00
neil%parkwaycc.co.uk
1226844692 Bug 306160 Fix nsIDOMXULMenuListElement::GetInputField to return a type that matches the element that the XBL is trying to return b=306160 r=mats.palmgren sr=bz 2005-08-28 22:04:43 +00:00
ben%bengoodger.com
f98e12557e 282103 - better document the dynamic overlay load method, and announce that it will change for 2.0 r=bryner a=cbeard 2005-08-26 19:08:00 +00:00
tor%cs.brown.edu
ec5069804e Bug 282579 - Implement <svg:textPath>. As a side effect, this removes
the gdi+ text highlighting code.  r=afri
2005-08-26 02:49:52 +00:00
jwatt%jwatt.org
59e42c6cd2 Fixing bug 302103. Implement SVG events. r=tor@acm.org, sr=jst@mozilla.org 2005-08-25 21:31:09 +00:00
bryner%brianryner.com
6383a6ee5b 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. 2005-08-25 07:06:59 +00:00
aaronleventhal%moonset.net
154d3f15fa Bug 249136. Cannot scroll in pages loaded into foreground tabs. Builds on top of previous patch by attempting to fix perf regressions that caused. r=mats, sr=bryner 2005-08-25 00:55:49 +00:00
aaronleventhal%moonset.net
197c551676 Bug 249136. Focus lost in newly loading foreground tabs. r=mats, sr=bryner 2005-08-24 00:31:24 +00:00
roc+%cs.cmu.edu
6377fe1d40 Bug 296036. Remove the very poorly specified (and redundant) field 'point' of nsEvent. r+sr=roc, patch by Eli Friedman 2005-08-23 03:57:07 +00:00
mrbkap%gmail.com
7cb9d2fece bug 304882: Store the location object on the outer window instead of the inner window so that security checks do the Right Thing. Also change some if statements into assertions so we catch bad states. r+sr=jst 2005-08-23 01:42:49 +00:00
mrbkap%gmail.com
f6f8514c0c 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 2005-08-23 00:24:57 +00:00
bzbarsky%mit.edu
0d6a610963 Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
param.  Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
2005-08-22 22:24:29 +00:00
gavin%gavinsharp.com
1a8f9d6e76 Bug 302729 attachment 193230, Convert [tag][/tag] in netError.dtd strings to <tag></tag>, patch by Jeff Walden <jwalden+bmo@mit.edu>, r=cbiesinger, sr=neil, a=cbeard 2005-08-22 03:25:20 +00:00
jst%mozilla.jstenback.com
d028e7fd2c Fixing bug 303765. Don't ever reuse a listener manager on a new inner window. r=sfraser_bugs@smfr.org, sr=brendan@mozilla.org 2005-08-19 22:56:20 +00:00
jst%mozilla.jstenback.com
edac52e953 Fixing bugs 303981 and 304459. Make sure we don't leave window.document pointing to the old document when reusing an inner window, and make sure we don't let Object.prototype leak into a new inner window. r=mrbkap@gmail.com, sr=brendan@mozilla.org 2005-08-19 20:09:38 +00:00
mrbkap%gmail.com
0b8f97b416 bug 304896: Null check mNavigator when we set it, since it isn't guaranteed to be non-null. r+sr=jst 2005-08-19 17:11:30 +00:00
bzbarsky%mit.edu
2273edc3a7 Turn off some more classinfo helpers for XPCNativeWrapper. Bug 304886, r+sr=jst 2005-08-19 15:12:36 +00:00
timeless%mozdev.org
c36cb31367 Bug 304918 don't use cx to mean something other than JSContext cx in DOM
also fixing "handles"
r=jst sr=jst
2005-08-19 09:46:25 +00:00
mrbkap%gmail.com
af539a8b76 Backing myself out to see if it fixes the Seamonkey bustage (original checkin was for bug 304882). 2005-08-19 00:52:59 +00:00
jst%mozilla.jstenback.com
ede53a3cce Fixing bug 304249. Make sure to push cx onto the context stack in nsJSContext::BindCompiledEventHandler() to ensure any security checks etc that happen within it see the right context. r=mrbkap@gmail.com, sr=brendan@mozilla.org 2005-08-18 19:41:44 +00:00
mrbkap%gmail.com
d9703b4bfd bug 304882: Store the location on the outer window and parent it to the outer window's global JS object so that security checks work as expected. This allows us to let the location object always have a valid docshell. r+sr=jst 2005-08-18 19:03:10 +00:00
mrbkap%gmail.com
1eb00e476b bug 304896: Reset the docshell on the navigator object when pulling it out of the bfcache to ensure that it gets the right global object parent. r+sr=jst 2005-08-18 18:43:33 +00:00
jst%mozilla.jstenback.com
4be57eb8e0 Fix dumb typo. 2005-08-17 18:17:39 +00:00
timeless%mozdev.org
9488bc2a6d Bug 304338 nsWindowSH doesn't allow xpcom components to replace its properties
r=jst sr=jst
2005-08-17 06:01:42 +00:00
bzbarsky%mit.edu
5abc902ee0 Make sure to propagate out error returns when initing classes. Bug 294432, r+sr=jst. 2005-08-16 22:54:59 +00:00
jst%mozilla.jstenback.com
e9fbf5f581 Fixing bug 287008. Don't call a method that just asserts and returns NS_OK when we can just return NS_OK. Cut n' paste caused this one... r+sr=peterv@propagandism.org 2005-08-16 21:52:52 +00:00
jst%mozilla.jstenback.com
2ceeb6b6ec Fixing regression from bug 296639. When accessing frame objects by index, wrap the outer frame, not the inner. r=mrbkap@gmail.com, sr=shaver@mozilla.org, a=asa@mozilla.org 2005-08-16 06:38:43 +00:00
mrbkap%gmail.com
77e6b8d4ac Make DEBUG_PAGE_CACHE compile. NPOTB. 2005-08-15 23:35:14 +00:00
bsmedberg%covad.net
f0d2e05a7e Bug 299992 (re-landing) - Move pldhash etc. into the xpcom glue, and centralize various instances of nsINIParser in the xpcom glue. Some files were cvscopied from xpcom/ds to xpcom/glue r=brendan/darin 2005-08-15 18:29:55 +00:00
mrbkap%gmail.com
2b7c7bca7a bug 303267: Store the entire inner window in the window state holder instead of copying properties and restoring them. This fixes going back and forth with the bfcache on when the page gone to has javascript in it. r=jst sr=bryner 2005-08-15 18:16:42 +00:00