Commit Graph

3299 Commits

Author SHA1 Message Date
Rafael Ávila de Espíndola
23f5ab2bfc Bug 774023 - Remove extra ;. r=smaug. 2012-07-15 10:05:06 -04:00
Matthew Noorenberghe
6ad5ac7bec Bug 639362 - Display text/cache-manifest data as text. r=bz
--HG--
extra : rebase_source : e8e30229a029b68b199efe7f0fba71dc142de980
2012-07-13 23:13:20 -07:00
Henri Sivonen
1afc6bf0fd Bug 765381 - Make the destructors on nsHtml5ElementName and nsHtml5AttributeName virtual to avoid warnings in clang. r=ehsan
--HG--
extra : rebase_source : 3c2558dfa8ef5389b2acd97f419d2276d4269a8d
2012-07-13 15:04:11 +03:00
David Zbarsky
efca466fbb Bug 772758 - Clean up some build warnings in html5 parser r=hsivonen 2012-07-13 11:55:21 -07:00
Aryeh Gregor
dde10d9130 Bug 772807 - Clean up editor/ includes with include-what-you-use; r=ehsan 2012-07-13 09:33:42 +03:00
Henri Sivonen
4bffa39c21 Bug 765620 - When parsing from stream without executing scripts, avoid script execution-related tree ops. r=smaug 2012-06-20 10:05:39 +03:00
Nathan Froyd
bfff055672 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Ed Morley
eff0157441 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-07-02 10:03:16 +01:00
Ms2ger
2b6c403037 Bug 767790 - Remove nsIHTMLDocument::{Get,Set}IsFrameset; r=mounir 2012-07-02 08:22:37 +02:00
David Zbarsky
d2ee12f6f9 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Jonathan Watt
970e60a384 Bug 767388 - Kill NS_DEBUG. r=bz.
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Ed Morley
9841ae0c71 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-21 20:57:45 +01:00
Olli Pettay
0453d6b416 Bug 766792 - 'ASSERTION: Somehow there's stuff in the op queue' in nsHtml5TreeOpExecutor::~nsHtml5TreeOpExecutor, r=hsivonen 2012-06-21 17:13:10 +03:00
Randell Jesup
0edea6e242 Bug 757637: Rollup makesystem changes for webrtc r=khuey r=ted f=glandium 2012-06-20 07:27:43 -04:00
Henri Sivonen
999670e4bc Bug 764774 - Remove unused variable and object creation from nsParserUtils. r=smaug. 2012-06-15 15:28:28 +03:00
Ryan VanderMeulen
7b339af7fc Merge m-c to inbound. 2012-06-14 18:45:40 -04:00
Olli Pettay
5b6bea2feb Bug 734015 - Slow down parsing of web pages in background tabs, r=hsivonen 2012-06-14 21:00:05 +03:00
Ehsan Akhgari
d6728fc3e0 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (parser parts); r=hsivonen 2012-06-13 00:07:59 -04:00
Ed Morley
a8dff50533 Backout 4d93e6ed8a49 (bug 764774) for mochitest-chrome failure in test_bug675492.xul 2012-06-14 14:34:42 +01:00
Henri Sivonen
75ffd2287b Bug 764774 - Remove unused variable and object creation from nsParserUtils. r=smaug. 2012-06-14 15:18:58 +03:00
Henri Sivonen
75302aed58 Bug 750096. r=bzbarsky. 2012-06-14 09:14:47 +03:00
Nicholas Cameron
d3a4c2a15e Bug 761890 (was 746883); fix unexpected passes due to Azure/Skia canvas. r=gw280,jmuizelaar 2012-04-16 07:49:56 +12:00
Honza Bambas
fc7084f564 Bug 720778 - Important threads should have a name for better debugability, r=bsmith, sr=bsmedberg+glandium 2012-06-12 19:06:20 +02:00
Matt Brubeck
ef84814399 Back out bug 761890, bug 746896, and bug 759036 because of reftest failures
--HG--
extra : rebase_source : b5bdad8a69eab8e9ba35d21637c0bbcb18bce703
2012-06-11 22:50:31 -07:00
Nicholas Cameron
c467ab772f Bug 761890 (was 746883); fix unexpected passes due to Azure/Skia canvas. r=gw280,jmuizelaar
--HG--
extra : rebase_source : 31938676856235c42f7b95de69cefdcce8cdd8ec
2012-04-16 07:49:56 +12:00
Laurent Dulary
9190e002a9 Bug 657938 (1/2) - Implement the content part of the meter element. f=mounir r=smaug,mrbkap 2012-05-16 13:18:33 +02:00
Geoff Lankow
5cefea8480 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Shriram Kunchanapalli
5b9a95ea6a Bug 743581: Removes nsCRT::strlen(const PRUnichar*). f=sgautherie r=dougt 2012-05-30 18:43:39 +01:00
Gervase Markham
68d38d677f Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Ryan VanderMeulen
113847ecc4 Backout 8cf563a575fd (bug 734015) due to random Moth orange. 2012-05-23 19:27:40 -04:00
Olli Pettay
ef940dcb37 Bug 734015 - Try to slow down parsing of web pages in background tabs, r=hsivonen 2012-05-23 15:55:13 +03:00
Phil Ringnalda
be36052d54 Bug 705046 - Disable the chunks of test_html5_tree_construction_part2.html which touch plugins and thus expose our brokenness on 10.7, so we can unhide the rest of the mochitest-5 suite, r=hsivonen 2012-05-20 15:27:45 -07:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Benjamin Smedberg
eaa4878487 Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Ehsan Akhgari
147de6e8d8 Bug 751201 - Rip out expat from libxul
Landed on a CLOSED TREE
2012-05-02 14:10:53 -04:00
Masatoshi Kimura
473d12ee2a Bug 745498 - Add testcases for DOM4 exception types. r=sicking 2012-04-26 09:42:26 -07:00
Nicholas Nethercote
59ad4345e7 Bug 747803 - Remove NS_SIZE_IN_HEAP. r=bz. 2012-04-19 14:15:23 +10:00
Henri Sivonen
1ccc571266 Bug 742414 & Bug 731234 - Highlight script end tag correctly in View Source and avoid crashing when doing so. r=smaug. 2012-04-17 14:53:52 +03:00
Boris Zbarsky
6c097ff5c8 Bug 721730. When we have a null aKey, don't do a linear search down to mLastBuffer. r=hsivonen 2012-04-13 13:46:07 -04:00
Daniel Holbert
525f6e177e Bug 743404: In nsHtml5TreeOperation::Perform, store the return-value of nsINode::IndexOf in a PRInt32 instead of a PRUint32, so we can range-check it. r=hsivonen 2012-04-10 10:44:49 -07:00
Henri Sivonen
914678b308 Bug 741384 - Change MOZ_NOT_REACHED added in bug 732343 to MOZ_ASSERT(false). r=smaug. 2012-04-10 10:02:31 +03:00
Makoto Kato
9c9e8ca686 Bug 737966 - Evaluating nsIXMLHttpRequest.responseText throws on certain parsing errors. r=sicking 2012-04-04 20:59:02 +09:00
Ryan VanderMeulen
503ea93a8c Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst 2012-04-03 20:22:42 -04:00
Shriram Kunchanapalli
dcbb9c3017 Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt 2012-02-18 19:17:01 +05:30
Henri Sivonen
e1c9589023 Bug 732343 - Defend HTML document loading against extensions causing bogus use of the old HTML parser. r=smaug. 2012-03-31 17:10:34 +03:00
Marco Bonardo
932988efc9 Merge central to inbound 2012-03-30 12:27:55 +02:00
Ms2ger
2754f9e3ff Bug 738654 - Part b: RemoveChildAt can't fail; r=sicking 2012-03-29 23:09:07 +02:00
Matias Juntunen
53ab5bda7f Bug 729048 - Part 5: Remove nsParserService::CheckQName. r=hsivonen 2012-03-29 17:31:41 -04:00
Irving Reid
fc6142736f Bug 738662 - Add tracing/warning information to help debug XUL overlay problems. r=bz,enn 2012-03-26 15:40:52 -04:00
Phil Ringnalda
16b8634b73 Back out b00bf7f3869c (bug 737976) for apparently causing mochitest-1 leaks on a CLOSED TREE 2012-03-28 22:43:09 -07:00
Kyle Huey
33073664dc Bug 737976: Remove nsINodeInfo. rs=bent 2012-03-28 19:07:37 -07:00
Henri Sivonen
c47e91dbfa Bug 717180 - Ignore document.write after window.location. r=smaug. 2012-03-28 08:17:53 +03:00
Henri Sivonen
f05ff8b40b Bug 731162 - Zap nsIParser::Parse(const nsAString&, ...). r=smaug. 2012-03-27 09:27:45 +03:00
Henri Sivonen
b44c082566 Bug 739033 - Allow external View Source editor code live dangerously. r=smaug. 2012-03-27 09:27:45 +03:00
Matt Brubeck
d666a31aba Bug 739354 - Disable test_bug672453.html because of frequent failures [r=philor] 2012-03-26 15:49:54 -07:00
Matt Brubeck
a09eb558ac Back out 63900b73be92 (Bug 672453) because of M5 orange 2012-03-26 10:41:45 -07:00
Ms2ger
6ddb18c60a Bug 672453 - Followup: fix intermittent orange; r=hsivonen 2012-03-26 18:31:48 +02:00
Henri Sivonen
058e88ae2f Bug 737417 part 3 - Remove comm-central scaffolding from nsIParser.h. r=smaug. 2012-03-24 10:40:16 +02:00
Henri Sivonen
342883de53 Bug 672453 - Whine to console about various character encoding declaration-related authoring errors. r=smaug.
--HG--
rename : extensions/universalchardet/tests/bug631751be_text.html => parser/htmlparser/tests/mochitest/file_bug672453_bomless_utf16.html
2012-03-24 13:34:42 +02:00
Henri Sivonen
88c3e0947f Bug 738572 - #include nsIHTMLContentSink.h in fewer places. r=bzbarsky. 2012-03-23 17:21:44 +02:00
Kyle Huey
3e1e963534 Bug 737875. r=hsivonen 2012-03-23 07:44:06 -07:00
Henri Sivonen
31192f4b01 Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug. 2012-03-22 16:42:42 +02:00
Henri Sivonen
d51764b632 Bug 737814 - Mark nsIHTMLContentSink as obsolete. r=smaug. DONTBUILD 2012-03-22 08:34:29 +02:00
Henri Sivonen
e4f8183545 Bug 717488 part 1. r=smaug. 2012-03-21 14:39:25 +02:00
Henri Sivonen
a92cb71e1c Bug 737013 - Expose sanitizer fragments on parseFragment(), migrate callers to the new interface. r=smaug. 2012-03-20 17:28:42 +02:00
Henri Sivonen
ff5ba4e8f6 Bug 709083 addendum - Exclude the test case from Fennec. r=bzbarsky. 2012-03-19 16:48:06 +02:00
Henri Sivonen
f57b6f1c40 Bug 709083 - Call DoneCreatingElement before children have been appended to the element. r=bzbarsky. 2012-02-03 15:32:31 +02:00
Henri Sivonen
63b25dc89b Bug 650776 part 1 - Introduce a new HTML source to HTML source sanitizer XPCOM API. r=smaug. 2012-03-19 10:16:20 +02:00
Charles Chan
ea1fb78e92 Bug 729049 - Inline IsXMLLetter, IsXMLNCNameChar, DecodeEntity from nsIParserService. r=hsivonen 2012-03-14 21:56:58 -07:00
Henri Sivonen
c24e0b9571 Bug 733282. r=smontagu. 2012-03-14 13:19:15 +02:00
Justin Lebar
1fc1dc1879 Bug 729940 - Part 2: Stop using crappy hash functions in Gecko. r=bz
--HG--
extra : rebase_source : 6fa267a89878cc1a766d8618569debcea9b12e48
2012-03-12 18:53:18 -04:00
Boris Zbarsky
7b4e2a3a45 Bug 696301 part 2. Communicate the crossorigin preload state from the parser to the scriptloader. r=sicking,hsivonen 2012-03-10 10:13:52 -06:00
Jacob Holzinger
6a62cb6a9b Bug 696242 - Convert NS_RegisterStaticAtoms and nsCSSScanner::ReportUnexpectedParams to take an array-reference rather than a pointer and length, making it impossible to pass a pointer/length that are inconsistent. r=jwalden
--HG--
extra : rebase_source : 882b5b4d500b1fa242c0a3cfa3084e4171cbaa9d
2012-03-08 18:22:57 -08:00
Serge Gautherie
96cfa44876 Bug 733730. (Av1) file_bug594730-4.html: s/is_not()/isnot()/. r=jonas. 2012-03-08 13:32:09 +01:00
Ed Morley
3c657080b5 Backout afeafc02c1de, dfae37833c9b & f9f51c726fa7 (bug 729940 parts 1-3) for talos regressions 2012-03-05 15:22:28 +00:00
Makoto Kato
b6e9c4d7bb Bug 590390 - deCOM nsICharsetAlias. r=smontagu
--HG--
rename : intl/locale/public/nsICharsetAlias.h => intl/locale/public/nsCharsetAlias.h
rename : intl/locale/src/nsCharsetAliasImp.cpp => intl/locale/src/nsCharsetAlias.cpp
2012-03-05 12:57:51 +09:00
Justin Lebar
7e343a6c1d Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz 2012-03-04 15:58:06 -05:00
Justin Lebar
e2b30b7a56 Back out bug 729940 (a108aee:d75775d) due to 32-bit red. 2012-03-04 14:20:34 -05:00
Justin Lebar
9cf4ac042d Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz 2012-03-04 13:49:42 -05:00
Henri Sivonen
6792924c2c Bug 650784 part 1.5 - Move nsScriptableUnescapeHTML from Toolkit to Core. r=smaug.
--HG--
rename : toolkit/components/feeds/nsIScriptableUnescapeHTML.idl => parser/html/nsIScriptableUnescapeHTML.idl
rename : toolkit/components/feeds/nsScriptableUnescapeHTML.cpp => parser/html/nsParserUtils.cpp
rename : toolkit/components/feeds/nsScriptableUnescapeHTML.h => parser/html/nsParserUtils.h
2012-02-27 13:57:48 +02:00
Henri Sivonen
3ec758cd7c Bug 650784 part 1 - Introduce a new API for converting HTML to plain text. r=smaug. 2012-02-27 13:57:48 +02:00
Nathan Froyd
94336faf4a Bug 700659 - Slay nsHashSets in parser. r=hsivonen, smaug 2011-11-08 15:22:47 -05:00
Panagiotis Koutsourakis
9c7dfb9706 Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
Files named Makefile.in containing the expression

