Commit Graph

666 Commits

Author SHA1 Message Date
Ed Morley
f40e833352 Merge mozilla-central to mozilla-inbound 2011-11-16 18:05:23 +00:00
Ms2ger
4441d352ad Bug 697494 - Outparamdel nsIParser::GetStreamListener; r=hsivonen 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
Rob Campbell
7676da77c5 merge fx-team to mozilla-central 2011-11-15 13:57:15 -08:00
Henri Sivonen
449e6f57ec Bug 651072 - Support HTML parsing in XMLHttpRequest. r=smaug. 2011-11-16 09:38:51 +02:00
Henri Sivonen
6c2a6cdc90 Bug 693399 - r=bzbarsky. 2011-11-14 10:50:15 +02:00
Jared Wein
6f10f021c6 Bug 700856 - Move styles from {Media,Image,Video}Document to external stylesheets. r=roc, r=dao 2011-11-10 15:08:47 -08:00
Jared Wein
7bcfcf1d17 Bug 700854 - {Media,Image,Video}Document should reference an external stylesheet for use in styling their content. r=roc 2011-11-10 15:08:07 -08:00
Jared Wein
eddcc53a6c Backout changeset 40b0d61c132b due to bad commit message 2011-11-10 15:07:10 -08:00
Jared Wein
7d55f14a91 Backed out changeset b77ec6e8eb8c due to bad commit message 2011-11-10 15:04:12 -08:00
Jared Wein
5a3da30ed1 Bug 700856 - Move styles from {Media,Image,Video}Document to external stylesheets 2011-11-10 15:02:26 -08:00
Jared Wein
85b2808752 Bug 700854 - {Media,Image,Video}Document should reference an external stylesheet for use in styling their content 2011-11-10 15:02:21 -08: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
Henri Sivonen
8b1f8a82bb Bug 479959 - Reimplement text/plain loading using the HTML5 parser. r=Olli.Pettay. 2011-11-01 17:27:36 +02:00
Henri Sivonen
17cf658b47 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
3b72f9a1ea Bug 482921 part 1 - Implement HTML syntax highlighting using the new parser. r=Olli.Pettay. 2010-07-30 13:15:38 +03:00
Ms2ger
a505598085 Bug 697210 - Part a: Make nsIDocument::GetDefaultNamespaceID non-virtual and have it return mDefaultElementType; r=bz 2011-10-29 22:20:37 +02:00
Ms2ger
731edba0b8 Bug 684821 - Remove nsIDOMNSHTMLElement; r=peterv 2011-10-29 22:03:55 +02:00
Ehsan Akhgari
fc1380fcac Bug 694880 - The editable state is not updated correctly when designMode is turned off; r=bz,peterv 2011-10-20 12:27:48 -04: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
Jeff Walden
b7753477cf 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
Ms2ger
cd715d9c9b Bug 540433 - Remove nsIDocumentViewer; r=smaug 2011-10-15 09:33:26 +02:00
Jared Wein
37e0352ea6 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
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
Gabor Krizsanits
e9acfc4dca Bug 678465 - 'document-element-inserted' doesn't fire on ImageDocument; r=sicking 2011-09-22 17:35:25 +01:00
Rob Campbell
7fe37c14f5 merge m-c to fx-team 2011-09-20 11:42:20 -03:00
Jared Wein
942a1a8dc3 Bug 472942 - Centering video and applying some basic styling to make viewing videos directly more pretty. r=roc ui-r=shorlander 2011-09-19 22:30:30 -07:00
Masatoshi Kimura
b568eebe2a Bug 685774 - Implement document.scripts. r=bz 2011-09-09 19:18:03 +02: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
Ms2ger
7b7048fda0 Bug 649603 - Make nsIScriptContext::GetNativeContext return JSContext; r=jst 2011-09-18 11:22:17 +02:00
aceman
266607effb Bug 136556 - Image title should use "×", not "x". r=bz, r=dolske 2011-09-05 17:26:23 -07:00
Oleg Romashin
d75d28ff7c Bug 681443 - Fennec does not resize document properly in portrait mode; f=mbrubeck r=jst 2011-09-01 22:16:13 +01:00
Josh Aas
32d0be0cd8 Backed out changeset 33031c875984. Bug 90268. r=josh 2011-08-30 02:09:56 -04:00
Josh Aas
4ab4397277 Bug 90268: Make content own plugin instances instead of frames. Allows display:none instances and re-parenting instances without stopping them. r=roc 2011-08-29 03:09:22 -04:00
Fabien Cazenave
c85fd56970 Bug 456798 — Implement document.queryCommandSupported
Rationale: a command is supported if it can be converted to an internal Midas
command. `nsCommandManager::IsCommandSupported' might not be needed any more.

Corollary: document.queryCommandEnabled should return false on unsupported
commands without raising any exception.

Browserscope tests: +43 points = 258 failed tests...
 * Q section: 0/48 => 42/48
   42 tests used to fail (execution exception), now pass
 * QE section: 36/46 => 37/46
   garbage-1_TEXT-1 used to fail, now passes
In these two sections, a lot of tests that used to raise an exception now return
`false' (that's still a FAIL, but that's not the same kind of FAIL).

