Commit Graph

1423 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
c0bea8f7c5 Don't half-support document.write in XHTML. Bug 332848, r=mrbkap, jst, sr=dvediz, a=dvediz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_0_BRANCH@195934 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-03 21:20:14 +00:00
bzbarsky%mit.edu
ae8917f6d5 Make sure the write termination function only terminates the parser that was
active when it was set. Bug 331620, r=mrbkap, sr=jst, a=dveditz


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_0_BRANCH@195328 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-25 02:39:32 +00:00
mrbkap%gmail.com
aa050fd150 Set mStackPos early to avoid bad re-entrancy problems when inserting the new content into its parent does something interesting. bug 332971, r=jst sr=sicking a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_0_BRANCH@195106 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 21:42:20 +00:00
dbaron%dbaron.org
fe1c249d40 Null-check mBodyContent. b=334080 r+sr=bzbarsky a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_0_BRANCH@194698 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-19 20:17:48 +00:00
bzbarsky%mit.edu
8f69c487a2 Fix init of HTML documents to set the right case-sensitivity on the CSS parser
even for XSLT. Bug 322461, r+sr=jst, a=dveditz


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_0_BRANCH@190999 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 05:04:21 +00:00
timeless%mozdev.org
29c36000d3 Bug 320498 Fix NewChannel impls to handle null in argument
r=darin sr=darin a=dveditz


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_0_BRANCH@190094 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-15 09:17:09 +00:00
mrbkap%gmail.com
9bbcf6f76f bug 321558: void the title in document.open so that titles written out by script are respected. r+sr=bzbarsky a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_0_BRANCH@187095 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-06 22:08:32 +00:00
mrbkap%gmail.com
d9c1a7a4f7 bug 316049: Hold strong refs to the shell so that flushing doesn't cause it to go away too early. r+sr=jst a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_0_BRANCH@187093 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-06 22:02:47 +00:00
(no author)
d368a405db This commit was manufactured by cvs2svn to create branch
'MOZILLA_1_8_0_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_0_BRANCH@185757 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-07 05:54:01 +00:00
(no author)
d1331130a2 This commit was manufactured by cvs2svn to create branch
'MOZILLA_1_8_0_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_0_BRANCH@182227 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-14 02:57:26 +00:00
dveditz%cruzio.com
aaa628049f locationless windows need hostname in titlebar (match 1.0x -- bug 304388) r=mconnor/jruderman, sr=bzbarsky, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@181396 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-01 05:20:11 +00:00
bzbarsky%mit.edu
c629095a74 Make nsDocument::InsertBefore and nsDocument::ReplaceChild do the right thing
as far as removing kids from their old parent, working with document fragments,
etc. Mostly just makes nsDocument and nsGenericElement share code. Bug 278472,
r=peterv, sr=jst, a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@181384 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-01 02:05:27 +00:00
mrbkap%gmail.com
93da48c8e6 bug 264811: Only null out mParser when we're sure that we're not going to be handling any more document.writes(). r=jst sr+a=brendan
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@180411 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-16 18:27:55 +00:00
bzbarsky%mit.edu
0e7af430cd Make addition or removal of frames in a frameset actually change the
rendering. Bug 306660, r=jst, sr=roc, a=mtschrep


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@179718 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-06 19:52:57 +00:00
peterv%propagandism.org
1f2cf3518c Fix for bug 298064 (nsContentUtils::GetDocumentFromCaller() is broken.). r=jst, sr=brendan, a=asa.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@179622 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-04 15:44:04 +00:00
bzbarsky%mit.edu
c1c0f23087 Make sure that a reflow flush on the document makes the sink start layout if
needed. Bug 253951, r=mrbkap, sr=jst, a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@179274 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-30 02:25:00 +00:00
bzbarsky%mit.edu
c34ebf1f5e Update comment to my review comments. Bug 305640
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@179125 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-27 05:16:46 +00:00
vladimir%pobox.com
28f0882bf3 b=304561, firefox unsuitable for browsing high-res image galleries due to preview on tab icon, r=mconnor,sr=bzbarsky,a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@178982 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 20:05:24 +00:00
peterv%propagandism.org
a24ceeff33 Fix for bug 301490 (Rich text editor property useCSS changed meaning). r=brade, sr=brendan, a=brendan.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@178937 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 12:44:55 +00:00
jst%mozilla.jstenback.com
e79e2b29b8 Fixing bug 305640. Make document.getElementById() work correctly when the hash changes when flushing. r+sr=bzbarsky@mit.edu, a=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@178912 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 05:18:56 +00:00
cst%andrew.cmu.edu
1bf5ccd62d Forgot to add a code comment in my last checkin.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@178553 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-21 17:47:29 +00:00
cst%andrew.cmu.edu
a44beceb22 Bug 292503 Working images should not have alt text that says there is an error r=biesi sr=jst a=cbeard.
Includes regression fix from bug 305215 by Frank Wein <bugzilla@mcsmurf.de>, r=biesi sr=jst a=cbeard


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@178551 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-21 17:33:12 +00:00
bzbarsky%mit.edu
67308f41f3 Make sure to set base tag info on the leaf forms we create when HTML is
misnested. Bug 73818, r=mrbkap, sr=jst, a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@177975 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-17 18:22:50 +00:00
mrbkap%gmail.com
941e888ae2 bug 303267: Back/forward with bfcache on break javascript. We now store the entire inner window in the cache instead of just random properties from it. r=bryner sr=jst a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@177856 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 17:59:44 +00:00
dbaron%dbaron.org
0ef723541e Make nsIChannel implementations follow the rules that prevent them from leaking due to cycles with their notification callbacks. b=303043 r=biesi sr=darin a=cbeard
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@177716 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-13 19:34:01 +00:00
jst%mozilla.jstenback.com
a9f668bc25 Followup changes to bzabarsky's review for bug 296639. Reviews pending, a=drivers@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@177635 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-12 04:11:00 +00:00
rbs%maths.uq.edu.au
5c823e99f8 Fallback to about:blank to fix bustage of document.open() in consumers such as View MathML Source, b=289363 r+sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@177303 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-08 03:15:56 +00:00
mats.palmgren%bredband.net
2bf311b23d Prefer a MAP that has AREAs over an empty one with the same name (in quirks mode). b=264624 r+sr=bzbarsky a=benjamin
git-svn-id: svn://10.0.0.236/trunk@176584 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-25 23:37:56 +00:00
bzbarsky%mit.edu
e5932bc9f9 Don't flush our parent if we're not safe to flush. Bug 281922, r+sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@176094 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-14 16:13:09 +00:00
darin%meer.net
00b6268419 fixes bug 295544 "Expose more designMode options to web apps" r=brade sr=jst a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@175101 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-24 17:18:27 +00:00
jst%mozilla.jstenback.com
fecaf7f5b3 Fixing bug 296830. Use the principal of the calling code in document.open(), not that of the calling window. r=dveditz@cruzio.com, sr=brendan@mozilla.org, a=dveditz@cruzio.com
git-svn-id: svn://10.0.0.236/trunk@174851 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-20 16:18:35 +00:00
mrbkap%gmail.com
f2a332e8d4 bug 296677: Fix nsParser::ParseFragment to not screw up setting <textarea>'s innerHTML. r=jst sr=peterv a=asa
git-svn-id: svn://10.0.0.236/trunk@174716 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 18:59:59 +00:00
peterv%propagandism.org
aac2b47f2a Fix for bug 286300 (Clean up HTML tags enum and related code). r=mrbkap, sr=bz, a=asa.
git-svn-id: svn://10.0.0.236/trunk@174703 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 13:10:58 +00:00
bzbarsky%mit.edu
e01bd5e327 Make sure to call ScriptEvaluated when doing all evaluations, to call it
_after_ we've popped the JSContext from the stack, and to handle multiple
termination functions being posted from a single script evaluation.  Fixes
leaks when closing windows or tabs with still-loading documents.  Bug 295983,
r+sr=jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@174364 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-09 15:42:19 +00:00
cvshook%sicking.cc
a1b1c63a31 Bug 245274: Be more strict about which names we allow for createElement, even in quirks mode.
r=doron sr=bz a=asa


