1615 Commits

Author SHA1 Message Date
sayrer%gmail.com
d143b58aff bug 384507. nsContentSink.h contains static non-member functions and globals. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@228268 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-18 22:44:12 +00:00
bzbarsky%mit.edu
7bd3f5ccc3 Don't allow loads to start in a docshell that's firing the unload event. Also
don't allow document.open of the document in that docshell.  Bug 371360,
r=biesi, sr=jst


git-svn-id: svn://10.0.0.236/trunk@228064 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-14 18:18:06 +00:00
bzbarsky%mit.edu
f1500f3ae7 Make the about:blank documents created by CreateAboutBlankContentViewer have
the same encoding as real about:blank documents (that is, UTF-8).  Bug 380383,
r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@227635 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-07 07:13:05 +00:00
jonas%sicking.cc
8aac19d83c Bug 366417: Set up scriptloader in the nsDocument ctor to ensure that the blocker-count stays in sync with the notification depth. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@227284 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-30 20:43:42 +00:00
sharparrow1%yahoo.com
b64088b1a1 Bug 365189 document.width/document.height flush layout too late. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@226847 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-23 03:52:53 +00:00
Olli.Pettay%helsinki.fi
8b4c3d38dd Bug 378776, Need safe way to iterate a document's presshells, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@226813 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-22 21:45:07 +00:00
mrbkap%gmail.com
5b0afeed77 Update our child counts if notifying on our children caused more updates. bug 376761, r=bzbarsky sr=sicking
git-svn-id: svn://10.0.0.236/trunk@226590 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-17 23:54:35 +00:00
cbiesinger%web.de
6e69609e46 Bug 370195 – sql device for the offline cache
patch by Dave Camp <dcamp@mozilla.com> r=jst (content part) r=biesi (rest)


git-svn-id: svn://10.0.0.236/trunk@226398 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 20:09:20 +00:00
bzbarsky%mit.edu
fa937acf1d Process XBL constructors right after the frame construction in
InitialReflow().  Bug 377119, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@226371 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 03:52:49 +00:00
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
sayrer%gmail.com
27788944bc Bug 311681 xhtml tests pass now that we have an incremental XML content sink.
git-svn-id: svn://10.0.0.236/trunk@224574 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-16 15:53:04 +00:00
sayrer%gmail.com
4aec4dcf7d Bug 368994. move mochitests near the code they test. round 7. r=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@224573 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-16 15:18:50 +00:00
sayrer%gmail.com
3267d3f9b8 Bug 368994. Move mochitests near the code they test, round 6. r=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@224536 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-14 17:46:36 +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
bzbarsky%mit.edu
e2deffc034 Make the is() do the right thing.
git-svn-id: svn://10.0.0.236/trunk@219922 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-10 02:30:16 +00:00
bzbarsky%mit.edu
ab01182431 Make location check an is() now that bug 269270 is fixed.
git-svn-id: svn://10.0.0.236/trunk@219870 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-09 06:52:52 +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
sayrer%gmail.com
1102f7dc57 Bug 368994. more mochitests in content/. r=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@219541 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-06 00:20:25 +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
226d1b3a24 Bug 368994. moving test cases closer to the code they test. r=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@219329 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 18:06:09 +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
sayrer%gmail.com
10f7224bb4 Bug 368531. add content/html/document/test to the automatic run. r=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@219129 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-29 17:56:19 +00:00
bzbarsky%mit.edu
52ceba246f Adding test for bug 172261 and bug 301510
git-svn-id: svn://10.0.0.236/trunk@218957 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 04:41:46 +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