Other Browserscope tests are not affected by this patch.
The status of this test suite (currentStatus.js) has been updated accordingly.
2011-08-17 08:04:14 -04:00
Malini Das
960a7c7495 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
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
Michael Ventnor
dd85675225 Bug 677495 - Image documents shouldn't have things other than the <img> in the <body> r=roc 2011-08-11 14:23:00 +10:00
Paul ADENOT
1493cdedf4 Bug 462892 - Add a mIsSynthetic member to nsIDocument r=roc 2011-08-09 08:35:00 -04: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
Sindre Dammann
deab7c03fb Bug 578534. Make Navigator.cookieEnabled take per-site exceptions into account. r=bzbarsky 2011-08-03 14:32:32 -04: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
Marco Bonardo
225034df61 Merge last green changeset from mozilla-inbound to mozilla-central 2011-07-21 14:32:10 +02:00
arno renevier
5388ac92cf Bug 669299 - Remove unneeded nsPrintfCString.h includes. r=bsmedberg 2011-07-21 04:37:31 +02:00
Ehsan Akhgari
aa9c0820e7 Bug 672709 - Update the intrinsic state for elements in designMode documents correctly; r=bzbarsky
This patch fixes two things:
 * The intrinsic state on elements inserted in a contenteditable section when the
   document is in designMode (the nsGenericElement::UpdateEditableState change).
 * The intrinsic state on elements existing in the document when the document first
   enters designMode (the nsHTMLDocument::EditingStateChanged change).

