Commit Graph

10913 Commits

Author SHA1 Message Date
smontagu%smontagu.org
e8b07e7e07 Don't propagate encoding up to the parent document viewer. Bug 315381, r+sr=jst 2006-04-25 06:57:31 +00:00
jst%mozilla.jstenback.com
9fa16b22ee Removing unused variable as pointed out by dbaron at https://bugzilla.mozilla.org/show_bug.cgi?id=321299#c29 2006-04-25 04:04:27 +00:00
bzbarsky%mit.edu
c6cc005766 Fix image blocking for obviously image objects. Bug 334825, r=biesi, sr=shaver 2006-04-24 19:56:18 +00:00
bzbarsky%mit.edu
7f9b937064 Dispatch mutation events even in documents that are not rendered in a window.
Bug 201236, patch by Alex Vincent <ajvincent@gmail.com>, r=smaug, sr=peterv
2006-04-24 19:52:21 +00:00
cvshook%sicking.cc
1b8fe517b5 More redness fixes 2006-04-24 07:46:03 +00:00
cvshook%sicking.cc
5547aa83e1 Fix redness 2006-04-24 07:16:27 +00:00
leon.sha%sun.com
0960e6fd1d Bug 333896
Convert GetAttr calls to AttrValueIs and FindAttrValueIn.
Patch by alfred.peng@sun.com.
roc: review+
roc: superreview+
2006-04-24 05:40:11 +00:00
cvshook%sicking.cc
6d6c050e52 More bug 114997. Don't strip whitespace from mValue, only when getting the value from the attribute. r/sr=bz 2006-04-24 05:20:44 +00:00
bzbarsky%mit.edu
7d7cc60668 Don't print-preview <noscript> unless script is really disabled. Bug 334944, r+sr=jst 2006-04-22 00:06:30 +00:00
bzbarsky%mit.edu
c2fceaea42 Fix bug 329677. Sort service patch by Neil Rashbrook, r=ndeakin, sr=bzbarsky.
The rest of the patch by me, r=pike, sr=Neil Rashbrook.
2006-04-21 18:01:21 +00:00
bzbarsky%mit.edu
e28c28393e Spec says to return null, not throw. Bug 334884, r+sr=sicking 2006-04-21 17:55:52 +00:00
gavin%gavinsharp.com
17ca1575dc Bug 315370: text Copy/Paste from Firefox to Outlook will be created as attachment, patch by David Gardiner <David.R.Gardiner@gmail.com>, r+sr=roc 2006-04-21 15:16:22 +00:00
bryner%brianryner.com
8ac62cb3ed Fix focus-stealing for button elements (bug 299677). Patch by darin, r+sr=me. 2006-04-21 02:10:53 +00:00
bzbarsky%mit.edu
dc9b0ff079 HTMLTableElement.rows should include rows that are not in table sections. Bug
309433, r+sr=sicking
2006-04-21 01:44:58 +00:00
bzbarsky%mit.edu
e69e268856 Make sure documents have a content type at creation time. Bug 311218,
r=sicking, sr=jst
2006-04-21 01:24:44 +00:00
tor%cs.brown.edu
e76f551ffd Bug 334400 - create SVG transform list lazily. r=jwatt, sr=roc 2006-04-20 15:24:51 +00:00
Olli.Pettay%helsinki.fi
fe02c71281 Bug 234455, Centralize event dispatch r=jst, sr=bz 2006-04-20 03:39:54 +00:00
bzbarsky%mit.edu
b4355576e5 Actually address the review comment too. Bug 324601. 2006-04-20 03:39:53 +00:00
bzbarsky%mit.edu
5456d83d62 Don't leak the channel and XMLHttpRequest object if AsyncOpen fails. Bug
323454, r=biesi, sr=darin
2006-04-20 03:39:52 +00:00
bzbarsky%mit.edu
a0907497e8 Give a saner principal to documents created via DOMImplementation. Bug 324601,
r=sicking, sr=jst
2006-04-20 03:39:51 +00:00
bzbarsky%mit.edu
4f00de6d9d Don't throw when status is gotten after a server timeout or some such. Bug
304980, r=darin, sr=jst
2006-04-20 03:39:50 +00:00
darin%meer.net
6de16e96e2 fixes bug 318193 "Input streams are not implemented consistently" r=biesi sr=bz 2006-04-20 03:39:49 +00:00
darin%meer.net
cf3756a10f fixes bug 309424 "mozilla 1.5beta1 freezes & goes into 95+% cpu usage browsing blackisha.com" r=biesi sr=bzbarsky 2006-04-20 03:39:48 +00:00
darin%meer.net
174dbb6029 fixes bug 273578 "XMLHttpRequest with async = false takes 100% CPU until request finished" r=jst sr=bz 2006-04-20 03:39:47 +00:00
darin%meer.net
3291d64315 fixes bug 308484 "Extensions can't set Content-Length header for XMLHttpRequest" r=dveditz sr=jst 2006-04-20 03:39:46 +00:00
darin%meer.net
90cb96d142 Second patch for bug 295074 "POST responses remain in the memory cache when using XMLHttpRequest => huge memory leak" r=biesi sr=jst 2006-04-20 03:39:45 +00:00
peterv%propagandism.org
606d5b8c27 Fix for bug 307049 (XMLHttpRequest seems to try to parse the empty (!) body of the response to an HTTP HEAD request). r=biesi, sr=bz. 2006-04-20 03:39:44 +00:00
cbiesinger%web.de
534a24c489 bug 305243 set an XML content-type hint on XMLHttpRequest channels, to always
parse local files as XML.
Also, make TestXMLExtras convert non-ASCII bytes to UTF-16 correctly.
r=jst sr=bz
2006-04-20 03:39:43 +00:00
bzbarsky%mit.edu
6d748b520e Fix bug 301678. r+sr=jst 2006-04-20 03:39:42 +00:00
cbiesinger%web.de
8eaf3d5097 Bug 293046 XMLHttpRequest.overrideMimeType() makes loading abort for non-XML
patch by Wladimir Palant <trev@gtchat.de> r=jst sr=darin
2006-04-20 03:39:41 +00:00
bzbarsky%mit.edu
e1e009bb9d More use of EmptyString(). Bug 232691, patch by Vidar Braut Haarr
<vhaarr+bmo@gmail.com>, r+sr=bzbarsky
2006-04-20 03:39:40 +00:00
darin%meer.net
4808e5a6a6 fixes bug 302809 "AJAX regression: POST setRequestHeader causes NS_ERROR_ILLEGAL_VALUE for invalid headers" r+sr=dveditz a=cbeard 2006-04-20 03:39:39 +00:00
darin%meer.net
9374e8af1d fixes bug 302489 "XMLHTTP TRACE method can reveal proxy passwords to web sites" r=jst sr=dveditz a=asa 2006-04-20 03:39:38 +00:00
darin%meer.net
3be32bd5c6 fixes bug 295074 "POST responses remain in the memory cache when using XMLHttpRequest => huge memory leak" r+biesi sr=jst a=asa 2006-04-20 03:39:37 +00:00
darin%meer.net
fd180aedbe fixes bug 302263 "prevent certain headers from being set on a XMLHttpRequest" r=dveditz sr=jst a=dveditz 2006-04-20 03:39:36 +00:00
bryner%brianryner.com
ba204186cf Fix assorted issues with fastback, including adding progress listener notifications and introducing the PageHide and PageShow events. See bug 292971 for all of the details. r=darin, sr=bzbarsky, a=shaver. 2006-04-20 03:39:35 +00:00
bzbarsky%mit.edu
9f7ae1e45c Save the user-set notification callbacks when we set ourselves on the channel,
and forward various notifications to them.  Bug 292391, r=biesi, sr=darin, a=asa
2006-04-20 03:39:34 +00:00
bryner%brianryner.com
5c1a894e8a Add support for caching content viewers in session history to speed up back/forward (bug 274784). This initial landing has the feature disabled by default; set browser.sessionhistory.max_viewers to the maximum number of pages to cache to enable the feature. r=bzbarsky, sr/a=brendan. 2006-04-20 03:39:33 +00:00
bzbarsky%mit.edu
176bcb93f5 Don't crash if responseText is gotten when we have no channel. Bug 289156,
r+sr=jst, a=chofmann
2006-04-20 03:39:32 +00:00
jst%mozilla.jstenback.com
ed40021b5c Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org 2006-04-20 03:39:31 +00:00
timeless%mozdev.org
6d22ad3517 Bug 286090 nsXMLHttpRequest.cpp should probably avoid text/xml
patch by bug@annevankesteren.nl r=doron sr=peterv
2006-04-20 03:39:30 +00:00
cbiesinger%web.de
49732c5891 181938 allow any protocol to support redirection, using a new
nsIChannelEventSink interface.
r=darin sr=bz
2006-04-20 03:39:29 +00:00
bzbarsky%mit.edu
1549cce8ba Fixing build bustage 2006-04-20 03:39:28 +00:00
bzbarsky%mit.edu
b88ca09866 Make nsIXMLHttpRequest.getResponseHeader follow the documented api. Bug
276705, r=doron, sr=jst
2006-04-20 03:39:27 +00:00
cbiesinger%web.de
430fe5de54 bug 264599 make unfrozen necko interfaces use 64-bit integers.
r=darin sr=bz a=asa
2006-04-20 03:39:26 +00:00
jst%mozilla.jstenback.com
dbf3a4f38d Fixing bug 268844. Don't force the cache to be bypassed for non-multipart requests. r=bzbarsky@mit.edu, sr=darin@meer.net 2006-04-20 03:39:25 +00:00
bzbarsky%mit.edu
f51a9369bc Don't try to parse the response on necko-level errors (dns failures, timeouts,
etc).  Bug 268472, r+sr=jst
2006-04-20 03:39:24 +00:00
bzbarsky%mit.edu
007aca5b5a Make it possible to re-call an XMLHttpRequest object from its onreadystate
handler by clearing listeners before calling onreadystate, not after.  Bug
258768, r=doron, sr=jst
2006-04-20 03:39:23 +00:00
darin%meer.net
15fd51a18e fixes bug 307769 "document how to pass a nsIInputStream to nsIXMLHttpRequest.send" r=biesi, sr=jst 2006-04-20 03:39:22 +00:00
bzbarsky%mit.edu
3f716e457c Don't add 4 to the length, so we don't send 4 extra bytes of garbage POST
data.  Bug 246651 followup, r+sr=darin, a=asa
2006-04-20 03:39:21 +00:00
bzbarsky%mit.edu
93e871a8c5 Just let the HTTP impl compute the content-length for our POST data. It does a
better job of it.  Bug 246651, r=darin, sr=jst.
2006-04-20 03:39:20 +00:00
pkw%us.ibm.com
ca869e5004 Bug 252345 - Memory leak in nsXMLHttpRequest.cpp (seen when using GMail).
r=peterv@propagandism.org, sr=darin@meer.net
2006-04-20 03:39:19 +00:00
scott%scott-macgregor.org
5bba4679e3 Bug #251418 --> Expose progress notification events through nsIXMLHttpRequest. Allow consumers of nsIXMLHttpRequest to
set a progress event listener. Listen for the http channel's nsIProgressEventSink notification and fire our new progress event
to the consumer.
r/sr=jst
2006-04-20 03:39:18 +00:00
scott%scott-macgregor.org
cda79a6198 Backing myself out. I thought I was checking into the aviary 1.0 branch 2006-04-20 03:39:17 +00:00
scott%scott-macgregor.org
c866840e10 Bug #251418 --> Expose progress notification events through nsIXMLHttpRequest. Allow consumers of nsIXMLHttpRequest to
set a progress event listener. Listen for the http channel's nsIProgressEventSink notification and fire our new progress event
to the consumer.

