Commit Graph

498 Commits

Author SHA1 Message Date
Cameron McCormack
9549910503 Bug 508725 - Part 1: Add content flag representing whether an element is in a style scope. r=dbaron 2013-01-09 10:25:47 +11:00
Boris Zbarsky
cf7864a07b Bug 826703 part 4. Convert ProcessingInstruction to WebIDL. r=peterv 2013-01-08 15:45:06 -05:00
Boris Zbarsky
3a0a9cc2d4 Bug 826703 part 3. Rename nsXMLProcessingInstruction to mozilla::dom::ProcessingInstruction. r=peterv
--HG--
rename : content/xml/content/src/nsXMLProcessingInstruction.cpp => content/xml/content/src/ProcessingInstruction.cpp
rename : content/xml/content/src/nsXMLProcessingInstruction.h => content/xml/content/src/ProcessingInstruction.h
2013-01-08 15:45:06 -05:00
Boris Zbarsky
e57f1f9c65 Bug 826703 part 2. Convert CDATASection to WebIDL. r=peterv 2013-01-08 15:45:06 -05:00
Boris Zbarsky
18a3e0ffb7 Bug 826703 part 1. Rename nsXMLCDATASection to mozilla::dom::CDATASection. r=peterv
--HG--
rename : content/xml/content/src/nsXMLCDATASection.cpp => content/xml/content/src/CDATASection.cpp
rename : content/xml/content/src/nsXMLCDATASection.cpp => content/xml/content/src/CDATASection.h
2013-01-08 15:45:05 -05:00
Cameron McCormack
4129a6997c Backout bug 508725 (d267bb4b58b5, 50f71edffeb9, 6aec8e22fe60, e62e1f33958a, 0f146c435249, eb959b9f4862, 2b0ee42f3aa0, 02db01cd6796, 2ef0e517d43d, b650588e05c9 and a3c916829d56) for build failure on a CLOSED TREE. 2013-01-08 19:36:21 +11:00
Cameron McCormack
2113f619d0 Bug 508725 - Part 1: Add content flag representing whether an element is in a style scope. r=dbaron 2013-01-08 19:09:22 +11:00
Robert O'Callahan
a9f8b202ea Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : d00947c925b17f860fcdc0e12b1ec3cc31b7c630
2013-01-05 16:12:24 +13:00
Phil Ringnalda
9297efcdad Back out 5e76dfb1d426 (bug 826635) and 0df74b1a4543:20df426b6111 (bug 826632) for bustage
CLOSED TREE
2013-01-04 21:30:14 -08:00
Robert O'Callahan
9abe8bbe09 Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 85587555e1f202809cd39fe899570644e6ca4eb3
2013-01-05 16:12:24 +13:00
David Zbarsky
f41bfdbfa0 Bug 824603 Part 2: Move nsDOMDocumentType => mozilla::dom::DocumentType r=bz
--HG--
rename : content/base/src/nsDOMDocumentType.cpp => content/base/src/DocumentType.cpp
rename : content/base/src/nsDOMDocumentType.h => content/base/src/DocumentType.h
2012-12-28 20:34:02 -05:00
Peter Van der Beken
09bb1c4675 Fix for bug 821606 (Turn on WebIDL bindings for Element and HTMLElement). r=bz.
--HG--
extra : rebase_source : f85002d801871a3a99c1b8bc121509ae87d2f665
2012-11-22 12:09:57 +01:00
Boris Zbarsky
84a8cee4a6 Bug 812744 part 1. Set XSLT result documents to be data documents when we plan to return them to script. r=sicking 2012-11-21 11:18:57 -05:00
Ryan VanderMeulen
4b287535f2 Backed out changesets 1a8b11ae0f4b, e02a02fd1208 (bug 776443), 86a3edf2960d (bug 812392), 26c59f23fd8f, and 288c74d7f87d (bug 812744) for mochitest orange.
CLOSED TREE
2012-11-21 12:47:40 -05:00
Boris Zbarsky
bace71477c Bug 812744 part 1. Set XSLT result documents to be data documents when we plan to return them to script. r=sicking 2012-11-21 11:18:57 -05:00
Ed Morley
28ef3f27d7 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-11-15 16:17:36 +00:00
Olli Pettay
f3ed372614 Bug 749448 - Remove XTF, r=bz 2012-11-15 14:27:13 +02:00
Boris Zbarsky
fa61227956 Bug 811449 part 8. Get rid of nsGenericElement. r=peterv 2012-11-14 14:10:08 -08:00
Benoit Jacob
5a8b82a1cb Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8 2012-11-15 02:32:40 -05:00
Andrew McCreight
7e4692ebf8 Bug 810094 - make nsXMLContentSink::mDocElement a COMptr. r=hsivonen 2012-11-12 09:43:02 -08:00
Peter Van der Beken
451ff8f738 Fix for bug 804950 (New DOM binding APIs for Element). r=bz.
--HG--
extra : rebase_source : a8691ead07dfa8ecca812396047627dc15474d83
2012-10-16 13:51:00 +02:00
Ms2ger
3accfeaf06 Bug 796903 - Part b: Remove classinfo from DOMImplementation; r=bz 2012-10-21 09:38:41 +02:00
Ms2ger
b04ad5d4ed Bug 803586 - Infinite recursion in nsXMLStylesheetPI::SetNodeValueInternal; r=bz 2012-10-21 09:38:41 +02:00
Peter Van der Beken
a69ce442c1 Fix for bug 773780 (Add API for new DOM bindings for Node). r=bz.
--HG--
extra : rebase_source : 5dd51c4ad5274da9235c8c341b0531f234e95a91
2012-10-09 14:31:24 +02:00
Boris Zbarsky
a65cd669cf Bug 795221 part 6. Hook up xml-stylesheet PIs to cycle collect their stylesheet. r=smaug 2012-10-07 22:39:09 -04:00
Bobby Holley
c64d31c5e0 Bug 792036 - Fix up tests to avoid relying on the existence of window.Components (MANUAL). r=mccr8
These are the manual fixes that the ensuing auto-generation can't deal with. Some of them
just fix up formatting (such as Components.\nFoo, so that subsequent auto-generation can
work better).
2012-09-24 14:46:28 +02:00
Rafael Ávila de Espíndola
d1faececd2 Bug 790285 - avoid nullptr -> false conversions. r=ehsan. 2012-09-11 14:00:37 -04:00
Daniel Holbert
f8dfa24152 Bug 789382: Change nsIScriptError methods init() and initWithWindowID() to take nsAString, rather than wchar / PRUnichar*. r=bz sr=bsmedberg 2012-09-09 16:29:12 -07:00
Randell Jesup
29ac5c0b8c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Ehsan Akhgari
8c296bbcd4 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Ian Melven
d09de1cd52 Bug 341604 - modify CheckMayLoad to allow sandboxed workers to load blob and data URIs r=jst 2012-08-20 11:34:33 -07:00
Kyle Huey
af66c5b779 Bug 773435: Remove some extraneous nsIImageLoadingContent includes. r=jlebar 2012-08-18 12:15:04 -07:00
Aryeh Gregor
982100775b Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
David Zbarsky
8d316c5861 Bug 773842 - Fix build warnings under content/ r=mounir 2012-08-10 14:01:16 -04:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Henri Sivonen
ee51a2e035 Bug 775467 - Make readyState progress through all states without duplicate transitions. r=bzbarsky. 2012-07-27 16:35:09 +03:00
Henri Sivonen
b82925a074 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
5b30baa4c3 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
David Zbarsky
cd3c58ee76 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Jonathan Watt
9ac7bb2267 Bug 767388 - Kill NS_DEBUG. r=bz.
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Shriram Kunchanapalli
3216ac51ce Bug 743581: Removes nsCRT::strlen(const PRUnichar*). f=sgautherie r=dougt 2012-05-30 18:43:39 +01:00
Gervase Markham
638c878b13 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Olli Pettay
083b3ec440 Bug 740063 - Add nsINode::AsDOMNode(), r=jst
--HG--
extra : rebase_source : a838243c11e212ec419df1dd1a219e955c4edc2d
2012-04-25 16:47:30 +03:00
Henri Sivonen
e1d2b4b167 Bug 744366 - Assert about old readyState before readyState transitions. r=bzbarsky. 2012-04-17 09:41:49 +03:00
Jonathan Watt
72b161fc90 Bug 745352 - Remove broken include paths from content Makefile.in files. r=dholbert. 2012-01-19 15:36:53 +00: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
Olli Pettay
f198500ad9 Bug 641821, MutationObserver, r=sicking
--HG--
extra : rebase_source : a680c883b22976edf38eea23fb516215e081084f
2012-03-31 09:30:13 -07: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
3dfb9fb844 Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug. 2012-03-22 16:42:42 +02:00
Nathan Froyd
59ce138419 Bug 732167 - Eliminate duplicate headers in content. r=mounir 2012-03-06 13:55:37 -05: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
Nicholas Nethercote
94c77b94d3 Bug 730181 (part 2) - Rename nsDOMMemoryReporter. r=khuey.
--HG--
rename : dom/base/nsDOMMemoryReporter.cpp => dom/base/nsWindowMemoryReporter.cpp
rename : dom/base/nsDOMMemoryReporter.h => dom/base/nsWindowMemoryReporter.h
extra : rebase_source : f3aca3b1829e03e6f8a5a0607eb437322eb62f7d
2012-02-23 18:43:33 -08:00
Nicholas Nethercote
29ca78c292 Bug 723799 - Use mallocSizeOf in the DOM memory reporters. r=mounir.
--HG--
extra : rebase_source : 2eb96d2f901bbe4cc1ff6dbccdec4dc4099b08fc
2012-02-01 13:58:01 -08:00
Henri Sivonen
95c3b0eac7 Bug 650784 part 0 - Fold nsParserUtils into nsContentUtils. r=smaug. 2012-02-27 13:57:48 +02: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
aceman
e6ea5dc25d Bug 711839 - --disable-ogg configure option breaks build after bug 689834. r=bz 2012-01-20 19:23:58 +00:00
Henri Sivonen
7bcb2df73f 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
556cef528f Bug 714777 - Refactor fragment parsing out of nsHtml5Parser. r=smaug. 2012-01-20 13:16:27 +02:00
Henri Sivonen
6db281e157 Bug 715103 - Move parser unblocking management from nsContentSink to nsScriptLoader. r=smaug. 2012-01-20 13:16:27 +02:00
Bobby Holley
4b6add2c77 Bug 713747 - Use UniversalXPConnect and UniversalXPConnect only in test coverage. r=bz 2011-12-30 09:35:38 -08:00
aceman
42a71aa907 Bug 711721 - merge nsIScriptError and nsIScriptError2 interfaces; r=neil, sr=bzbarsky 2011-12-21 16:51:29 -05:00
Andrew Quartey
346a8e3478 Bug 689834. Only look at the muted attribute when initially creating the element. r=bzbarsky 2011-12-15 14:36:46 -05:00
Brian O'Keefe
755f228bc5 Bug 708846 - Clean up the SVG namespace checks to use nsIContent::IsSVG() instead; r=longsonr 2011-12-15 14:47:03 +00:00
Masatoshi Kimura
26a3901298 Bug 704820 - Simplify nsContentUtils::ReportToConsole. r=smaug 2011-12-15 14:47:03 +00:00
Henri Sivonen
c8106b707a Bug 651072 - Support HTML parsing in XMLHttpRequest. r=smaug. 2011-11-16 09:38:51 +02:00
Andrew
b4dc0e784e Bug 466626 - Make nsStyleLinkElement::ParseLinkTypes return a bitmask; r=roc 2011-11-20 11:13:40 +00:00
Matt Brubeck
41f27a05ad 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
f40e833352 Merge mozilla-central to mozilla-inbound 2011-11-16 18:05:23 +00:00
Ms2ger
bfdd6b6239 Bug 698261 - Remove the aElementType argument of NS_NewElement; r=bz 2011-11-16 08:50:19 +01:00
Ms2ger
c8b7c1e16a Bug 669012 - Part b: Introduce nsIScriptElement::AttemptToExecute; r=smaug+hsivonen. 2011-11-16 08:50:18 +01:00
Henri Sivonen
449e6f57ec Bug 651072 - Support HTML parsing in XMLHttpRequest. r=smaug. 2011-11-16 09:38:51 +02:00
Ed Morley
7bc582f20f 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
8a56fd9db2 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Neil Deakin
f2951fb37f Bug 94199, part 4, serialize/deserialize xbl to startup cache, r=bz 2011-11-03 16:39:08 -04:00
Olli Pettay
e5b7e8ee46 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
a86b1a4d43 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
2a602a5685 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
Ms2ger
cd715d9c9b Bug 540433 - Remove nsIDocumentViewer; r=smaug 2011-10-15 09:33:26 +02:00
Olli Pettay
0a0ac43d90 Bug 693875, DOMParser + svg, r=jst 2011-10-13 13:50:05 +03:00
Ed Morley
72ed7305fc Bug 689884 - Deleted the now unused Makefiles from the tree; r=khuey 2011-10-06 17:15:07 +01:00
Ed Morley
918444551f Bug 689884 - Skip Makefiles that are no-op or else only |DIRS = a_single_subdir|; r=khuey 2011-10-06 17:15:07 +01:00
Boris Zbarsky
c1487d07a5 Bug 691215. Fix stupid logic error in the XML prettyprinter that can cause a null-dereference crash. r=sicking 2011-10-03 15:13:33 -04:00
Michael Wu
d8e503c38b 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
David Zbarsky
f28bcb747a Bug 682367 - Call nsINode::GetChildAt less. r=smaug 2011-09-27 09:54:58 +02:00
Olli Pettay
12f3b41155 Bug 686449 - Make ProcessingInstruction inherit from CharacterData, r=sicking 2011-09-20 08:08:00 +03:00
Olli Pettay
2f2d683768 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
Ed Morley
974a0ec8a8 Merge last green (and non Ts-regressing) changeset from m-i to m-c 2011-08-30 12:09:51 +01:00
Danilo Shiga
83e6528e3c Bug 548263 - Copied the HTML Content sink code for handling rel value to the XML Content sink; r=hsivonen 2011-08-29 17:26:23 +01:00
Mihai Sucan
726b8bb058 Bug 670896 - Add inner window ID and timestamp to nsIScriptError2; r=bzbarsky 2011-08-24 23:44:35 +03:00
Malini Das
02665c9658 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain 1/1. r=jmaher, a=test-only 2011-08-12 12:21:42 -04:00
Ms2ger
d377c55ed2 Bug 677101, part c - Reduce nsIDOMText.h inclusions; r=volkmar 2011-08-11 15:29:58 +02:00
Ms2ger
9414376b01 Bug 677101, part b - Remove nsContentUtils.h includes from headers; r=volkmar 2011-08-11 15:29:50 +02:00
Jan Varga
5020b003ce 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
Henri Sivonen
77892d9d22 Bug 563322 part 3 - Successfully prevent script execution in the XML fragment case. r=Olli.Pettay. 2011-08-01 10:48:28 +03:00
Henri Sivonen
c7d8484bd1 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
0176915bb7 Bug 596182 - Make fragment parsers global. Remove resulting dead code. r=Olli.Pettay, r=bzbarsky. 2011-08-01 10:48:24 +03:00
Henri Sivonen
147c3287ec 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
Mounir Lamouri
60e4b00054 Bug 670965 - Make nsCommentNode, nsTextNode, nsXMLCDATASection and nsXMLProcessingInstruction participate in the DOM Memory Reporter. r=jst 2011-07-19 10:05:37 -07:00
Ehsan Akhgari
17ab950e8e Backout volkmar's push for breaking Windows builds 2011-07-20 15:49:16 -04:00
Mounir Lamouri
c7716a9bb6 Bug 670965 - Make nsCommentNode, nsTextNode, nsXMLCDATASection and nsXMLProcessingInstruction participate in the DOM Memory Reporter. r=jst 2011-07-19 10:05:37 -07:00
Ehsan Akhgari
ee5215c7a6 Revert to changeset e0ce7821fce1 because the latest push broke all of the builds DONTBUILD 2011-07-19 16:25:54 -04:00
Mounir Lamouri
ddf04b3189 Bug 670965 - Make nsCommentNode, nsTextNode, nsXMLCDATASection and nsXMLProcessingInstruction participate in the DOM Memory Reporter. r=jst 2011-07-19 10:05:37 -07:00
Ms2ger
36c532ffa2 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Jonas Sicking
26f99e3cdb Bug 658714 Part 7: DeCOMtaminate nsEventListenerManager. r=smaug 2011-06-23 19:18:01 -07:00
Igor Bazarny
39a01edf21 bug 570341 Initial implementation of web timing specification
r=smaug sr=biesi
2011-06-23 12:39:48 +02:00
Jonas Sicking
7e74d1ba6f Bug 659539 Part 2: Create nsINode::NodeType/NodeName/LocalName and make them non-virtual. r=bz 2011-06-14 00:56:49 -07:00
Jonas Sicking
e82dadd3d8 Bug 659539 Part 1: Give nsINodeInfos a nodeType, nodeName and localName. r=bz 2011-06-14 00:56:49 -07:00
Jonas Sicking
cc4977777e Bug 659053 Part 1: Merge nsIDOM3Node into nsIDOMNode. Also removes Node.getFeature. r=peterv 2011-06-14 00:56:48 -07:00
Ms2ger
c665a4e4c0 Bug 664123 - Backout bugs 659053 and 659539 (changesets 9c49f69d8bab-1b11c64ffcdf) 2011-06-14 16:25:51 +02:00
Jonas Sicking
91ddf8ed15 Bug 659539 Part 2: Create nsINode::NodeType/NodeName/LocalName and make them non-virtual. r=bz 2011-06-14 00:56:49 -07:00
Jonas Sicking
5f95458332 Bug 659539 Part 1: Give nsINodeInfos a nodeType, nodeName and localName. r=bz 2011-06-14 00:56:49 -07:00
Jonas Sicking
17ec46a39a Bug 659053 Part 1: Merge nsIDOM3Node into nsIDOMNode. Also removes Node.getFeature. r=peterv 2011-06-14 00:56:48 -07:00
Matheus Kerschbaum
7406ce377f Bug 660762 - Remove --disable-mathml support. r=roc 2011-06-02 13:11:33 +02:00
Boris Zbarsky
5bb505a0b1 Bug 657353 part 1. Switch the XML prettyprinter to using a script runner instead of EndUpdate to determine when to drop prettyprinting. r=sicking 2011-05-31 17:26:13 -04:00
Ed Morley
9e71e5b9ac Bug 614515 - Remove MOZ_SVG conditions. r=roc 2011-05-30 09:34:50 +02:00
Phil Ringnalda
f9c489d0b9 Bug 657251 - Finish off the removal of content_xmldoc.xpt, r=bz
--HG--
extra : rebase_source : 3373f89c6d45a16656e73426bbac192bfec014a1
2011-05-15 18:09:54 -07:00
Julian Reschke
58bfed45f8 Bug 655238 - add "application/xslt+xml" as media type for XSLT, affects stylesheet loading both from processing instruction and HTTP Link header field, also adding it to the Accept header sent when fetching XSLTs. r=sicking 2011-05-28 14:34:36 +02:00
Ms2ger
b171b9ae5c Bug 658906 - Remove nsIDOMNSDocument; r=sicking 2011-05-28 09:43:53 +02:00
Jonas Sicking
b35fd6c424 Bug 659530: Clean up and remove unused code that we no longer need with the safer mutation events implementation. r=smaug 2011-05-25 10:58:23 -07:00
Masayuki Nakano
060287addd Bug 659533 Replace nsContentUtils::GetBoolPref() with Preferences::GetBool() r=roc 2011-05-25 15:31:59 +09:00
Jonas Sicking
e5cc03fd5b Bug 641333: Kill nsIDOM3Text and move its contents to nsIDOMText. r=ms2ger 2011-05-20 22:21:28 -07:00
Zack Weinberg
1a37e44f98 Bug 541496 part 2: use the new string-taking API in nsHTMLParanoidFragmentSink. En passant prune some unnecessary inclusions of ns(I)UnicharInputStream.h. r=bzbarsky 2011-05-18 21:22:59 -04:00
Ms2ger
941e819c63 Bug 616684 - Remove support for DOM Views; r=sicking,ehsan 2011-04-24 08:54:25 +02:00
Ehsan Akhgari
d2a61eb331 Backout changeset 13f6847dd840 (bug 616684) because it changes code semantics in a bad way, which results in problems like the crash in bug 652580, possibly among others 2011-04-25 17:05:17 -04:00
Ms2ger
295bf7256b Bug 616684 - Remove support for DOM Views; r=sicking 2011-04-24 08:54:25 +02:00
Ms2ger
330bb49437 Bug 604595, part b - Remove the nsIDOMNamedNodeMap* arguments to NS_NewDOMDocumentType; r=sicking 2011-04-14 14:04:21 +02:00
Frédéric Wang
0249fa2fca Update XML Entity Definitions for Characters (bug 603716); r=hsivonen,karlt 2011-04-08 11:56:04 -07:00
Boris Zbarsky
2d8a1be03f Bug 581177 part 4. Make 'has id' into a boolean flag. r=sicking 2011-04-07 19:29:50 -07:00
timeless@mozdev.org
6954dc5d05 Bug 586648 NS_NewXHTMLParanoidFragmentSink should call nsXHTMLParanoidFragmentSink::Init before allocating it
r=smaug
2011-03-28 17:18:30 -04:00
Olli Pettay
ad819c7832 Bug 639130, document.load should check script handling object, r=jst 2011-03-24 13:37:32 +02:00
Boris Zbarsky
250488127b Bug 457102. Remove vestiges of dead xpointer/fixptr stuff. r=sicking 2011-03-23 10:45:21 -04:00
Jonas Sicking
0b970c20dc Bug 637214 the continuing saga. Add removable script blockers in a few more places, create an auto helper for that. r=bzbarsky, a=blocker 2011-03-02 09:36:19 -05:00
Mihai Sucan
176912a7c2 Bug 606498 - Make sure the new nsIScriptError2 is used in all possible places- part 2; r=bzbarsky,dbaron,mrbkap sr=jst a=blocking2.0 2010-12-20 12:21:58 -04:00
Mihai Sucan
b1290b879d Bug 606498 - Make sure the new nsIScriptError2 is used in all possible places- part 1; r=bzbarsky,dbaron,mrbkap sr=jst a=blocking2.0 2010-12-20 12:21:58 -04:00
Robert Sayre
be7b7e126a Properly check attribute URLs -- Bug 562547, r=jst, a=blocking2.0
Do not inherit principal from embedding doc (often chrome) when checking URIs,
but use NullPrincipal for untrusted content.
2010-12-15 18:14:11 +01:00
Henri Sivonen
088379e8dd Bug 592366 - Do not execute scripts whose owner doc is not the doc of the inserter parser or not the owner doc at the time of starting the script load. r=jonas, a=blocking2.0-betaN. 2010-12-08 14:37:19 +02:00
Ms2ger
024d857be8 Bug 594339 - Create a FromParser enum. r=hsivonen, sr=bzbarsky, a=jonas.
--HG--
extra : rebase_source : 70d6b15b0b149a29d0cdb298209706bb5391f6b4
2010-10-25 15:17:38 +03:00
Mounir Lamouri
02ab19880a Bug 604056 - nsIDocumentObserver methods should be declared with a macro. r+a=bz 2010-10-20 09:41:05 +02:00
Boris Zbarsky
c27f01b21f Bug 605157. Style linking elements should work in XML when set via innerHTML. r=sicking, a=blocker 2010-10-18 23:45:34 -04:00
Phil Ringnalda
f729fa21b4 Bug 385845 - Remove bogus assertion that mDocElement is in mDocument during XML parsing, since it was never a requirement and we've long since dropped doing what caused us to care, r=bz, a=orange 2010-10-01 19:36:58 -07:00
Jonas Sicking
dcce0d0b40 Bug 592829: Make parsing code able to deal with element creation failing. r=jst/peterv a=blocker 2010-10-04 18:25:44 -07:00
Jonas Sicking
5bb7c320a3 Back out bug 592829 due to crash. a=backout 2010-09-22 16:38:39 -07:00
Jonas Sicking
446e859c8d Bug 592829: Don't crash if we fail to create an element during XML parsing. r=jst a=beta7blocker 2010-09-22 14:51:46 -07:00
Olli Pettay
2340a6d11e Bug 594767 - importNode fails when using a document created with createHTMLDocument, r=sicking, a=blocking
--HG--
extra : rebase_source : 9436d96adf3450db23ddbde74407e440fec51846
2010-09-21 12:17:18 +03:00
Jonas Sicking
aac728d04b Bug 391177: XSLT should reuse the existing inner window in order to help debuggers and the like. r=jst a=blocker CLOSED TREE 2010-09-15 15:54:00 -07:00
Jonas Sicking
7dffdc6069 Bug 568188: Reduce refcounting by making the id-table hold weak referenes. r=smaug a=jst 2010-09-01 15:48:24 -07:00
Jonas Sicking
d1fd8e674e Bug 579764: Send out notification when the document-element for a document has been created and inserted into the DOM. r=jst a=blocker 2010-08-27 22:54:57 -07:00
Jonas Sicking
a29872edef Bug 590812: Fix XML pretty printing. r=mrbkap a=blocker 2010-08-27 22:54:28 -07:00
Ms2ger
27271a8a8f Bug 562698 - Part a: Pass Elements to nsIMutationObserver::AttributeChanged and nsCSSFrameConstructor::AttributeChanged; r=bzbarsky, a=dbaron 2010-08-24 09:05:56 +02:00
Olli Pettay
abf43f852b Bug 566466 - speed up createElement(), r=jst, peterv 2010-07-23 12:49:57 +03:00
Craig Topper
b9673b8709 Bug 577438 Part 1: Add previous sibling to nsIMutationObserver::ContentRemoved. r=sicking 2010-07-21 15:05:17 -07:00
Zack Weinberg
76dbdde0f4 Bug 569719 part 2: Move headers for the former nsCSSLoader and nsCSSDeclaration into mozilla/css/. r=dbaron
--HG--
rename : layout/style/nsCSSDeclaration.cpp => layout/style/Declaration.cpp
rename : layout/style/nsCSSDeclaration.h => layout/style/Declaration.h
rename : layout/style/nsCSSLoader.cpp => layout/style/Loader.cpp
rename : layout/style/nsCSSLoader.h => layout/style/Loader.h
2010-06-28 15:49:35 -07:00
Henri Sivonen
5bf17b6fc0 Bug 552938 - Implement the SVG load event in text/html, make the SVG load event in XML async and only supported on <svg>. (Also disable/tweak 2 broken tests) r=dholbert, sr=roc 2010-07-18 15:07:54 -07:00
Saint Wesonga
e7a357dcaf Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-05 11:42:18 +02:00
Dão Gottwald
9b15b69a1b Backed out changeset 59ace8d80ce8 2010-07-04 22:01:13 +02:00
Saint Wesonga
8dd5da1024 Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-04 21:39:17 +02:00
Ms2ger@gmail.com
a4005e2fd1 Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug 2010-06-25 15:59:57 +02:00
Ehsan Akhgari
1d27c39d4a Bug 520189 - Fix copy and test for the HTML editor; f=bzbarsky,dbaron r=sayrer,peterv,bzbarsky sr=roc 2010-04-09 17:06:09 -04:00
Daniel Holbert
79fa9a7cdd Backed out changeset a8ac411e1653 (bug 552938) for causing some randomorange. 2010-06-09 17:16:25 -07:00
Henri Sivonen
8a99f75610 Bug 552938 - Implement the SVG load event in text/html, make the SVG load event in XML async and only supported on <svg>. r=dholbert, sr=roc.
--HG--
extra : rebase_source : 6b4eb0b424b328cbb7853d767c2552ed01abc519
2010-05-25 14:57:58 +03:00
Henri Sivonen
95a61f78e3 Bug 569538 - Make aFromParser distinguish network, document.write and fragments in the HTML case. r=Olli.Pettay.
--HG--
extra : rebase_source : 2f4804245ff7b235736b882e0f9e84403e4e0ae6
2010-06-09 09:44:25 +03:00
Jonas Sicking
0a93bbb190 Bug 564863: Speed up id/name handling by letting elements register/unregister themselves. r=smaug 2010-06-03 18:09:20 -07:00
Ehsan Akhgari
a7afef08e6 Bug 567014 - test_bug293347.html intermittent orange; r=jst 2010-05-19 19:25:14 -04:00
Craig Topper
cb8187eff9 Remove nsICSSStyleSheet and replace all uses with nsCSSStyleSheet. (Bug 239008) r=dbaron 2010-05-11 13:41:47 -07:00
Boris Zbarsky
e98cd67374 Bug 564574. Pass the first appended node to ContentAppended. r=jst, sr=sicking 2010-05-10 21:12:34 -04:00
Peter Van der Beken
199b861a9e Part 4 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsGenericTextNode base class for nsIDOM3Text implementations. r=jst.
--HG--
extra : rebase_source : 007e331ff47f994a27e3105e6e787d91a88137d6
2010-04-19 17:40:16 +02:00
Peter Van der Beken
abd7f913e0 Part 1 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsINode::GetBaseURI. r=sicking.
--HG--
extra : rebase_source : 5a07f12d9d13d92b796fd5f2cb182b069c3f87bf
2010-04-19 17:40:15 +02:00
Jonas Sicking
6f9aebb70a Bug 429175: Make sure to only set aNotify to true when we should. r=peterv 2010-05-03 06:23:36 -07:00
timeless@mozdev.org
4350edcbdf Bug 494705 - Deprecate DOM3 Load (XMLDocument.load), r=sicking 2010-04-12 18:59:00 -07:00
Boris Zbarsky
30883f9737 Bug 562688 part 7. Eliminate eELEMENT users in the rest of content/. r=jst 2010-04-30 09:12:06 -04:00
Boris Zbarsky
04027a9479 Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking 2010-04-30 09:12:05 -04:00
Ben Newman
941ed3332c Replace direct instantiations of nsRunnableMethod with calls to the templatized NS_NewRunnableMethod function (part 3/3 of bug 558498). r=dwitte sr=dbaron 2010-04-20 16:21:35 -07:00
Jonas Sicking
930783a5d2 Bug 515401: Make implementation of <base> HTML5 compliant, and clean it up. r=benjamn a=dholbert 2010-04-23 09:10:07 -07:00
Craig Topper
9eccdbd4d7 Bug 557416: Remove unnecessary includes and forward declarations of nsIPresShell. r=roc 2010-04-10 16:09:38 -04:00
Peter Van der Beken
8e3acb1006 Fix for bug 533637 (Speed up unwrapping a node in quickstubs that use nsINode (dromaeo)). Pair every DOMCI to a specific C++ class. r=jst.
--HG--
extra : rebase_source : 9a7823b365cfca04bb08c5be94eab29d218f1e61
2010-01-12 14:08:43 +01:00
Peter Van der Beken
e5d87ec5bb Fix for bug 552716 (Remove NS_INTERFACE_MAP_ENTRY_CONTENT_CLASSINFO). r=jst.
--HG--
extra : rebase_source : 8e03b54ff6117dcac27188b296c59dcafbb6db78
2010-03-17 16:09:05 +01:00
Zack Weinberg
2c3e543d1d Bug 544112 part 2: DeCOMtaminate and devirtualize nsCSSLoader. r=bzbarsky sr=dbaron
--HG--
rename : layout/style/nsICSSLoader.h => layout/style/nsCSSLoader.h
2010-03-02 13:00:53 -08:00
Jonas Sicking
2591c1ea57 Fix bug 490790. r=dveditz 2010-03-02 11:40:14 -08:00
Frédéric Wang
8b46e8bd69 Bug 530275. Move more MIME types into nsMimeTypes.h so we don't have to hardcode the strings in various places. r=bzbarsky 2009-11-21 00:12:42 +01:00
Olli Pettay
69f13bd2e3 Bug 540568 - Remove DOMBuilder, r=bz
--HG--
extra : rebase_source : 77f05d87a414e3c55046016423486bcf127ea6cf
2010-01-21 15:51:48 +02:00
Robert Longson
cbd82b1050 Bug 531259 - The SVG script element should respect the aFromParser flag on NS_NewElement. r=hsivonen, r+sr=jst 2010-01-15 11:44:12 +00:00
Daniel Holbert
fee9f97bcd Bug 537157: Explicitly prevent SMIL animations inside of XBL bindings from running. Also, make nsSMILCSSProperty directly create a computed style object, instead of using nsPIDOMWindow helper method. r=smaug sr=roc 2010-01-06 09:20:50 -08:00
L. David Baron
46b22b7ca0 DeCOMify nsHTMLCSSStyleSheet. (Bug 239008) r=bzbarsky 2009-12-31 10:56:33 -05:00
Boris Zbarsky
1ca5801f4b Bug 500882 part 8. Remove the SetMayHaveFrame/MayHaveFrame vestiges. r=smaug 2009-12-24 16:20:06 -05:00
Daniel Holbert
72fc5720ef Bug 534162: Make sure to initialize local variable 'rv' in nsXHTMLParanoidFragmentSink::AddAttributes. r=jst 2009-12-12 22:27:30 -08:00
Boris Zbarsky
cc6eb188e6 Bug 523294 part 3. Get rid of the now-unused aStateMask argument to AttributeChanged. r=dbaron 2009-12-10 14:36:04 -08:00
Jonas Sicking
7892ff1c09 Bug 293347: Disable document.write for XSLT result docs. r/sr=jst 2009-11-05 20:27:30 -08:00
Jonas Sicking
1d81e23e8d Bug 516906: Remove XLink support from nsXMLElement. r/sr=jst 2009-10-24 21:33:47 -07:00
Taras Glek
b0e277f707 Bug 522229 - XML Pretty-Print no longer colored r=bz
--HG--
extra : rebase_source : a4bac99887fcdae4b82e02e05e765cb9388858aa
2009-10-14 14:34:50 -07:00
Jonas Sicking
0d2f92b52e Bug 518104 - Implement HTML5 changes to <script defer>. r=hsivonen, sr=mrbkap. (Tests fixed and code merged to tip by hsivonen.) 2009-10-02 14:13:59 +03:00
Taras Glek
8943704095 Bug 457949 - no need for Stopwatch r=bsmedberg
--HG--
extra : rebase_source : 5cd3baecf54295012b28d42fc7bf4c9b34e12714
2009-08-28 11:03:51 -07:00
Benjamin Smedberg
2e9438fd2f Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Serge Gautherie
28a6facccf Bug 248011 - Cleanup <docbook.css>; (Av1) Remove unused PrintHistory rule; r=peterv 2009-08-24 04:03:01 +02:00
David Zbarsky
a3748ef858 Bug 484200. src attribute on <style> makes styles not apply. r=bzbarsky 2009-07-28 12:07:31 -04:00
Henri Sivonen
af98547431 Bug 487949 - Land HTML5 parser on trunk preffed off r=mrbkap, sr=jonas 2009-06-29 00:44:22 +02:00
Johnny Stenback
eb2ed73403 Backed out changeset 168dd0eb7283 2009-06-28 11:47:11 -07:00
Henri Sivonen
28fcb8397f Merge trunk into HTML5 repo 2009-06-26 18:22:48 +03:00