Commit Graph

763 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
c7879bf035 Backing out bug 409885, since this part of Necko happens not to exist.
git-svn-id: svn://10.0.0.236/trunk@242202 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-31 03:43:42 +00:00
bzbarsky%mit.edu
ba6705a4ea Fix bug 409885: don't do string-manipulation to set the domain on a URI.
r+sr+a=jst


git-svn-id: svn://10.0.0.236/trunk@242199 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-30 23:35:42 +00:00
mrbkap%gmail.com
ba904fc180 Add a way to find all of the XOWs for an object and use it to deal with hard cases where we have to clear the scope of XOWs in order to reflect changes to the underlying object. Also deal with objects moving between scopes by ensuring that we're always able to find their XOWs. bug 399587, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@242189 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-30 04:34:51 +00:00
jst%mozilla.org
7ea4fcdbc4 Fixing bug 408792. Remove some expensive QI calls from frequently called code. r=jonas@sicking.cc, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@241908 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-21 13:44:59 +00:00
jonas%sicking.cc
fd6424c7ed Bug 366200: Fix problems with mRootContent being out of sync with mChildren by removing mRootContent. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@240892 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-12 02:26:10 +00:00
jonas%sicking.cc
9eb7c5a63e Bug 397828: Make window.document and document.open no longer be allAccess
git-svn-id: svn://10.0.0.236/trunk@240279 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 06:35:47 +00:00
jonas%sicking.cc
4a95bb78e2 backing out due to test failures
git-svn-id: svn://10.0.0.236/trunk@240229 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-01 18:56:00 +00:00
jonas%sicking.cc
bb36a7b116 Bug 397828: Make window.document and document.open no longer be allAccess
git-svn-id: svn://10.0.0.236/trunk@240228 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-01 18:24:27 +00:00
peterv%propagandism.org
7db7c16ea7 Fix for bug 404320 (FormatBlock doesn't work correctly will break existing Midas implementations). r/sr=jst, a=beltzner.
git-svn-id: svn://10.0.0.236/trunk@240075 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-28 23:38:20 +00:00
bzbarsky%mit.edu
860025cdfa Make getElementById in HTML always return the first node in document order.
Bug 403868, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@239811 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-22 02:28:54 +00:00
peterv%propagandism.org
1562e95bd8 Fix for bug 390446 (Javascript is still disabled after leaving a page that had designMode on). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@239207 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-12 14:47:04 +00:00
dwitte%stanford.edu
bcfbe622ee Bug 400552 - setting document.domain inconsistent in face of IDN whitelist. r+sr+a1.9=jst
git-svn-id: svn://10.0.0.236/trunk@239192 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-12 07:58:16 +00:00
peterv%propagandism.org
f1277c5a42 Fix for bug 402284 (Switching between designMode and contentEditable broken). r=cpearce, sr=roc, a=beltzner.
git-svn-id: svn://10.0.0.236/trunk@238559 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-05 21:19:52 +00:00
roc+%cs.cmu.edu
bd99461268 Bug 389350. Making a display:none IFRAME editable doesn't work. patch by Chris Pearce, r=brade,sr=roc,a=damon
git-svn-id: svn://10.0.0.236/trunk@238430 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-02 00:51:08 +00:00
reed%reedloden.com
8169616075 Bug 391429 - "Editor caret is hidden in XULRunner applications, but visible in Firefox" [p=matt@songbirdnest.com (Matt Crocker) r+sr=peterv aM9=beltzner]
git-svn-id: svn://10.0.0.236/trunk@238394 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-31 18:51:50 +00:00
peterv%propagandism.org
d74d86b7d9 Fix for bug 401288 (Crash in Composer [@ PresShell::GetSelection][@ nsCOMArray_base::InsertObjectAt]). r/sr=bz, a=endgame.
git-svn-id: svn://10.0.0.236/trunk@238311 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-29 18:22:48 +00:00
peterv%propagandism.org
3c709cb608 Fix for bug 395340 (Crash [@ nsINode::GetNodeParent] with CSS counters and contentEditable). r/sr=bz, a=endgame.
git-svn-id: svn://10.0.0.236/trunk@238198 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-26 10:30:44 +00:00
dwitte%stanford.edu
c66b74a11b rework effective tld service interface, fix normalization bugs and improve error propagation. b=368989, r=biesi, sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@238135 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-25 08:14:27 +00:00
bzbarsky%mit.edu
66999aa928 Put the notification about root removal in document.open inside an update
batch.  Bug 399803, r+sr+a=jst


git-svn-id: svn://10.0.0.236/trunk@237919 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-19 16:01:09 +00:00
bzbarsky%mit.edu
c929b7fe04 Make HTML content objects use QI tables. Bug 389797, r+sr=jst, a=sicking.
git-svn-id: svn://10.0.0.236/trunk@232422 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-20 22:55:08 +00:00
smontagu%smontagu.org
62c6bac8bc Add docCharsetIsForced member to nsIDomWindowUtils. Bug 391631, r+sr=bz, a=jst
git-svn-id: svn://10.0.0.236/trunk@231895 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-11 18:37:16 +00:00
jonas%sicking.cc
857bbdaa67 Bug 389508: Cross site XMLHttpRequest. r=jst/biesi sr/dveditz/biesi
git-svn-id: svn://10.0.0.236/trunk@231095 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-27 02:49:19 +00:00
jonas%sicking.cc
7552c132af backout due to orange
git-svn-id: svn://10.0.0.236/trunk@231082 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 23:34:23 +00:00
jonas%sicking.cc
52ff6b27a1 Bug 389508: Implement Cross site XMLHttpRequest. r=jst sr=dveditz,biesi
git-svn-id: svn://10.0.0.236/trunk@231078 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 22:20:32 +00:00
Olli.Pettay%helsinki.fi
bd9a96d5b9 Backing out bug 275196, xml:id, to fix tp regression
git-svn-id: svn://10.0.0.236/trunk@231054 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 14:16:21 +00:00
Olli.Pettay%helsinki.fi
76bd637ef6 Bug 275196, xml:id, r=sicking, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@231049 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 12:22:17 +00:00
jonas%sicking.cc
17fc8d6da3 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@231001 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 00:55:13 +00:00
jonas%sicking.cc
8bb08f2a44 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@230999 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 00:53:55 +00:00
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
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
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
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
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
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
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
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
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
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
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