Граф коммитов

2865 Коммитов

Автор SHA1 Сообщение Дата
bzbarsky%mit.edu 31efb53dbe Make sure to not double-close windows -- that confuses our shutdown code. Bug
311479 partial fix, r=mrbkap, sr=jst
2005-10-14 21:56:21 +00:00
peterv%propagandism.org 61d64ef5ff Fix for bug 274777 (Update to Expat 1.95.8). r=bsmedberg, sr=bz. 2005-10-14 12:23:59 +00:00
bzbarsky%mit.edu d86be43444 Don't try to duplicate the jsval typedef. Bug 312003, r+sr=brendan 2005-10-12 20:16:35 +00:00
mrbkap%gmail.com 4a6dc50c3e bug 310927: Use JSPROP_SHARED to prevent phantom nodelist elements from reappearing instead of trying to void out non-existant properties (and thus voiding out non-numeric properties as well). r=jst sr=brendan 2005-10-12 19:07:42 +00:00
pedemont%us.ibm.com 7326ee136a Bug 309337 - Make sure reserving 512k in stack space doesn't cause unsigned stacklimit var to wrap. r=brendan, sr=jst 2005-10-11 16:50:27 +00:00
Olli.Pettay%helsinki.fi cde8aaf024 Bug 306974, Remove some duplicate event dispatching code r=sicking, sr=peterv 2005-10-10 18:38:57 +00:00
neil%parkwaycc.co.uk 27a5e72b92 Bug 240627 Add warnings for some reserved key shortcuts r=bryner sr=bz 2005-10-08 10:20:02 +00:00
mrbkap%gmail.com ac604da132 bug 311024: Make sure eval grabs the right scope object. r=brendan sr=jst 2005-10-08 00:28:45 +00:00
mrbkap%gmail.com 5d24c3db6d bug 311151: Attempt to restore some lost Tp from bug 311090 by adding a fast path that avoids xpconnect. r+sr=bzbarsky 2005-10-06 19:58:26 +00:00
mrbkap%gmail.com 6c1f8aef33 bug 311090: Don't make bad assumptions about our implementation. assumed-r=jst sr=brendan 2005-10-04 20:38:58 +00:00
mrbkap%gmail.com 679fb560e0 bug 310351: Allow resolution of numeric properties on array objects so that native JS array functions can properly operate on them. r=jst sr=brendan 2005-10-04 05:50:42 +00:00
mrbkap%gmail.com ffbaaa7ee4 bug 310458: [splitwindow] edit commands not available to extensions window (cut, copy, paste, select all, arrow keys navigation). Patch from bzbarsky. r=mrbkap sr=jst 2005-10-04 05:44:45 +00:00
jst%mozilla.jstenback.com a3c4b5f866 Fixing bug 310552. Fix window.addEventListener() and other methods that forward to the inner window when called from C++ on a newly created window. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2005-10-04 01:08:18 +00:00
aaronleventhal%moonset.net d4c7a6fc86 Bug 307741. Tp regression from checkin to bug 305032. r=mats, sr=bryner 2005-10-03 19:38:27 +00:00
mrbkap%gmail.com 1ff7d77f6f bug 302618: Use good principals when running a js url without an owner. r=sicking sr=jst 2005-10-03 16:59:38 +00:00
jst%mozilla.jstenback.com ce09207726 Fixing bug 300453. Make focusing of subframes still work from script even if window focusing in general is disabled. r=mrbkap@gmail.com, sr=bryner@brianryner.com 2005-09-30 23:51:04 +00:00
mrbkap%gmail.com 6a80c2c3e3 bug 308856: Make sure that we enumerate over the inner window object, since no properties are actually stored on the outer window's js object. r=brendan sr=jst 2005-09-30 01:18:43 +00:00
bzbarsky%mit.edu 746d3904e7 Make named arrays not look up names for XPCNativeWrapper. Bug 310069,
r=mrbkap, sr=jst
2005-09-29 22:08:09 +00:00
peterv%propagandism.org 15e14dbf57 Fix for bug 310068 (XPCNativeWrapper fails to look up named properties on HTMLCollection). r/sr=bz. 2005-09-28 13:44:31 +00:00
bzbarsky%mit.edu d9d40b5770 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
timeless%mozdev.org f4c6a7bfd8 Bug 308778 setting fantasy football sportsline.com [@ MimeTypeArrayImpl::GetMimeTypes]
r=jst sr=jst
2005-09-27 14:48:20 +00:00
peterv%propagandism.org a91a09cd13 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null), remove some includes. Patch by sicking, updated by peterv, r=bz, sr=peterv. 2005-09-26 14:37:29 +00:00
peterv%propagandism.org 67242b14b8 Fix for bug 296230 (javascript removeNode only affects the view, NOT the DOM). r/sr=jst. 2005-09-24 17:38:14 +00:00
jst%mozilla.jstenback.com eeb86745c2 Fixing bug 294978. Add security checks when accessing properties on a [i]frame element. r=dveditz@cruzio.com, sr=brendan@mozilla.org 2005-09-23 19:59:06 +00:00
bzbarsky%mit.edu 594e733c16 Remove silly warning in GetDocShell impls, and use the principal (which we
should always have) instead of the docshell for chrome vs content
determination.  Bug 51962, r+sr=jst
2005-09-22 02:10:07 +00:00
bryner%brianryner.com 0c8835f9d7 Change nsIDOMNSEditableElement to be a standalone interface that's not reflected through classinfo. Bug 303727, r+sr=jst. 2005-09-21 22:02:26 +00:00
mrbkap%gmail.com a9d710e4fa bug 302333: Save and restore the DOM branch callback time around the GC, since GCing can cause it to be reset. r+sr=bzbarsky 2005-09-20 20:59:16 +00:00
jst%mozilla.jstenback.com dea52ede34 Fixing bug 304430. Make sure an event listener's scope doesn't get GC'd before the listerner. r=bzbarsky@mit.edu, sr=brendan@mozilla.org 2005-09-19 18:57:39 +00:00
bzbarsky%mit.edu eabb28c936 Show a useful error message if a page claims to be compressed and isn't. Bug
184144, patch by Vidar Braut Haarr <vhaarr+bmo@gmail.com>, r=darin, sr=bzbarsky
2005-09-16 19:27:27 +00:00
bzbarsky%mit.edu 19d2add95a Keep the results of EvaluateStringWithValue properly alive while we're using
them, and make sure we don't GC the xbl property getter when we create the
setter.  Bug 299205, r=jst, sr=brendan
2005-09-16 15:44:59 +00:00
dougt%meer.net 4435542681 This fixes the NS_PRINTING configure option which got broken at some point. b=308629 r/sr=jst@mozilla.org 2005-09-16 02:25:37 +00:00
masayuki%d-toybox.com 0bf78f187a Bug 308173 Printing reverts to default printer every time a page is printed r+sr=jst 2005-09-15 15:16:04 +00:00
jst%mozilla.jstenback.com 9f8172abf3 Fixing bug 307040. Make window._content accurately reflect window.content when accessed from chrome too. r=mrbkap@gmail.com, sr=brendan@mozilla.org 2005-09-14 03:22:27 +00:00
scootermorris%comcast.net 31c2f50383 Bug 294517 -- implement SVG Patterns
r=tor
2005-09-13 22:38:36 +00:00
gerv%gerv.net 35149ea17d Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-09-13 18:40:56 +00:00
jst%mozilla.jstenback.com aee3973978 Fixing bug 307632. Make the DOM code wrap objects in the current inner window when requested to wrap an object in an outer window. This ensures that window.selection === selection, and window.selection.__proto__ === Selection.prototype. r=mrbkap@gmail.com, sr=brendan@mozilla.org 2005-09-13 00:26:53 +00:00
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
bzbarsky%mit.edu c7191e818a Make the one-arg version of scrollIntoView scriptable in IDL. Bug 296965,
r+sr=jst.
2005-08-15 02:37:14 +00:00
dbaron%dbaron.org 20edc5ab39 Missed file from checkin for bug 271802: whether to extend print dialog should not be part of localization. r=bsmedberg 2005-08-13 19:42:37 +00:00
mrbkap%gmail.com c5688dfef2 Backing out changes for bug 303267 until the perf hits on the Seamonkey tinderbox can be explained. 2005-08-13 03:54:29 +00:00
mrbkap%gmail.com 59fbced3fe bug 303267: Store the entire inner window object on the history entry instead of copying/restoring JS properties. r=bryner sr=jst. This patch also fixes bugs 304284 and 304078. 2005-08-13 00:53:39 +00:00
jst%mozilla.jstenback.com e23ea875f3 Followup changes to bzabarsky's review for bug 296639. Reviews pending, a=drivers@mozilla.org 2005-08-12 04:11:00 +00:00
bsmedberg%covad.net 8992fb4c7d Backout bug 299992 - too much odd platform-specific bustage 2005-08-11 22:07:08 +00:00
bsmedberg%covad.net 65d2ab642f Additional bustage fix, bug 299992 2005-08-11 21:02:28 +00:00
bryner%brianryner.com 65891781d9 Release timeouts when a cached page is evicted from session history. Bug 302290, r=darin sr=jst a=brendan 2005-08-10 20:10:18 +00:00
jst%mozilla.jstenback.com 112e7e0cd6 Fixing bug 303420. Making the global scope polluter work again, it was failing due to security checks failing when performed before the context and global objects were fully initialized. r=mrbkap@gmail.com, sr=bryner@brianryner.com, a=cbeard@mozilla.org 2005-08-10 00:15:51 +00:00
timeless%mozdev.org 8ce85b83a1 Bug 304003 Bfcache does not work anymore
patch by biesi r=bryner sr=smfr a=chase
2005-08-09 21:29:23 +00:00
bryner%brianryner.com 9a35b089ca Fix gc crash if we ever failed to copy a window's properties. Bug 298459, r=darin, a=brendan. 2005-08-09 01:46:01 +00:00
smfr%smfr.org cb4ed7c2b3 Fix bug 302962. When someone calls Activate() or Deactivate() on an nsWebBrowser which doesn't have a content viewer yet (and hence no pres shell), don't just bail because nsGlobalWindow will complain. Instead, change nsDocShell to make the content viewer on demand, and go ahead and pass the activate/deactivate onto the dom window. This fixes a serious focus bug in Camino.
r/sr=bryner, a=bsmdedberg.
2005-08-06 20:28:42 +00:00
bryner%brianryner.com 006c256aff Use the target window's outer window when we're checking for the focused window for fastback. Bug 298077, r=dbaron a=bsmedberg 2005-08-06 03:17:28 +00:00
jst%mozilla.jstenback.com b396c88c41 Fixing bug 302889, and more tinderbox orange (balsa). Make window.close() actually close the window. Events that were incorrectly targetted at an inner window caused one of our DOMWindowClose handlers to prevent the close. See the bug for more details. r+sr=dbaron@mozilla.org, a=chase@mozilla.org 2005-08-02 01:23:40 +00:00
jst%mozilla.jstenback.com 91e96f10ed Fixing crash in nsFocusController::GetWindowFromDocument. Patch by allan@beaufour.dk, r+sr=jst@mozilla.org, a=benjamin@smedbergs.us 2005-08-02 01:14:00 +00:00
dbaron%dbaron.org f89acc7b89 Switch order of first two base classes to work around btek orange. 2005-07-31 19:43:27 +00:00
jst%mozilla.jstenback.com 9096d968f8 Fixing orange on tinderbox. The problem was that when we were tearing down a window and releasing its document we didn't remember the document principals, so any security checks that happened after a window was torn down failed. Partial backout of the fix for bug 296639. r=dbaron@mozilla.org 2005-07-31 16:44:28 +00:00
jst%mozilla.jstenback.com b83b23cb6b Fixing win32 build bustage. 2005-07-30 22:06:42 +00:00
jst%mozilla.jstenback.com 8c2bc6fcb8 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 2005-07-30 20:57:07 +00:00
bzbarsky%mit.edu 6e9cbfcb44 Make XPCNativeWrapper call the wrapped native's classinfo resolve/get/set
hooks.  Makes native wrappers work in lots of nasty DOM0 corner cases.  Bug
296967, r=mrbkap, sr=jst, a=asa
2005-07-29 15:11:08 +00:00
cbiesinger%web.de d62314530b bug 280190 Make netError.xhtml look better. Also makes it themable.
patch by Henrik Skupin <hskupin@gmail.com> a=bsmedberg/mconnor

