Commit Graph

791 Commits

Author SHA1 Message Date
Boris Zbarsky
4ab724aabd 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
9499fe9556 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
5beb4f0915 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
721f0bcd98 Bug 737966 - Evaluating nsIXMLHttpRequest.responseText throws on certain parsing errors. r=sicking 2012-04-04 20:59:02 +09:00
Ryan VanderMeulen
8a1ce69485 Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst 2012-04-03 20:22:42 -04:00
Shriram Kunchanapalli
a0a99e8f8a Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt 2012-02-18 19:17:01 +05:30
Henri Sivonen
990ab1f71d 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
d3b8a6debe Merge central to inbound 2012-03-30 12:27:55 +02:00
Ms2ger
1e9b34b2ca Bug 738654 - Part b: RemoveChildAt can't fail; r=sicking 2012-03-29 23:09:07 +02:00
Matias Juntunen
9538b8e3a7 Bug 729048 - Part 5: Remove nsParserService::CheckQName. r=hsivonen 2012-03-29 17:31:41 -04:00
Irving Reid
357026b226 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
62e25bcddc 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
5639dfdb41 Bug 737976: Remove nsINodeInfo. rs=bent 2012-03-28 19:07:37 -07:00
Henri Sivonen
96fd999a06 Bug 717180 - Ignore document.write after window.location. r=smaug. 2012-03-28 08:17:53 +03:00
Henri Sivonen
aad2ed2d73 Bug 731162 - Zap nsIParser::Parse(const nsAString&, ...). r=smaug. 2012-03-27 09:27:45 +03:00
Henri Sivonen
943497857a Bug 739033 - Allow external View Source editor code live dangerously. r=smaug. 2012-03-27 09:27:45 +03:00
Matt Brubeck
abd9a3a9e5 Bug 739354 - Disable test_bug672453.html because of frequent failures [r=philor] 2012-03-26 15:49:54 -07:00
Matt Brubeck
400e6d94ca Back out 63900b73be92 (Bug 672453) because of M5 orange 2012-03-26 10:41:45 -07:00
Ms2ger
853d45da59 Bug 672453 - Followup: fix intermittent orange; r=hsivonen 2012-03-26 18:31:48 +02:00
Henri Sivonen
00c95022cf Bug 737417 part 3 - Remove comm-central scaffolding from nsIParser.h. r=smaug. 2012-03-24 10:40:16 +02:00
Henri Sivonen
4e93a91b3a 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
38758ad038 Bug 738572 - #include nsIHTMLContentSink.h in fewer places. r=bzbarsky. 2012-03-23 17:21:44 +02:00
Kyle Huey
cd7c6f683a Bug 737875. r=hsivonen 2012-03-23 07:44:06 -07:00
Henri Sivonen
3dfb9fb844 Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug. 2012-03-22 16:42:42 +02:00
Henri Sivonen
28b3f06f02 Bug 737814 - Mark nsIHTMLContentSink as obsolete. r=smaug. DONTBUILD 2012-03-22 08:34:29 +02:00
Henri Sivonen
c12f10cc2f Bug 717488 part 1. r=smaug. 2012-03-21 14:39:25 +02:00
Henri Sivonen
526035785c 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
a6b2cf9618 Bug 709083 addendum - Exclude the test case from Fennec. r=bzbarsky. 2012-03-19 16:48:06 +02:00
Henri Sivonen
dbaa7eaa96 Bug 709083 - Call DoneCreatingElement before children have been appended to the element. r=bzbarsky. 2012-02-03 15:32:31 +02:00
Henri Sivonen
0be2d2f91c 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
601565db8b Bug 729049 - Inline IsXMLLetter, IsXMLNCNameChar, DecodeEntity from nsIParserService. r=hsivonen 2012-03-14 21:56:58 -07:00
Henri Sivonen
aaeeb99ff6 Bug 733282. r=smontagu. 2012-03-14 13:19:15 +02:00
Justin Lebar
064e2cf3f9 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
6857670c0e 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
86f648606c 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
70f460e6fc Bug 733730. (Av1) file_bug594730-4.html: s/is_not()/isnot()/. r=jonas. 2012-03-08 13:32:09 +01:00
Ed Morley
e63b667897 Backout afeafc02c1de, dfae37833c9b & f9f51c726fa7 (bug 729940 parts 1-3) for talos regressions 2012-03-05 15:22:28 +00:00
Makoto Kato
8e7fa7d23a 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
c07407a766 Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz 2012-03-04 15:58:06 -05:00
Justin Lebar
2449f55f11 Back out bug 729940 (a108aee:d75775d) due to 32-bit red. 2012-03-04 14:20:34 -05:00
Justin Lebar
65b70fabf4 Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz 2012-03-04 13:49:42 -05:00
Henri Sivonen
b0b6cb7764 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
3aacb86e06 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
def1e29180 Bug 700659 - Slay nsHashSets in parser. r=hsivonen, smaug 2011-11-08 15:22:47 -05:00
Panagiotis Koutsourakis
583eb38038 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
52bf6771e7 backout 3335984ce688 (bug 709083) for Android orangeness 2012-02-03 15:09:20 +00:00
Henri Sivonen
e8cafd0a94 Bug 709083 - Call DoneCreatingElement before children have been appended to the element. r=bzbarsky. 2012-02-03 15:32:31 +02:00
Ms2ger
5adc031346 Bug 719896 - Remove unnecessary gInitialized in nsParserModule.cpp; r=bsmedberg 2012-02-01 11:54:21 +01:00
Henri Sivonen
000523d773 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
2d51bac031 Merge m-c to m-i. 2012-01-25 11:06:40 +01:00