Commit Graph

2044 Commits

Author SHA1 Message Date
caillon%returnzero.com
ff02b99644 156849 - embedded gecko can suffer from too little GC in some cases
Patch by Johnny Stenback <jst@netscape.com>
r=caillon sr=bzbarsky
2002-09-04 02:18:52 +00:00
dougt%netscape.com
f2a00efc93 Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426 2002-09-03 23:36:13 +00:00
andreas.otte%debitel.net
7bf4681be4 fix bug 166175 [javascript: urls as frame source no longer work] this
is a regression from bug 163225, cloneing the url in case of an
existing base url makes no sense and fixing bug 163225 exposed that. Also
fixing a leak in nsViewSourceHandler in case setting the spec
fails. r=bzbarsky, sr=darin
2002-09-02 22:15:07 +00:00
caillon%returnzero.com
dc7d252366 128420 - getComputedStyle should raise NOT_SUPPORTED_ERR per the CSS WG.
r=glazman sr=bzbarsky
2002-08-31 19:57:10 +00:00
peterv%netscape.com
d93f00d5ec Bustage fix. 2002-08-30 09:39:33 +00:00
peterv%netscape.com
3745f63a12 Fix for bug 146116 (Image.prototype.foo not delegated to by (new Image).foo). r=sicking, sr=jst. 2002-08-30 08:48:58 +00:00
bzbarsky%mit.edu
7e75266e76 Fix pgup/pgdown in browser some more. Global window needs to implement
the MovePage commands. Bug 165255, r=aaronl, sr=jag
2002-08-29 23:51:53 +00:00
jkeiser%netscape.com
32844f7719 Make anonymous content inaccessible to web content (bug 164086), r=sicking@bigfoot.com, sr=jst@netscape.com 2002-08-29 04:05:39 +00:00
bbaetz%student.usyd.edu.au
e1742b6500 Backing out jkeiser's checkin for bug 164086 (not bug 96537) because he
left a file out, and the tree turned red....
2002-08-28 10:13:28 +00:00
jkeiser%netscape.com
8aa6968431 Make anonymous content inaccessible to web content (bug 96537), r=sicking@bigfoot.com, sr=jst@netscape.com 2002-08-28 08:19:43 +00:00
dougt%netscape.com
22ffaadb79 exports frozen interface to dist/sdk using new SDK variable. 164717. r=cls, sr=alec 2002-08-27 01:05:21 +00:00
alecf%netscape.com
dc6d6e3736 bug 157624 - freeze nsISupportsPrimitives, which includes changing nsISupport[C]String over to using A[C]String and fixing consumers
r=dougt, sr=darin
2002-08-26 21:20:34 +00:00
jkeiser%netscape.com
d915e93f21 Fix file event.originalTarget problem (bug 163598), r=joki@netscape.com, sr=jst@netscape.com 2002-08-22 06:10:56 +00:00
jst%netscape.com
0456a6034b Checking in rpotts' fix for bug 158128. Plugging javascript: URL related leak found by keeda@hotpop.com. r=peterv@netscape.com, sr=jst@netscape.com 2002-08-21 23:01:23 +00:00
danm%netscape.com
852b838f63 CheckForAbusePoint spreads to Alert,Confirm,Prompt. because of bug 130719. r=brendan,pavlov 2002-08-20 04:28:21 +00:00
peterv%netscape.com
8a57bbd46e Fix for bug 161880 (privacy hole in JS regexps ?). r=jst, sr=brendan. 2002-08-19 11:19:05 +00:00
jst%netscape.com
a10ec4307a Fixing bug 159236. Store interned JSString's as jsval's in stead of as JSString*'s to avoid having to convert between the two all the time. r=peterv@netscape.com, sr=bzbarsky@mit.edu 2002-08-15 21:18:20 +00:00
nhotta%netscape.com
5166498504 Get a doc charset and use it for nsIURI and removed unnecessary convert/escape part,
bug 162523, r=darin, sr=jst.
2002-08-13 23:26:05 +00:00
gerv%gerv.net
a6d4accdea Bug 154765 - Cleaning up Contributors references after relicensing. Patch by riceman+bmo@mail.rit.edu; r=gerv, auto-sr=brendan. 2002-08-10 08:39:43 +00:00
seawood%netscape.com
322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
bzbarsky%mit.edu
612aea63b0 fix bustage 2002-08-06 07:08:47 +00:00
henry.jia%sun.com
566036896f 5th patch for bug 158080
Description: replace the hardcode of @mozilla.org/embedcomp/window-watcher;1 with NS_WINDOWWATCHER_CONTRACTID
Patch by Henry.Jia@sun.com
r=anto, sr=alecf
2002-08-06 06:20:45 +00:00
bzbarsky%mit.edu
affd9fbf49 Expose @charset rules in the CSSOM. Bug 160834. r=glazman, sr=dbaron. 2002-08-06 05:26:41 +00:00
alecf%netscape.com
f7ad4265ef bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
nsISupportsString  -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag
2002-08-06 00:53:19 +00:00
bryner%netscape.com
7dafb891cc Removing unused NS_DOM/_IMPL_NS_DOM and NS_INTL/_IMPL_NS_INTL defines (bugs 160248 and 160253). Patch for 160248 by walk84@yahoo.com, r=me&cls; patch for 160253 by me, r=cls. 2002-07-31 20:53:46 +00:00
ere%atp.fi
e0d21dae0b Fix for bug 153083, mozilla (nearly) hangs on rendering. Change timer mode to idle timer.
r=biesi, sr=jst, a=asa
2002-07-30 06:19:17 +00:00
bzbarsky%mit.edu
7bb4d43a55 Fix up the build stuff in there too. Not part of build. 2002-07-26 01:35:34 +00:00
bzbarsky%mit.edu
a3e2603395 Updating interfaces to reflect new edition of the spec. Not part of build. 2002-07-26 01:30:33 +00:00
alecf%netscape.com
e9e1a39573 fix for bug 157572 - remove nsIAtom references from strings, and thus expicitly #include nsIAtom.h for consumers who are expecting it.
r=dmose, sr=jag, a=asa
2002-07-25 18:31:10 +00:00
bzbarsky%mit.edu
e5ac003470 Adding idl files needed for DOM3 Load/Save. Not part of build. 2002-07-25 06:38:57 +00:00
dprice%netscape.com
94223fb09b 141056 r=hawara sr=dveditz a=asa
add error checking to fix top crasher
2002-07-24 20:42:22 +00:00
jst%netscape.com
de37872cdd Landing branch fix for bug 90757 on he trunk. There's a better fix for this, but we want to bake this on the trunk for a while before we possibly take this on the branch, once it's baked on the trunk we can land the real fix on the trunk... r=mstoltz@netscape.com, sr=rpotts@netscape.com, a=chofmann@netscape.com 2002-07-24 06:02:05 +00:00
nhotta%netscape.com
0a94223037 Adding uconv to REQUIRES. 2002-07-24 00:34:14 +00:00
alecf%netscape.com
1aeeb4c410 fix nhotta's bustage by adding "uconv" to the REQUIRES list 2002-07-23 23:47:30 +00:00
nhotta%netscape.com
9b5c55ed77 Change nsJSProtocolHandler to listen to originCharset to apply conversion if necessary,
also changed the callers to set originCharset,
bug 137182, r=caillon, sr=jst, a=asa.
2002-07-23 23:28:28 +00:00
caillon%returnzero.com
bb88a0eea7 Bug 104470 - Popup blocking breaks window.open()s which are targetted to frames or existing named windows
r=sicking sr=jst a=asa
2002-07-23 23:22:20 +00:00
mjudge%netscape.com
47e8fbc7bf r=akkana sr=sfrasier 125146 a=asa This patch will make the embedding API's a better friend to all. It eliminates the use of multibyte strings in command names and also allows for simple command to not require the nsICommandParams interface to be filled. 2002-07-15 22:04:13 +00:00
jst%netscape.com
48e46fdb38 Fixing bug 156248. Remove pointless code that causes JS errors and fix up some comments. r=peterv@netscape.com, sr=heikki@netscape.com 2002-07-10 04:58:59 +00:00
jst%netscape.com
39e297a855 Fixing regression caused by the fix for bug 134315. Don't clear scope when leaving about:blank in a chrome window. r=bzbarsky@mit.edu, sr=rpotts@netscape.com 2002-07-10 02:00:45 +00:00
suresh%netscape.com
b88690d5c4 Temporarily disabling the fix for bug 134315 since it caused a commercial blocker (bugscape bug 17487).
r-jkeiser
2002-07-10 01:22:35 +00:00
jst%netscape.com
90e476b61f Temporarily disabling the fix for bug 134315 since it caused a commercial blocker (bugscape bug 17487). 2002-07-09 20:11:16 +00:00
jst%netscape.com
26f8891307 Fixing bug 146143. Make sure the JS scope is cleared when leaving a full-page plugin. r=bzbarsky@mit.edu, sr=jaggernaut@netscape.com 2002-07-09 03:43:15 +00:00
jst%netscape.com
f2ccfa37c0 Fixing security bug 134315. Make sure we clear the JS scope in cases where it's needed. r=mstoltz@netscape.com, sr=brendan@mozilla.org 2002-07-09 02:49:58 +00:00
bzbarsky%mit.edu
ab1e5e8701 Bug 153519 -- parent ContentLists to their root elements. r=peterv, sr=jst 2002-07-09 00:44:20 +00:00
caillon%returnzero.com
9df8f33a00 * Implement CSSValueLists and computed -moz-border-{side}-colors
* Get the computed -moz-binding directly from the style context which is faster than getComputedStyle
* Speed up computed style by not QI'ing so much
* Cache the computed style object so we don't keep re-alloc'ing memory for it.
* Shrink ROCSSPrimitiveValue.
* Don't get computed style of non-existant properties.
* Use nsSize instead of nsRect when we only care about height and width
* Other random code cleanup of computed style