Core part: r=biesi sr=peterv
Toolkit part: r=mconnor
SeaMonkey part: r=neil sr=darin
2005-07-28 18:00:28 +00:00
timeless%mozdev.org 9cc5022208 Bug 301780 please reuse the cached Length() value
patch by bugzilla@mcsmurf.de r=jst sr=jst a=bsmedberg
2005-07-28 16:22:42 +00:00
bzbarsky%mit.edu c5a672fdb1 Make sure that documents are referenced if we're preserving any wrappers in the
document.  Bug 301316, r=jst, sr=dbaron, a=bsmedberg
2005-07-28 16:15:00 +00:00
bryner%brianryner.com 83216585ac Change PageShow/PageHide events to be lowercase and hook them up so that onpageshow= works on the body tag. Bug 297887, patch by brettw@gmail.com, r=me, a=bsmedberg. 2005-07-25 22:09:39 +00:00
bryner%brianryner.com 3fc6d9506a Fixing warnings in DEBUG_me code. NPOB. 2005-07-22 23:03:08 +00:00
aaronleventhal%moonset.net 74ad5c528d Bug 301406. Fix accessibility of XUL multiline textboxes. r+sr=neil, a=mkaply 2005-07-21 00:37:27 +00:00
bzbarsky%mit.edu b0732b1395 Preserve XPCNativeWrappers when "expando" properties are set on them. Bug
295937, r=shaver, sr+a=brendan
2005-07-19 21:40:33 +00:00
bzbarsky%mit.edu 11a3eb7ec3 Don't return random numbers from GetPort. Bug 300997, r+sr=jst, a=bsmedberg 2005-07-19 21:12:18 +00:00
bzbarsky%mit.edu 2ecae9f664 Escapes should be allowed to start an id. Bug 299148, r+sr=dbaron, a=bsmedberg 2005-07-19 20:49:34 +00:00
mozilla.mano%sent.com bf547497d9 Bug 299480 - neterror.xhtml startup document isn't RTL in RTL locales. r+a=bsmedberg, sr+bzbarksky 2005-07-14 22:52:11 +00:00
timeless%mozdev.org ea910fef32 Bug 300000 Shutdown crash [@ ObjectPrincipalFinder]
r=jst sr=jst a=brendan
2005-07-08 04:47:58 +00:00
bzbarsky%mit.edu 75933a51dc Make sure to notify XPConnect if an XBL constructor or destructor throws an
exception so they get reported in a timely manner.  Bug 299741, r+sr=jst, a=chofmann
2005-07-06 15:46:12 +00:00
dveditz%cruzio.com ff726a386a bug 298934: Show originating host in content alert/confirm/prompt instead of generic "Javascript Application". r=cbiesinger, sr=jst, a=jay 2005-07-06 07:38:36 +00:00
brendan%mozilla.org d0a48d5659 Support E4X by default in chrome windows and in XUL scripts (293392, r+sr=peterv/jst). 2005-07-02 19:52:25 +00:00
jst%mozilla.jstenback.com feeb5a5609 Fixing bug 297543. Make the hidden window load a URL that's not about:blank. r=benjamin@smedbergs.com, sr=brendan@mozilla.org, a=brendan@mozilla.org 2005-07-01 23:58:15 +00:00
dbaron%dbaron.org 22c8c10292 Implement css3 syntax for url() values of cursor with optional hotspot coordinates. b=286303 r=biesi sr=bzbarsky a=asa 2005-07-01 04:29:42 +00:00
dbaron%dbaron.org 77fe79b845 Fix extraneous quotes in unexpected EOF CSS parser errors. b=299192 r+sr=bzbarsky a=asa 2005-07-01 04:18:53 +00:00
roc+%cs.cmu.edu 41bf2924b1 Bug 288438. Turn off SVG <foreignobject> because it's pretty broken. r=benjamin,sr=dbaron,a=benjamin,patch by jwatt,tor and roc 2005-06-29 03:51:44 +00:00
bsmedberg%covad.net 4e2f2ba5b5 Bug 295729 - Null-check for nsContentUtils shutdown to avoid a crash during shutdown, r+sr=jst a=drivers 2005-06-23 01:05:38 +00:00
bryner%brianryner.com 8d9c63bf34 Add a root for mJSObj earlier in WindowStateHolder's ctor to prevent possible gc while traversing child docshells. Bug 298459, r+a=brendan. 2005-06-22 22:03:38 +00:00
jst%mozilla.jstenback.com f3ed62af01 Fixing bug 296704. Make re-dispatching of events work as expected. r=dveditz@cruzio.com, sr=bryner@brianryner.com, a=dveditz@cruzio.com 2005-06-22 01:53:58 +00:00
jst%mozilla.jstenback.com 76a60a87eb 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 2005-06-18 06:06:45 +00:00
brendan%mozilla.org 78112d199d Use JS_EnumerateResolvedStandardClasses for bfcache transparency (292903, r+sr=bryner/jst). 2005-06-16 22:14:43 +00:00
gandalf%firefox.pl 55185f343f Bug 296169: cannot localize svg.properties (should be in chrome/, not res/); r=bsmedberg,a=asa 2005-06-16 13:49:04 +00:00
bryner%brianryner.com e4a343f08f Fix assorted issues with fastback, including adding progress listener notifications and introducing the PageHide and PageShow events. See bug 292971 for all of the details. r=darin, sr=bzbarsky, a=shaver. 2005-06-15 23:52:46 +00:00
masayuki%d-toybox.com 383542e63c Bug 118563 The new print properties dialog does not save papersize / make the same as suite/toolkit print process for "javascript:window.print()" r+sr=jst, a=chofmann 2005-06-10 18:26:31 +00:00
timeless%mozdev.org 1a5c012963 Bug 297027 NS_ScriptErrorReporter(JSContext *cx, const char *message, JSErrorReport *report) doesn't report message to stdout
r=jst sr=jst a=chofmann
2005-06-10 05:25:25 +00:00
bzbarsky%mit.edu 9b384ff906 Fixing build bustage. Part of bug 295983. 2005-06-09 16:29:26 +00:00
bzbarsky%mit.edu 3114a994a1 Make sure to call ScriptEvaluated when doing all evaluations, to call it
_after_ we've popped the JSContext from the stack, and to handle multiple
termination functions being posted from a single script evaluation.  Fixes
leaks when closing windows or tabs with still-loading documents.  Bug 295983,
r+sr=jst, a=asa
2005-06-09 15:42:19 +00:00
timeless%mozdev.org c308f7b421 Bug 297073 Crash closing compose window with [x]
properly group &&/||
r=jst sr=jst a=asa
2005-06-08 23:08:56 +00:00
timeless%mozdev.org b71b5c41ff Bug 294846 misplaced null checks in NS_ScriptErrorReporter rearrange null checks and don't try to send a dom error for OOM
r=jst sr=jst a=asa
2005-06-08 03:02:00 +00:00
brendan%mozilla.org b2dc882824 Fix bugs 296772 and 262948 (r=shaver, sr=jst, a=me). 2005-06-08 02:13:10 +00:00
jst%mozilla.jstenback.com 4ae27eb507 Fixing bug 296850. Unregress frame injection bug 246448. r=bzbarsky@mit.edu, sr+a=brendan@mozilla.org 2005-06-07 23:34:22 +00:00
timeless%mozdev.org 027433ba8d Bug 294846 misplaced null checks in NS_ScriptErrorReporter
rearrange null checks and don't try to send a dom error for OOM
r=jst sr=jst a=asa
2005-06-07 23:20:06 +00:00
timeless%mozdev.org 2393f6c25b Bug 296512 Change DOMGCCallback to *always* chain to other callbacks
r=jst sr=brendan a=asa
2005-06-07 22:21:41 +00:00
jst%mozilla.jstenback.com 26ec9dcb20 Fixing bug 289263. Fix broken logic that made document.all.tags('...') not work. r=bzbarsky@mit.edu, sr=brendan@mozilla.org, a=brendan@mozilla.org 2005-06-03 18:16:26 +00:00
jst%mozilla.jstenback.com 4e48d2a634 Fixing bug 292464. Use the documents principals to check if a document is a chrome document or not. r=smaug@welho.com, sr=peterv@propagandism.org, a=shaver@mozilla.org 2005-06-02 23:36:08 +00:00
bryner%brianryner.com 54270eb9c7 Don't leak if CopyJSProperties() fails. Bug 292972, patch by mikael@parknert.se, r=bzbarsky, sr=me, a=brendan. 2005-06-02 18:18:31 +00:00
relyea%netscape.com e5049cdcc1 Fix the license. Still bug 284366 PSM needs to handle Smart Cards seamlessly
r+sr+a=shaver
(caught by Christian persch)
2005-06-02 16:40:29 +00:00
allan%beaufour.dk f4dd6c43ce Support context size and position in ns(XForms)XPathExpression. Bug 292841, r=sicking, sr=peterv, a=mkaply 2005-06-02 06:53:42 +00:00
relyea%netscape.com 3bf4387d1c SmartCard support checkin.
Bug 284366 "PSM needs to handle Smart Cards seamlessly" r=timeless sr=jst
a=shaver
2005-06-02 01:17:35 +00:00
relyea%netscape.com a1da7c82a3 New file portion of SmartCard support checkin.
Bug 284366 "PSM needs to handle Smart Cards seamlessly" r=timeless sr=jst
a=shaver
2005-06-02 01:16:30 +00:00
bzbarsky%mit.edu a511b11a65 Parse out the actual type from the content-type argument passed to
document.open().  Bug 295652, r+sr=jst, a=shaver
2005-06-01 15:33:44 +00:00
jst%mozilla.jstenback.com 6fa5e5f22d Fixing bug 295520. Make somewindow[n] work from chrome for accessing childframes of a content window. r+sr=bzbarsky@mit.edu, a=asa@mozilla.org 2005-05-26 19:39:49 +00:00
bzbarsky%mit.edu 0749d74bf2 Fix instanceof for DOM classes when XPCNativeWrappers are around. Bug 294926,
r+sr=jst, a=dbaron
2005-05-22 21:30:15 +00:00
brendan%mozilla.org 664e05666c Fix an ancient nit-level inefficiency: an id passed to resolve will never be a double if a number, only an int. 2005-05-20 20:35:35 +00:00
brendan%mozilla.org c5ad16e086 Big patch from jst and me to beef up and automate, configurably, XPCNativeWrapper (281988, r+sr=bz/shaver, a=drivers). 2005-05-20 03:12:22 +00:00
roc+%cs.cmu.edu abefc4f884 Bug 293947. Add canvas API to render a DOM window to the canvas, including transparency support. r=vlad,sr=darin,a=asa 2005-05-19 21:28:58 +00:00
tor%cs.brown.edu 1a8f106a62 Bug 293265 - rename --enable-cairo to --enable-canvas. r=bsmedberg, a=asa 2005-05-11 23:49:52 +00:00
bryner%brianryner.com 4a2ce76504 freeze nsIDOMElementCSSInlineStyle (bug 282281). r+sr=bzbarsky, a=shaver 2005-05-10 17:38:11 +00:00
bzbarsky%mit.edu c8c41508c3 Back out the change for bug 277092, since it breaks other compat and pages.
Bug 292921, r=jst, sr+a=brendan
2005-05-08 21:44:16 +00:00
mozilla.mano%sent.com ed395f2d51 Bug 291110 - restore the old behavior of cmd_copyImageContents. r=bzbarsky, sr=neil, a=asa 2005-05-05 16:14:00 +00:00
bryner%brianryner.com 76ec0cee47 fixing mingw bustage (use NS_REINTERPRET_CAST for PRUnichar <-> jschar) 2005-05-04 23:42:35 +00:00
bryner%brianryner.com aed69207f0 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. 2005-05-04 20:22:32 +00:00
brendan%mozilla.org ea9fd4132c Find active native function principals when walking the JS stack, and beef up eval-ish native safeguards (281988, r=shaver/caillon, sr=jst, a=drivers). 2005-05-04 06:28:36 +00:00
Olli.Pettay%helsinki.fi ed4e61c491 Bug 292464 - event listeners added using addEventListener() listen only trusted events. r=jst, sr=peterv, a=chofmann 2005-05-02 17:54:41 +00:00
dougt%meer.net be6760da53 Windows CE build changes. This addresses most of the outstanding Windows
CE compilation issues.

