2839 Commits

Author SHA1 Message Date
hyatt%netscape.com
cb0d9324ec Straggler for 78695.
git-svn-id: svn://10.0.0.236/trunk@96159 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-01 01:38:35 +00:00
dbaron%fas.harvard.edu
47e48fa66e Adding newline to end of file to fix HP bustage.
git-svn-id: svn://10.0.0.236/trunk@96146 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 23:59:22 +00:00
hyatt%netscape.com
b7b1cb3691 Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
git-svn-id: svn://10.0.0.236/trunk@96136 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 22:19:43 +00:00
peterv%netscape.com
21c40f404d Fix for bug 83078 (document.write of 'LINK' (ext. stylesheet) causes duplicate content). Call UpdateAllContexts when a stylesheet is add/removed/enabled/disabled. r=harishd, sr=jst, a=chofmann.
git-svn-id: svn://10.0.0.236/trunk@96068 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-30 20:35:20 +00:00
peterv%netscape.com
ac47104ac4 Fix for bug 83093 (Leaks went up by about 200k) r=heikki, sr=jst, a=chofmann.
git-svn-id: svn://10.0.0.236/trunk@96064 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-30 19:17:42 +00:00
pollmann%netscape.com
161f586d22 Bug 77834: Fix problem where form control state is being restored to the wrong form control or not restored at all when going back and forth through session history. The problem was that the hash key we used was the content ID, which was not consistent from page load to page load. The fix was to key instead by index of form in document / index of control in form, with logic to fall back to content ID if we are unable to do this. r=nisheeth@netscape.com, sr=jst@netscape.com, a=drivers@mozilla.org (blizzard@mozilla.org)
git-svn-id: svn://10.0.0.236/trunk@96057 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-30 11:26:21 +00:00
jst%netscape.com
8381d28d40 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).
git-svn-id: svn://10.0.0.236/trunk@96046 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-30 02:25:52 +00:00
peterv%netscape.com
cb99a56b4c Fix for bug 81989 (STYLE tags can cause multiple copies of stylesheet to be loaded) r=heikki, sr=jst, a=blizzard.
git-svn-id: svn://10.0.0.236/trunk@95990 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-29 08:10:58 +00:00
jst%netscape.com
ceb00ea625 Fixing regression bug 81818 that caused a crash in certain situations when viewing images in mozilla. sr=scc@mozilla.org, a=choffmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@95971 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-27 07:15:28 +00:00
pollmann%netscape.com
23709a8e76 Bug 79565: Fix a crash where elements in the mImageMaps array were released but not removed from the array, and a stale pointer was dereferenced. r=jst@netscape.com, sr=vidur@netscape.com, a=drivers@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@95955 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-26 06:43:20 +00:00
valeski%netscape.com
8b114fc235 r=jband, sr=vidur, a=blizzard. 82536. adding null check and graceful failing if null. it's valid for the stack to pop null JSContexts
git-svn-id: svn://10.0.0.236/trunk@95912 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 14:58:33 +00:00
nisheeth%netscape.com
a63df7b032 Fix for bug 57636. r=rpotts, sr=jst, a=asa. Onload handlers now fire on document.written content.
git-svn-id: svn://10.0.0.236/trunk@95903 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 08:49:03 +00:00
jst%netscape.com
855319209e Checking in vidur@netscape.com's fix for bug 81994 which caused scripts on webpages to be executed twice when calling DemoteContainer() in the html content sink. r=nisheeth@netscape.com, sr=jband@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@95899 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 07:03:04 +00:00
dbaron%fas.harvard.edu
63ff65123f Fix build bustage within |#ifdef CSS_REPORT_PARSE_ERRORS| resulting from scc's string changes for bug 75220. Not part of default build. r=glazman a=tor
git-svn-id: svn://10.0.0.236/trunk@95826 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 14:18:38 +00:00
scc%mozilla.org
1314d936af bug #75220: fixing stragglers, people who checked in uses of |nsLiteralC?String| after it had already been removed from the build
git-svn-id: svn://10.0.0.236/trunk@95763 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 01:21:04 +00:00
dbaron%fas.harvard.edu
d4c259efad Work around crash by using nsSupportsArray::Clone instead of the buggy (82133) nsSupportsArray::AppendElements. Patch from glazman@netscape.com, r=dbaron, sr=attinasi, b=80057
git-svn-id: svn://10.0.0.236/trunk@95685 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-22 20:53:00 +00:00
jst%netscape.com
d795e51bad Fixing typo
git-svn-id: svn://10.0.0.236/trunk@95633 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 23:29:14 +00:00
valeski%netscape.com
e2736d6096 sr=vidur/shaver@mozilla.org on the content policy callsite and implementation mods (81260). Update of the nsIContentPolicy interface to provide more generic context, a nsIURI instead of a URI wstring, and a nsIDOMWindow for window level context. Existing Callsites have been updated to reflect the new changes, and nsIDOMWindows are now passed into the new API.
git-svn-id: svn://10.0.0.236/trunk@95620 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 22:40:10 +00:00
peterv%netscape.com
b5b28ccdae Fixing regression bug 81918 (Setting preferred style sheet via HTTP headers is broken). r=glazman, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@95596 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 13:01:41 +00:00
peterv%netscape.com
f6e0006b97 Fix typo.
git-svn-id: svn://10.0.0.236/trunk@95591 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 09:47:03 +00:00
pavlov%netscape.com
bb6baf7dcd fixing bug 65708 r=bryner sr=jst
git-svn-id: svn://10.0.0.236/trunk@95584 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 06:14:37 +00:00
jst%netscape.com
2088775c72 Removing #include...
git-svn-id: svn://10.0.0.236/trunk@95581 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 03:14:39 +00:00
jst%netscape.com
535c86019d 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.
git-svn-id: svn://10.0.0.236/trunk@95533 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 11:27:30 +00:00
jst%netscape.com
8e4e3c75fc Fixing bug 81115 that causes the identity of event receivers and event targets to be incorrect in the case where the target/reveiver is an nsGenericElement or a nsGenericDOMDataNode. The problem was the those classes use the event listener manager as a tearoff but QI'ing that tearoff to nsISupports returns the event listener manager and not the element/node, this causes XPConnect to create different wrappers for the same element/node when the event listener tearoff is wrapped in stead of directly wrapping the element/node. This causes problems with event.target in JS, among other things. The solution for this problem was to create a separate tearoff that works correctly and leave the event listener manager alone since it can not be used as a tearoff in all cases. r=pollmann@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@95514 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 07:02:50 +00:00
peterv%netscape.com
f74c7ea12a Fix for bug 7515 (load stylesheets inserted dynamically through the DOM). r=heikki, harishd. sr=jst.
git-svn-id: svn://10.0.0.236/trunk@95505 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 02:59:15 +00:00
vidur%netscape.com
1da03054fb Continuing fix for bug 18843. Added onload and onerror events for loaded scripts. r=nisheeth, sr=jst
git-svn-id: svn://10.0.0.236/trunk@95490 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 01:21:57 +00:00
jst%netscape.com
840888ef95 Checking in support for onload handlers for frame and iframe elements, and fixing .ownerDocument of orphan elements, fixes bug 60173, and also fixes part of bug 27382. r=pollmann@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@95479 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 00:17:01 +00:00
ftang%netscape.com
201b62d65e fix bug 81266 for simon@softel.co.il
r=ftang sr=jst
fix UMR


