Commit Graph

793 Commits

Author SHA1 Message Date
Nicholas Nethercote
228e65798f Bug 747803 - Remove NS_SIZE_IN_HEAP. r=bz. 2012-04-19 14:15:23 +10:00
Henri Sivonen
ad81b49e43 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
65ea8775ae 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
95002fef4b 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
19ba3a27fe 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
e0b0e4d9ff Bug 737966 - Evaluating nsIXMLHttpRequest.responseText throws on certain parsing errors. r=sicking 2012-04-04 20:59:02 +09:00
Ryan VanderMeulen
e30ff35d31 Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst 2012-04-03 20:22:42 -04:00
Shriram Kunchanapalli
05c95fc3b7 Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt 2012-02-18 19:17:01 +05:30
Henri Sivonen
febee54c5c 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
31496b4a78 Merge central to inbound 2012-03-30 12:27:55 +02:00
Ms2ger
968425f97e Bug 738654 - Part b: RemoveChildAt can't fail; r=sicking 2012-03-29 23:09:07 +02:00
Matias Juntunen
c4e66b16a1 Bug 729048 - Part 5: Remove nsParserService::CheckQName. r=hsivonen 2012-03-29 17:31:41 -04:00
Irving Reid
2804f5e3ca 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
0abdfa04b8 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
c3096d813b Bug 737976: Remove nsINodeInfo. rs=bent 2012-03-28 19:07:37 -07:00
Henri Sivonen
8825a7244b Bug 717180 - Ignore document.write after window.location. r=smaug. 2012-03-28 08:17:53 +03:00
Henri Sivonen
ab7a73384b Bug 731162 - Zap nsIParser::Parse(const nsAString&, ...). r=smaug. 2012-03-27 09:27:45 +03:00
Henri Sivonen
470d4a5866 Bug 739033 - Allow external View Source editor code live dangerously. r=smaug. 2012-03-27 09:27:45 +03:00
Matt Brubeck
5e436d4872 Bug 739354 - Disable test_bug672453.html because of frequent failures [r=philor] 2012-03-26 15:49:54 -07:00
Matt Brubeck
6154ee3a3f Back out 63900b73be92 (Bug 672453) because of M5 orange 2012-03-26 10:41:45 -07:00
Ms2ger
ba9c10b740 Bug 672453 - Followup: fix intermittent orange; r=hsivonen 2012-03-26 18:31:48 +02:00
Henri Sivonen
8b6dd707ba Bug 737417 part 3 - Remove comm-central scaffolding from nsIParser.h. r=smaug. 2012-03-24 10:40:16 +02:00
Henri Sivonen
95b45892e6 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
0b5228046a Bug 738572 - #include nsIHTMLContentSink.h in fewer places. r=bzbarsky. 2012-03-23 17:21:44 +02:00
Kyle Huey
c90b61825e Bug 737875. r=hsivonen 2012-03-23 07:44:06 -07:00
Henri Sivonen
f2d3f89eb7 Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug. 2012-03-22 16:42:42 +02:00
Henri Sivonen
e11504cc9b Bug 737814 - Mark nsIHTMLContentSink as obsolete. r=smaug. DONTBUILD 2012-03-22 08:34:29 +02:00
Henri Sivonen
cd61e269c7 Bug 717488 part 1. r=smaug. 2012-03-21 14:39:25 +02:00
Henri Sivonen
e8ee050c0f 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
b6c4086c68 Bug 709083 addendum - Exclude the test case from Fennec. r=bzbarsky. 2012-03-19 16:48:06 +02:00
Henri Sivonen
91e98a88cd Bug 709083 - Call DoneCreatingElement before children have been appended to the element. r=bzbarsky. 2012-02-03 15:32:31 +02:00
Henri Sivonen
82c137d953 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
64daff1dae Bug 729049 - Inline IsXMLLetter, IsXMLNCNameChar, DecodeEntity from nsIParserService. r=hsivonen 2012-03-14 21:56:58 -07:00
Henri Sivonen
c6a3e70119 Bug 733282. r=smontagu. 2012-03-14 13:19:15 +02:00
Justin Lebar
0dbaf73150 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
d51b138c8b 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
acfe99c129 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
e3aa421c83 Bug 733730. (Av1) file_bug594730-4.html: s/is_not()/isnot()/. r=jonas. 2012-03-08 13:32:09 +01:00
Ed Morley
d27ab2302c Backout afeafc02c1de, dfae37833c9b & f9f51c726fa7 (bug 729940 parts 1-3) for talos regressions 2012-03-05 15:22:28 +00:00
Makoto Kato
2c1e47f122 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
e1a9198917 Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz 2012-03-04 15:58:06 -05:00
Justin Lebar
8f94cc1764 Back out bug 729940 (a108aee:d75775d) due to 32-bit red. 2012-03-04 14:20:34 -05:00
Justin Lebar
169d0f30f5 Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz 2012-03-04 13:49:42 -05:00
Henri Sivonen
e8058853dd 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
33afed3ab8 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
5d40e7fccd Bug 700659 - Slay nsHashSets in parser. r=hsivonen, smaug 2011-11-08 15:22:47 -05:00
Panagiotis Koutsourakis
791aa57b19 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
7e4262919f backout 3335984ce688 (bug 709083) for Android orangeness 2012-02-03 15:09:20 +00:00
Henri Sivonen
b079dd5c7d Bug 709083 - Call DoneCreatingElement before children have been appended to the element. r=bzbarsky. 2012-02-03 15:32:31 +02:00
Ms2ger
bb5e266f5e Bug 719896 - Remove unnecessary gInitialized in nsParserModule.cpp; r=bsmedberg 2012-02-01 11:54:21 +01:00