git-svn-id: svn://10.0.0.236/trunk@174299 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-08 16:42:04 +00:00
mrbkap%gmail.com
0aecc2c0de bug 271184: The output of nested document.write()s can get reversed (where later document.write()s are seen before previous document.write()s). This makes nsHTMLDocument use good parser keys. r=sicking sr=jst a=asa
git-svn-id: svn://10.0.0.236/trunk@174220 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-07 19:21:05 +00:00
jst%mozilla.jstenback.com
0f0277c311 Fixing bug 285873. Make midas independent of the pref editor.CR_creates_new_p and make the default behaviour in midas match IE (such that hitting return in a p tag splits the p instead of inserting a br. r=brade@comcast.net, sr=bzbarsky@mit.edu, a=chofmann@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@174031 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 03:11:35 +00:00
bzbarsky%mit.edu
578132afda Fix leak on setting innerHTML in XML, as well as leaks when the parent of a
not-yet-parsed script is removed from the document.  Bug 294274, r+sr=peterv,
a=chofmann


git-svn-id: svn://10.0.0.236/trunk@174028 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 02:38:20 +00:00
mrbkap%gmail.com
1d5ac8765e bug 208869: Setting innerHTML with textarea can isnert an extra newline. This patch makes textarea be treated as a normal container outside CNavDTD (which takes over its first-newline removal duties). r=sicking sr=bzbarksy a=shaver
git-svn-id: svn://10.0.0.236/trunk@173988 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 21:23:23 +00:00
cbiesinger%web.de
620f913e6e 295916 r=mrbkap sr=bz a=shaver
- make parser handle calling Parse with an empty string and aLastCall=true
  correctly
- call that from document.close() even in the non-HTML case


git-svn-id: svn://10.0.0.236/trunk@173960 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 19:13:39 +00:00
timeless%mozdev.org
22257176fd Bug 289068 ASSERTION: WriteToBuffer called with count of zero: 'count', file r:/mozilla/netwerk/cache/src/nsDiskCacheStreams.cpp, line 710
r=jst sr=jst a=shaver


git-svn-id: svn://10.0.0.236/trunk@173928 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 16:10:58 +00:00
bzbarsky%mit.edu
249f50341c Push the mChannel member for documents up to nsDocument and expose it on
nsIDocument.  Bug 292971 preliminaries, r+sr=jst, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@173866 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 01:15:23 +00:00
bryner%brianryner.com
1cee43af71 Fix crash when closing a tab that contains an image (bug 294630). Patch by bz / beaufour, r+sr=me, a=dbaron.
git-svn-id: svn://10.0.0.236/trunk@173618 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-20 01:31:26 +00:00
bzbarsky%mit.edu
79f2b8e2c7 Fix crash if the DOM gets rearranged while we're parsing. Bug 294235,
r+sr=peterv, a=asa


git-svn-id: svn://10.0.0.236/trunk@173594 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-19 19:56:13 +00:00
bryner%brianryner.com
41e0a9483a Fix form state save/restore so that it uses the correct history entry (bug 293135). r+sr=bzbarsky, a=shaver.
git-svn-id: svn://10.0.0.236/trunk@173242 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-10 02:06:29 +00:00
bzbarsky%mit.edu
c1677f8f9d Fix typo that kept data: images from updating the titlebar. Bug 293399,
r=biesi, sr=brendan, a=dbaron


git-svn-id: svn://10.0.0.236/trunk@173199 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-08 23:21:36 +00:00
bryner%brianryner.com
189a661d09 Add support for caching content viewers in session history to speed up back/forward (bug 274784). This initial landing has the feature disabled by default; set browser.sessionhistory.max_viewers to the maximum number of pages to cache to enable the feature. r=bzbarsky, sr/a=brendan.
git-svn-id: svn://10.0.0.236/trunk@173044 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-04 20:22:32 +00:00
bzbarsky%mit.edu
da850874f2 Make sure to addref documents before calling Init(). Bug 291887, r+sr=jst,
a=brendan


git-svn-id: svn://10.0.0.236/trunk@172815 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 17:16:19 +00:00
bzbarsky%mit.edu
a16228acf0 Fix crashes when document.load is called on an already-parsing XML document.
Bug 289292, r=sicking, sr=jst, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@172812 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 16:57:24 +00:00
bzbarsky%mit.edu
62937cbc08 Create CSSLoaders when the document object is created and deCOMify the getter.
Bug 290068, r=sicking, sr=peterv, a=brendan


git-svn-id: svn://10.0.0.236/trunk@172416 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-19 01:27:11 +00:00