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

2844 Коммитов

Автор SHA1 Сообщение Дата
mrbkap%gmail.com 0f13e3b933 Since there are valid cases where these can be called, don't assert. Instead, warn so unexpected calls are still flagged. bug 327571, r=jst rs=brendan 2006-02-22 02:18:33 +00:00
bzbarsky%mit.edu dd08ffa550 Store the opener principal, not just the opener URI. Bug 325816, r=mrbkap, sr=jst 2006-02-20 18:52:42 +00:00
jst%mozilla.jstenback.com e309f1c992 Fixing bug 318419. Make sure we don't end up firing JS timeouts/intervals way early when PRIntervalTime wraps. r=silver@warwickcompsoc.co.uk, sr=brendan@mozilla.org 2006-02-17 23:12:49 +00:00
peterv%propagandism.org 99a819087e Fix for bug 320367 (Fix nsDOMDocumentType's nsISupports implementation). r/sr=jst. 2006-02-17 13:12:50 +00:00
bzbarsky%mit.edu 17c6b43a16 Remove assert that fires in normal conditions... I thought we could assert
this, but we can't. Bug 266371
2006-02-15 15:55:18 +00:00
bzbarsky%mit.edu 585f7570c5 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
bzbarsky%mit.edu de9c0d34af Use nsContentUtils helpers for some localizing in nsGlobalWindow. Bug 326972,
r+sr=jst
2006-02-14 02:06:48 +00:00
bryner%brianryner.com 4698f94e3b Dispatch observer service notifications when dom windows are created and destroyed. Bug 326742, r+sr=jst. 2006-02-11 05:52:33 +00:00
bzbarsky%mit.edu 2dbdd7da0d 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
kjh-5727%comcast.net 9dca5c309a Bug 324072 - Printer properties dialog shows properties for the wrong printer. r+sr=roc. 2006-02-04 17:24:26 +00:00
mrbkap%gmail.com 8ff9e5216a Don't crash when running a timeout interval which causes its window to be stored in the bfcache. bug 315286, r=jst sr=bzbarsky 2006-02-03 19:46:22 +00:00
bsmedberg%covad.net 42800e6706 Bug 325644 - window.blur() throws exception in embedded scenarios where nsIEmbeddingSiteWindow2 isn't implemented, r=jst 2006-02-03 16:00:37 +00:00
cbiesinger%web.de a898e666b8 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
bzbarsky%mit.edu b903f45079 Fix bug 323634 -- controllers are not for content. Patch by
neil@parkwaycc.co.uk <neil@httl.net> and Wladimir Palant <trev@gtchat.de>,
r=bzbarsky, sr=jst
2006-02-03 01:38:36 +00:00
bzbarsky%mit.edu eab4195d4c Push up GetPrincipal to nsINode (as GetNodePrincipal). This way all nsINodes
(content, documents, attr nodes) can return their principal as needed.
Eliminate lazy allocation of principals in nsDocument.  Bug 324600, r=sicking, sr=jst
2006-02-02 20:02:34 +00:00
bzbarsky%mit.edu 9f131929b1 Add nsIDOM3Attr; implement isId on Attr nodes. Bug 288513 starter, patch by
Alex Vincent <ajvincent@gmail.com>, r+sr=jst
2006-01-27 04:10:30 +00:00
darin%meer.net 605e9c0c39 land DOMClassInfo changes for bug 323793, r+sr=bzbarsky 2006-01-25 15:16:57 +00:00
darin%meer.net c66402ebc4 fixes bug 323793 "Expose .ping attribute for <a> and <area> elements" r=jst sr=bzbarsky 2006-01-24 05:48:32 +00:00
mrbkap%gmail.com 7ee81b930c bug 323833: Don't bother doing security checks when resolving standard classes. r=jst sr=brendan 2006-01-21 02:59:22 +00:00
tor%cs.brown.edu 550cb22cd6 Bug 316764 - implement <mask> and fix <clipPath> for multiple
overlapping children.  r=scootermorris
2006-01-20 17:00:43 +00:00
dbaron%dbaron.org 558c4f8e3a Prevent circular ownership leaks via XPCOM-JS cycles through treewalker's filter, the same way we do for event listeners. b=323534 r=mrbkap sr=jst 2006-01-19 02:46:18 +00:00
dbaron%dbaron.org e94c39c01b Remove event listeners when dropping an event listener manager so that the weak references in DOMClassInfo's preserved wrapper table for event listeners are removed before the ELM's owner (the GC participant) goes away, and document why this needs to be done. Also consolidate the things that need to be done before letting go of an ELM into one method, and add some missing calls to that method. b=323807 r=mrbkap sr=jst 2006-01-19 02:43:39 +00:00
Olli.Pettay%helsinki.fi 91b6c36998 Bug 322985, Remove aScriptOnly parameter from the nsIEventListenerManager::RemoveAllListeners r+sr=jst 2006-01-12 19:11:44 +00:00
peterv%propagandism.org b53a11fd62 Fix for bug 318894 (XPath exceptions are reported as unknown). r/sr=jst. 2006-01-07 17:35:24 +00:00
mrbkap%gmail.com ffd1b21c0b bug 320838: Don't return OK without clearing the pending exception. r+sr=jst 2006-01-06 22:18:46 +00:00
mrbkap%gmail.com 65711ff7e0 bug 319434: Add an interface to allow C++ callers to get the popup and tooltip
nodes so that when the only JS code on the stack is content code, the C++ code
still does the right thing. r=jst sr=bzbarsky
2006-01-06 20:49:19 +00:00
dbaron%dbaron.org 5b00a522da Add some PR_LOGging to help find leaks of large object graphs. b=320192 r=jst sr=darin 2006-01-06 06:51:45 +00:00
darin%meer.net 278c938ec2 fixing bustage 2006-01-02 03:31:39 +00:00
gavin%gavinsharp.com 3fa6c8180b Bug 114850: scrollbars permanently hidden when using window.scrollbars.visible = false, patch by Martijn Wargers <martijn.martijn@gmail.com>, r+sr=bzbarsky 2005-12-30 16:57:46 +00:00
cbiesinger%web.de 8d81b8a6b6 Bug 321504 Remove unneeded uses of nsIDocumentLoader
r+sr=bz
2005-12-26 16:45:59 +00:00
dbaron%dbaron.org 3c28966043 Do not call PreserveWrapper with a null pointer. b=319642 r+sr=bzbarsky 2005-12-23 18:54:26 +00:00
mrbkap%gmail.com 0140a80070 bug 319296: Protect from bad wrappers being precreated. r=jst sr=brendan 2005-12-19 20:29:54 +00:00
bsmedberg%covad.net beee105423 Fix merge conflict between bug 241518 and 313309 2005-12-12 20:27:13 +00:00
bzbarsky%mit.edu 99ff6019ee Fix bug 306642 -- caller's shouldn't have to guess at how to force inner window
creation.  r+sr=jst
2005-12-11 20:38:29 +00:00
mrbkap%gmail.com 7db2025aea Fixing MinGW build bustage from bug 318489. 2005-12-11 03:41:33 +00:00
mrbkap%gmail.com e8825d7218 bug 318770: Constructors' toString should treturn [object <classname>]. r+sr=jst 2005-12-10 01:08:51 +00:00
mrbkap%gmail.com 701d32e2be Bustage fix from bug 318489. 2005-12-09 19:52:04 +00:00
mrbkap%gmail.com 421f1113ea bug 318489: It's impossible to use one of the constructors from an XPCNativeWrapped object. Add an IDL interface for these constructors and fix XPCNativeWrapper to forward Construct requests onto its wrapped native. r=jst sr=brendan 2005-12-09 19:08:45 +00:00
dbaron%dbaron.org d3499cd6dc Null-check pointers that come from AppendReachableList. b=241518 r+sr=bzbarsky 2005-12-06 05:51:18 +00:00
dbaron%dbaron.org 55e20f735c Always clear newborn roots whether or not there is already a GC timer, since a timer created in GC may not fire before XPCOM shutdown. b=314199 r+sr=jst 2005-12-06 05:48:46 +00:00
roc+%cs.cmu.edu 83f4b43f32 Bug 315346. nsISidebar should be in dom/ since it's a platform thing that we expose as part of the Web API, it's not app-specific. r+sr=jst 2005-12-06 01:29:42 +00:00
bzbarsky%mit.edu 499483e2d3 Nothing window.Components shouldn't be special for cross-domain access
purposes.  Bug 319079, r+sr=jst
2005-12-05 19:13:33 +00:00
brettw%gmail.com 97c9c6513a Bug 302050: inline spellchecking for textboxes backend. r=bryner sr=bzbarsky 2005-12-05 18:07:33 +00:00
cbiesinger%web.de f4945e701d Bug #315841 don't flush frames in order to ensure that plugins are instantiated.
also, don't flush when inside of ObjectURIChanged
r+sr=bz
2005-12-03 11:27:42 +00:00
dbaron%dbaron.org 3ceffc0fc4 Make wrapper preservation (the mechanism that makes the GC use reachability information between certain C++ objects rather than rooting at language boundaries) use an interface (nsIDOMGCParticipant) to get reachability information. Preserve the wrappers for event handlers as long as what they are attached to is reachable (from C++ or JS) to avoid entraining event handler closures in cycles. b=241518 r=mrbkap sr=jst 2005-12-03 07:42:40 +00:00
jst%mozilla.jstenback.com 175fe145fe 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
mrbkap%gmail.com f75471c412 bug 317370: Remove the vestigial aRemoveEventListeners parameter to SetNewDocument. r+sr=jst 2005-11-30 23:41:49 +00:00
jst%mozilla.jstenback.com 7a5af690c6 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
timeless%mozdev.org 3db428f6ac Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 21:57:13 +00:00
jst%mozilla.jstenback.com 03a95b41b1 Fixing leak bug 317478. This leak was due to the global scope polluter ending up on the inner window's 'real' prototype's proto chain, which would have been fine except for the fact that it was never removed from there so through it we ended up holding too much alive for too long. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu. Thanks to dbaron for tracking this down. 2005-11-23 23:32:02 +00:00
bzbarsky%mit.edu 0d8c776610 Fix classinfo for various svg elements. Bug 317027, patch by Robert Longson
<longsonr@gmail.com>, r=tor, sr=bzbarsky
2005-11-22 17:45:47 +00:00
timeless%mozdev.org 9ef60db03e Bug 106386 Correct misspellings in source code
patch by supernova_00@yahoo.com r=timeless rs=brendan
2005-11-21 06:30:34 +00:00
peterv%propagandism.org 84da109a48 Follow-up fix to fix for bug 314931, make sConstructorMap const. 2005-11-18 15:53:43 +00:00
peterv%propagandism.org 5219fb8c30 Try to fix bustage. 2005-11-18 14:45:37 +00:00
peterv%propagandism.org d1e0ed389f Fix for bug 314931 (Use content-specific DOMCI macros for XSLT in nsLayoutModule.cpp). r/sr=jst. 2005-11-18 13:39:43 +00:00
masayuki%d-toybox.com 18f782b86d Bug 299106 chardet.alis_charset_detector.title in charsetTitles.properties is waste patch by Hidehiro Kozawa <kozawa@mozilla.gr.jp> r=kairo, sr=bzbarsky 2005-11-18 06:14:08 +00:00
bzbarsky%mit.edu c871457818 Use GetWindow() in more places where we want a window instead of going through
GetScriptGlobalObject.  Bug 311830, r=bryner, sr=jst
2005-11-17 18:31:22 +00:00
bsmedberg%covad.net 9cfc6a5a0c Bug 315562 - non-MOZILLA_INTERNAL_API usage of dom/content headers, r=just 2005-11-16 20:29:29 +00:00
gerv%gerv.net 816dbf4c27 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-11-15 21:50:29 +00:00
asa%mozilla.org df1abe2c4e Follow-up checkin to bug 165653.
Drop Firebird's dependency on Gecko's DOM for the sidebar; it should provide it itself.
Patch=caillon
r=bryner
sr=jst
2005-11-15 21:50:27 +00:00
hyatt%mozilla.org 08215f0805 Add the sidebar to browser. Not built yet. 2005-11-15 21:50:26 +00:00
dbaron%dbaron.org 8e1263ab28 Make PL_InitEvent callers stop doing potentially dangerous casting of function pointers. b=305278 r=dougt sr=darin 2005-11-14 20:09:51 +00:00
bsmedberg%covad.net dff1dea638 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 2005-11-11 14:36:26 +00:00
bsmedberg%covad.net faf7d08562 Bug 315401 - XPTI_GetInterfaceInfoManager is a bad signature and should be removed, r=darin sr=jst 2005-11-10 16:19:44 +00:00
gavin%gavinsharp.com afefaa24b3 Bug 314427: nsIDOMPopupBlockedEvent should expose the blocked window's target name, r+sr=jst 2005-11-01 01:41:00 +00:00
peterv%propagandism.org b4c51b31bf Change IID of changed interfaces (for bug 264308). 2005-10-27 14:58:38 +00:00
peterv%propagandism.org a8f3106f1d Fix for bug 264308 (Implement DOM Level 3 UserData API). r/sr=jst. 2005-10-27 14:09:23 +00:00
bzbarsky%mit.edu 3ca458ef50 Treat a "mime type" of "replace" as "text/html". Bug 313217, r+sr=jst 2005-10-27 02:39:18 +00:00
neil%parkwaycc.co.uk 22fcc34b5c Backing out changes checked in from wrong tree 2005-10-26 12:40:05 +00:00
neil%parkwaycc.co.uk 86e8a553f1 Bug 313753 Don't give chrome special window.alert/confirm/prompt treatment when it should be using the prompt service anyway r=mconnor sr=jst 2005-10-26 08:54:56 +00:00
mrbkap%gmail.com a9b9ddd800 fixing bustage from bug 309027 2005-10-24 08:03:54 +00:00
jst%mozilla.jstenback.com 1bfeac660f bug 309027: Make sure we unsuppress the old focus controller to avoid making focus go out of whack. Patch by aaronlev and mrbkap. r/sr=mats/jst 2005-10-24 07:38:55 +00:00
jst%mozilla.jstenback.com 3491ddf3a6 bug 309027: Make sure we unsuppress the old focus controller to avoid making focus go out of whack. Patch by aaronlev and mrbkap. r/sr=mats/jst 2005-10-24 07:36:05 +00:00
vladimir%pobox.com 8129ad9ac4 It's GetSecurityManager, not SecurityManager now. 2005-10-21 22:41:34 +00:00
vladimir%pobox.com 6473c96d9d b=311290, add redraw() method to windowutils for performance testing and expose windowutils to content, r=roc,sr=jst 2005-10-21 22:30:36 +00:00
bzbarsky%mit.edu 8d16382486 Make GetPrincipal() faster when called on a window. Bug 313155, r=mrbkap, sr=jst 2005-10-20 23:32:54 +00:00
joshmoz%gmail.com 014614bdd1 Fix Intel Mac UA string, navigator.oscpu, navigator.platform values. The values in this patch match up with what Apple is using in their latest Intel build. b=297607 r=dbaron sr=darin 2005-10-18 19:32:01 +00:00
mrbkap%gmail.com 84390ea4c3 Fix a silly spelling mistake. 2005-10-18 17:17:12 +00:00
jst%mozilla.jstenback.com 72e982f3ff Fixing bug 310825. Prevent window.focus() when called from a background tab from moving focus to the background tab. r=mrbkap@gmail.com, sr=dveditz@cruzio.com 2005-10-17 21:37:49 +00:00
mrbkap%gmail.com aa709827a4 bug 307983: Look for a good JSContext when doing GetDynamicContext so that things like evalInSandbox can use e.g. location.replace. r=jst sr=brendan 2005-10-17 18:47:13 +00:00
bzbarsky%mit.edu 666a45ea7d Implement :-moz-empty-except-children-with-localname() pseudo-class. Bug
309067, r+sr=dbaron
2005-10-16 15:57:13 +00:00
bzbarsky%mit.edu 588a6fba2e 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 9b958b8ce1 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 cf82394840 Don't try to duplicate the jsval typedef. Bug 312003, r+sr=brendan 2005-10-12 20:16:35 +00:00
mrbkap%gmail.com f675761132 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 b817ef6702 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 6d429f11c1 Bug 306974, Remove some duplicate event dispatching code r=sicking, sr=peterv 2005-10-10 18:38:57 +00:00
neil%parkwaycc.co.uk 98688bf72f Bug 240627 Add warnings for some reserved key shortcuts r=bryner sr=bz 2005-10-08 10:20:02 +00:00
mrbkap%gmail.com 5c8a5958d0 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 4870655ef7 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 6ed9f7d0aa 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 68d00ca962 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 0609d453e6 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 d0e49ad3c4 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 7ced92b13a Bug 307741. Tp regression from checkin to bug 305032. r=mats, sr=bryner 2005-10-03 19:38:27 +00:00
mrbkap%gmail.com 5a484e1762 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 8ba20f287e 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 0f9c019bed 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 fe93dbca99 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 ca8d9a30c3 Fix for bug 310068 (XPCNativeWrapper fails to look up named properties on HTMLCollection). r/sr=bz. 2005-09-28 13:44:31 +00:00