bent.mozilla%gmail.com
c6f29415a2
Bug 468538 - 'Crash [@ nsParser::ParseFragment] setting innerHTML in mixed-content document'. r+sr=mrbkap, a=ss.
...
git-svn-id: svn://10.0.0.236/trunk@257118 18797224-902f-48f8-a5cc-f745e15eee43
2009-05-06 22:37:58 +00:00
jonas%sicking.cc
7647002619
Don't keep a separate count of currently running scripts in the parser since all sorts of badness happens if there's running scripts when we create a new parser. r/sr=mrbkap
...
git-svn-id: svn://10.0.0.236/trunk@257021 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-23 06:54:35 +00:00
bent.mozilla%gmail.com
b7da17e8f0
Bug 460437 - 'innerHtml doesn't update DOM when HTML markup goes from Invalid to Valid'. r+sr=mrbkap, a1.9.0.10=ss
...
git-svn-id: svn://10.0.0.236/trunk@257001 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-21 18:16:35 +00:00
mrbkap%gmail.com
93667439d7
Bug 460706 - Handle misplaced ContinueInterruptedParsing calls during synchronous XMLHttpRequest. r+sr=sicking a=dveditz
...
git-svn-id: svn://10.0.0.236/trunk@256246 18797224-902f-48f8-a5cc-f745e15eee43
2009-02-18 01:01:14 +00:00
mrbkap%gmail.com
070e8296b2
Bug 444322 - Ignore OnDataAvailable calls when we're executing a script. r+sr=bzbarsky/jst a=dveditz
...
git-svn-id: svn://10.0.0.236/trunk@255767 18797224-902f-48f8-a5cc-f745e15eee43
2009-01-08 07:40:47 +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
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
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
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
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
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
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
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
sayrer%gmail.com
9391e15bea
bug 339350. js: innerHTML removes 2 last simbols ']]' in application/xhtml+xml documents. r=mrbkap, sr=sicking
...
git-svn-id: svn://10.0.0.236/trunk@213458 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-10 21:28:23 +00:00
sayrer%gmail.com
aaeae25f4d
b=339599. nsISAXXMLReader expects a nsIChannel passed to onStartRequest, but interface takes an nsIRequest. r=mrbkap, sr=peterv
...
git-svn-id: svn://10.0.0.236/trunk@200259 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-19 03:03:28 +00:00
darin%meer.net
42edf059cf
landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
...
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
mrbkap%gmail.com
3ad008c538
CNavDTD shouldn't have a DTD and we shouldn't try to QI to it. bug 327980, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@190770 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-22 00:00:38 +00:00
cbiesinger%web.de
6322c04952
bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
...
r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
mrbkap%gmail.com
7bd7ef3c84
Don't create extra parser contexts once the parser has been terminated. Also make sure to clean up any extra parser contexts if they do get created. bug 323441, r=sicking sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@188682 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-01 18:57:09 +00:00
mrbkap%gmail.com
b7ece70d44
Remove the obsolete concept of "DTD verification". bug 323958, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@188516 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-30 23:45:19 +00:00
mrbkap%gmail.com
8b6ba84a47
bug 324738: Remove some unnecessary complexity from the parser and hardcode DTDs. r=sicking sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@188251 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 19:07:41 +00:00
mrbkap%gmail.com
44fd52082e
bug 321781: document.close() causes weird things to happen when asynchronous things were document.written. r=sicking sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@188077 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-24 01:25:14 +00:00
peterv%propagandism.org
7c949449af
Fix for bug 316582 (Clean up style in parser/htmlparser - CParserContext and small nsParser changes). r=mrbkap, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@187543 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-13 14:45:32 +00:00
mrbkap%gmail.com
2e63354637
bug 321344: Make sure we always enter the loop. There's no reason to actually
...
test anything here because we never really did before. Review from peterv is
still pending, but brendan wants this on the trunk because it breaks
XMLHttpRequest.
git-svn-id: svn://10.0.0.236/trunk@186556 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-24 07:39:09 +00:00
mrbkap%gmail.com
66b4dc4c78
bug 316582: Clean up stye in parser/htmlparser. r+sr=peterv
...
git-svn-id: svn://10.0.0.236/trunk@186462 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-22 22:31:36 +00:00
timeless%mozdev.org
dae7b0629a
Bug 106386 Correct misspellings in source code
...
patch by unknown@simplemachines.org r=timeless rs=brendan
git-svn-id: svn://10.0.0.236/trunk@185282 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 21:57:13 +00:00
timeless%mozdev.org
8a213cf6db
Bug 106386 Correct misspellings in source code
...
patch by unknown@simplemachines.org r=timeless rs=brendan
git-svn-id: svn://10.0.0.236/trunk@185276 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 19:48:04 +00:00
mrbkap%gmail.com
7afa2a74e6
bug 317452: nsParser::Tokenize has no reason to be recursive. r=jag sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@185165 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-22 23:29:30 +00:00
peterv%propagandism.org
029c09a76e
Backout due to tree orange.
...
git-svn-id: svn://10.0.0.236/trunk@185043 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-21 14:59:12 +00:00
timeless%mozdev.org
db63280166
Bug 106386 Correct misspellings in source code
...
patch by supernova_00@yahoo.com r=timeless
git-svn-id: svn://10.0.0.236/trunk@185035 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-21 06:25:15 +00:00
mrbkap%gmail.com
3a647b1136
bug 311907: Use a function that correctly updates the DTD internal flags so that invalid <body>s in the new string don't confuse us. r=bzbarsky sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@184600 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 21:55:34 +00:00
mrbkap%gmail.com
d2ad849da9
bug 315927: Clean up nsHTMLTokenizer to not have so many virtual methods. Also clean up CParserContext::GetTokenizer. r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@184466 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 19:11:36 +00:00
mrbkap%gmail.com
7b7b3071c8
bug 313823: Handle illegal forms of meta charset tags better. r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@183377 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 01:10:37 +00:00
mrbkap%gmail.com
1f9d7bc6df
bug 307593: Remove the unused and very broken CWordTokenizer class. Patch by Hans-Andreas Engel <Hans-A.Engel@unibas.ch>. r=mrbkap sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@179927 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-09 21:59:51 +00:00
peterv%propagandism.org
92b741449b
Fix for bug 153998 (COtherDTD should go; composer should handle containment checking itself). r=mrbkap, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@179660 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-05 14:18:56 +00:00
bzbarsky%mit.edu
0fc90867a3
Sync up the MIME type list in parser with what nsContentDLF has, and improve
...
the error handling for cases when a mismatch does happen. Bug 306502,
r=mrbkap, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@179398 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-31 17:33:54 +00:00
mrbkap%gmail.com
a97d5d8a28
bug 305448: Fix leak when page load is terminated while we have multiple parser contexts around (e.g., for a script load started from a document.write). r=bzbarsky sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@178639 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 21:51:00 +00:00
peterv%propagandism.org
4f974157e9
Fix for bug 298391 (Remove some unused stuff from parser code). r=mrbkap, sr=jst, a=chofmann.
...
git-svn-id: svn://10.0.0.236/trunk@175091 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-24 13:21:59 +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
mrbkap%gmail.com
3561d0632c
bug 296121: The parser leaks when somebody calls document.open() and doesn't write any data. r+sr=bzbarsky a=shaver
...
git-svn-id: svn://10.0.0.236/trunk@173997 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 22:37:04 +00:00
mrbkap%gmail.com
866b6f0775
bug 295519: Set the scanner's mIncremental member so that the tokenizer doesn't throw away content. r+sr=jst a=shaver
...
git-svn-id: svn://10.0.0.236/trunk@173995 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 22:32:23 +00:00
mrbkap%gmail.com
e95dc9b671
bug 287990: Bring back <plaintext> support. This supports it "properly" (i.e., no end tag). r=jst sr=dbaron a=shaver
...
git-svn-id: svn://10.0.0.236/trunk@173994 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 22:30:43 +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
mrbkap%gmail.com
46f4abf94f
bug 294402: Change some unnecessary assertions into warnings. r=brendan sr=bzbarsky a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@173510 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-17 16:27:21 +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