Bug 155525
r=bzbarsky
sr=jst
2002-07-08 07:11:59 +00:00
jaggernaut%netscape.com
10c940f559 Bug 111086: Location Bar address [URL] not restored after closing or switching tab. Restrict matching property names against window/frame names from crossing the chrome-content boundary. r=peterv, sr=jst 2002-07-08 06:56:43 +00:00
caillon%returnzero.com
91f5178701 Bug 155748 - "Can't use a global variable named 'parent'"
r=bzbarsky sr=jst
2002-07-08 06:51:54 +00:00
pete%alphanumerica.com
9b33dcc62e b=88049 r=bzbarsky sr=jst
[RFE] Support .selectionStart & friends for textareas

Enjoy

--pete
2002-06-27 20:22:28 +00:00
locka%iol.ie
6e1ab839ee Fix for opening javascript: popup windows in embedding. b=149307 r=adamlock@netscape.com sr=jst@netscape.com 2002-06-27 18:07:32 +00:00
jst%netscape.com
54201647f0 Fixing potential crasher introduced by the original fix for bug 150087. The weak docshell pointer in the navigator object must be cleared when it's released. r=sicking@netscape.com, sr=alecf@netscape.com 2002-06-27 01:27:00 +00:00
dbaron%fas.harvard.edu
6d2263f19b Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner 2002-06-26 03:38:55 +00:00
peterlubczynski%netscape.com
0eb6065bb3 Reset the navigator object for each new document -- plugins may have changed, bug 150087 r=av sr=jst 2002-06-21 19:34:54 +00:00
jst%netscape.com
63db3b3f56 Fixing the DOM part of bug 59686. DOM properties not accessable on liveconnect wrapped Java applet due to the DOM applet element's prototype not being correctly set up. r=bzbarsky@mit.edu, sr=brendan@mozilla.org 2002-06-20 20:32:46 +00:00
saari%netscape.com
b8de96a1d8 win32 only fix for 82534. focus goes wonky after minimizing a window. r=bryner, sr=jag 2002-06-20 04:55:13 +00:00
caillon%returnzero.com
981cfb96b6 Bug 152256, honor the pref to prevent sites from hiding the statusbar in the window.statusbar.visible=false case also. r=bzbarsky sr=jst 2002-06-19 04:09:57 +00:00
jst%netscape.com
53ecd021aa Fixing bug 123273. Don't let JS timeouts run with 0 delay, always force at least a 10ms delay. r=bzbarsky@mit.edu, sr=rpotts@netscape.com 2002-06-19 00:42:23 +00:00
bzbarsky%mit.edu
4d1675d5e5 Comments should match reality. No bug, r=jst, sr=jag 2002-06-18 02:55:09 +00:00
cbiesinger%web.de
15a321ca78 bug 115473 r=pavlov sr=brendan
Remove timer priorities
2002-06-11 20:47:04 +00:00
jaggernaut%netscape.com
fdd4b9f952 Bug 103452: When window.close() is called, close the tab for that content window, not the whole (XUL) window. r=hewitt, sr=jag, sr=jst 2002-06-05 00:31:45 +00:00
jst%netscape.com
0af1e2085d Fixing one more part of bug 52334. Make onload handlers fire on hidden iframes. r=axel@pike.org, sr=vidur@netscape.com 2002-05-29 17:56:50 +00:00
jst%netscape.com
42a874dd52 Whitespace changes only, die tabs, die! 2002-05-28 22:55:39 +00:00
jst%netscape.com
2d01d61479 Backing out part of the fix for bug 143369 as a fix for bug 146333. Don't make ChromeWindow's prototype immutable. 2002-05-23 05:39:27 +00:00
jst%netscape.com
449ccb64c4 Queting down compiler warning... 2002-05-22 00:39:21 +00:00
jst%netscape.com
ea40a67bee Fixing security bug 143369. Plug security holes that let webpages fake their origin. r=brendan@mozilla.org, mstoltz@netscape.com, sr=jband@netscape.com 2002-05-22 00:34:01 +00:00
timeless%mac.com
fa6594c5f9 Bug 145589 we call a getter with null, which crashes winEmbed
r=jkeiser sr=jst

