1932 Commits

Author SHA1 Message Date
mrbkap%gmail.com
19b8b6c40a Bug 448564. Better handling of sink context switches. Patch from Ben Newman <bnewman@mozilla.com> r=mrbkap, sr=bzbarsky, a=dveditz
git-svn-id: svn://10.0.0.236/trunk@255088 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-18 05:19:10 +00:00
bzbarsky%mit.edu
c969bf2cff Protect the scanner from OOM when appending new data. bug 430574, patch by timeless, r=mrbkap sr=jst
git-svn-id: svn://10.0.0.236/trunk@254919 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-06 19:48:58 +00:00
mrbkap%gmail.com
a1197822f7 Allow <link> to be opened, even as the direct child of a <table>. bug 436722, r+sr=sicking a=ss
git-svn-id: svn://10.0.0.236/trunk@253515 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-11 18:31:40 +00:00
jruderman%hmc.edu
79053d810b Make tagStack be an array of nsString instead of nsAutoString. Fixes bug 427941. r+sr=sicking, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@250043 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-11 04:38:26 +00:00
mrbkap%gmail.com
2cc51c1b30 Ensure that CanPropagate and CreateContextStackFor are consistent. bug 423373, r+sr=sicking a=beltzner
git-svn-id: svn://10.0.0.236/trunk@248016 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-17 20:24:01 +00:00
reed%reedloden.com
0e2420cf30 Bug 311366 - "should make custom elements able to contain blocks (<section>)" [p=mrbkap@gmail.com (Blake Kaplan) r=sicking sr=jst a1.9=beltzner]
git-svn-id: svn://10.0.0.236/trunk@247824 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-14 15:15:30 +00:00
bzbarsky%mit.edu
e8f1fb73bb Revert the change to RequiresBody. In particular, an <input type="Hidden">
needs to not require it, for now...  Bug 418464, r+sr=mrbkap, a=jonas


