bzbarsky%mit.edu
9c1042b2f2
Store the charset we had when we were written into when document.open()
...
happens. Then restore that as the document charset when loading from a wyciwyg
channel, instead of just claiming to be UTF-16. Bug 255820, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@226169 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-09 02:47:59 +00:00
bzbarsky%mit.edu
d2d337437c
Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers of
...
GetShellAt(0) to using this API. Bug 378780. API introduction part by me,
r+sr=jst. Mass-changes done by taras using squash, r+sr=me
git-svn-id: svn://10.0.0.236/trunk@225416 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 22:24:25 +00:00
bzbarsky%mit.edu
b230f09954
Don't unblock onload on the document if we no longer have a parser. Bug
...
375051, r=mbkap, sr=sicking
git-svn-id: svn://10.0.0.236/trunk@225123 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-27 04:05:08 +00:00
asqueella%gmail.com
9b0c307f8a
Bug 368700 - Using TLDs in document.domain should not be allowed
...
p=Wladimir Palant <trev.moz@adblockplus.org>
r=bz, sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@225037 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-25 20:48:28 +00:00
peterv%propagandism.org
4d197ac7f6
Fix for bug 378595 (Improve cycle collection QI performance). r/sr=sicking.
...
git-svn-id: svn://10.0.0.236/trunk@225011 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-25 16:35:31 +00:00
benjamin%smedbergs.us
7262cdad6d
Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me
...
git-svn-id: svn://10.0.0.236/trunk@224885 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-23 14:22:04 +00:00
bzbarsky%mit.edu
9b9e29922e
Stop blocking the parser on CSS stylesheet loads. We still block script
...
execution on them, however. Bug 84582, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@224813 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-20 22:59:18 +00:00
bzbarsky%mit.edu
c11b9496d3
Make sure to end our update before we decrement mSink->mInNotification. Bug
...
373669, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@224288 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-07 00:20:09 +00:00
dbaron%dbaron.org
30f83072c5
Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@222462 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-27 15:33:45 +00:00
roc+%cs.cmu.edu
f427e2bbff
Bug 367447. Support <link rel="offline-resource">. Patch by Dave Camp, r+sr=biesi
...
git-svn-id: svn://10.0.0.236/trunk@221859 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-14 01:52:07 +00:00
bzbarsky%mit.edu
22cd821e27
Relanding bug 267833. Let's see what Txul does now. Still r+sr=sicking
...
git-svn-id: svn://10.0.0.236/trunk@221651 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-09 23:43:50 +00:00
peterv%propagandism.org
fbe71aa7e3
Fix for bug 373219 (ASSERTION: Fault in cycle collector: null XPCOM pointer returned (ptr: 0)). r/sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@221603 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-09 13:14:06 +00:00
peterv%propagandism.org
4fff00b28c
Fix for bug 368773 (Add a bunch of DOM objects to cycle collection). r=sicking, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@221534 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-08 11:17:16 +00:00
bzbarsky%mit.edu
1646da9ee6
Back out bug 267833 to test performance effect.
...
git-svn-id: svn://10.0.0.236/trunk@221409 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-06 21:12:49 +00:00
bzbarsky%mit.edu
dc7b70aa9c
Fire XBL constructors asynchronously after binding attachment, unless we're in
...
the middle of an update. In that case, fire them at the end of the update.
Bug 267833, r+sr=sicking, fingers-crossed=me
git-svn-id: svn://10.0.0.236/trunk@221404 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-06 19:36:36 +00:00
jonas%sicking.cc
465b8fad66
Bug 370230: unbreak --enable-perf-metrics. Patch by me and Mats Palmgren. r/sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@220080 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-13 21:18:25 +00:00
sharparrow1%yahoo.com
4e50607a9e
Bug 370185: clean up view header includes (trivial). rs=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@219987 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-12 19:17:33 +00:00
Olli.Pettay%helsinki.fi
bd3ed79a81
Bug 197052, crash/hang when using innerHTML recursively, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@219951 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-11 00:30:20 +00:00
sharparrow1%yahoo.com
dd459d0a71
Bug 177805: Fix the use of units in Gecko. r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@219640 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-07 07:46:44 +00:00
bzbarsky%mit.edu
5d122039d9
Hoist the ref-scrolling stuff up to nsContentSink. Bug 369015, r+sr=sicking
...
git-svn-id: svn://10.0.0.236/trunk@219436 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-03 00:48:29 +00:00
bzbarsky%mit.edu
a4c17fc701
Make sure to initialize all members and that sort of thing. Bug 369011, r+sr=sicking
...
git-svn-id: svn://10.0.0.236/trunk@219372 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 02:12:48 +00:00
sayrer%gmail.com
4b956025f4
Bug 357450. Implement getElementsByClassName. r=jst, sr=peterv
...
git-svn-id: svn://10.0.0.236/trunk@219322 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 15:14:00 +00:00
jonas%sicking.cc
dc89ea1f2d
Bug 18333: Make the XML content sink incremental. Patch by Henri Sivonen<hsivonen@iki.fi>. r=peterv sr=sicking
...
git-svn-id: svn://10.0.0.236/trunk@219201 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 21:21:06 +00:00
cvshook%sicking.cc
ccd1d6884d
Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
...
git-svn-id: svn://10.0.0.236/trunk@219151 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 00:06:41 +00:00
bzbarsky%mit.edu
c1c504e712
When going back or forward to wyciwyg pages, make sure to correctly restore
...
their principal from session history. Bug 172261 and bug 301510, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@218955 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 04:37:16 +00:00
sayrer%gmail.com
c35a6ec1ea
Bug 366993. HTML doctype should always be capitalized. r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@218776 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 01:16:27 +00:00
bzbarsky%mit.edu
c663dd69d7
Don't inherit the charset from the parent document if it comes from a different
...
origin. Bug 356280, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@218267 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-13 03:28:00 +00:00
graydon%mozilla.com
84186f595b
Bug 366063: better fix to critical crasher, replacing band-aid submitted in 333078.
...
r=dbaron
git-svn-id: svn://10.0.0.236/trunk@218043 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-09 01:33:02 +00:00
graydon%mozilla.com
dea01bf08e
Bug 333078, Temporary band-aid for nsImageDocument cycle collection crashers.
...
r=dbaron
git-svn-id: svn://10.0.0.236/trunk@217906 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-06 22:09:38 +00:00
mrbkap%gmail.com
e81b436e63
Only do this security check if we don't already have a parser, since this call
...
won't do anything anyway. bug 364309, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@217852 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-05 22:02:22 +00:00
timeless%mozdev.org
c778d21502
Bug 355300 There should be only one nsGkAtoms creature
...
r=dbaron
git-svn-id: svn://10.0.0.236/trunk@217425 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 17:47:52 +00:00
dbaron%dbaron.org
3c6623d408
Don't forget to assign to rv. b=340554 r=sayrer
...
git-svn-id: svn://10.0.0.236/trunk@217367 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 17:28:48 +00:00
dbaron%dbaron.org
9332796f42
Eliminate nsStyleBorderPadding and add margin/padding/content rect APIs to nsIFrame. b=332922 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@217223 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 01:23:45 +00:00
cst%yecc.com
4dc1cb5575
Bug 301477 image zoom cursor does not change after resizing browser window
...
r=bz sr=jst
git-svn-id: svn://10.0.0.236/trunk@216971 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-14 02:06:49 +00:00
bzbarsky%mit.edu
6dda4a3840
Allow subframes that come from a different domain to document.write/open
...
themselves. Bug 362837, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@216498 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 19:36:40 +00:00
bzbarsky%mit.edu
25c459209d
Move GetCompatibilityMode() to nsIDocument. Bug 362797, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@216479 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 15:46:18 +00:00
bzbarsky%mit.edu
9cac9633d9
Fix bug 277724 -- make <select>, <textarea>, <button> restore disabled state. r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@215950 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 03:17:03 +00:00
bzbarsky%mit.edu
8de5291c41
This wasn't supposed to land
...
git-svn-id: svn://10.0.0.236/trunk@215692 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 18:52:32 +00:00
peterv%propagandism.org
104eb64087
Fix for bug 47903 (WRONG_DOCUMENT_ERR not being thrown). r=sicking, sr=bz.
...
git-svn-id: svn://10.0.0.236/trunk@215687 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 18:35:05 +00:00
bzbarsky%mit.edu
43d470b66b
Make the redirect check get principals the same way we get them elsewhere.
...
Clean up some code to use the new security manager method. Bug 354693,
r=dveditz, sr=sicking
git-svn-id: svn://10.0.0.236/trunk@215685 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 18:27:54 +00:00
cvshook%sicking.cc
2b2f4b6167
Don't return nsDerivedSafe when .get() is explicitly used on nsCOMPtr and nsRefPtr. r/sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@215584 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 21:28:14 +00:00
bzbarsky%mit.edu
3f520eaa49
Make it possible for protocol handlers to configure how CheckLoadURI should
...
treat them via their protocol flags. Remove the protocol list we used before.
Bug 120373, r=dveditz, sr=darin
git-svn-id: svn://10.0.0.236/trunk@215130 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 23:49:08 +00:00
cvshook%sicking.cc
e1f3f66c5b
Bug 359657: Fix crash due to wrong signature in overload. Patch by bz. r/sr=sicking
...
git-svn-id: svn://10.0.0.236/trunk@214838 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 01:05:15 +00:00
cvshook%sicking.cc
7d41db9309
Bug 359490: Put BeginUpdate call before FlushText call in FlushTags. r/sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@214834 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-06 23:50:33 +00:00
cvshook%sicking.cc
0b9688294e
Bug 343730: Don't execute scripts synchronously from BindToTree. Instead we wait until the last EndUpdate has been called. r/sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@214702 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-04 05:45:02 +00:00
cvshook%sicking.cc
e48041a41d
Bug 330872: Make nsGenericDOMDataNode::AppendData send out proper notifications and add nsIContent::AppendText to allow appending text without sending out notifications. r/sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@214281 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-28 01:22:53 +00:00
cst%yecc.com
fa7000c4ab
Bug 351969 nsImageDocument image scaling should never scale a dimension to 0px
...
r=biesi sr=jst
git-svn-id: svn://10.0.0.236/trunk@214146 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-26 01:49:38 +00:00
cvshook%sicking.cc
5c401232e7
Fix assertion from bug 355451 rs=jst
...
git-svn-id: svn://10.0.0.236/trunk@213725 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-16 21:43:08 +00:00
ted.mielczarek%gmail.com
51fffcb118
bug 296237, remove assert in getElementById, use the console service to provide feedback. patch by asqueella@gmail.com, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@213642 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-14 19:14:24 +00:00
cvshook%sicking.cc
411a4ba687
Bug 355451: Be more efficient when creating HTML elements. r/sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@213625 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-13 22:54:12 +00:00