<timeless> *shrug* i'm not actively trying to defend this patch, it's the
right thing to do for the given contract
<jkeiser> timeless: I dunno, doing *x = blah; when you don't need to do
it is definitely more expensive than if (!x)
<timeless> you aren't even allowed to do what you suggest, the
contract explicitly forbids it
[clarification, the caller isn't allowed to rely on this]
if i tried to do what you suggest, shaver would kill me :)
<jkeiser> timeless: so shaver is the guy to ask here?
<timeless> yeah if you're concerned about it
if you care measure. i care about crashing and contract violations
the contract was (out foo). which according to what shaver said
when i asked him and my memory of that, didn't allow 0.
<shaver> it doesn't allow 0
<jst> right
<shaver> we check it all over the place in the code, because we're sheep
<dmose> baaa
2002-05-20 20:06:29 +00:00
jst%netscape.com
c68cadcb79 Fixing bug 131841. Don't make calls on weak XPCOM (nsIPresShell in this case) pointers since the objects might go away during the call, this lead to a crash in this particular case. r=sicking@bigfoot.com, sr=vidur@netscape.com, brendan@mozilla.org 2002-05-18 00:02:50 +00:00
jst%netscape.com
f27fd6f6a7 Fixing bug 141442. Make window.openDialog() overridable from web content, and move the security check into the actual method implementation. r=mstoltz@netscape.com, sr=jband@netscape.com 2002-05-17 22:24:06 +00:00
av%netscape.com
c405585a95 Fixing 143178 -- refreshing plugins before going to the plugin finder sevice, r=peterl, sr=beard 2002-05-16 20:41:26 +00:00
dougt%netscape.com
c683a217ab Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00
caillon%returnzero.com
ddd3d5d711 Initial implementation of DOM Level 3 Core methods Node.compareTreePosition() and Node.isSameNode(), Bug 139344, r=jkeiser, sr=jst 2002-05-14 01:28:17 +00:00
jst%netscape.com
30a0cb65e5 Fixing bug 143088. Freezing nsIDOMWindow, nsIDOMWindowCollection, and nsIDOMBarProp. r=fabian@bluishgecko.net, sr=vidur@netscape.com 2002-05-08 21:55:48 +00:00
rods%netscape.com
15a673155f Turn on pluggable dialogs (second part of checkin, first part Bug 135441)
Bug 115136 r=dcone sr=attinasi
2002-05-07 12:03:37 +00:00
timeless%mac.com
a8922ae98c Bug 141813 add javadoc comments to idl so people can get useful info from them
nsIDOMEvent.idl nsIDOMEventListener.idl nsIDOMEventTarget.idl
r=fabian sr=jst
2002-05-03 19:57:42 +00:00
ben%netscape.com
d9dfd4c2e4 [Chrome FastLoad]
Patch from jst to prevent crash on shutdown.
r=ben, sr=brendan
2002-05-03 03:02:07 +00:00
jst%netscape.com
486e5906db Backing out a small security related part of the last fix for bug 118933 that wasn't needed. 2002-05-02 21:21:58 +00:00
jst%netscape.com
78da710221 Fixing one more part of the DOM performance bug 118933. Cache the properties 'document' and 'window' on the global object in JS to avoid needing to go through XPConnect every time these are accessed. 2x speedup on some DOM testcases where the bulk of the time we spend is in the JS engine and XPConnect. r=peterv@netscape.com, sr=vidur@netscape.com 2002-04-27 00:03:47 +00:00
hyatt%netscape.com
c0bcb8ed9f Fix for 139574, wrong user agent specifics on mach-o builds. r=bryner, sr=darin 2002-04-24 00:55:53 +00:00
jaggernaut%netscape.com
7e4e14d8c5 Backing out joki's checkin for bug 124990 (at his request) since this breaks some stuff on linux. 2002-04-20 01:48:32 +00:00
jst%netscape.com
538a1ac86a Fixing bug 80083. Making sure window.navigator doesn't get GC'd during the lifetime of a document. r=fabian@bluishgecko.net, sr=vidur@netscape.com 2002-04-20 00:04:33 +00:00
joki%netscape.com
f4e5a803f5 Fix for bug 124990 , Add additional processing loop for DOM event listeners to allow browser level handlers to be fired after content based listeners. r:saari, sr:jst
Browser based listeners can now registers themselves using the AddGroupedEventListener and passing the system event group (which can be gotten via the nsIDOMEventReceiver interface). These listeners will now fire after all content based listeners have processed.
In this initial version of the checkin most browser listeners are still left in the original content group for stability purposes.
2002-04-19 02:53:22 +00:00
joki%netscape.com
bdfd051dfb Fix for bug 124990, Add additional processing loop for DOM event listeners to allow browser level handlers to be fired after content based listeners. r:saari, sr:jst
Browser based listeners can now registers themselves using the AddGroupedEventListener and passing the system event group (which can be gotten via the nsIDOMEventReceiver interface).  These listeners will now fire after all content based listeners have processed.
In this initial version of the checkin most browser listeners are still left in the original content group for stability purposes.
2002-04-19 02:52:01 +00:00
danm%netscape.com
a0d24cb40d make blur() available to embedded apps. bug 57841 in its third avatar r=jst,scc a=valeski 2002-04-18 21:50:11 +00:00
jst%netscape.com
cd9afd67e1 Checking in the fix for bug 52334 for the third time. This time it should stick! Making iframe's load their document even if they're not displayed. r=jkeiser@netscape.com, sr=rpotts@netscape.com. 2002-04-17 04:17:16 +00:00
peterv%netscape.com
2ef0f9a849 Fix for bug 132300 (Need a better way to bootstrap an XPathEvaluator). r=pike, sr=jst. 2002-04-16 11:57:17 +00:00
caillon%returnzero.com
f14a42b26d Bug 117707. Disabling most of the prefs in Edit>Prefs>Advanced>Scripts/Windows was causing real JS scripts to break because it used CAPS. Move the checks for these features into C++, with new prefs. Patch by doronr@naboonline.com (initial work) and caillon@returnzero.com. r=fabian sr=jst a=asa. 2002-04-12 10:11:00 +00:00
hyatt%netscape.com
6aebadf6da Fix for 136985, add api for finding out if a global window is running a timeout or still loading, r=jst, sr=blake 2002-04-12 02:15:43 +00:00
sicking%bigfoot.com
71e038854c Fix for bug 132302: Return the right exception for DOM Range. Fix by peterv.
r=Pike, sr=jst
2002-04-10 13:38:30 +00:00
aaronl%netscape.com
04b6d367fd Bug 124234. Active Accessibility: doDefaultAction not working on html buttons. r=jkeiser, sr=jst, a=asa 2002-04-05 23:49:42 +00:00
timeless%mac.com
a84a7e233f http://bonsai.mozilla.org/cvsquery.cgi?module=SeaMonkeyAll&branch=HEAD&cvsroot=/cvsroot&date=explicit&mindate=1017959940&maxdate=1017960540&who=jst%25netscape.com&generateBackoutCVSCommands=1
Backing out the fix for bug 52334