DIRS += <foo>
or
DIRS = <foo>

inside the conditional expression

ifdef ENABLE_TESTS
...
endif

are changed to

TEST_DIRS += tests

outside any conditional expression.

The files

./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in

contain the string

ifdef ENABLE_TESTS

but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
Jonathan Kew
5b082b0fbe backout 3335984ce688 (bug 709083) for Android orangeness 2012-02-03 15:09:20 +00:00
Henri Sivonen
c0536f6613 Bug 709083 - Call DoneCreatingElement before children have been appended to the element. r=bzbarsky. 2012-02-03 15:32:31 +02:00
Ms2ger
d6b8921df6 Bug 719896 - Remove unnecessary gInitialized in nsParserModule.cpp; r=bsmedberg 2012-02-01 11:54:21 +01:00
Henri Sivonen
84d30592e9 Bug 721313 - Do not run normal parse end code when parsing a full document from string. r=smaug. 2012-01-26 15:59:22 +02:00
Ms2ger
97967af56e Merge m-c to m-i. 2012-01-25 11:06:40 +01:00
Ms2ger
fa49b00e76 Bug 718504 - Remove some GetChildAt callers; r=smaug 2012-01-25 08:50:07 +01:00
Ms2ger
a98525ac10 Bug 720124 - Remove dead code from HTMLContentSink: AddComment; r=hsivonen 2012-01-25 08:50:04 +01:00
Ms2ger
c1e941dcc3 Bug 720124 - Remove dead code from HTMLContentSink: AddProcessingInstruction; r=hsivonen 2012-01-25 08:50:04 +01:00
Ms2ger
2a1d41ff0a Bug 720124 - Remove dead code from HTMLContentSink: IsFormOnStack; r=hsivonen 2012-01-25 08:50:04 +01:00
Ms2ger
b51f11201d Bug 720124 - Remove dead code from HTMLContentSink: AddDocTypeDecl; r=hsivonen 2012-01-25 08:50:02 +01:00
Henri Sivonen
625e6e725c Bug 102699 - Support text/html in DOMParser.parseFromString(). r=smaug.
--HG--
rename : content/base/test/file_html_in_xhr.sjs => parser/htmlparser/tests/mochitest/file_bug102699.sjs
2012-01-20 14:03:49 +02:00
Henri Sivonen
97df9f9e4b Bug 714777 Windows calling convention follow-up. r=smaug. 2012-01-20 13:44:53 +02:00
Henri Sivonen
3bd56d1ff6 Bug 714777 - Refactor fragment parsing out of nsHtml5Parser. r=smaug. 2012-01-20 13:16:27 +02:00
Henri Sivonen
122c17f8e7 Bug 715103 - Move parser unblocking management from nsContentSink to nsScriptLoader. r=smaug. 2012-01-20 13:16:27 +02:00
Henri Sivonen
9af7c91807 Test for bug 715739 - Make document.write from inside a script-created parser not add to the wyciwyg channel. r=smaug. 2012-01-20 13:16:27 +02:00
Henri Sivonen
4dd4e2ea12 Bug 715739 - Make document.write from inside a script-created parser not add to the wyciwyg channel. r=smaug. 2012-01-20 13:16:27 +02:00
Henri Sivonen
86a25cbb96 Test for bug 715112 - Check that DOMContentLoaded fires when a document built by a script-created parser calls document.close() on itself. r=smaug. 2012-01-20 13:16:27 +02:00
Henri Sivonen
a66bfdb20b Bug 715112 - Remove duplicate document.close() state tracking. r=smaug. 2012-01-20 13:16:26 +02:00
Jeff Muizelaar
19d31dec25 Bug 718440. Add more sampler labels to various places. r=bgirard
This shows the problems described in bug 710068.
2012-01-17 15:33:04 -05:00
Henri Sivonen
01dd36c567 Bug 720650 - Remove nsLoggingSink. r=mrbkap. 2012-01-24 13:02:50 +02:00
Matt Brubeck
3aa150e837 Back out 88733ce1bef3 (bug 718440) because of Windows build failure 2012-01-17 15:15:47 -08:00
Jeff Muizelaar
e18b95dabf Bug 718440. Add more sampler labels to various places. r=bgirard
This shows the problems described in bug 710068.
2012-01-17 15:33:04 -05:00
Henri Sivonen
16af46f2fd Bug 717203 - Remove obsolete speculative parsing code. r=mrbkap. 2012-01-11 17:49:57 +02:00
Henri Sivonen
bbe420a344 Bug 717198 - Remove the tag observer code from the tree. r=mrbkap. 2012-01-11 17:49:56 +02:00
Henri Sivonen
a0183e60b6 Bug 655261 - Remove nsIParserFilter from the tree. r=mrbkap. 2012-01-09 14:20:43 +02:00
Henri Sivonen
c5cfbc6e3d Bug 714760 - Remove obsolete tests for the HTML parser. r=mrbkap. 2012-01-04 17:22:33 +02:00
Henri Sivonen
fb2d5617ca Bug 711049 - Adjust MathML text integration point treatment to comply with spec changes. rs=smaug. 2012-01-02 16:18:29 +02:00
Henri Sivonen
f1af9bc322 Bug 711052 - Make <rp> and <rt> handling match spec edits. r=smaug. 2012-01-02 16:18:29 +02:00
Geoff Lankow
c2f72abcf4 Bug 246620 - Add line numbers to View Source for Firefox - fix for reftests; r=smaug 2011-12-28 00:21:53 +13:00
Curtis Bartley
9f096588ca Bug 246620 - Simple view-source test; r=ehsan 2011-12-26 12:27:39 +13:00
aceman
002cb306a6 Bug 711721 - merge nsIScriptError and nsIScriptError2 interfaces; r=neil, sr=bzbarsky 2011-12-21 16:51:29 -05:00
Mats Palmgren
ddf6778a19 Bug 706932 - stack overflow when deleting long nsHtml5OwningUTF16Buffer list (recursive dtor). r=hsivonen 2011-12-17 22:19:20 +01:00
Andrew Quartey
d9f501a4df Bug 689834. Only look at the muted attribute when initially creating the element. r=bzbarsky 2011-12-15 14:36:46 -05:00
Gabor Krizsanits
1908ae1df4 Bug 678465 - 'document-element-inserted' doesn't fire on ImageDocument; r=bz 2011-12-15 15:10:36 +00:00
Masatoshi Kimura
4eadc7baec Bug 704820 - Simplify nsContentUtils::ReportToConsole. r=smaug 2011-12-15 14:47:03 +00:00
Henri Sivonen
54d8d54f8e Bug 648252 - Remove nsViewSourceHTML from the tree. r=mrbkap, a=khuey. 2011-04-07 16:41:53 +03:00
Andrew Quartey
6fe0fd072a Bug 706010 - Remove NS_SPECIALIZE_TEMPLATE and HAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX; r=khuey a=cleanup/removal 2011-12-13 14:17:59 +00:00
Henri Sivonen
034415bb26 Bug 695640 - Remove View Source pre chunking, because it is no longer needed for reasonable perf. r=smaug. 2011-11-30 19:44:31 +02:00
Henri Sivonen
bd1b9e065c Bug 703965 - Use View Source styling when viewing plain text source. r=smaug. 2011-11-30 19:44:31 +02:00
Henri Sivonen
960819c184 Bug 699356 - Show the URL of the page in the title of the View Source window. r=smaug. 2011-11-30 19:44:31 +02:00
Matt Brubeck
12c396afdf Back out 38814e0bafb9 through c5d44e6e957b because of test failures 2011-11-30 11:44:50 -08:00
Henri Sivonen
7acf63e90a Bug 695640 - Remove View Source pre chunking, because it is no longer needed for reasonable perf. r=smaug. 2011-11-30 19:44:31 +02:00
Henri Sivonen
efe5ce2bae Bug 703965 - Use View Source styling when viewing plain text source. r=smaug. 2011-11-30 19:44:31 +02:00
Henri Sivonen
69efc69ab9 Bug 699356 - Show the URL of the page in the title of the View Source window. r=smaug. 2011-11-30 19:44:31 +02:00
Henri Sivonen
e0b1f42c67 Back out the crashtest for bug 699365 due to leak on Mac. 2011-11-30 16:59:33 +02:00
Henri Sivonen
341491e1c3 Bug 699365 - Avoid asserting when the parser command is "external-resource". r=smaug. 2011-11-30 15:11:38 +02:00
Henri Sivonen
183f3cd3e5 Bug 535530 - Transition to the return state eagerly when a semicolon has matched when tokenizing a named character reference in HTML. r=smaug. 2011-11-30 15:11:37 +02:00
Henri Sivonen
ae6ef685b6 Bug 704667 - Take transitions from the comment start state to the data state into account when doing syntax highlighting. r=smaug. 2011-11-29 08:55:09 +02:00
Henri Sivonen
030d0bffb8 Bug 704034 - Replace old pre-interned looping attributes with a single loop attribute in the HTML parser. rs=smaug. 2011-11-22 10:29:14 +02:00
Henri Sivonen
4a39f3f562 Bug 704058 - Sync HTML parser .java sources in m-c with the htmlparser repo. rs=smaug. DONTBUILD 2011-11-21 16:12:15 +02:00
Henri Sivonen
b74c7dc6e2 Bug 651072 - Support HTML parsing in XMLHttpRequest. r=smaug. 2011-11-16 09:38:51 +02:00
Andrew
2aa0696362 Bug 466626 - Make nsStyleLinkElement::ParseLinkTypes return a bitmask; r=roc 2011-11-20 11:13:40 +00:00
Phil Ringnalda
e980cd8969 Bug 696670, bug 696671, bug 696672, bug 696673, bug 696674, bug 703201 - annotate failing tests in Win7 reftest-no-accel 2011-11-17 20:24:25 -08:00
Matt Brubeck
e851f37192 Back out 75ace50df008 to try to fix failures after last central/inbound merge on a CLOSED TREE 2011-11-16 11:50:48 -08:00
Ed Morley
7b166f8edf Merge mozilla-central to mozilla-inbound 2011-11-16 18:05:23 +00:00
Ms2ger
1049c156c8 Bug 697494 - Outparamdel nsIParser::GetStreamListener; r=hsivonen 2011-11-16 08:50:19 +01:00
Ms2ger
0ac11f32f0 Bug 698261 - Remove the aElementType argument of NS_NewElement; r=bz 2011-11-16 08:50:19 +01:00
Ms2ger
7a9dd20769 Bug 669012 - Part b: Introduce nsIScriptElement::AttemptToExecute; r=smaug+hsivonen. 2011-11-16 08:50:18 +01:00
Henri Sivonen
689c5fc755 Bug 651072 - Support HTML parsing in XMLHttpRequest. r=smaug. 2011-11-16 09:38:51 +02:00
Henri Sivonen
5579c150ca Bug 700260 - Honor the view_source.tab_size pref in a way that actually works. r=smaug. 2011-11-07 21:20:14 +02:00
Henri Sivonen
1a4dfbfc57 Bug 700042 - Support turning off View Source syntax highlighting. r=smaug. 2011-11-07 21:20:14 +02:00
Henri Sivonen
caa30574e6 Bug 699752 - Remove stray preposition from parser error reporting. r=smaug. 2011-11-07 11:29:18 +02:00
Henri Sivonen
97ad92e748 Bug 699750 - Fix accidental use of int instead of PRInt32. r=smaug. 2011-11-07 11:29:17 +02:00
Ed Morley
7ea8e12caa Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Rail Aliiev
ac65d0d88e Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Henri Sivonen
bb99952979 Bug 699749 - Avoid the term "astral" in error messages. r=l10n. 2011-11-04 15:36:29 +02:00
Henri Sivonen
793a84929a Bug 698935 addendum - Rename the errStrayStartTag string key because the value changed. r=l10n. 2011-11-04 15:36:29 +02:00
Henri Sivonen
a4642bfe44 Bug 699347 - Avoid crashing when viewing source of XML files that have an XML declaration without the encoding pseudo-attribute. r=smaug. 2011-11-03 16:31:27 +02:00
Henri Sivonen
3f843d4875 Test for bug 659763 - Make document.open("text/plain") work with the new parser. r=bzbarsky. 2011-11-01 17:27:36 +02:00
Henri Sivonen
bc6cd72c1d Bug 659763 - Make document.open("text/plain") work with the new parser. r=Olli.Pettay. 2011-11-01 17:27:36 +02:00
Henri Sivonen
0dba9093b0 Bug 479959 - Reimplement text/plain loading using the HTML5 parser. r=Olli.Pettay. 2011-11-01 17:27:36 +02:00
Henri Sivonen
c718393931 Bug 482921 part 14 - Address review comments. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Henri Sivonen
f2e94823f3 Bug 482921 part 12 - Reftests for View Source reimplementation. rs=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Henri Sivonen
424d5d89ce Bug 482921 part 11 - Deduplicate the tokenizer loop in .cpp. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Henri Sivonen
7506879167 Bug 482921 part 10 - Support parametrized error messages in new View Source. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Henri Sivonen
4600ed7a01 Bug 482921 part 8 - Start a new <pre> occasionally in View Source refixing bug 86355. r=bzbarsky. 2011-11-01 13:33:11 +02:00
Henri Sivonen
976ec770d6 Bug 482921 part 7 - Add an id for each line in new View Source. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Henri Sivonen
b9a012bc7f Bug 482921 part 6 - Use the internal encoding declaration in the XML View Source case. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Henri Sivonen
088b02553b Bug 482921 part 5 - Add entry point for new View Source for XML; Make new View Source easy to disable. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Henri Sivonen
2de2833898 Bug 482921 part 4 - Support XML syntax highlighting in the parser core. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Henri Sivonen
8fd5e88e4a Bug 482921 part 3 - Highlight tree builder-level errors in View Source. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Henri Sivonen
2df8639026 Bug 482921 part 2 - Highligh tokenizer-level errors in View Source. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Henri Sivonen
267803686e Bug 482921 part 1 - Implement HTML syntax highlighting using the new parser. r=Olli.Pettay. 2010-07-30 13:15:38 +03:00
Henri Sivonen
95fb13c8d3 Bug 482921 part 0.5 - Restore support for using tree op queue to set document charset. r=bzbarsky. 2011-11-01 13:33:11 +02:00
Henri Sivonen
d1640b5ba0 Bug 696651 part 3 - Refine part 2. r=Olli.Pettay. 2011-10-31 16:28:23 +02:00
Henri Sivonen
d2a3a87686 Test for bug 696651 part 2 - Establish document.write() insertion position before re-entrant calls can occur. r=Olli.Pettay. 2011-10-29 23:14:32 +03:00
Henri Sivonen
9eb7ebb819 Bug 696651 part 2 - Establish document.write() insertion position before re-entrant calls can occur. r=Olli.Pettay. 2011-10-29 23:14:31 +03:00
Henri Sivonen
8f3f216863 Back out changeset fc4ddddf142d and changeset d1766aec3d7e due to jsreftest orange. 2011-10-30 00:10:33 +03:00
Henri Sivonen
ae7f6032b1 Test for bug 696651 part 2 - Establish document.write() insertion position before re-entrant calls can occur. r=Olli.Pettay. 2011-10-29 23:14:32 +03:00
Henri Sivonen
ee0602fba9 Bug 696651 part 2 - Establish document.write() insertion position before re-entrant calls can occur. r=Olli.Pettay. 2011-10-29 23:14:31 +03:00
Henri Sivonen
e7259e19e6 Test for bug 696651 part 1 - Deal more gracefully with the parser getting terminated during document.write() and with document.close() getting called while document.write() is on the call stack. r=Olli.Pettay. 2011-10-29 23:14:31 +03:00
Henri Sivonen
a0ffb6e2b2 Bug 696651 part 1 - Deal more gracefully with the parser getting terminated during document.write() and with document.close() getting called while document.write() is on the call stack. r=Olli.Pettay. 2011-10-29 23:14:31 +03:00
Henri Sivonen
0b83ec1985 Bug 697833 - Stop honoring html5.parser.enable. r=Olli.Pettay. 2011-10-29 13:51:52 +03:00
Olli Pettay
5a92aedb22 Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 2, r=jst
--HG--
extra : rebase_source : 53dc2ec386f6e4147587e6be3c53d297ad71d57a
2011-10-18 14:19:44 +03:00
Olli Pettay
2c2da3099f Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 1, r=jst
--HG--
extra : rebase_source : baf1a25cdea68d499a7673fdf96e27b5a12dc83c
2011-10-18 13:53:36 +03:00
Ehsan Akhgari
92064e6d3f Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
b5e57820bf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Henri Sivonen
2cdea7cee0 Bug 687744 and bug 573078 - Make buffer allocations in the HTML parser fallible; deal with allocation failures; reuse the buffers of strings passed to the parser. r=Olli.Pettay. 2011-09-28 15:45:17 +03:00
Henri Sivonen
36a7dbec51 Bug 619043 - Check for parser termination after flushing speculative loads. r=bzbarsky. 2011-10-14 13:39:19 +03:00
Johnny Stenback
0e01709d6a Fixing bug 618643. r=hsivonen 2011-09-30 11:27:22 -07:00
Jeff Walden
d0532c3e95 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
0f30b277bf Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Jared Wein
b8bc689faa Backout revision 379147b5215f due to video controls not showing when viewing standalone videos (bug 689106). r=jonas 2011-10-03 20:46:40 -07:00
Michael Wu
d2b70213ac Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Gabor Krizsanits
d12dec5707 Bug 678465 - 'document-element-inserted' doesn't fire on ImageDocument; r=sicking 2011-09-22 17:35:25 +01:00
Olli Pettay
f3846553dc Bug 682886 - menuitem should be serialized as a container, r=sicking 2011-09-20 08:50:43 +03:00
Henri Sivonen
db11f1f87f Bug 685581 - Do not treat the empty string as a speculatively preloadable URL. r=bzbarsky. 2011-09-19 17:37:04 +03:00
Olli Pettay
3e3400ebbc Bug 675166 - Make DocumentTypeNode to use NodeInfoManager of the document, r=sicking
--HG--
extra : rebase_source : c05867591dc394695c35de92a0c62ca5df9db1d6
2011-09-17 06:32:32 -07:00
Ms2ger
09c97f4a38 Bug 649603 - Make nsIScriptContext::GetNativeContext return JSContext; r=jst 2011-09-18 11:22:17 +02:00
Felix Fung
0bc71ca85d Bug 577266 - Correct misspellings in source code 2011-09-06 17:20:35 -07:00
Henri Sivonen
ded8517389 Bug 657389 - nsHtml5MetaScanner should use PR_INT32_MAX instead of -1 as a special marker value for indeces. r=jonas. 2011-09-07 12:50:15 +03:00
Ms2ger
ccea776176 Bug 684807 - Annotate crashtest assertions on Android; r=philor 2011-09-06 18:35:43 +02:00
Ms2ger
1e19eb80bc Bug 684469 - Various cleanup in nsHtml5TreeOpExecutor; r=hsivonen 2011-09-04 12:49:29 +02:00
Ed Morley
218ef49719 Bug 683416 - C: Remove #ifdef TX_EXE codepaths now that it is never defined; r=khuey 2011-09-01 17:49:25 +01:00
Michael Wu
a66b1751b7 Bug 676188 - Misc misuses of PRBool caught by the compiler, r=jimm,jst,bz,dougt,roc,mak 2011-08-30 11:55:14 -07:00
Rob Campbell
3794850963 merge m-c to fx-team, clobbered windows 2011-08-29 12:19:08 -03:00
Matheus Kerschbaum
0f5b3e839c Bug 680625 part 0b: Remove more workarounds for past century compilers. r=ted 2011-08-26 00:35:13 +01:00
Mihai Sucan
47eca82a8c Bug 670896 - Add inner window ID and timestamp to nsIScriptError2; r=bzbarsky 2011-08-24 23:44:35 +03:00
Olli Pettay
b3a4be3d45 Bug 680687, Follow COM rules - keep strong ref to object, r=jst 2011-08-23 15:57:29 +03:00
Rafael Ávila de Espíndola
d17d0a0704 Bug 678209 - Fix c++0x initializer list error found by clang. r=jonas
The aLength argument is used in

