1731 Commits

Author SHA1 Message Date
jonas%sicking.cc
54f24bdccb Bug 259332: Improve support for document.all such that we can deal with multiple elements with the same id and/or name. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@230997 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 00:36:20 +00:00
dcamp%mozilla.com
9f40ca2397 move the offline cache update logic from the content sink and prefetch service into an nsOfflineCacheUpdate object. bug=388839, r=biesi, sr=jst
git-svn-id: svn://10.0.0.236/trunk@230909 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 05:35:40 +00:00
peterv%propagandism.org
69e67961a0 Fix for bug 388183 (Reloading this testcase causes crash [@
nsHTMLDocument::ChangeContentEditableCount] with null editor), now with correct whitespace. r/sr=jst.


git-svn-id: svn://10.0.0.236/trunk@230176 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 09:46:41 +00:00
peterv%propagandism.org
00c86ca6d2 Fix for bug 388183 (Reloading this testcase causes crash [@
nsHTMLDocument::ChangeContentEditableCount] with null editor). r/sr=jst.


git-svn-id: svn://10.0.0.236/trunk@230175 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 09:44:22 +00:00
bzbarsky%mit.edu
b5b433a6b7 Make attribute changes that also cause a state change properly reresolve style
when a selector uses both the state and the attribute.  Bug 315920, r=dbaron,
sr=sicking.


git-svn-id: svn://10.0.0.236/trunk@229833 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 20:05:49 +00:00
bzbarsky%mit.edu
3906ef0e33 Don't start layout for XML just because the root has been opened. And don't
start layout until <html:head> closes if <html:head> gets opened.  For XHTML
documents, this should prevent flashes of unstyled content.

Also, don't flush tags unless forced to if a sheet is pending.

Bug 380028, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@229666 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 03:42:12 +00:00
bzbarsky%mit.edu
7970aabd91 Eliminate more callers of CheckSameOriginPrincipal in favor of
Equals/Subsumes.  Bug 387212, r=mrbkap, sr=jst


git-svn-id: svn://10.0.0.236/trunk@229589 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-10 04:22:56 +00:00
dcamp%mozilla.com
807016d25e implement navigator.pendingOfflineLoads. b=372969, r=biesi, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@229529 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-09 06:19:29 +00:00
jwalden%mit.edu
dda6ff3c99 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
peterv%propagandism.org
1d34830fc7 Mochitest for bug 386495. r=Martijn.
git-svn-id: svn://10.0.0.236/trunk@229486 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-07 16:26:01 +00:00
peterv%propagandism.org
fad7aa0a8a Fix for bug 386728 (Setting the contenteditable attribute through js twice doesn't work). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@229418 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-06 10:44:14 +00:00
mats.palmgren%bredband.net
38b1552fe2 Use predefined load types instead of rolling our own. b=385663 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@229280 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 21:41:32 +00:00
peterv%propagandism.org
bd5c883b9d Fix for bug 386495 (Javascript is not disabled when designMode is on). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@229240 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 11:54:41 +00:00
peterv%propagandism.org
9e04fca5dd Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@228918 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-28 02:48:22 +00:00
peterv%propagandism.org
857e346b36 Backing out to fix orange.
git-svn-id: svn://10.0.0.236/trunk@228906 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 23:21:09 +00:00
peterv%propagandism.org
4161532453 Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@228893 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 22:29:54 +00:00
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