This patch also fixes/removes CheckStackGrowthDirection assertions in
Javscript.  This change is based on bug 242518.  See comment 36.

This patch also removes the unused enum in transformiix .  See bug
292118.

r/sr = dveditz/shaver
b    = 291229
a    = asa
2005-04-29 13:33:49 +00:00
jst%mozilla.jstenback.com 50de4a3e1d Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org 2005-04-28 23:48:28 +00:00
dbaron%dbaron.org 082fd3ded3 Fix crashes by calling nsDOMClassInfo::EndGCMark after calling old GC callback so that EndGCMark is called after all marking is done. b=290535 r+sr=jst a=asa 2005-04-26 01:23:53 +00:00
mconnor%steelgryphon.com 4a2763dc46 land jst's fix for bug 289675, r=bz/dveditz, sr=brendan, a=chase 2005-04-21 21:05:10 +00:00
mconnor%steelgryphon.com 4c59b7a97f land jst's fix for bug 289204, r+sr=brendan, a=shaver 2005-04-21 20:22:57 +00:00
vladimir%pobox.com 0971df3813 b=291049, add patterns and gradients to canvas, r=pav,a=brendan 2005-04-20 00:00:23 +00:00
vladimir%pobox.com 42711446ba fix HTMLCanvasElement position in DOM ClassInfo to not break old order, r=sicking,a=brendan 2005-04-18 21:03:13 +00:00
vladimir%pobox.com 057ce06bb3 b=288714, html canvas implementation, r=various,a=brendan 2005-04-18 06:33:23 +00:00
brendan%mozilla.org 80815b4679 Better fix for 290291, doesn't double-throw on error (r+sr=shaver, a=asa). 2005-04-14 23:21:58 +00:00
cvshook%sicking.cc 0b23c49a82 Bug 290291: Make Node.toString not crash even if |this| isn't a DOM object
r/sr=shaver a=asa
2005-04-14 23:13:21 +00:00
cst%andrew.cmu.edu 7f22407c14 Bug 287695 fix hardcoded app name in default mailto: form subject
r=biesi sr=bz
2005-04-03 17:16:28 +00:00
dbaron%dbaron.org da745299c9 Implement CSS2 counters. b=3247 r+sr=bzbarsky 2005-04-01 23:07:00 +00:00
dbaron%dbaron.org 2ba6c6183f Change how we preserve XPConnect wrappers on which JS properties have been set or that are otherwise needed by XBL: instead of rooting those wrappers until the document stops being displayed, mark them from GC hooks only if the nodes are reachable (via DOM node traversal, optimizing based on symmetry of reachability between DOM nodes) from the document or from nodes already marked. b=283129 r=jst sr=brendan 2005-03-29 23:26:56 +00:00
jst%mozilla.jstenback.com 1566ab36e5 Breaking out duplicated interface lists into a reusable macro (per suggestion in bug 288006). rs=peterv@propagandism.org 2005-03-29 19:21:21 +00:00
dbaron%dbaron.org b46e318e6a Remove comment that isn't referring to anything. r+sr=jst 2005-03-28 23:17:21 +00:00
mats.palmgren%bredband.net 4f49d3bf00 Fix a few -moz-outline* problems and drop the prefix.
Change WARNING to ERROR in nsComputedDOMStyle.cpp and add a few more.
b=281972 r+sr=dbaron
2005-03-27 11:36:08 +00:00
jwatt%jwatt.org e041653819 Fixing bug 281741. We should implement the GetSVGDocument interface for HTMLEmbedElement. r=tor@acm.org, sr=jst@mozilla.org 2005-03-23 01:42:22 +00:00
jst%mozilla.jstenback.com f222e7e4d7 Fixing bug 245809. Implement event.returnValue (IE:ism) for beforeunload events as the mechansim for passing data back to the browser from a beforeunload handler that was registerd with addEventListener(). r=bzbarsky@mit.edu, sr=peterv@propagandism.org 2005-03-18 15:33:51 +00:00
dbaron%dbaron.org 3015a4a28b Handle unterminated strings in CSS by using an additional error token type. b=286262 r+sr=bzbarsky 2005-03-18 06:56:56 +00:00
jst%mozilla.jstenback.com a63269837a Fixing bug 272455. Make prompt() work again if called from chrome code. r=darin@meer.net, sr=dveditz@cruzio.com 2005-03-17 23:48:26 +00:00
neil%parkwaycc.co.uk 6b8f8074bd Add HTML to the list of support flavours for Copy Image and provide an embedding interface to choose the flavours to copy b=135300 r=bz sr=smfr 2005-03-11 11:12:15 +00:00
bryner%brianryner.com e171eaba9b Inline access to XPCWrappedNative's nsISupports pointer, with do_QueryWrappedNative nsCOMPtr helper (bug 285404). r=jst, sr=darin. 2005-03-10 00:39:28 +00:00
jst%mozilla.jstenback.com 0afbaeb191 Fixing bug 188938. Adding the ability for plugins to participate in form submission. r=bzbarsky@mit.edu, sr=brendan@mozilla.org 2005-03-09 17:01:22 +00:00
gandalf%firefox.pl 06f479dff9 bug 279768: Bring build system to work with --enable-ui-locale; r=bsmedberg; a=doron on webservices move 2005-03-08 17:21:36 +00:00
jst%mozilla.jstenback.com 3e37d31a19 Fixing bug 284695. Move GetMainWidget() from nsGlobalChromeWindow to nsGlobalWindow, and do some other random cleanup. r+sr=peterv@propagandism.org 2005-03-06 18:43:07 +00:00
jst%mozilla.jstenback.com a57ec3f6dc Fixing bug 283531. Fix confusingly named argument to nsIEventStateManager::DispatchNewEvent() that has caused confusing event handling code (also fixed) to creap into the tree. r=bzbarsky@mit.edu, sr=bryner@brianryner.com 2005-03-04 02:01:54 +00:00
cbiesinger%web.de 5dd7f9a4e8 281343 show an error message when filenames are too long; and convert that error
to an nsresult
patch by Son Le <son.le0@gmail.com> r=biesi sr=darin
2005-03-02 18:16:37 +00:00
caillon%redhat.com 77b60af2ac 250245 - spec changed, its now Document.inputEncoding
r+sr=jst
2005-02-28 22:35:02 +00:00
bryner%brianryner.com a29b6c69fa Remove nsIXBLBinding (bug 194834). r+sr=bzbarsky. 2005-02-25 22:07:01 +00:00
ben%bengoodger.com 7563b3836a 282103 - dynamic overlays: implement "loadOverlay" method on nsIDOMXULDocument which loads and merges an overlay into a XUL document. r=jst sr=bryner 2005-02-25 09:06:34 +00:00
jst%mozilla.jstenback.com 6e48e51427 Fixing bug 281833. Make sure we create a load info object even not called from JS. r+sr=bzbarsky@mit.edu 2005-02-24 20:19:58 +00:00
jst%mozilla.jstenback.com 822de539b8 Fixing bug 277574. Make sure all modal dialogs, not just the ones that come from DOM calls, bring the requesting tab to focus. r=dveditz@cruzio.com, sr=darin@meer.net 2005-02-23 23:31:37 +00:00
gandalf%firefox.pl ea39cd5cbe bug 279768: move dom.properties, MediaDocument.properties to global; r=bsmedberg 2005-02-23 16:53:28 +00:00
gandalf%firefox.pl 9f74808aa6 Bug 279768: Move locales from ./embedding and ./xpfe to ./dom/locales and ./toolkit/locales (global, part 2); r=bsmedberg 2005-02-20 21:15:00 +00:00
gandalf%firefox.pl dcdddc53d6 Bug 279768: Move locales from ./docshell and ./intl to ./dom/locales ; r=bsmedberg 2005-02-20 18:10:15 +00:00
bzbarsky%mit.edu 28d1b7868f Docshell doesn't need to hold a pointer to the scriptcontext; the window does
it.  Bug 282807, r+sr=jst
2005-02-20 17:02:02 +00:00
bryner%brianryner.com 708a569767 Guarantee that a document's binding manager is non-null. Bug 282792, r+sr=bzbarsky. 2005-02-19 10:31:27 +00:00
doronr%us.ibm.com 724a86c712 Bug 279057 - Implement hasFeature for XForms. Patch by smaug, r=bryner/sr=jst 2005-02-18 21:32:46 +00:00