Commit Graph

1884 Commits

Author SHA1 Message Date
jst%netscape.com
61537d716e Fixing bug 90143. Crash in DOM timeout code on Win2k due to OS timers firing early and out of order. r=peterv@netscape.com, sr=vidur@netscape.com 2001-10-24 06:58:11 +00:00
waterson%netscape.com
100e80dc15 Bug 26104. Move broadcaster maintenance out of XUL element and into the document. r=shaver, sr=hyatt 2001-10-23 02:44:44 +00:00
dougt%netscape.com
b5ba390898 Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172 , 104316 , 104420 , 104426 , 104461 , 104511 , 104527 2001-10-23 01:37:21 +00:00
bryner%netscape.com
03cd3c194e Bug 104977 -- landing tabbing rewrite. Fixes bugs 78256, 83575, 85602, 96273, 103980, and 105224. r=saari, sr=hyatt. 2001-10-22 22:43:52 +00:00
dougt%netscape.com
0a62d4e8d5 99163 - removing nsObserverService.h includes. Also fixing 106090, extra methods on nsObserverService. r=shaver@mozilla.org, sr=jband@netscape.com 2001-10-22 22:01:27 +00:00
hewitt%netscape.com
47c604d7e4 102239 - [XUL 1.0] implement new control element methods, r=blake, sr=hyatt 2001-10-21 03:58:21 +00:00
dougt%netscape.com
d18d7e2b17 nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163 2001-10-19 20:52:59 +00:00
jst%netscape.com
155ac84ad2 Fixing bug 105572. Don't bother GC'ing on context destruction when we're tearing down a frame in a frameset (or an iframe). r=jband@netscape.com, sr=vidur@netscape.com 2001-10-19 04:13:37 +00:00
jst%netscape.com
8366d5901d Remove bugs assertion, r=syd, sr=me (part of bug 105008). 2001-10-19 03:11:44 +00:00
mkaply%us.ibm.com
c1776a60fc OS/2 bustage 2001-10-17 13:14:22 +00:00
mkaply%us.ibm.com
43fc51fb89 OS/2 bustage 2001-10-17 05:01:54 +00:00
jst%netscape.com
d0755aca24 Fixing most of bug 62536. Adding support for the properties scrollTop, scrollLeft, scrollHeight, scrollWidth, clientHeight, clientWidth and the method scrollIntoView() to elements for compatibility with IE. Patch by Fabian <hidday@geocities.com> and myself, r=peterv@netscape.com, sr=jband@netscape.com 2001-10-17 01:17:47 +00:00
jst%netscape.com
7e92fb61be Fixing bug 101492. Making self.close() do nothing when called from within a frame in a frameset (or from an iframe) for backwards compatibility. r=peterv@netscape.com, sr=brendan@mozilla.org 2001-10-16 21:19:05 +00:00
alecf%netscape.com
ce1eec0457 bug 101761 - MODULE= cleanup on windows: gkplugin is really just plugin, r=cls 2001-10-16 20:56:51 +00:00
jst%netscape.com
3afcf7678b Fixing part of bug 104297. Making calling window.close() on an already closed window not throw exceptions and not assert. r=jaggernaut@netscape.com, sr=sfraser@netscape.com 2001-10-16 06:38:04 +00:00
jst%netscape.com
e38febc53e Fixing bug 76049. Making access past the end of a 'DOM array' return undefined and not null. r=fabian@geocities.com, sr=jband@netscape.com 2001-10-16 01:24:16 +00:00
jst%netscape.com
4e413f2837 Fixing bug 103188. Making window.prompter [noscript] since it's not accessable from web scripts anyway. r=jkeiser@iname.com, rs=rpotts@netscape.com 2001-10-16 01:18:33 +00:00
pavlov%netscape.com
d47feff6d9 oops, forgot to check in the changes from this directory. removing lowsrc support. bug 92453. r=jag sr=attinasi 2001-10-14 02:02:22 +00:00
mkaply%us.ibm.com
70a9d1cba0 #80802
r=mkaply, sr=jband
Code from jst - this patch allows Java applets that are in OBJECT and EMBED tags to use LiveConnect - hurrah!
Diff looks more complicated then it is - the change is to make nsHTMLPluginObjElementSH
inherit nsHTMLAppletElementSH, and nsHTMLPluginObjElementSH::GetPluginJSObject()
call the inherited GetPluginJSObject()
2001-10-10 04:04:21 +00:00
rpotts%netscape.com
e4def3f5bb bug #102774 (r=jst@netscape.com, sr=vidur@netscape.com). location.reload(true) did not cause the cache to be bypassed. 2001-10-09 05:02:25 +00:00
jaggernaut%netscape.com
c39b98b2a4 Clean up REQUIRES lines. 2001-10-07 10:35:41 +00:00
hewitt%netscape.com
b4973f2855 95876 - Support <button type='checkbox'/>, r=blake, sr=hyatt 2001-10-02 03:06:51 +00:00
mstoltz%netscape.com
9dcfafdfd4 Bug 18553, better fix which should cause fewer problems. Clear event listeners
before every document load, including the first, except when setNewDocument
is called from document.open. r=heikki, sr=jst
2001-10-02 00:54:44 +00:00
mstoltz%netscape.com
11fff7e26f the reopened bug 18553 - clear event handlers when first
document is loaded in a window.
r=heikki, sr=vidur
2001-10-01 02:08:30 +00:00
bzbarsky%mit.edu
867e99f08e Adding REQUIRES to fix bustage (dependencies on find and appshell needed
for window.find()).
2001-09-30 20:41:27 +00:00
bzbarsky%mit.edu
e6c797602a Add window.find(). Bug 9550. Patch from Fabian <hidday@geocities.com>,
r=sfraser, sr=jst
2001-09-30 19:56:32 +00:00
jaggernaut%netscape.com
ca6197295f Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc 2001-09-29 08:28:41 +00:00
hewitt%netscape.com
9e6c00f9ea 95127 - dispatchEvent() doesn't return a value, r=joki, sr=hyatt 2001-09-27 21:43:00 +00:00
jgaunt%netscape.com
398fff2476 bug 100772 bug 98777 accessible support for XUL
Description, Label, Button
r=aaronl sr=hyatt
2001-09-25 22:59:55 +00:00
jgaunt%netscape.com
7a1758fc24 bug 100772 and bug 98777 - accessibility support for XUL Descriptions, Labels and Buttons idl and mac mcp files only -- missed something in the mcp r=aaronl sr=hyatt 2001-09-25 22:46:23 +00:00
gerv%gerv.net
1b8510e564 License changes, take 2. Bug 98089. mozilla/dom/. 2001-09-25 22:43:09 +00:00
jgaunt%netscape.com
a28732788c bug 100772 and bug 98777 - accessibility support for XUL Descriptions, Labels and Buttons idl and mac mcp files only r=aaronl sr=hyatt 2001-09-25 22:41:10 +00:00
aaronl%netscape.com
2cddb7e586 Bug 98781. Active Accessibility: XUL <image> element support. sr=hyatt, r=jgaunt 2001-09-25 22:32:32 +00:00
jgaunt%netscape.com
c2ad6b4a4e bug 98781 - accessibility for XULImage elements. for aaronl idl and mcp file r=jgaunt sr=hyatt 2001-09-25 22:13:45 +00:00
dbradley%netscape.com
a47dae7c99 patch from bug 99838 - Changes to remove xpconnects dependency on DOM r=jband, sr=jst 2001-09-24 22:57:47 +00:00
bzbarsky%mit.edu
5b28996bde Add a document.contentType attribute to allow getting the MIME type of
the current document from JS.  The rest is moving around stuff to deal
with nsIDocument already declaring GetContentType.  bug 73847, r=peterv,
sr=jst
2001-09-24 22:43:23 +00:00
peterv%netscape.com
c4d426c4bb Fix for bug 100732 (content_xsl.xpt missing in packaged bits). r=heikki, sr=jst. 2001-09-24 12:03:02 +00:00
hyatt%netscape.com
76e6695785 Fix for 98109, make window._content dynamically shiftable. r=blake, sr=jst 2001-09-23 05:52:23 +00:00
mstoltz%netscape.com
39fe2115c2 Bug 101021 - omitted assignment of return value from security check.
r=harishd, sr=vidur.
2001-09-22 00:20:59 +00:00
jst%netscape.com
fcbfe8e3e8 Backing out part of last checkin that wasn't supposed to be checked in. 2001-09-21 04:33:47 +00:00
jst%netscape.com
bb50d2d065 Tweaking core document classname to make my last patch actually do the right thin in all cases. 2001-09-21 03:23:33 +00:00
heikki%netscape.com
7aee234a8b Bug 100795 Mac project changes. 2001-09-21 01:08:36 +00:00
jst%netscape.com
b444cadab0 Fixing bug 100795. Removign the method load() from HTML documents, implement it only on XML documents since the name 'load' blocks existing global functions named 'load' from being called from event handlers in the document (since document.load is found before window.load in the scope of event handlers). HTMLDocument.load and XULDocument.load were never implemented any way. r=heikki@netscape.com, sr=vidur@netscape.com 2001-09-21 01:07:53 +00:00
jst%netscape.com
c34a08d195 Adding new interface file, not part of the build yet. 2001-09-20 22:09:41 +00:00
peterv%netscape.com
c5b07bbb96 Fixing bug 65486. Implementing HTML[I]FrameElement.contentWindow, r=harishd@netscape.com, sr=hyatt@netscape.com 2001-09-20 10:15:42 +00:00
jst%netscape.com
af3d887b1c Fixing bug 65486. Implementing HTML[I]FrameElement.contentWindow, r=harishd@netscape.com, sr=hyatt@netscape.com 2001-09-20 07:58:49 +00:00
jst%netscape.com
86e590261a Adding new interface for bug 65486, implement HTML[I]FrameElement.contentWindow. r=harishd@netscape.com, sr=hyatt@netscape.com. Not used yet. 2001-09-20 07:53:37 +00:00
jaggernaut%netscape.com
d1a7bfa843 One module per line for REQUIRES. r=/sr=alecf 2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com
dc40187223 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf 2001-09-18 13:41:47 +00:00
jst%netscape.com
ac86977226 Fixing bug 81928. JS errors in XUL files were not always reported. sr=brendan@mozilla.org, r=jband@netscape.com 2001-09-18 03:32:03 +00:00
saari%netscape.com
1312894baa adding files to IDL projects for aaronl. Accessiblity stuff, bug 82207 2001-09-18 03:09:19 +00:00
aaronl%netscape.com
43b42de673 Bug 82207. Beginning XUL MSAA support (checkboxes). r=jgaunt, sr=hyatt 2001-09-18 03:09:01 +00:00
jst%netscape.com
26b8765209 Duh! (typo in the fix for bug 95840). 2001-09-17 22:58:06 +00:00
aaronl%netscape.com
c5ff7872e3 Part of checkin for 82207 (XUL MSAA support). Fixing accidentally lowercased names. r=jgaunt, sr=hyatt 2001-09-17 21:51:20 +00:00
alecf%netscape.com
62424ee7b2 Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!) 2001-09-17 19:06:35 +00:00
dbaron%fas.harvard.edu
e12dc421f6 Add all extension properties to nsIDOMNSCSS2Properties, rather than just a few. Clean up nsDOMCSSDeclaration implementation of nsIDOM{,NS}CSS2Properties and implement new attributes in nsIDOMNSCSS2Properties. r=hixie sr=jst b=98500 2001-09-17 00:57:46 +00:00
aaronl%netscape.com
c51b3e276d Part of bug 82207. r=jgaunt, sr=hyatt. XUL Checkbox supporting MSAA 2001-09-15 01:15:19 +00:00
jaggernaut%netscape.com
25856c9451 Bug 73353: move gfx from module layout to module gfx and fix up REQUIRES lines. r=cls 2001-09-14 05:37:29 +00:00
darin%netscape.com
5a2d9f0d2d checking bbaetz's patch for bug 89500 "SOCKS: only http|https re-directted in (post Mozilla 0.9.2)"
patch=bbaetz, r=dougt, sr=darin
2001-09-13 02:21:05 +00:00
alecf%netscape.com
1e0e7dd033 Add REQUIRES to many modules for win32 support, bug 98372 r=cls 2001-09-12 20:32:40 +00:00
jaggernaut%netscape.com
30ace44624 Clean up REQUIRES lines, put content in its own module instead of in layout's, r=cls. 2001-09-12 12:48:23 +00:00
vidur%netscape.com
11ae8e835d Fix for bug 98815. Implement DOM Level 3 namespace methods for prefix and URI lookup. r=heikki, sr=jst 2001-09-11 03:05:15 +00:00
ben%netscape.com
74d7b3edff Add left, top, persist, ref, and datasources attributes to nsIDOMXULElement per XUL1.0 spec.
Part of fix for 95401 - implement resizable popups.
r=jag, sr=hyatt
2001-09-10 07:31:38 +00:00
aaronl%netscape.com
7404594d2f Reversing 82207 patch - mac problems. 2001-09-08 17:05:09 +00:00
aaronl%netscape.com
70d5ec6da2 Bug 82207. XUL Checkbox working with MSAA. r=jgaunt, sr=hyatt 2001-09-08 16:22:09 +00:00
sicking%bigfoot.com
28f58d98af Implement TreeWalker in DOM2-traversal.
b=82625, r=fabian, sr=jst
2001-09-07 09:30:03 +00:00
jst%netscape.com
f3b151bb69 Fixing bug 98292. Adding support for image.x and image.y for compatibility with NS4.x, r=jrgm@netscape.com, sr=blizzard@mozilla.org 2001-09-07 04:00:37 +00:00
valeski%netscape.com
93959d48cc r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway. 2001-09-05 21:28:38 +00:00
jst%netscape.com
08fe9d0f7c Fixing bug 62613, patch from Fabian <hidday@geocities.com>. CSSStyleDeclaration objects didn't support the array syntax in JS for calling the item() method. r=harishd@netscape.com, sr=jst@netscape.com 2001-09-05 04:35:21 +00:00
jst%netscape.com
6deeab743b Fixing compiler warning (i might be used uninitialized in this function) 2001-09-05 04:30:12 +00:00
jst%netscape.com
684871ba30 Fixing bug 95840. Speeding up global property access in JS. r=mstoltz@netscape.com, sr=vidur@netscape.com 2001-09-05 04:29:13 +00:00
bzbarsky%mit.edu
a0c586aa4f Fix the nsIDOMMediaList interface to have the right properties. Make
media rules implement nsIDOMCSSMediaRule.  Fix insertRule() to be able
to insert into the middle of a rule list.  Fix issues with stylesheets
not getting dirtied when media lists are modified.  bug 93977,
r=pierre, sr=jst
2001-09-05 00:00:18 +00:00
mstoltz%netscape.com
f489a29bc9 59208 - Activate enumeration callback for window and document objects
and call security check to prevent cross-site enumeration. r=jst, sr=jband,
a=asa
2001-09-01 03:30:51 +00:00
yokoyama%netscape.com
6739f719bb Bug 40469:
Using proper UTF8toUCS2 converter
r/sr=vidur; /a=asa
2001-08-31 22:56:50 +00:00
mstoltz%netscape.com
30e6769825 Bug 92061 - allow javascript: URLs to be targeted at about:blank windows.
Relaxing too-strict security policy. r=rginda, sr=jst, a=asa
2001-08-31 21:01:10 +00:00
dbaron%fas.harvard.edu
be938a64b6 Undoing backout of bug 97227 because valeski and rpotts insist. I guess drivers aren't doing approvals after all. 2001-08-31 04:28:26 +00:00
mstoltz%netscape.com
c6704e1401 Bug 92955 - Option to disable window.open from onLoad/onUnload event
handlers. r=harishd@netscape.com, sr=jst@netscape.com, a=brendan@mozilla.org
2001-08-31 04:06:39 +00:00
dbaron%fas.harvard.edu
5434e861aa Backing out unapproved checkin for bug 97227. a=brendan,blizzard 2001-08-31 03:45:20 +00:00
jst%netscape.com
fa57f58228 Fixing bug 82027, problems with accessing window.history[x] from JS. r=mstoltz@netscape.com, sr=jband@netscape.com a=dbaron@fas.harvard.edu 2001-08-31 02:36:45 +00:00
rpotts%netscape.com
9e2f57a942 bug #97227 (r=valeski, sr=vidur). This patch makes all calls to nsIWebBrowserChrome::SetStatus(...) display synchronously. 2001-08-30 21:47:45 +00:00
mcafee%netscape.com
e36fd638a2 Adding ifdef to turn JS dump() on w/o the need of a pref (96924). r=cls, sr=jst, a=asa 2001-08-30 08:07:07 +00:00
radha%netscape.com
8745507311 Fix for bug 84519 r=adamlock sr=rpotts a=asa. history.go(toofar) gives problems to back/forward buttons 2001-08-23 21:55:57 +00:00
bryner%netscape.com
d1b47d9b27 Bug 92210 - Window steals focus if you switch to another app during "Transferring data from...". r=saari, sr=hyatt. 2001-08-21 21:18:45 +00:00
jst%netscape.com
ce7442eb89 Fixing bug 92272. Avoid malloc(0), patch mostly by mkaply@us.ibm.com. sr=me, r=nobody (trivial fix) 2001-08-21 09:02:22 +00:00
rpotts%netscape.com
34d72acb6a Fix warnings... 2001-08-21 08:13:04 +00:00
rpotts%netscape.com
402fefe7c2 bug #92425 (r=adamlock, sr=jst). OnLoad() handler which executes a javascript URL causes an infinite loop... 2001-08-21 06:20:53 +00:00
dbaron%fas.harvard.edu
113ad642ae Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797 2001-08-21 01:48:11 +00:00
saari%netscape.com
4ded5c390d Fix for bug 82569, a simple null check to patch over a crash some people are seeing from talkback.
r=blake, sr=jst
2001-08-17 02:30:22 +00:00
sfraser%netscape.com
4d87b83d18 Project cleanup, rs=scc. Fix one or more of access paths, linking with the correct startup library, and unnecessary linkage. 2001-08-17 01:16:19 +00:00
jst%netscape.com
3cb2bedf85 Fixing bug 95480. JS error messages were sometimes lost, we printed the filename and linenumber to the console, but the actual message was lost... r=pollmann@netscape.com, sr=vidur@netscape.com 2001-08-16 04:05:10 +00:00
sfraser%netscape.com
755b4f191d Project cleanup, rs=scc. Don't link with libpref or OJI, which are components. 2001-08-15 23:14:37 +00:00
jst%netscape.com
9c3a84b514 Fixing JS timeout crash bug 55459. Re-doing the refcounting model for timeout objects to avoid crasing in certain cases. r=pollmann@netscape.com, sr=vidur@netscape.com 2001-08-15 05:35:02 +00:00
jband%netscape.com
2bad71c89b fix bug 94752. Let xpconnect decide when to call JS_DestroyContext. It sometimes needs to defer the call until JS code running on the context is finished. r=dbradley sr=jst 2001-08-15 04:49:09 +00:00
jst%netscape.com
bb03b68af8 Fixing typo 2001-08-14 08:05:28 +00:00
cls%seawood.org
a3c1dd1b09 Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org
2001-08-14 07:59:59 +00:00
rpotts%netscape.com
33bbd6972c bug #94205. Adding flags to nsIWebNavigation::Stop(). 2001-08-14 04:46:20 +00:00
mstoltz%netscape.com
880f5907bc 86984 - make history.length sameOrigin-accessible. Security prefs change.
91714 - CheckLoadURI should trest 'safe' and 'unsafe' about: URLs as different protocols
56260 - 'Remember This Decision' in signed script grant dialog should default to unchecked
83131 - More descriptive security error messages
93951 - Added null check in GetBaseURIScheme to prevent crash.
All bugs r=jtaylor, sr=jst
2001-08-14 00:18:58 +00:00
hyatt%netscape.com
5e00a61992 fix case of props. r/sr=blake,ben 2001-08-12 07:43:38 +00:00
hyatt%netscape.com
e1ef94ff29 Missed a property. r/sr=ben/blake 2001-08-12 05:57:41 +00:00
hyatt%netscape.com
7f01e36747 Add remaining props to XUL element. r/sr=ben,hewitt 2001-08-12 03:47:33 +00:00
jst%netscape.com
1d7cc61564 Minor optimization suggested by brendan@mozilla.org 2001-08-11 01:23:52 +00:00
jst%netscape.com
ca5b02613c Fixing bug 76603, backwards compatibility issue with window.setTimeout() and window.setInterval(). Older browsers let you call these methods with only one argument (assuming 0 timeout), but mozilla requires two or more arguments. r=pollmann@netscape.com, sr=jband@netscape.com 2001-08-10 01:45:54 +00:00
av%netscape.com
37105d541d Fix for 93351 -- preventing endless reload loop on plugins.refresh(1), r=peterl, sr=jst 2001-08-10 01:12:05 +00:00
rpotts%netscape.com
934fa34926 bug #91165. Better patch (trunk only) for fixing selectAll within framesets for embedding 2001-08-09 09:24:26 +00:00
jst%netscape.com
ae82348312 Fixing bug 92912, problems with executing javascript in dynamically created iframe's due to JSContext initialization failing. r=nisheeth@netscape.com, sr=brendan@mozilla.org 2001-08-09 09:12:05 +00:00
bryner%netscape.com
25140ddbc7 Bug 92735 - File->Close crash on Linux. r=jag, sr=jst. 2001-08-09 08:12:25 +00:00
andreas.otte%primus-online.de
6917b5d061 bug 40670 [URL: resolution of protocol:/path] checking in the groundwork to have an easy fix if we ever decide to support these kind of deprecated relative urls. For that a new attribute URIType is added to nsIProtocolHandler and its implementations to store some protocol/scheme dependend information to have enough information to allow correct parsing. r=darin@netscape.com sr=rpotts@netscape.com 2001-08-07 20:42:57 +00:00
brendan%mozilla.org
73f0cbccc4 Quick followup, my reviewers missed a copy/paste error that's harmless but formally wrong. 2001-08-07 07:12:12 +00:00
brendan%mozilla.org
bb7f3f9cb3 Use a new JSContext option to type context-private data as nsISupports* (82845, sr=jst&waterson). 2001-08-07 05:27:42 +00:00
brendan%mozilla.org
49c0102cdf Restore scriptable nsIClassInfo.classID but add fast/C++-only classIDNoAlloc; define and use nsIClassInfo::EAGER_CLASSINFO in caps (93792, sr=waterson&jst). 2001-08-07 03:59:29 +00:00
hyatt%netscape.com
19e5a288a8 Fix for 71106. r=jag, sr=jst 2001-08-06 22:15:17 +00:00
bzbarsky%mit.edu
a353a4e9a0 Making import rules implement the nsIDOMCSSImportRule interface. Bug 90290, r=pierre, sr=jst 2001-08-04 21:19:53 +00:00
brendan%mozilla.org
dbd7fed5b1 FASTLOAD_20010703_BRANCH landing, r=dbaron, sr=shaver. 2001-07-31 19:05:34 +00:00
jaggernaut%netscape.com
e91f8a147e Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
radha%netscape.com
5489eac1e8 Partial fix to bug # 40867. Exposes interfaces implemented by nsGlobalwindow to JS. r=rpotts sr=jst, vidur 2001-07-24 22:39:11 +00:00
jaggernaut%netscape.com
cb0faab070 Bug 73353: clean up the REQUIRES lines in Makefiles. 2001-07-23 22:36:12 +00:00
peterlubczynski%netscape.com
4d99bea127 Fix for bug 90951 Trunk & N610 crash in [@ 0x00000000 - MimeTypeElementImpl::GetEnabledPlugin] after plugin.refresh() r=av/dbaron sr=brendan 2001-07-23 05:36:52 +00:00
mstoltz%netscape.com
da57450dfd Bug 90591: Add security hooks for accessing __proto__. r=mstoltz, sr=brendan.
Bug 90418: assure that
if the prototype of an object in one domain is set to an object in another domain,
security checks are done on the original object. r=mstoltz, sr=brendan.
2001-07-21 02:08:00 +00:00
saari%netscape.com
2a7349540e fixing 77675, windows stealing focus from each other. r=bryner, sr=hyatt 2001-07-20 08:14:44 +00:00
valeski%netscape.com
ea661eedd1 91365. r=dougt, sr=hyatt. nsIScriptGlobalObject->GetContext() can legitimately return NS_OK *and* a nsnull outparam. Various callsites were not respecting the nsnull out param and this patch gracefully handles those cases. 2001-07-19 05:48:49 +00:00
jst%netscape.com
76d17c95e3 Adding back these macros to fix build bustage in code I don't have access to. 2001-07-18 08:45:25 +00:00
jst%netscape.com
88d48dc0c5 Removing use of obsolete macros for defining lists of interfaces used by the DOM classinfo code. r=pollmann@netscape.com, rs=vidur@netscape.com 2001-07-18 07:48:12 +00:00
jst%netscape.com
b9816ad9f5 Fixing typo pointed out by bbaez@netscape.com, r=nobody 2001-07-18 00:13:56 +00:00
jst%netscape.com
f70ebcaecd Fixing bug #87389 This refreshes prototypes when classes are initialized on the context (Page transition) to prevent changes to prototypes from persisting across document loads. r=dbradley@netscape.com, sr=jst@netscape.com, patch by jband and dbradley (dbradley checking in from jst's account) 2001-07-17 06:20:37 +00:00
hewitt%netscape.com
9999f89b71 90738 - build DOM traversal idl, r=blake, sr=jst 2001-07-17 06:01:21 +00:00
hewitt%netscape.com
a02a736e28 90738 - build DOM traversal IDL, r=blake, sr=jst 2001-07-17 05:44:56 +00:00
dbaron%fas.harvard.edu
aa4fec2b67 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
mstoltz%netscape.com
f3d9b0caa1 Bug 77485 - defining a function in another window using a targeted javascript:
link. Prevent running javascript: urls cross-domain and add a security check for adding
and removing properties. r=harishd, sr=jst.
2001-07-13 07:08:26 +00:00
jst%netscape.com
1e3672ffdc Fixing smoketest blocker 90472. Only initialize the context when the JS scope was cleared. r=harishd@netscape.com 2001-07-13 01:30:44 +00:00
peterv%netscape.com
cbb06bf460 Trying to get senna on the road again. 2001-07-12 09:54:23 +00:00
peterv%netscape.com
618f141bf7 Trying to fix senna. 2001-07-12 08:36:30 +00:00
jst%netscape.com
e7e379cb49 Backing out parts of an experiment that was accidentally checked in yesterday, fixes blocker bug 90363. r=pollmann@netscape.com 2001-07-12 03:13:28 +00:00
jst%netscape.com
33113643cd Attempting to fix mac bustage... 2001-07-11 10:03:04 +00:00
jst%netscape.com
1f37951d4b Fixing compiler warning. 2001-07-11 09:13:05 +00:00
jst%netscape.com
7ad971a08f Fixing bug 83433, exposing DOM constructors and prototypes to JS. r/sr=rpotts@netcape.com, vidur@netscape.com, dbradley@netscape.com 2001-07-11 09:09:30 +00:00
jst%netscape.com
0294653201 Fixing bug 88933, oriblems with setting event handlers on select elements from JS. r=hidday@geocities.com, sr=brendan@mozilla.org 2001-07-10 07:31:31 +00:00
rpotts%netscape.com
08a9729342 bug #65777. This fixes a regressoion caused by the last patch - which broke javascript bookmarklets 2001-07-06 19:40:23 +00:00
cls%seawood.org
cfce8f4dcc Updating .cvsignore files.
Bug #84824 r=jag
2001-07-06 02:36:37 +00:00
jst%netscape.com
030da7b1b9 Fixing bug 86147. Adding code that does security checks on access to getter and setter functions for properties of DOM objects in JS. Also fixing a JS engine bug that caused problems with the real fix for this bug, the JS engine bug was that a jsid was passed as a jsval to the checkAccess() class hook. r=mstolts@netscape.com, sr=brendan@mozilla.org 2001-07-04 09:44:57 +00:00
jaggernaut%netscape.com
5a6317b8a5 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
jgaunt%netscape.com
07868cf706 bug #86517 Landing of Accessible_052901_Branch4 sr=waterson
r= lots, see bug
2001-06-30 00:25:09 +00:00
rpotts%netscape.com
acfde72f7d bug #65777 (r=jst, sr=vidur). Reworked javascript: protocol so script execution is synchronous inside of AsyncOpen() 2001-06-29 00:40:45 +00:00
jst%netscape.com
88de2440ef Fixing bug 87961. Fixing problems with accessing items in DOM 'array' objects. r/sr=brenda@mozilla.org, vidur@netscape.com 2001-06-28 04:26:29 +00:00
dbaron%fas.harvard.edu
1496d5b7f1 Fix leak from complicated ownership cycle by releasing |mChromeEventHandler| in |CleanUp| and |SetDocShell|. b=87466 r=saari sr=hyatt 2001-06-26 21:29:08 +00:00
locka%iol.ie
4e3b1d6295 Added missing interface to NS_IMPL_ISUPPORTS macro. sr=jst@netscape.com b=86641 2001-06-25 22:00:11 +00:00
jst%netscape.com
935e3d3c27 Fixing bug 74816. Adding a pref check to window.dump() that lets us control the output from dump() with a pref in release builds, the default for release builds is disable output, and in debug builds the output is always enabled. The boolean pref that controls this is 'browser.dom.window.dump.enabled'. r=pollmann@netscape.com, sr=ben@netscape.com, a=drivers@mozilla.org (blizzard@mozilla.org) 2001-06-22 10:54:23 +00:00
jst%netscape.com
0de9c904f1 Fixing bug 80496, making window.scrollTo() correctly scroll to the end of the document if a huge number is passed in as the coordinages to scroll to, the fix is to convert integers that don't fit into 32 bits after a pixel to twips conversion. Also fixing a crash in embedding apps if their docshell tree owners don't deal with passing null out parameters to GetPosition(). r=dbradley@netscape.com, bryner@netscape.com, sr=vidur@netscape.com, a=drivers@mozilla.org (asa) 2001-06-22 00:48:50 +00:00
waterson%netscape.com
b74d6e1c8b Land STATIC_BUILD_20010612_BRANCH, which supports building mozilla with components statically linked into the executable, as well as 'meta modules' that combine components into uber-DLLs. 2001-06-20 20:21:49 +00:00
dbaron%fas.harvard.edu
9d35ed31a4 Fix bad getters on nsIDocument and nsIScriptContext to use out params rather than return |AddRef|ed pointers. b=81289 r=jaggernaut sr=jst a=asa 2001-06-20 03:27:48 +00:00
blakeross%telocity.com
be66649c77 Add command() method to nsIDOMXULElement, fixes bug 56137 and some other accessibility bugs (83614). r=kerz sr=ben a=asa 2001-06-20 02:02:57 +00:00
danm%netscape.com
cc6234cba2 URL loading security check moved from WindowWatcher to GlobalWindow. base URL calculation also reset to preferentially use the caller's context over the parent window's. bug 59748 r=hyatt,jst a=asa 2001-06-20 01:25:09 +00:00
bzbarsky%mit.edu
e1cac7332a Add classinfo to nsGenericHTMLCollection, fixing bug 85560 and bug
83107.  r=peterv, sr=jst, a=dbaron
2001-06-19 23:38:39 +00:00
cls%seawood.org
bf5fb48486 Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
Changes allow us to have a finer control over which parts of the tree are built with PIC.  Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf
2001-06-18 22:10:38 +00:00
jst%netscape.com
bc06daf143 Fixing crasher bug 86313, patch by _basic@yahoo.com and myself, r=pollmann, sr=me, a=drivers@mozilla.org 2001-06-18 07:37:11 +00:00
heikki%netscape.com
d1ba08fb69 Bug 83557, make xmlextras work in embedding. XMLHttpRequest is more like a DOM class now, events are fired and executed on the proper context, and a lot of JS specific code was removed. Patch by jst, r=heikki, sr=vidur, a=asa@mozilla.org. 2001-06-11 22:16:10 +00:00
dougt%netscape.com
e0c4831d10 Fixes bug 83401. r=gagan, darin, sr=vidur, a=blizzard. Add port blacklisting to necko 2001-06-06 00:10:09 +00:00
jband%netscape.com
1358d1f4d2 fix bug 83367 - add deferred Release of natives of wrappednatives to avoid nesting into js_AllocGCThing during JS gc sr=jst r=dbradley a=drivers 2001-06-05 01:00:48 +00:00
jband%netscape.com
c0c1a461a6 fix part of bug 82034 by failing rather than crashing if the applet is null. Fix from jst. sr=jband r=beard a=drivers 2001-06-05 00:41:28 +00:00
jst%netscape.com
6f138c7969 Fixing crasher bug 73331. When cleaning up incorrect content in the HTML content sink we ended up creating frames for content that was about to be taken out of the document shortly after only to be inserted into the document again at a different place, this caused frame construction to happen for the new content that was about to be moved. So we created frames for no good reason and the frames we created got distroyed immediately after they've been created. The frame construction left old frames around that held on to anonymous content that was partly torn down and didn't have a valid document pointer, this caused a crash later on in the style resolution code. r=harishd@netscape.com, sr=vidur@netscape.com, a=drivers@mozilla.org (blizzard@mozilla.org). 2001-05-30 02:25:52 +00:00
saari%netscape.com
13f4b7f55a fixing 826710 blocker. r=me,sr=hyatt,a=mcafee Make sure we null out the focused element after the focus is supressed, and after the container is torn down. Also, make sure we don't do unnecessary command updating when focus is suppressed 2001-05-29 23:22:11 +00:00
jst%netscape.com
a19e5985d1 Making these interfaces compile w/o changes to domstubs.idl, not part of the build. 2001-05-28 01:46:11 +00:00
jst%netscape.com
2ca65812ef Checking in Jonas Sicking's (sicking@bigfoot.com) DOM Level 2 traversal interfaces, see bug 82625 for more details, not part of the build. 2001-05-26 10:04:05 +00:00
jst%netscape.com
9993244d03 Fixing bug 81928 which caused errors in JS executed in XUL files to be silently ignored. The problem was that nsJSContext::GetGlobalObject() was relying on the global object in a context to be a XPConnect wrapped object, but this was not the case when XUL files loaded prototype scripts. r=brendan@mozilla.org, sr=jband@netscape.com, a=blizzard@mozilla.org. 2001-05-26 07:44:19 +00:00
joki%netscape.com
300c54251d Fix for 80996, prevent attempted access to freed event listeners by throwing out old ELM when loading new page. sr:jst, r:nisheeth 2001-05-23 06:33:28 +00:00
jst%netscape.com
372a877971 Backing out dbaron's last change for bug 42321 which prevented mozilla from running the JS GC when going from page to page, this caused bugscape blocker bug 5073. r/sr=vidur&rpotts 2001-05-23 00:15:54 +00:00
rods%netscape.com
2945ee5e62 adding pane/frameset/frame/iframe navigation
Bug 24423 r=joki,saari a=hyatt
2001-05-22 23:52:17 +00:00
jst%netscape.com
e452814a51 Checking in vidur@netscape.com's fix for regression bug 82051, this fixes a common crash on opening/closing windows and or loading webpages, this is a completely safe fix. r=peterv@netscape.com, sr=jst@netscape.com 2001-05-22 10:48:22 +00:00
jst%netscape.com
7f62fa9565 Checking in fix for xpcdom regression bug 81915. Adding resolve hook to the HTML document helper, r=peterv@netscape.com, sr=scc@mozilla.org 2001-05-21 12:37:38 +00:00
dbaron%fas.harvard.edu
ca406deb8e Fix gcc 2.7.2.3 crash on startup (orange on speedracer and worms tinderboxes). gcc 2.7.2.3 doesn't seem to follow the rule in C++ 12.2, clause 5, on the lifetime of temporaries bound to references. 2001-05-19 16:05:10 +00:00
jst%netscape.com
77aeecc056 scc checking in from jst's account. bug #75220: sr=jst, rs=brendan. renaming |nsPromiseC?Concatenation| to |nsDependentC?Concatenation|; |nsPromiseC?Substring| to |nsDependentC?Substring|; |nsLiteralC?String| and |nsLocalC?String| to |nsDependentC?String|, as these new names better reflect clients obligations to instances. 2001-05-19 11:27:30 +00:00
jst%netscape.com
12950382be Random whitespace cleanup. 2001-05-19 09:14:19 +00:00
jst%netscape.com
32ade0e2b5 Fixing problem with setting oldstyle 'replaceable' properties from JS that was exposed by the recent JS engine resolver fixes. I had simply forgotten to set *objp to tell XPConnect that something was resolved in the ::NewResolve() call. r=pollmann@netscape.com, sr=jband@netscape.com 2001-05-19 09:13:32 +00:00
vidur%netscape.com
3018715592 Continuing fix for bug 18843. Added onload and onerror events for loaded scripts. Node scriptable helper now uses the owner document for adding a refernce when a property is added. This addresses the case of unparented nodes as well. r=nisheeth, sr=jst 2001-05-19 01:21:43 +00:00
mstoltz%netscape.com
8c0cd58b30 Re-checking-in my fix for 47905, which was backed out last night because of a bug in some other code that was checked in along with it. This checkin was not causing the crasher and is unchanged. See earlier checkin comment - in short, this adds same-origin to XMLHttpRequest and cleans up some function calls in caps, removes some unnecessary parameters. r=vidur, sr=jst. 2001-05-19 00:33:51 +00:00
dbaron%fas.harvard.edu
a29fe8e589 Don't run JS GC when creating a new window. b=42321 r,sr = jst,brendan 2001-05-18 23:11:53 +00:00
blizzard%redhat.com
678b80f10b Back out mstoltz because of blocker bug #81629. Original bugs were 47905 79775. 2001-05-18 17:41:23 +00:00
jst%netscape.com
eec197281b Checking in fix for bug 81308 which caused JS errors in XUL prototype scripts to not be shown on the console, patch by sfraser@netscape.com, sr=sfraser@netscape.com, jst@netscape.com, r=pollmann@netscape.com 2001-05-18 07:25:56 +00:00
mstoltz%netscape.com
11f7b8f900 Bug 47905 - adding security check for XMLHttpRequest.open.
Added nsIScriptSecurityManager::CheckConnect for this purpose.
Also cleaned up the security check API by removing some unnecessary
parameters. r=vidur@netscape.com, sr=jst@netscape.com