The reftest included tests both cases.
2011-07-20 15:58:25 -04:00
Ehsan Akhgari
a6b5feed16 Bug 671672 - Reduce a bunch of console spam in debug builds caused by the HTML editor; r=roc 2011-07-14 17:06:37 -04:00
Ms2ger
36c532ffa2 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Michael Ventnor
4875f406c3 Followup to bug 528046 r=roc 2011-07-08 13:38:58 +10:00
Vishnu S
146aeeab84 Bug 636512 - Make document.getSelection() return the same as window.getSelection(). r=bzbarsky 2011-07-07 14:17:13 -04:00
Michael Ventnor
6550617ff6 Bug 528046 - Fix printing of tall images in image documents r=jst 2011-07-07 14:04:04 +10: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
Mounir Lamouri
05a1e8b365 Bug 655240 - Trying to fix intermittent failure in content/html/document/test/test_bug448564.html f=ehsan r=sicking 2011-06-23 12:03:18 +02: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
Ms2ger
c665a4e4c0 Bug 664123 - Backout bugs 659053 and 659539 (changesets 9c49f69d8bab-1b11c64ffcdf) 2011-06-14 16:25:51 +02: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
Bjarne
c8814a65f7 Bug 622357 - HttpChannel::SetCacheTokenCachedCharset() fails if cache-entry is unavailable. r=bz 2011-06-05 18:20:53 +02:00
Ms2ger
910b553f57 Bug 660669 - Remove nsHTMLDocument::OpenCommon; r=bz 2011-06-04 08:57:23 +02:00
Ms2ger
e97c66dfd4 Bug 660604 - Remove nsIHTMLDocument::GetBodyContentExternal; r=jst 2011-06-02 14:56:46 +02:00
Boris Zbarsky
76f757828a Bug 598833 part 12. Add dom::Element::UpdateState and use it in various places where elements update their own state. r=smaug,sdwilsh,mounir 2011-05-31 21:46:57 -04:00
Boris Zbarsky
18cce8e61c Bug 657353 part 2. Switch content state updates away from calling Begin/EndUpdate. r=sicking 2011-05-31 17:38:25 -04:00
Robert O'Callahan
0375caa915 Bug 646757. Fix faulty test for bug 463104. 2011-05-31 12:26:36 +12:00
Ms2ger
1664471214 Bug 659738 - Move document.open implementation from classinfo to nsHTMLDocument; r=bz 2011-05-30 13:35:55 +02:00
Boris Zbarsky
7e1dd99351 Bug 658213. Just pass an JSContext to ReparentContentWrappersInScope. r=peterv 2011-05-19 16:05:46 -04:00
Ms2ger
d00c9e19d6 Bug 659743 - Part a: Support image maps according to spec in non-HTMLDocuments; r=smaug
--HG--
rename : content/html/content/test/test_bug109445.xhtml => content/html/content/test/test_bug659743.xml
2011-05-30 12:59:59 +02:00
Masayuki Nakano
85c451e309 Bug 660121 Remove all pref related methods from nsContentUtils r=roc 2011-05-29 08:42:57 +09:00
Ms2ger
35e44f908f Bug 659113 - Remove nsIDOMNSHTMLDocument; r=bz 2011-05-28 09:43:57 +02:00
Ms2ger
b171b9ae5c Bug 658906 - Remove nsIDOMNSDocument; r=sicking 2011-05-28 09:43:53 +02:00
Masayuki Nakano
2b6aea130f Bug 660401 Re-land the previous backed out patch 2011-05-28 16:03:00 +09:00
Masayuki Nakano
4dede19235 Bug 660401 temporary backout the patches for bug 659820 and bug 659821 for investigating talos regression 2011-05-28 13:50:19 +09:00
Masayuki Nakano
387ea6f111 Bug 659821 Replace nsContentUtils::GetLocalizedStringPref() with Preferences::GetLocalizedC?String() r=roc 2011-05-27 13:53:03 +09:00
Ms2ger
e8e412d080 Bug 577138 - Move nsMediaDocument and subclasses into the mozilla::dom namespace; r=jst
--HG--
rename : content/html/document/src/nsImageDocument.cpp => content/html/document/src/ImageDocument.cpp
rename : content/html/document/src/nsMediaDocument.cpp => content/html/document/src/MediaDocument.cpp
rename : content/html/document/src/nsMediaDocument.h => content/html/document/src/MediaDocument.h
rename : content/html/document/src/nsPluginDocument.cpp => content/html/document/src/PluginDocument.cpp
rename : content/html/document/src/nsVideoDocument.cpp => content/html/document/src/VideoDocument.cpp
2011-05-26 10:06:31 +02:00
Masayuki Nakano
49814a538d Bug 659536 part.2 Replace nsContentUtils::GetIntPref() with Preferences::GetInt() or Preferences::GetUint() r=roc 2011-05-25 15:32:00 +09:00
Masayuki Nakano
060287addd Bug 659533 Replace nsContentUtils::GetBoolPref() with Preferences::GetBool() r=roc 2011-05-25 15:31:59 +09:00
Chris Leary
b2d9eba98e Merge mozilla-central and tracemonkey. 2011-05-20 14:29:36 -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
Zack Weinberg
4528c43578 Bug 541496 part 1: add an overload of nsCSSParser::Parse() that takes a string rather than a stream; rename both methods ParseSheet(); change calling convention of the older overload for the templated implementation's sake. r=bzbarsky 2011-05-18 21:22:59 -04:00
Mounir Lamouri
3614c727b5 Merging cedar with mozilla-central. 2011-05-18 11:42:37 +02:00
Ehren Metcalfe
8947b2bf0c Bug 551390 - Remove dead code in content r=sicking,roc 2011-05-17 15:54:09 +02:00
Chris Leary
a7253cc393 Bug 654301: Better interned string API, take 2. (r=Waldo) 2011-05-17 12:15:12 -07:00
Josh Aas
f6eb4c8df6 Bug 637253: Remove nsIPluginInstance interface. r=bsmedberg 2011-05-17 21:48:34 -04:00
Timothy Nikkel
8e6d2ba938 Backed out changeset ed867467d35b (bug 645075) because it doesn't build. 2011-05-12 11:07:42 -05:00
Timothy Nikkel
41f2c9b7d4 Bug 645075. Move scrolling to ref handling back from the document to the content sink so that it works with XSLT transformed documents. r=sicking 2011-05-12 10:36:21 -05:00
Henri Sivonen
4fe663e3bc Bug 655701 - Remove test dependencies on the html5.parser.enable pref. r=ted.mielczarek. 2011-05-12 10:56:37 +03:00
Ms2ger
b0ed41d802 Bug 655512 - Forward implementation of nsIDOMDocument from nsHTMLDocument to nsDocument; r=smaug 2011-05-08 20:15:49 +02:00
Craig Topper
cc15a2a6e3 Bug 648925 - Part 1: Change uses of nsICSSRule to css::Rule. r=bzbarsky 2011-04-07 18:23:46 -07:00
Ms2ger
941e819c63 Bug 616684 - Remove support for DOM Views; r=sicking,ehsan 2011-04-24 08:54:25 +02:00
Chris Leary
089bf2c468 Back out bug 654301 to run again on try. 2011-05-16 19:03:20 -07:00
Chris Leary
338cf025af Bug 654301: Better interned string API. (r=Waldo) 2011-05-16 18:18:59 -07:00
Peter Van der Beken
d007f2048d Fix for bug 649057 (Make all nsINodeLists inherit from nsWrapperCache). r=bz.
--HG--
extra : rebase_source : 38dc8fd49822774a1ee356ab8496e2c0b908bab9
2009-06-16 08:32:10 +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
Jonas Sicking
5cf82091f0 Bug 588990: Remove lazy hashing of names to avoid walking full DOM. r=bz 2011-04-23 00:29:12 -07:00
Mounir Lamouri
db44db0ebe Merge cedar with mozilla-central. 2011-04-22 15:25:11 +02:00