git-svn-id: svn://10.0.0.236/trunk@95354 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 01:10:54 +00:00
vidur%netscape.com
51d5bb6a4a Fix for bug 18843. Dynamically added SCRIPT elements are now processed through a per-document script loader. Script execution that originally occured in the content sinks is now done by the script loader. r=heikki sr=jst
git-svn-id: svn://10.0.0.236/trunk@95228 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 05:54:16 +00:00
vidur%netscape.com
b7fe451e66 Part of fix for bug 18843. Dynamically added SCRIPT elements are now processed through a per-document script loader. Script execution that originally occured in the content sinks is now done by the script loader. r=heikki sr=jst
git-svn-id: svn://10.0.0.236/trunk@95213 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 05:20:51 +00:00
jst%netscape.com
45064c050c Fixing bug 80754. Make the content sink do what the docshell does when looking for the ref (i.e. the part after the '#') in a URI, this makes scrolling to named anchors work even if the uri that's loaded is not a nsIURL, such as chrome:// urls. r=pollmann@netscape.com, rs=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@95202 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 02:37:30 +00:00
nhotta%netscape.com
0260567b89 Changed to use NS_ConvertUTF8toUCS2 for nsHTMLAnchorElement::GetHref, bug 81090, r=ftang, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@95157 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-16 23:47:35 +00:00
ftang%netscape.com
4cc3945877 fix bug 80552 r=ftang r/sr=jst
check in for simon@softel.co.il
change BidiEnable to GetBidiEnable


