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
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
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
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
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
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
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
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
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
bzbarsky%mit.edu
b3b4b573a0
Remove nsIHTMLDocument::WasDomainSet. Use the principal instead, Luke! Bug
...
355948, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@213385 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-10 01:07:45 +00:00
pkasting%google.com
6069428d8f
Bug 348981: Crash toggling designMode.
...
This reverts the patch from bug 347200 and instead fixes that problem a
different way to avoid exposing crashes.
r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@207804 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-18 02:38:40 +00:00
bzbarsky%mit.edu
0583386559
Remove special-casing of about:blank for security purposes; give about:blank
...
pages the principal of whoever is responsible for loading them, when possible.
Bug 332182, r=mrbkap, sr=jst
git-svn-id: svn://10.0.0.236/trunk@207471 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-15 17:31:16 +00:00
timeless%mozdev.org
c16dc8b542
Bug 330331 Building with option --disable-xul failed
...
patch by romaxa@gmail.com r=timeless r=biesi sr=bz
Removing last traces of RDF dependency from HTMLDocument (bug 101995)
Only build toolkit download ifdef MOZ_RDF
Only build windowdatesource and the charset menu ifdef MOZ_RDF
Enable nsExternalHelperAppService to build w/o RDF.
Enable nsDirectoryViewer to build, this is enables geckos to work around bug 347782
Don't build nsHTTPIndex at all.
git-svn-id: svn://10.0.0.236/trunk@207383 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-14 22:36:15 +00:00
pkasting%google.com
b7991a9493
Bug 347200: Designmode documents aren't spellchecked by default.
...
r=brettw
sr=bryner
git-svn-id: svn://10.0.0.236/trunk@206794 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-08 00:32:43 +00:00
mrbkap%gmail.com
3b3e656905
Protect document.open and document.close against some potential problems. bug 343168, r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@206341 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-01 21:48:03 +00:00
pkasting%google.com
0f0eee34d2
Bug 339127: Add "spellcheck" attribute to control spellchecking.
...
r=brettw
sr=sicking
git-svn-id: svn://10.0.0.236/trunk@205107 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 00:04:40 +00:00
bzbarsky%mit.edu
0d9cbd7ca3
Go back to creating an inconsistent DOM and add a null-check elsewhere, because
...
the little mind of the focus code is blown by having no documentElement,
apparently. Bug 341730, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@202270 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 00:18:19 +00:00
cvshook%sicking.cc
aba7c6ff77
Bug 342062: Add nsIMutationObserver which has the ability to get notifications for just mutations happening in a subtree under a given node. r/sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@201460 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-02 07:23:10 +00:00
enndeakin%sympatico.ca
ed636c9217
Bug 333038, support inline spellchecking for designmode, r=brettw, sr=bz
...
CVS: ----------------------------------------------------------------------
git-svn-id: svn://10.0.0.236/trunk@201064 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-28 03:39:41 +00:00
mrbkap%gmail.com
42ab54090e
Clear mWyciwygChannel even if the loadgroup tells us there was an error since the call succeeds anyway. bug 342191, r=jst sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@200868 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-26 16:50:09 +00:00
mrbkap%gmail.com
17e58c9b0c
Close shouldn't send any real text for the parser to parse, since there might
...
be elements open that make the text appear in the final content model. bug 342223, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@200484 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-21 00:39:24 +00:00