r/sr=jst
2006-04-20 03:39:16 +00:00
cbiesinger%web.de
fb1bc6a924 bug 248810 nsIStreamConverter[Service] uses wide strings for mime types
r+sr=darin
2006-04-20 03:39:15 +00:00
roc+%cs.cmu.edu
b07527b63a Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2006-04-20 03:39:14 +00:00
timeless%mozdev.org
0df9601162 Bug 243579 Change nsIOnReadystatechangeHandler to nsIOnReadyStateChangeHandler
r=jst sr=jst
2006-04-20 03:39:13 +00:00
bzbarsky%mit.edu
205731a7f6 nsIDocumentEncoder should be IDL-ized. Bug 305710, patch by jpl24
<jlurz24@gmail.com>, r=sicking, sr=bzbarsky
2006-04-20 03:39:12 +00:00
roc+%cs.cmu.edu
ac52420f10 Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2006-04-20 03:39:11 +00:00
jst%mozilla.jstenback.com
95c188a487 Whitespace only change. 2006-04-20 03:39:10 +00:00
jst%mozilla.jstenback.com
4e419ff2fb Removing stray whitespace. No code change. 2006-04-20 03:39:09 +00:00
bzbarsky%mit.edu
9402e6ebcf Undo attempts to fix build bustage from yesterday. These should not be needed. 2006-04-20 03:39:08 +00:00
cvshook%sicking.cc
575206e07f Might this help the redness? 2006-04-20 03:39:07 +00:00
bzbarsky%mit.edu
5ad0388519 Push up GetPrincipal to nsINode (as GetNodePrincipal). This way all nsINodes
(content, documents, attr nodes) can return their principal as needed.
Eliminate lazy allocation of principals in nsDocument.  Bug 324600, r=sicking, sr=jst
2006-04-20 03:39:06 +00:00
jst%mozilla.jstenback.com
bc343b0ac1 Fixing bug 282615. Make DOMSerializer's security check check for enabled priveleges too. r=jonas@sicking.cc, sr=bzbarsky@mit.edu 2006-04-20 03:39:05 +00:00
vladimir%pobox.com
a5785bf55b wrong IID; this one matches aviary and 1.7 2006-04-20 03:39:04 +00:00
bzbarsky%mit.edu
49e64b695f Make sure to wrap a buffered stream around the stream we're passed before
sending it to the parser (which expects a buffered stream).  Bug 287409,
r=darin, sr=jst
2006-04-20 03:39:03 +00:00
vladimir%pobox.com
441af8c3bc b=253954, let nsDOMParser detect charset from xml entity decl -- finally remembered to land this; r=bz,sr=shaver 2006-04-20 03:39:02 +00:00
vladimir%pobox.com
fa80874682 fixy fixy 2006-04-20 03:39:01 +00:00
vladimir%pobox.com
faa6379303 b=250119, xmlextras parsestring/parsestream should use autf8string. r=jst, sr=shaver 2006-04-20 03:39:00 +00:00
bzbarsky%mit.edu
18efafd8b4 Fix Windows bustage. 2006-04-20 03:38:59 +00:00
bzbarsky%mit.edu
2cff2b7990 Make sure to parse the data as UTF-8, since we serialized it as UTF8. Bug
240717, r+sr=jst
2006-04-20 03:38:58 +00:00
gerv%gerv.net
d2904cd7c1 Bug 236613: change to MPL/LGPL/GPL tri-license. 2006-04-20 03:38:57 +00:00
sicking%bigfoot.com
fd854bce9b Still bug 239572, but this time with the fix not commented out!
r/sr=jst a=chofmann
2006-04-20 03:38:56 +00:00
sicking%bigfoot.com
2871ca9eb8 Bug 239572: nullcheck before calling CallQueryInterface
r/sr=jst a=chofmann
2006-04-20 03:38:55 +00:00
darin%meer.net
025ee571ef fixes bug 237845 "WSDL bindings fail on Mozilla 1.7 beta" patch by keeda@hotpop.com r+sr=bz,jst a=asa 2006-04-20 03:38:54 +00:00
darin%meer.net
865090f264 fixes bug 239038 "rev IIDs for all interfaces modified since Mozilla 1.6" r=bsmedberg sr=jst 2006-04-20 03:38:53 +00:00
jst%mozilla.jstenback.com
1b422eca3a Fixing bug 237319. Adding support for server push of XML documents to an XMLHttpRequest using "multipart/x-mixed-replace". r=darin@meer.net, sr=hjtoi-bugzilla@comcast.net, a=chofmann@mozilla.org 2006-04-20 03:38:52 +00:00
jst%mozilla.jstenback.com
a9eb73ebb5 Fixing bug 232493. Paving the way for DOM Level 3 LS. This is mostly cleanup that will make life easier (and safer) when implementing DOM LS. r=caillon@aillon.org, sr=peterv@propagandism.org 2006-04-20 03:38:51 +00:00
jst%mozilla.jstenback.com
2080518c80 Fixing bug 232493. Paving the way for DOM Level 3 LS. This is mostly cleanup that will make life easier (and safer) when implementing DOM LS. r=caillon@aillon.org, sr=peterv@propagandism.org 2006-04-20 03:38:50 +00:00
hjtoi%comcast.net
ca4a979559 Bug 236436, need to null check URL so we won't crash, r+sr=jst. 2006-04-20 03:38:49 +00:00
bzbarsky%mit.edu
178957ce70 Make XMLHttpRequest dispatch an error event when it fails. Bug 218236, patch
by Wladimir Palant <trev@gtchat.de>, r=jst, sr=bzbarsky
2006-04-20 03:38:48 +00:00
jst%mozilla.jstenback.com
ed2b3e188a Fixing bug 68215. Adding support for the onbeforeunload event. r=peterv@propagandism.org, sr=brendan@mozilla.org 2006-04-20 03:38:47 +00:00
jst%mozilla.jstenback.com
c0f77c6520 Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. r=jonas@sicking.cc, sr=bryner@brianryner.com 2006-04-20 03:38:46 +00:00
jst%mozilla.jstenback.com
5169910cb4 Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com. 2006-04-20 03:38:45 +00:00
jst%mozilla.jstenback.com
5e967895b3 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org 2006-04-20 03:38:44 +00:00
bryner%brianryner.com
b14d9fa790 Improve the way in which nsEvent and its subclasses are initialized. Commonly-used members can now be initialized via an inline constructor, and all other members are initialized to zero. eventStructType is set automatically. This also fixes some cases where an eventStructType was doubling as a message -- NS_TEXT_EVENT is now only used as an eventStructType, with a message of NS_TEXT_TEXT. NS_COMPOSITION_* events get an eventStructType of NS_COMPOSITION_EVENT, and ditto for NS_RECONVERSION_*. NS_DRAGDROP_EVENT is no longer an eventStructType since it is not a unique type of struct. There is also some miscellaneous cleanup to nsDOMEvent. Bug 220228, r=jst, sr=blizzard. 2006-04-20 03:38:43 +00:00
jst%mozilla.jstenback.com
e6d703999d General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org 2006-04-20 03:38:42 +00:00
bryner%brianryner.com
ab49f6f8f3 deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst. 2006-04-20 03:38:41 +00:00
caillon%returnzero.com
00bf6f48c3 Re-land patch for bug 83536, merging principal objects.
Also includes fixes from bug 216041.
r=bzbarsky
sr=jst
2006-04-20 03:38:40 +00:00
caillon%returnzero.com
95407fb438 Backing out the patch to bug 83536.
I will reland this when 1.6a re-opens.
r+sr=jst@netscape.com
a=chofmann
2006-04-20 03:38:39 +00:00
caillon%returnzero.com
8dc00a9fe7 Bug 83536.
Merge script principal implementations into one class.
Should reduce footprint, speed up calls to caps a little bit, and fixes several memory leaks.
Also fixes bugs 211174 and 211263
r=jst@netscape.com
sr=bzbarsky@mit.edu
moa=mstoltz@netscape.com (he looked at an earlier patch and said it looked fine, and will do a retroactive review when he returns from vacation as well)
2006-04-20 03:38:38 +00:00
hpradhan%hotpop.com
55a44b6c5b Bug 206947: Synchronous XMLHttpRequest leaks and can cause crashes r=heikki sr=jst 2006-04-20 03:38:37 +00:00
timeless%mozdev.org
fcc5e37682 Bug 214398 - Refactor some copied code into a function in nsXMLHttpRequest
patch by riceman+bmo@mail.rit.edu r=jst sr=jst
2006-04-20 03:38:36 +00:00
jaggernaut%netscape.com
300141e63e Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron 2006-04-20 03:38:35 +00:00
bzbarsky%mit.edu
4a0fde8374 Update the string stream interface a bit and simplify the implementation a
lot. Bug 212109, r=dougt, sr=darin
2006-04-20 03:38:34 +00:00
jst%netscape.com
a4876aee97 Fixing bug 209884. Writing an inline helper to safely get an nsIScriptContext from a JSContext and making direct callers of JS_GetContextPrivate() use the helper. r=caillon@aillon.org, sr=peterv@netscape.com 2006-04-20 03:38:33 +00:00
alecf%flett.org
ebb649170a fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org
2006-04-20 03:38:32 +00:00
jst%mozilla.jstenback.com
9b33abb12c Fixing typo in comment. 2006-04-20 03:38:31 +00:00