jst%netscape.com
7f0a0a116f
Backing out part of the fix for bug 143369 as a fix for bug 146333. Don't make ChromeWindow's prototype immutable.
...
git-svn-id: svn://10.0.0.236/trunk@122059 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 05:39:27 +00:00
jst%netscape.com
ba0136402f
Queting down compiler warning...
...
git-svn-id: svn://10.0.0.236/trunk@121991 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 00:39:21 +00:00
jst%netscape.com
69e73782f6
Fixing security bug 143369. Plug security holes that let webpages fake their origin. r=brendan@mozilla.org, mstoltz@netscape.com, sr=jband@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@121989 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 00:34:01 +00:00
timeless%mac.com
f6f450587d
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
git-svn-id: svn://10.0.0.236/trunk@121883 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 20:06:29 +00:00
jst%netscape.com
9dc48e1db8
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
...
git-svn-id: svn://10.0.0.236/trunk@121802 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 00:02:50 +00:00
jst%netscape.com
1116447966
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
...
git-svn-id: svn://10.0.0.236/trunk@121785 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 22:24:06 +00:00
av%netscape.com
1219086da7
Fixing 143178 -- refreshing plugins before going to the plugin finder sevice, r=peterl, sr=beard
...
git-svn-id: svn://10.0.0.236/trunk@121670 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 20:41:26 +00:00
dougt%netscape.com
d6cc711878
Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
...
git-svn-id: svn://10.0.0.236/trunk@121534 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 18:55:21 +00:00
caillon%returnzero.com
00ebc565e0
Initial implementation of DOM Level 3 Core methods Node.compareTreePosition() and Node.isSameNode(), Bug 139344, r=jkeiser, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@121437 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 01:28:17 +00:00
rods%netscape.com
fe2355ea4d
Turn on pluggable dialogs (second part of checkin, first part Bug 135441)
...
Bug 115136 r=dcone sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@120936 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 12:03:37 +00:00
ben%netscape.com
521dde6f78
[Chrome FastLoad]
...
Patch from jst to prevent crash on shutdown.
r=ben, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@120647 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 03:02:07 +00:00
jst%netscape.com
e90c1ba6c2
Backing out a small security related part of the last fix for bug 118933 that wasn't needed.
...
git-svn-id: svn://10.0.0.236/trunk@120579 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 21:21:58 +00:00
jst%netscape.com
48eb0d492d
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
...
git-svn-id: svn://10.0.0.236/trunk@120044 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 00:03:47 +00:00
hyatt%netscape.com
4e0a20f470
Fix for 139574, wrong user agent specifics on mach-o builds. r=bryner, sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@119666 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 00:55:53 +00:00
jaggernaut%netscape.com
fe68e4711d
Backing out joki's checkin for bug 124990 (at his request) since this breaks some stuff on linux.
...
git-svn-id: svn://10.0.0.236/trunk@119450 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 01:48:32 +00:00
jst%netscape.com
44d5eb5fd7
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
...
git-svn-id: svn://10.0.0.236/trunk@119443 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 00:04:33 +00:00
joki%netscape.com
568563a1cc
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.
git-svn-id: svn://10.0.0.236/trunk@119346 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 02:52:01 +00:00
danm%netscape.com
b5cc6f8203
make blur() available to embedded apps. bug 57841 in its third avatar r=jst,scc a=valeski
...
git-svn-id: svn://10.0.0.236/trunk@119304 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 21:50:11 +00:00
jst%netscape.com
67ee650f45
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.
...
git-svn-id: svn://10.0.0.236/trunk@119206 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 04:17:16 +00:00
peterv%netscape.com
eb1e6e2ca8
Fix for bug 132300 (Need a better way to bootstrap an XPathEvaluator). r=pike, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@119096 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 11:57:17 +00:00
caillon%returnzero.com
d283e6e7a2
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.
...
git-svn-id: svn://10.0.0.236/trunk@118839 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 10:11:39 +00:00
hyatt%netscape.com
eef57b173c
Fix for 136985, add api for finding out if a global window is running a timeout or still loading, r=jst, sr=blake
...
git-svn-id: svn://10.0.0.236/trunk@118821 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 02:15:43 +00:00
sicking%bigfoot.com
cbbfc8af11
Fix for bug 132302: Return the right exception for DOM Range. Fix by peterv.
...
r=Pike, sr=jst
git-svn-id: svn://10.0.0.236/trunk@118616 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 13:38:30 +00:00
timeless%mac.com
bcb964d3df
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
git-svn-id: svn://10.0.0.236/trunk@118211 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-05 05:42:10 +00:00
jst%netscape.com
198bc42921
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
...
git-svn-id: svn://10.0.0.236/trunk@118156 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 22:42:19 +00:00
jst%netscape.com
68b586dd87
Backing out latest checkins due to them not working on linux and other unix systems with broken compilers.
...
git-svn-id: svn://10.0.0.236/trunk@118090 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 07:31:16 +00:00
jst%netscape.com
dc83a26530
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
...
git-svn-id: svn://10.0.0.236/trunk@118072 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 02:09:19 +00:00
aaronl%netscape.com
49b7e26fa6
Bug 128025. Confirm dialog for caret browsing. r=akkana, bryner, sr=hewitt, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117890 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-02 01:56:12 +00:00
hewitt%netscape.com
7fd03a3524
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
git-svn-id: svn://10.0.0.236/trunk@117710 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-29 02:46:01 +00:00
jst%netscape.com
dbfe9a1fae
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
...
git-svn-id: svn://10.0.0.236/trunk@117532 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 00:55:57 +00:00
jst%netscape.com
335b5b78a9
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
...
git-svn-id: svn://10.0.0.236/trunk@117530 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 00:02:25 +00:00
dbaron%fas.harvard.edu
c8c0b87791
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117358 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-24 01:02:53 +00:00
dbaron%fas.harvard.edu
391f02160f
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117356 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-24 00:49:22 +00:00
dbaron%fas.harvard.edu
772b5b8c58
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117354 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-24 00:16:18 +00:00
jst%netscape.com
dda9379e06
Fixing topcrash bug 131725. Make nsLocation deal with null URI's from the nsIWebNavigation implementation. r=adamlock@netscape.com, sr=darin@netscape.com, a=asa@mozilla.org.
...
git-svn-id: svn://10.0.0.236/trunk@117263 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 00:48:40 +00:00
andreas.otte%debitel.net
0e2a226965
fix bug 104081 [javascript: URL cant submit because of %20 instead of
...
SPACE] the script in a javascript url was not getting unescaped before
being evaluated by the js engine, r=jst, sr=darin, a=asa
git-svn-id: svn://10.0.0.236/trunk@117228 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 21:41:06 +00:00
caillon%returnzero.com
c56a306976
Bug 119807, Computed color values should support getRGBColorValue(). r=bzbarsky, sr=jst, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117209 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 20:18:42 +00:00
darin%netscape.com
8defbf5d26
b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117002 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:50:33 +00:00
locka%iol.ie
c19fc399f2
Append [JavaScript Application] to the title of alert/confirm/prompt dialogs posed by ordinary JS. b=31573 r=danm@netscape.com sr=blaker@netscape.com a=asa@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@116969 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 11:23:13 +00:00
hidday%geocities.com
c3d0dd759e
Moving the patch for bug 122726 "Unable to enumerate the form elements
...
by using for/in" to the right place in the file. No code change.
r=hidday@geocities.com sr=jst@netscape.com a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@116963 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 08:01:54 +00:00
shanjian%netscape.com
42fea07426
#128825 Browser crash if I view an image
...
There is no semantic difference in this part of the change. Major one
is in nsUnicodeToUTF8.cpp
r=ftang, sr=jst, a=shaver
git-svn-id: svn://10.0.0.236/trunk@116507 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 00:40:59 +00:00
jkeiser%netscape.com
75d03301cf
pete.zha@sun.com: add form elements into for x in form enum (bug 122726), r=jkeiser, sr=jst, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@116461 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-13 02:56:40 +00:00
dougt%netscape.com
5aa996cd82
Fixes 127918. Mime Service was being accessed from a non-ui thread. This causes all kinds of problems. Found that content type is not needed while opening most stream io's. Removes content type result from nsIStreamIO::Open(). Added atrribute content type nsIStreamIO. Fixes callers. r=gordon@netscape.com, sr=darin@netscape.com, a=asa@mozilla.org.
...
git-svn-id: svn://10.0.0.236/trunk@116447 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-13 00:34:54 +00:00
aaronl%netscape.com
aab415c282
Fixes bug 66597, bug 103284, bug 114440, bug 120023, bug 128741, bug 19259. Cleans up browse with caret, makes it work with XML content docs, creates keyboard toggle for it (Accel+shift+K), synchronizes focus and document selection so that users can tab navigate relative to their last find or click in text, or vice versa, makes tabbing move relative to named anchor that has been jumped to. r=bryner, sr=alecf, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@116297 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-10 06:21:48 +00:00
rginda%netscape.com
2f97bf3140
Bug 126224, "NY Times web sites creates pop-up windows even if that feature is disabled"
...
sr=jst, r=mstoltz, a=asa
Add "dom.disable_open_click_delay" pref to control how soon a window.open() call has to happen after a mouse button event in order for it to succeed. Calls to window.open() that happen after this time has passed are denied. Units are time in milliseconds.
git-svn-id: svn://10.0.0.236/trunk@116191 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-08 21:48:28 +00:00
darin%netscape.com
04849998e1
fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
ducarroz%netscape.com
0c5698d9bf
Fix for bug 109081. IsEnable/GetEnable should return true by default and not false. That will avoid the regression 128659 caused by my previous checking for 109081. R=bryner, SR=blizzard, A=blizzard
...
git-svn-id: svn://10.0.0.236/trunk@115744 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 22:50:11 +00:00
ducarroz%netscape.com
d9ee124943
Back out my previous checkin for bug 109081 because it cause bug 128659. R=n/a, SR=n/a, A=n/a
...
git-svn-id: svn://10.0.0.236/trunk@115718 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 14:44:31 +00:00
shaver%mozilla.org
d20f3f5ea5
Missed a few references to the unioned members (more btek fixage).
...
git-svn-id: svn://10.0.0.236/trunk@115700 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 03:47:08 +00:00
shaver%mozilla.org
aa01255798
Rest of btek bustage fix (union is aggregate type, wants braces around
...
initializer).
git-svn-id: svn://10.0.0.236/trunk@115699 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 03:42:57 +00:00