Bug 79775 - Forward button broken in main mail window. Making
WindowWatcher not call GetSubjectPrincipal if the URL to be loaded is
chrome, since the calling principal is superfluous in this case.
No one has been able to find the root cause of this problem, but
this checkin works around it, which is the best we can do for now.
r=ducarroz@netscape.com, sr=jst@netscape.com
2001-05-18 06:56:29 +00:00
javi%netscape.com
764e73d78d Fix for Bug 80841 r=mcgreer@netscape.com sr=jst@netscape.com
Make sure an entropy collector is generated and feed data from every
  100th mouse to the entropy collector.
2001-05-18 00:02:52 +00:00
jst%netscape.com
91a4c3123e Checking in fix for xpcdom regression bug 81265, the call to initialize liveconnect per context was dropped in the xpcdom landing, fix by beard@netscape.com (plus some additional cleanup by me), r=pollmann@netscape.com, sr=jst@netscape.com 2001-05-17 09:01:03 +00:00
cls%seawood.org
0a04a7de86 Updating intermodule dependencies. Should fix senna tb bustage. 2001-05-17 06:22:23 +00:00
jst%netscape.com
a31bb729c2 Removing GetNewListenerManager() from nsIDOMEventReceiver since it's not needed any more, no real code changes. r=pollmann@netscape.com, rs=vidur@netscape.com 2001-05-17 06:04:04 +00:00
bstell%netscape.com
b7843cb476 bug 79608, r=ftang, sr=vidur
for the embedding API: add get/set charset (GI'able from GlobalWIndow)
2001-05-17 02:15:27 +00:00
axel%pike.org
7b14605df5 moving nsOutlinerSelection from nsISecurityCheckedComponent to class info, r=mstoltz, sr=jst, bug 80907 2001-05-16 08:13:12 +00:00
radha%netscape.com
b1eefd23cb Fix for bug # 72197 javascript urls cause problems with history r= rpotts sr=blizzard 2001-05-15 22:26:19 +00:00
jst%netscape.com
44705c7b56 Fixing the remaining part (xpcdom regression) of bug 61984, r=harishd@netscape.com, sr=vidur@netscape.com 2001-05-15 20:58:58 +00:00
jst%netscape.com
751a6f7ccd Fixing the remaining part (xpcdom regression) of bug 61984, r=harishd@netscape.com, sr=vidur@netscape.com 2001-05-15 20:58:31 +00:00
peterv%netscape.com
1fe4acdae1 Add DOM ClassInfo for Transformiix classes. r=Pike, sr=jst. 2001-05-15 20:35:23 +00:00
jst%netscape.com
892417cdfb Checking in Boris Zbarsky's (bzbarsky@mit.edu) fix for bug 79818, making more CSSRules implement DOM interfaces. r=bryner, sr=jst 2001-05-15 08:26:13 +00:00
anthonyd%netscape.com
26a94095a5 comments for the nsIDOMRange.idl, JUST comments, nothing to see here. 2001-05-15 06:09:47 +00:00
jst%netscape.com
e09aa22a3c Wrap debug fprintf inside #ifdef DEBUG, bug #78629, patch by cls@seawood.org, sr=me. 2001-05-14 09:56:10 +00:00
jst%netscape.com
1b8d0828ee Use JS_ValueToECMAInt32() in stead of JS_ValueToInt32() to avoid errors when trying to convert random strings to numbers. r=rginda@netscape.com, sr=jband@netscape.com 2001-05-14 08:54:17 +00:00
joki%netscape.com
83de3b5600 Fix for 78987, modify Init*Event signatures to meet standards. sr:hyatt, r:jst 2001-05-14 01:54:11 +00:00
jst%netscape.com
5264639fd4 Making items in CSSRuleList's accessable from JS using the array syntax (i.e. rulelist[n]). r=peterv@netscape.com, rs=vidur@netscape.com 2001-05-13 22:16:45 +00:00
jst%netscape.com
3111d0b6b9 Removing unecessary #includes 2001-05-13 09:52:35 +00:00
jst%netscape.com
a981ea1d33 Making document.write and document.writeln callable with no arguments, this is needed for backwards compatibility. This is a regression from the XPCDOM landing. r=bryner, sr=hyatt. 2001-05-13 00:27:58 +00:00
jst%netscape.com
510bacd103 Fixing xpcdom regression bug 79737 that caused problems on bugzilla. HTMLFormElement's resolve hook wasn't implemented so form controls in a form weren't shadowing DOM properties on form elements. Also fixing problem with select[n] = new Object(). r=pollmann@netscape.com, sr=jband@netscape.com 2001-05-12 05:26:07 +00:00
blakeross%telocity.com
5f6f3decb8 Making selection dnd work again (second part of 79793). r=ben sr=jst 2001-05-12 05:16:57 +00:00
darin%netscape.com
b26d5adb54 Http branch landing: changes to other files (bug 76866) r=gagan,sr=dougt,a=chofmann 2001-05-11 21:05:08 +00:00
jst%netscape.com
63960a3db1 Checking in fix from jband@netscape.com that enumerates all interfaces w/o loading xpt files on statup unless they contain DOM interfaces (that start with 'nsIDOM'). sr=jst@netscape.com 2001-05-11 05:24:12 +00:00