git-svn-id: svn://10.0.0.236/trunk@95132 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-16 13:40:08 +00:00
attinasi%netscape.com
7d8ef6f0d0 STOP stipping whitespace from name attribute on Map element. b=79738 r=harishd sr=shaver
git-svn-id: svn://10.0.0.236/trunk@95109 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-16 05:32:38 +00:00
harishd%netscape.com
8e7bf84767 75641 - Fixing MLK caused by unclosed FONT tags ( penguin.html )
r=heikki sr=waterson
77352 - Making sure that the heading tags' size takes precedence over
residual style tags' size info.
r=pollmann sr=attinasi
57248 - Moved attribute entity parsing to the parser land.
r=heikki sr=jst.


git-svn-id: svn://10.0.0.236/trunk@95062 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 22:32:26 +00:00
radha%netscape.com
4693dd0f7c fix for bug # 72197 javascript url casues problems with SH. r=rpotts sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@95061 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 22:27:01 +00:00
jst%netscape.com
f3be9f08c8 Checking in Boris Zbarsky's (bzbarsky@mit.edu) fix for bug 79818, making more CSSRules implement DOM interfaces. r=bryner, sr=jst
git-svn-id: svn://10.0.0.236/trunk@94975 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 08:26:13 +00:00
glazman%netscape.com
fe602274b6 nsDOMCSSDeclaration::GetCssText not implemented; b=79722, r=harishd, sr=jst
git-svn-id: svn://10.0.0.236/trunk@94974 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 08:25:03 +00:00
shanjian%netscape.com
4c4c552ae0 #72299 User could not override charset from http server
r=nhotta, sr=jst


git-svn-id: svn://10.0.0.236/trunk@94931 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 03:42:33 +00:00
nhotta%netscape.com
a630ef95fb Changed to make string as array so sizeof returns number of characters instead of a size of a pointer,
this fixes a wrong offset problem for parsing charset, bug 80114, r=attinasi, sr=blizzard.


git-svn-id: svn://10.0.0.236/trunk@94921 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 03:03:19 +00:00
glazman%netscape.com
e8a9d2d00d ViewCSS.getComputedStyle() returns empty list; b=62697, r=peterv, sr=jst
git-svn-id: svn://10.0.0.236/trunk@94881 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-14 11:23:53 +00:00
jst%netscape.com
4f022036c9 Use XPConnect to get the private nsISupports pointer from a JSObject, and fix nsIDOM3Node fu introduced by the XPCDOM landing, r=glazman@netscape.com, rs=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@94870 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-14 09:16:27 +00:00
joki%netscape.com
08667ef7c1 Fix for 78987, modify Init*Event signatures to meet standards. sr:hyatt, r:jst
git-svn-id: svn://10.0.0.236/trunk@94840 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-14 01:54:11 +00:00
jst%netscape.com
ad0223ffa7 Removing unused code and code that was #if 0'ed out on the XPCDOM branch and left in when the branch landed. No code changes.
git-svn-id: svn://10.0.0.236/trunk@94816 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-13 10:33:33 +00:00
jst%netscape.com
5bceb08149 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.
git-svn-id: svn://10.0.0.236/trunk@94798 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-13 00:27:58 +00:00
nisheeth%netscape.com
eeb70ed5a9 Fix OS/2 build bustage from fix to bug 29171.
git-svn-id: svn://10.0.0.236/trunk@94762 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-12 07:12:33 +00:00
nisheeth%netscape.com
31703335d7 r=heikki. sr=jst. Fix for bug 29171. Create HTML unknown element for non-lowercased elements that are in the XHTML namespace.
git-svn-id: svn://10.0.0.236/trunk@94747 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-12 05:10:48 +00:00
darin%netscape.com
6b6871f17a fixes linux bustage r=evaughan
git-svn-id: svn://10.0.0.236/trunk@94692 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 22:30:02 +00:00
evaughan%netscape.com
eab27303ef Landing accessibility
-r aarol, jgaunt

-sr brendan


git-svn-id: svn://10.0.0.236/trunk@94685 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 21:11:38 +00:00
darin%netscape.com
81e317535f Http branch landing: changes to other files (bug 76866) r=gagan,sr=dougt,a=chofmann
git-svn-id: svn://10.0.0.236/trunk@94682 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 21:05:08 +00:00