2217 Commits

Author SHA1 Message Date
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
Olli.Pettay%helsinki.fi
406fdfe5a8 Bug 414637, createContextualFragment() throws NS_ERROR_NOT_AVAILABLE (allow contextfragments when container is document) r+sr=sicking a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@245142 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-07 15:11:29 +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
mats.palmgren%bredband.net
732b4b87b8 <!DOCTYPE> parsing tests. b=363883
git-svn-id: svn://10.0.0.236/trunk@243203 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-16 12:44:03 +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
ginn.chen%sun.com
7103fbf947 Bug 389793 Firefox build failed on OpenSolaris without --disable-mochitest
r=benjamin a=dsicore


git-svn-id: svn://10.0.0.236/trunk@231518 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-06 03:22:43 +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
536663b70b Update UUID for nsIParser
git-svn-id: svn://10.0.0.236/trunk@228795 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 00:41:30 +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
656006b937 Rename the mochitest file so that we don't try to run it as a test.
git-svn-id: svn://10.0.0.236/trunk@228730 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-26 00:15:51 +00:00
mrbkap%gmail.com
0fa0057631 Add a mochitest for bug 379025, r=sayrer
git-svn-id: svn://10.0.0.236/trunk@228728 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-25 22:43:37 +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
sayrer%gmail.com
43fb427c79 One exception fixed by mrbkap's patch for Bug 308145.
git-svn-id: svn://10.0.0.236/trunk@224695 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-18 18:01:47 +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
sayrer%gmail.com
7bee040180 fix wrong log message.
git-svn-id: svn://10.0.0.236/trunk@222121 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-20 22:05:46 +00:00
sayrer%gmail.com
bfaf9cce68 Add times to parser test logging to examine linux test harness timeouts.
git-svn-id: svn://10.0.0.236/trunk@222118 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-20 21:15:24 +00:00
sayrer%gmail.com
c2a5ccbfbf Renabling, after local check for bustage.
git-svn-id: svn://10.0.0.236/trunk@221994 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-16 23:01:42 +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
sayrer%gmail.com
309a04e906 Bug 366936. disable tests to see if mac bustage is affected by that.
git-svn-id: svn://10.0.0.236/trunk@221719 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-11 01:05:06 +00:00
sayrer%gmail.com
10c2149978 Bug 366936. Run WHATWG/html5lib tests on HTML parser. r=mrbkap
git-svn-id: svn://10.0.0.236/trunk@221716 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-10 23:41:00 +00:00
sayrer%gmail.com
4fb1acc8e7 Bug 368994. move some more tests. r=dbaron
git-svn-id: svn://10.0.0.236/trunk@220609 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-20 22:18:09 +00:00