CharacterDataChangeInfo info = {
  PR_TRUE,
  oldLength,
  oldLength,
  aLength
};

and the last field of CharacterDataChangeInfo is a PRUint32, so
aLength should be one to for this to be valid c++0x.

--HG--
extra : rebase_source : 267982352c7075a1189555cb6e0b8f025c57b036
2011-08-22 15:35:19 -04:00
Marco Castelluccio
d3f9d68e9e Bug 612839 - Removed nsAHtml5FragmentParser. r=hsivonen 2011-08-14 10:39:26 -07:00
Malini Das
132054c82e Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- new tests. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
Malini Das
c20b68638f Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain tests 2/2. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
Malini Das
91a27b5ddc Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- update tests. r=jmaher, a=test-only 2011-08-12 12:21:37 -04:00
Ehsan Akhgari
356a62adb7 Merge the latest green changeset on mozilla-inbound to mozilla-central 2011-08-09 08:09:13 -04:00
Jan Varga
a298beaa2e Bug 617528 Part 2 - Core implementation r=smaug
--HG--
rename : content/html/content/test/test_bug418756.html => content/html/content/test/test_checked.html
2011-08-08 19:31:32 +02:00
Marco Bonardo
7059a780c5 Merge mozilla-central and mozilla-inbound 2011-08-06 11:34:03 +02:00
Jan Varga
e76c71aac4 Bug 676236 - Add support for the <menuitem> element to the HTML parser (not enabled by default) r=hsivonen 2011-08-06 08:41:36 +02:00
Henri Sivonen
797bf13793 Tests for bug 613662 tweak - Comment out the part of the test that fail due to bug 676808. r=Olli.Pettay. 2011-08-05 15:56:34 +03:00
Henri Sivonen
44d8a5996e Tests for bug 613662 - Implement insertAdjacentHTML. r=bzbarsky. 2011-08-01 10:48:28 +03:00
Marco Bonardo
0e079365b6 Backout changeset d43b06e79794 (Bug 612839) due to build bustage. 2011-08-04 11:02:49 +02:00
Robert Sesek
73a22986c4 Bug 448168 - Apply |s/entires/entries/g|; r=roc 2011-08-04 09:04:29 +02:00
Marco Castelluccio
3cfcb2e4ef Bug 612839 - Removed nsAHtml5FragmentParser. r=hsivonen 2011-08-03 19:54:55 +02:00
Daniel Holbert
c27859e5d4 Bug 482919 followup: Add newline at end of nsHtml5Speculation.h to fix build warning. [whitespace-only] 2011-08-02 12:10:29 -07:00
Daniel Holbert
8e5493ce11 Bug 675499 followup: Remove comma at end of enum list, to fix maemo build bustage. 2011-08-02 12:10:23 -07:00
Henri Sivonen
3c00c2b665 Bug 675499 - Transfer initially sniffed document charset through the speculative load queue to avoid race conditions. r=bzbarsky. 2011-08-02 20:45:38 +03:00
Henri Sivonen
4e751b648f Back out rev 7e84bd591246 due to mutation event behavior changes having invalidated the test. 2011-08-01 12:51:21 +03:00
Henri Sivonen
290e0fc3ff Tests for bug 613662 - Implement insertAdjacentHTML. r=bzbarsky. 2011-08-01 10:48:28 +03:00
Henri Sivonen
9ebccb6c57 Bug 563322 part 2 - Avoid calling nsScriptLoader::SetEnabled in the innerHTML setter when using the XML parser. r=Olli.Pettay. 2011-08-01 10:48:28 +03:00
Henri Sivonen
211b250404 Test for bug 563322 part 2 - Avoid calling nsScriptLoader::SetEnabled in the innerHTML setter when using the XML parser. r=Olli.Pettay. 2011-08-01 10:48:28 +03:00
Henri Sivonen
21d32e82f3 Bug 596182 - Make fragment parsers global. Remove resulting dead code. r=Olli.Pettay, r=bzbarsky. 2011-08-01 10:48:24 +03:00
Boris Zbarsky
8983ada153 Bug 672014. Pass the crossorigin attribute through to image preloading code. r=joe,hsivonen 2011-07-29 14:30:00 -04:00
Boris Zbarsky
1242922ac9 Back out changeset f5aecf9010ef (bug 672014) due to build bustage. 2011-07-29 15:29:01 -04:00
Boris Zbarsky
23f2cddc95 Bug 672014. Pass the crossorigin attribute through to image preloading code. r=joe,hsivonen 2011-07-29 14:30:00 -04:00
Henri Sivonen
7c13c0d93c Bug 482909 part 2 - Implement an HTML/SVG/MathML sanitizer independently of parsers or serializers. r=bzbarsky. 2011-07-29 14:48:04 +03:00
Henri Sivonen
8f4c228884 Bug 672081 - Stop feeding chardet when seeing an actionable late charset <meta>. r=bzbarsky. 2011-07-28 13:45:29 +03:00
Blake Kaplan
b1a7ba0e16 Bug 673094 - Because " and > are weak LTR characters, we need to be more forceful in our attempts to have view-source be LTR. r=ehsan 2011-07-22 12:09:41 -07:00
Han Chang
6135d9b650 Bug 640629 - Move timer declaration instances to prevent premature garbage collection from occuring and wiping out the timer instances before they get a chance to fire. r=jdm,gavin 2011-07-05 21:40:00 -04:00
Ms2ger
19bead777e Bug 666665 - Remove isindex content code; r=sicking+hsivonen 2011-07-23 11:45:38 +02:00
Mats Palmgren
24126c8471 Bug 672438 - Notify only if AppendChildTo succeeds. r=hsivonen 2011-07-20 22:22:27 +02:00
Yu-Hsun Lin
32325c5b26 Bug 486081. Remove nsTime. r=roc
Use TimeStamp/TimeDuration instead.
2011-07-19 11:20:50 -04:00
Markus Stange
d88c5bdf23 Bug 667533 - Display application/json data as text. r=bzbarsky 2011-08-08 20:32:07 +02:00
Dão Gottwald
f8614a3cec Backed out changeset e60f96b64dfa 2011-08-07 16:58:43 +02:00
Marco Castelluccio
b5d75a1431 Bug 612839 - Removed nsAHtml5FragmentParser. r=hsivonen 2011-08-07 16:11:13 +02:00
Henri Sivonen
649df3b277 Test for bug 655682 - Perform discretionary flushes in the HTML parser even if the current node is foster-parenting, fixed to not affect later tests. r=bzbarsky 2011-05-19 14:35:38 +03:00
Daniel Holbert
cd67c05849 Bug 666714: Remove unused variable 'start' from nsScanner::Append. r=hsivonen 2011-06-24 01:50:25 -07:00
Ed Morley
41438b42dd Bug 665387 - Remove unused variable document from nsHtml5TreeOperation::Perform; r=hsivonen 2011-06-21 17:37:41 +02:00
Masayuki Nakano
8bd99f9f8b Bug 660771 part.2 remove unnecessary code r=mrbkap 2011-06-15 14:14:43 +09:00
Jonas Sicking
e3e6dd6825 Bug 659539 Part 1: Give nsINodeInfos a nodeType, nodeName and localName. r=bz 2011-06-14 00:56:49 -07:00
Ted Mielczarek
b9712b1eab merge m-c and b-s 2011-06-13 09:09:43 -04:00
Ed Morley
8aaddd0334 Bug 659621 - Remove EXTRA_DSO_LIBS, EXTRA_DSO_LDOPTS, OS_LIBS from makefiles containing LIBXUL_LIBRARY = 1, now that libxul is always built; r=ted 2011-06-12 03:49:00 -04:00
L. David Baron
2487c4de1e Remove notion of percentage intrinsic size: remove the single case that (incorrectly) sets percentage intrinsic sizes, and fix all of the tests that depend on our old incorrect behavior. (Bug 611099) r=dholbert
Needed to help CSS 2.1 meet Proposed Recommendation entrance criteria.
2011-06-12 18:52:32 -07:00
Matheus Kerschbaum
c0decf640b Bug 660762 - Remove --disable-mathml support. r=roc 2011-06-02 13:11:33 +02:00
Masayuki Nakano
6e13118a9c Bug 660771 parser should use mozilla::Preferences r=roc+mrbkap 2011-06-02 10:05:12 +09:00
Henri Sivonen
82e8759cf0 Back out test for bug 655682 due to permaorange in another test. 2011-05-30 12:51:33 +03:00
Ed Morley
f13392fb42 Bug 614515 - Remove MOZ_SVG conditions. r=roc 2011-05-30 09:34:50 +02:00
Henri Sivonen
9de80a6b10 Test for bug 655682 - Perform discretionary flushes in the HTML parser even if the current node is foster-parenting. r=bzbarsky. 2011-05-30 09:07:47 +03:00