Commit Graph

1958 Commits

Author SHA1 Message Date
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