approved by sheriff (karnaze) and cathleen
2002-04-05 05:42:10 +00:00
jst%netscape.com
bf7702387e Checking in the fix for bug 52334 again now that the linux crash and the scrollwheel crash has been fixed. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org 2002-04-04 22:42:19 +00:00
jst%netscape.com
020632bdc1 Backing out latest checkins due to them not working on linux and other unix systems with broken compilers. 2002-04-04 07:31:16 +00:00
jst%netscape.com
aa9f71957d Fixing bug 52334. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org 2002-04-04 02:09:19 +00:00
aaronl%netscape.com
a8f99cc832 Bug 128025. Confirm dialog for caret browsing. r=akkana, bryner, sr=hewitt, a=asa 2002-04-02 01:56:12 +00:00
hewitt%netscape.com
d38a0937d9 bugs 110156, 110155
Removing support for <outliner> tags
Removing <tree> layout code and moving <tree> tags to outliner layout
Convert all usage of <outliner> to tree tags
Convert all usage of <tree> tags to new <tree> syntax or <listbox>
r=cmanske,varga sr=hyatt,sspitzer a=asa

Also includes fixes by Jan Varga (varga@utcruk.sk) for bugs 132020, 133451, 131393, 115894, and 129327
2002-03-29 02:46:01 +00:00
jst%netscape.com
bcb8baa454 Fixing bug 132904. Making window.clearTimeout() and .clearInterval() callable with no argument and with an undefined argument for backwards compatibility. r=sicking@bigfoot.com, sr=jband@netscape.com, a=dbaron@fas.harvard.edu 2002-03-27 00:55:57 +00:00
jst%netscape.com
b599af5b77 Fixing bug 131311. Making window.scrollX and .scrollY replaceable for backwards compatibility. r=hidday@geocities.com, sr=jband@netscape.com, a=dbaron@fas.harvard.edu 2002-03-27 00:02:25 +00:00
bryner%netscape.com
54e3bd6266 Second try at fixing bug 130778. Create a new content interface, nsIMenuElement, which is implemeneted on nsHTMLSelectElement, nsHTMLOptGroupElement, and the newly-created nsXULMenuElement. Create a nsXULMenuElement instance for XUL menubar and menupopup tags. Use this interface to set and get the active item from the XUL menuframe code and the :-moz-menuactive pseudoclass matching code. Should eliminate the Txul slowdown resulting from fetching the active item through js from the pseudoclass matching code. r=jkeiser, sr=jst, a=scc. 2002-03-24 22:38:21 +00:00
dbaron%fas.harvard.edu
6cfb9b8bee Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-24 01:02:53 +00:00
dbaron%fas.harvard.edu
f2700ba1bf Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-24 00:49:22 +00:00
dbaron%fas.harvard.edu
f8dee50514 Make nsIFocusController.h build without nsAString.h included first to prevent future bustage of the same type. b=131899 2002-03-24 00:27:42 +00:00