git-svn-id: svn://10.0.0.236/trunk@247122 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-05 20:46:21 +00:00
reed%reedloden.com
e892f31951 Bug 420609 - "XMLHttpRequest no longer able to parse XHTML documents with entity references" [p=trev.moz@adblockplus.org (Wladimir Palant) r+sr=bzbarsky a1.9=sicking a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@247084 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-05 10:29:34 +00:00
reed%reedloden.com
0191864e90 Bug 418119 - "nsIContentPolicy not called for external DTDs of XML documents" [p=trev.moz@adblockplus.org (Wladimir Palant) r=sicking sr=peterv a1.9=beltzner a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@246302 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-22 11:32:24 +00:00
jwalden%mit.edu
896223b76d Bug 411103 - document.createElement(bad) (and the NS version) throwing wrong exception. Fixes two acid3 tests as well. r=peterv, sr=jst, a=schrep
git-svn-id: svn://10.0.0.236/trunk@245449 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-12 04:14:58 +00:00
jst%mozilla.org
f37d5ced8c Landing fix for bug 414764. Fixing problem with tokens being freed too many times. Patch by mrbkap@gmail.com, sr=jst@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@245442 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-12 01:45:03 +00:00
bent.mozilla%gmail.com
e21a2262ee Bug 386769 - "Make setting innerHTML faster". r=jst, sr=peterv, a=blocking1.9.
git-svn-id: svn://10.0.0.236/trunk@245266 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-08 22:07:53 +00:00
bent.mozilla%gmail.com
8298e919b4 Bug 404386 - nsScanner construction is 5% of setting innerHTML. r=mrbkap,smontagu. sr=jst. a=blocking1.9.
git-svn-id: svn://10.0.0.236/trunk@244394 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-29 22:12:22 +00:00
dwitte%stanford.edu
a8f5008a68 update copy_string() to the single-fragment string world, and optimize write() to not return a value. b=282083, r+sr=jst, a=schrep
git-svn-id: svn://10.0.0.236/trunk@242333 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-04 00:07:07 +00:00
mrbkap%gmail.com
9d03770331 Always free the curren token at the end of HandleToken. bug 408939, r=bzbarsky sr=jst
git-svn-id: svn://10.0.0.236/trunk@242074 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-24 19:30:36 +00:00
mrbkap%gmail.com
fe03711872 Do not treat backspace as whitespace to match IE and Opera. bug 404252, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@241953 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-21 18:57:16 +00:00
bzbarsky%mit.edu
2410a83f5e Fix assertion. Bug 406903, r+sr=mrbkap, a=dsicore
git-svn-id: svn://10.0.0.236/trunk@240497 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-05 05:02:28 +00:00
bzbarsky%mit.edu
607d0f5160 Fix bug 390565. r+sr=mrbkap
git-svn-id: svn://10.0.0.236/trunk@240269 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 02:29:49 +00:00
mrbkap%gmail.com
4a30c06e17 Always free doctype decl tokens. bug 395846, r=jst sr=sicking a=schrep
git-svn-id: svn://10.0.0.236/trunk@240010 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-28 01:06:34 +00:00
mrbkap%gmail.com
6f6277627a Don't deal with misplaced content when we're in the head. bug 401169, r=sicking sr=jst a=blocking-1.9
git-svn-id: svn://10.0.0.236/trunk@240008 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-28 00:59:27 +00:00
peterv%propagandism.org
68711c66b9 Fix for bug 401613 (Intermittent XML parsing errors with this valid SVG file). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@239643 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-19 10:57:29 +00:00
mats.palmgren%bredband.net
6bc25f939d Don't crash when ParseFragment() is called with an empty |aTagStack|. b=403877 r+sr=mrbkap a=jonas
git-svn-id: svn://10.0.0.236/trunk@239553 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-16 23:56:51 +00:00
jonas%sicking.cc
ca0c3c7ee3 Bug 403549: Avoid memory churn from nsContentUtils::CreateContextualFragment by giving nsIParser::ParseFragment a better signature. r/sr=stuart
git-svn-id: svn://10.0.0.236/trunk@239246 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-13 01:41:40 +00:00
reed%reedloden.com
5388db454e Remove extraneous space to cause unit test machines to build.
git-svn-id: svn://10.0.0.236/trunk@239132 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-10 22:49:09 +00:00
bzbarsky%mit.edu
1c217cc7af Log parser token refcounting, and fix a number of token leaks in view-source
that were also leaking strings.  Bug 402633, r+sr=mrbkap


git-svn-id: svn://10.0.0.236/trunk@238912 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-07 17:28:22 +00:00
jonas%sicking.cc
57b65f8384 Bug 395845. Fix leak of static parser-node cache. Patch by mrbkap. r/sr=sicking
git-svn-id: svn://10.0.0.236/trunk@238553 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-05 19:48:12 +00:00
bzbarsky%mit.edu
154c45dfa1 Don't leak strings from <keygen>. Bug 398665, r=kaie, sr=jst, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@237501 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-10 02:10:01 +00:00
sayrer%gmail.com
08fd65ccf4 Bug 397804. Use the short CC macro in nsParser. r/sr/a=sicking.
git-svn-id: svn://10.0.0.236/trunk@237233 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-04 02:11:57 +00:00
sayrer%gmail.com
7cf190dc22 Bug 397804. pages loading feeds as content can trigger a leak. r=jst, sr=sicking, a=sicking
git-svn-id: svn://10.0.0.236/trunk@236822 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-28 03:00:36 +00:00
bzbarsky%mit.edu
6ca6d0392a Comment-only change to address review comments in bug 394534.
git-svn-id: svn://10.0.0.236/trunk@235544 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 16:13:07 +00:00
jst%mozilla.org
45c3ec6a83 Fixing bug 394534. Make first attribute win in misplaced content. Patch by bzbarsky@mit.edu, r=mrbkap@gmail.com, sr=peterv@propagandism.org, a=jonas@sicking.cc/dsicore@mozilla.com
git-svn-id: svn://10.0.0.236/trunk@235482 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-10 23:50:16 +00:00
mrbkap%gmail.com
158803e6c9 Don't ship link to the head from <body>. <link> and <style> will still prefer the head in the absense of an explicit body, but will stay still if there is one. bug 387691, r=sicking/sayrer sr=jst
git-svn-id: svn://10.0.0.236/trunk@230406 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-21 00:41:00 +00:00
sharparrow1%yahoo.com
cdb9778e35 Bug 388438: Incorrect interpretation of LFCR after opening tag. r=mrbkap, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@230144 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-17 21:29:19 +00:00
mrbkap%gmail.com
122fcbd598 Don't treat PRBool as an int. bug 388093, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@229934 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-14 00:26:46 +00:00
mrbkap%gmail.com
6a7ce2899b This isn't ready for checkin, yet. <link> ends up in the body too much.
git-svn-id: svn://10.0.0.236/trunk@229917 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-13 21:58:11 +00:00
mrbkap%gmail.com
d774707dd7 Don't move <link> to the head, to match <style>. bug 387691, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@229914 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-13 21:29:10 +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
sharparrow1%yahoo.com
9057c0b45b Bug 384898: Cleanup nsScanner. r=mrbkap, sr=jst
git-svn-id: svn://10.0.0.236/trunk@228788 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 00:21:47 +00:00
mrbkap%gmail.com
027a48b341 Allow noscript in the head so that it doesn't push <style> into the body, causing the style's text to prematurely open a body. bug 379025, r=sicking sr=jst
git-svn-id: svn://10.0.0.236/trunk@228602 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-22 21:47:26 +00:00
peterv%propagandism.org
7f92d79182 Fix for bug 343870 (Line breaks normalized twice). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@227809 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-11 09:15:27 +00:00
mrbkap%gmail.com
5ebdab7ced Don't call DidBuildModel twice if Terminate is called twice since consumers aren't expecting it. bug 378982, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@226741 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-21 18:09:54 +00:00
mrbkap%gmail.com
c8c87c18a1 nsIParserNode::GetSource should be a const function. bug 374041, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@226618 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-18 18:45:39 +00:00
mats.palmgren%bredband.net
e321f60278 Improve the <!DOCTYPE> parsing. b=363883 r=mrbkap sr=jst
git-svn-id: svn://10.0.0.236/trunk@226115 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-08 12:19:32 +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
mrbkap%gmail.com
45b2729a3a Allow <style> to appear anywhere in the document, don't force it to be in the <head>. bug 308145, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@222602 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-29 18:53:30 +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
mats.palmgren%bredband.net
25cc5754c3 Fix --enable-perf-metrics build failure. b=370230 r=jonas sr=benjamin
git-svn-id: svn://10.0.0.236/trunk@221875 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-14 16:44:51 +00:00
martijn.martijn%gmail.com
5e31e514c3 Bug 334227 – embed shouldn't close p, r=mrbkap, sr=jst
git-svn-id: svn://10.0.0.236/trunk@220408 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-16 12:18:56 +00:00
martijn.martijn%gmail.com
c1bac63212 Bug 369326 – Allow marquee inside p, r=mrbkap, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@220407 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-16 12:12:44 +00:00