4627 Commits

Author SHA1 Message Date
vladimir%pobox.com
12d9bfb52d b=385584, crash with toDataURL on large canvas, r=stuart
git-svn-id: svn://10.0.0.236/trunk@228689 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-25 16:24:21 +00:00
mats.palmgren%bredband.net
7d2b954422 Fix offsetLeft/Top regression for rel.pos. elements with a table(cell) offset parent. b=384419 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@228622 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-23 07:39:05 +00:00
jonas%sicking.cc
643af0f02a Backing out previous checkin since leaks went up
git-svn-id: svn://10.0.0.236/trunk@228271 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-18 23:21:28 +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
jonas%sicking.cc
e33b4702b9 Bug 348156: Don't rely on UnbindFromTree to break cycles since that puts us in an inconsistent state. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@228267 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-18 22:27:28 +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
mats.palmgren%bredband.net
60a622726b Second attempt at mochitests for bug 375003.
git-svn-id: svn://10.0.0.236/trunk@228023 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-14 01:21:13 +00:00
mats.palmgren%bredband.net
a306c312eb Disabling tests for bug 375003 for now to fix orange.
git-svn-id: svn://10.0.0.236/trunk@228021 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-14 00:38:54 +00:00
mats.palmgren%bredband.net
7c9c26cf6b Fix offsetLeft/Top for nested tables and clientLeft/Top for some elements with non-zero margins. b=375003 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@228016 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-14 00:08:10 +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
bzbarsky%mit.edu
a3c93fe989 Don't react to changes in anonymous content subtrees. Bug 383137, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@227511 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-05 03:29:50 +00:00
roc+%cs.cmu.edu
526e053b34 Bug 174397. Support getClientRects and getBoundingClientRect on DOM elements. r=jonas,dbaron; sr=tor, plus help from Anne van Kesteren and Martijn Wargers
git-svn-id: svn://10.0.0.236/trunk@227295 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-30 22:32:56 +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
peterv%propagandism.org
cae5ba4341 Fix for bug 368774 (Make cycle collector work with refcounted non-XPCOM objects). r=dbaron, sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@226949 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-24 14:10:04 +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
gavin%gavinsharp.com
e725988a6c Revert unintentional change from bug 374723, r=dolske
git-svn-id: svn://10.0.0.236/trunk@226534 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 18:59:32 +00:00
gavin%gavinsharp.com
8de0219d95 Bug 374723: re-design password manager API and implement in JS rather than C++, patch by Justin Dolske <dolske@mozilla.com>, r=mconnor, r=me
git-svn-id: svn://10.0.0.236/trunk@226509 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 10:02:51 +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
Olli.Pettay%helsinki.fi
7a1f7182a1 Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@226373 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 09:13:09 +00:00
bzbarsky%mit.edu
000433da32 Put content types and charsets on the text/plain parts of the form submission
for multipart POST submissions.  Bug 116346, patch by David Nesting
<david@fastolfe.net>, r=bzbarsky, sr=sicking


git-svn-id: svn://10.0.0.236/trunk@226372 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 04:00:49 +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
Olli.Pettay%helsinki.fi
74bedad7b0 backout Bug 363089
git-svn-id: svn://10.0.0.236/trunk@226300 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 13:34:12 +00:00
Olli.Pettay%helsinki.fi
174896a945 Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@226293 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 11:15:20 +00:00
dbaron%dbaron.org
fd2e86c15a Remove eCSSUnit_Proportional and eStyleUnit_Proportional, which were used only for a removed feature. b=333352 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@226288 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 06:00:26 +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
c6a333df55 Propagate a stylesheet's principal to the URI and Image CSSValues derived from
that sheet.  Bug 377091, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@225504 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-03 01:15:54 +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
dbaron%dbaron.org
5333b54172 Reduce #include dependencies on style system headers: reduce what nsRuleData.h pulls in. b=379089 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@225209 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-28 16:03:15 +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
bzbarsky%mit.edu
de5f48f022 Don't drop the old sheet when "rel" changes from one value that contains
"stylesheet" to anoher.  Bug 360746, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@225026 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-25 18:48:18 +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
2f73370c2e Set the status bar before actually handling the DOM event. That way if the
event is canceled, we'll still show the right status bar text.  Bug 40838,
patch by Florian Quèze <f.qu@queze.net, r=smaug, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@224875 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-23 07:31:21 +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
philringnalda%gmail.com
56c3f28348 Bug 370561 - Make nsIFormSubmitObserver scriptable, patch by Justin Dolske <dolske@mozilla.com>, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@224606 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-17 04:06:12 +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
enndeakin%sympatico.ca
e36a5043d2 Bug 366478 - consolidate lists of onX event attributes, r=smaug,jwatt,sr=sicking
git-svn-id: svn://10.0.0.236/trunk@224006 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-02 17:17:36 +00:00
Olli.Pettay%helsinki.fi
431e52e475 Bug 373483, Crash [@ nsHTMLButtonElement::PostHandleEvent] when right-clicking on the button in this testcase, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@224004 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-02 16:13:45 +00:00
bzbarsky%mit.edu
576752f93c Adding test, bug 371375.
git-svn-id: svn://10.0.0.236/trunk@222552 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-28 20:25:20 +00:00
dbaron%dbaron.org
8043a5c9c7 Remove GetKeyPointer method from nsTHashtable key types. b=374906 r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@222464 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-27 15:35:02 +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
jwatt%jwatt.org
4a56082eb7 Fixing bug 372098. HTML links with target="" should use the base target. r=Olli.Pettay@gmail.com, sr=jonas@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@222395 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-26 13:19:33 +00:00
Olli.Pettay%helsinki.fi
6de13cdbca 375196, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@222385 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-26 05:38:22 +00:00
Olli.Pettay%helsinki.fi
c6b01eefa9 Bug 288392, DOMSubtreeModified event, r=peterv, sr=jst
git-svn-id: svn://10.0.0.236/trunk@222317 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-24 12:18:03 +00:00