Граф коммитов

7937 Коммитов

Автор SHA1 Сообщение Дата
Andrew Halberstadt 221179f50b Bug 811779 - Enable larger set of reftests on B2G emulators, r=jgriffin 2013-01-03 15:35:01 -05:00
Cameron McCormack d7d8d8dff5 Bug 508725 - Followup to fix for test_style_attributes_reflection.html failures. 2013-01-09 12:01:17 +11:00
Daniel Holbert a82b0e03e6 Bug 827961: Add explicit parens around condition in nsHTMLMediaElement::UpdateAudioChannelPlayingState(), to fix build warning (treated as error in warnings-as-errors builds). r=roc 2013-01-08 15:57:28 -08:00
Cameron McCormack daa5bf0ca1 Bug 508725 - Part 11: Tests for <style scoped>. rs=dbaron 2013-01-09 10:25:49 +11:00
Cameron McCormack ad6a513fbc Bug 508725 - Part 10: Implement scoped style sheets for SVG. r=bz 2013-01-09 10:25:48 +11:00
Cameron McCormack 453303213d Bug 508725 - Part 9: Implement HTMLStyleElement.scoped. r=dbaron 2013-01-09 10:25:48 +11:00
Cameron McCormack de6c144559 Bug 508725 - Part 8: Update style sheet when scoped="" attribute added/removed from <style>. r=dbaron 2013-01-09 10:25:48 +11:00
Cameron McCormack 2f72089890 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
David Zbarsky 104d751a23 Remove unneeded forward declaration of nsIDOMDOMStringMap, no bug, r=me 2013-01-08 16:18:31 -05:00
Cameron McCormack c067646b00 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 6a9c77e74e Bug 508725 - Part 11: Tests for <style scoped>. rs=dbaron 2013-01-08 19:09:24 +11:00
Cameron McCormack a3ff791590 Bug 508725 - Part 10: Implement scoped style sheets for SVG. r=bz 2013-01-08 19:09:24 +11:00
Cameron McCormack 450f4357cd Bug 508725 - Part 9: Implement HTMLStyleElement.scoped. r=dbaron 2013-01-08 19:09:23 +11:00
Cameron McCormack 8b0a66eb4b Bug 508725 - Part 8: Update style sheet when scoped="" attribute added/removed from <style>. r=dbaron 2013-01-08 19:09:23 +11:00
Cameron McCormack cf1ba04fcb 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
David Zbarsky 314127d662 Bug 827152 - Remove IsEventName r=bz 2013-01-07 22:22:41 -05:00
Mounir Lamouri 44036ffa6b Bug 826305 - Makes .valueAsDate assignment throw if a not a Date nor null is passed. Passing null reset the value. r=bz 2013-01-07 15:20:18 +00:00
Mounir Lamouri 80c99ff08f Bug 825247 - Fix unsafe use of JS::Value::toNumber in nsHTMLInputElement. r=bz 2013-01-07 15:20:53 +00:00
Marco Chen c08335613c Bug 819852 - Modify conditions from media element of judging playing state for audio channel agent with consideration of loop property. r=roc, a=blocking-basecamp 2013-01-07 16:40:50 +08:00
Boris Zbarsky b2589a0608 Bug 827214. Fix HTML lists to really be webidl. r=peterv 2013-01-07 08:34:16 -05:00
Blake Kaplan 45ea436970 Bug 826410 - Add a missing interface to MediaElement's QI impl. r=jst 2013-01-07 09:40:02 +01:00
Ehsan Akhgari 6378693034 Bug 827126 - Add a test to ensure that we reflect img.align correctly; r=peterv 2013-01-06 12:16:23 -05:00
Simon Montagu 1fd8ec25d6 Add spaces between consecutive angle brackets. Bug 827086, r=Ms2ger 2013-01-06 18:08:08 +02:00
Peter Van der Beken 0d58c29acf Fix bustage from bug 824907 on a CLOSED TREE.
--HG--
extra : rebase_source : 0b74574fdaf08be7428aa46de1e0f8c213131e11
2013-01-05 20:45:06 +01:00
Robert O'Callahan 970988bc3c 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
Peter Van der Beken 15549f5c0e Fix for bug 824907 (Convert HTML table elements to WebIDL) - convert HTMLTableColElement to WebIDL. r=bz.
--HG--
rename : content/html/content/src/nsHTMLTableCellElement.cpp => content/html/content/src/HTMLTableCellElement.cpp
rename : content/html/content/src/nsHTMLTableColElement.cpp => content/html/content/src/HTMLTableColElement.cpp
rename : content/html/content/src/nsHTMLTableColElement.cpp => content/html/content/src/HTMLTableColElement.h
rename : content/html/content/src/nsHTMLTableElement.h => content/html/content/src/HTMLTableElement.h
rename : content/html/content/src/nsHTMLTableRowElement.cpp => content/html/content/src/HTMLTableRowElement.cpp
rename : content/html/content/src/nsHTMLTableRowElement.cpp => content/html/content/src/HTMLTableRowElement.h
extra : rebase_source : 4654bf54c41231eed6f73a35118d58be0c9af9a0
2012-12-29 15:07:57 +01:00
Peter Van der Beken b355be85c1 Fix for bug 824907 (Convert HTML table elements to WebIDL) - convert HTMLTableRowElement to WebIDL. r=bz.
--HG--
extra : rebase_source : d2febac66f508caf3c2b89816e811ed8e2c88856
2012-12-29 15:07:57 +01:00
Peter Van der Beken 05464fedb3 Fix for bug 824907 (Convert HTML table elements to WebIDL) - convert HTMLTableCellElement to WebIDL. r=bz.
--HG--
rename : content/html/content/src/nsHTMLTableCellElement.cpp => content/html/content/src/HTMLTableCellElement.cpp
rename : content/html/content/src/nsHTMLTableCellElement.cpp => content/html/content/src/HTMLTableCellElement.h
rename : content/html/content/src/nsHTMLTableElement.cpp => content/html/content/src/HTMLTableElement.cpp
rename : content/html/content/src/nsHTMLTableElement.h => content/html/content/src/HTMLTableElement.h
rename : content/html/content/src/nsHTMLTableRowElement.cpp => content/html/content/src/HTMLTableRowElement.h
extra : rebase_source : fcf088e7ac91a216ae7ad1cb16d509a17cd7a2a7
2012-12-29 15:07:56 +01:00
Peter Van der Beken 77ad96a303 Fix for bug 824907 (Convert HTML table elements to WebIDL) - convert HTMLTableSectionElement to WebIDL. r=bz.
--HG--
rename : content/html/content/src/nsHTMLTableRowElement.cpp => content/html/content/src/HTMLTableRowElement.cpp
rename : content/html/content/src/nsHTMLTableSectionElement.cpp => content/html/content/src/HTMLTableSectionElement.cpp
rename : content/html/content/src/nsHTMLTableSectionElement.cpp => content/html/content/src/HTMLTableSectionElement.h
rename : dom/interfaces/html/nsIDOMHTMLTableSectionElem.idl => dom/interfaces/html/nsIDOMHTMLTableSectionElement.idl
extra : rebase_source : b9c1d7dea38653452b44b2033cf2c0140f7b39b1
2012-12-29 15:07:48 +01:00
Peter Van der Beken 2b53d84e31 Fix for bug 824907 (Convert HTML table elements to WebIDL) - convert HTMLTableCaptionElement to WebIDL. r=bz.
--HG--
rename : content/html/content/src/nsHTMLTableCaptionElement.cpp => content/html/content/src/HTMLTableCaptionElement.cpp
rename : content/html/content/src/nsHTMLTableCaptionElement.cpp => content/html/content/src/HTMLTableCaptionElement.h
extra : rebase_source : ccf765d029b74fc22b45d9162e9b4a9ac6977344
2012-12-29 15:07:46 +01:00
Peter Van der Beken b1c2b889da Fix for bug 824907 (Convert HTML table elements to WebIDL) - convert HTMLTableElement to WebIDL. r=bz.
--HG--
rename : content/html/content/src/nsHTMLTableElement.cpp => content/html/content/src/HTMLTableElement.cpp
rename : content/html/content/src/nsHTMLTableElement.h => content/html/content/src/HTMLTableElement.h
extra : rebase_source : 36ef4c094fdf54103ad3c41e299eb86d20956915
2012-12-29 09:08:15 +01:00
Peter Van der Beken 90d63d11c3 Fix for bug 824907 (Convert HTML table elements to WebIDL) - rename classes. r=bz.
--HG--
rename : content/html/content/src/nsHTMLTableCaptionElement.cpp => content/html/content/src/HTMLTableCaptionElement.cpp
rename : content/html/content/src/nsHTMLTableCaptionElement.cpp => content/html/content/src/HTMLTableCaptionElement.h
rename : content/html/content/src/nsHTMLTableCellElement.cpp => content/html/content/src/HTMLTableCellElement.cpp
rename : content/html/content/src/nsHTMLTableCellElement.cpp => content/html/content/src/HTMLTableCellElement.h
rename : content/html/content/src/nsHTMLTableColElement.cpp => content/html/content/src/HTMLTableColElement.cpp
rename : content/html/content/src/nsHTMLTableColElement.cpp => content/html/content/src/HTMLTableColElement.h
rename : content/html/content/src/nsHTMLTableElement.cpp => content/html/content/src/HTMLTableElement.cpp
rename : content/html/content/src/nsHTMLTableElement.h => content/html/content/src/HTMLTableElement.h
rename : content/html/content/src/nsHTMLTableRowElement.cpp => content/html/content/src/HTMLTableRowElement.cpp
rename : content/html/content/src/nsHTMLTableRowElement.cpp => content/html/content/src/HTMLTableRowElement.h
rename : content/html/content/src/nsHTMLTableSectionElement.cpp => content/html/content/src/HTMLTableSectionElement.cpp
rename : content/html/content/src/nsHTMLTableSectionElement.cpp => content/html/content/src/HTMLTableSectionElement.h
extra : rebase_source : ebb7a81fd1091f5c5905431e79390fd271328a67
2012-12-28 03:45:57 +01:00
David Zbarsky 4bbe6e8a41 Bug 826947: Convert HTMLScriptElement to WebIDL r=bz 2013-01-05 04:41:28 -05:00
David Zbarsky 5a24a8b725 Bug 826947: Move HTMLScriptElement to mozilla::dom r=bz
--HG--
rename : content/html/content/src/nsHTMLScriptElement.cpp => content/html/content/src/HTMLScriptElement.cpp
rename : content/html/content/src/nsHTMLScriptElement.cpp => content/html/content/src/HTMLScriptElement.h
2013-01-05 04:41:27 -05:00
Phil Ringnalda d44dff5096 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 0bda13504b 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
William Chen f34fa488f4 Bug 617532 - Implement UndoManager. r=ehsan 2013-01-03 22:54:26 -08:00
Boris Zbarsky 6b083e0e5a Bug 824823 part 15. Switch HTMLSpanElement to WebIDL. r=peterv 2013-01-04 12:02:15 -05:00
Boris Zbarsky a173c7767e Bug 824823 part 14. Rename nsHTMLSpanElement to mozilla::dom::HTMLSpanElement and move the class declaration into a header. r=peterv
--HG--
rename : content/html/content/src/nsHTMLSpanElement.cpp => content/html/content/src/HTMLSpanElement.cpp
rename : content/html/content/src/nsHTMLSpanElement.cpp => content/html/content/src/HTMLSpanElement.h
2013-01-04 12:02:15 -05:00
Boris Zbarsky abcb96ffb1 Bug 824823 part 13. Switch HTMLPreElement to WebIDL. r=peterv 2013-01-04 12:02:15 -05:00
Boris Zbarsky 850b49263d Bug 824823 part 12. Rename nsHTMLPreElement to mozilla::dom::HTMLPreElement and move the class declaration into a header. r=peterv
--HG--
rename : content/html/content/src/nsHTMLPreElement.cpp => content/html/content/src/HTMLPreElement.cpp
rename : content/html/content/src/nsHTMLPreElement.cpp => content/html/content/src/HTMLPreElement.h
2013-01-04 12:02:15 -05:00
Boris Zbarsky 2c6bdd4730 Bug 824823 part 11. Switch HTMLParagraphElement to WebIDL. r=peterv 2013-01-04 12:02:15 -05:00
Boris Zbarsky fd1ec7eb71 Bug 824823 part 10. Rename nsHTMLParagraphElement to mozilla::dom::HTMLParagraphElement and move the class declaration into a header. r=peterv
--HG--
rename : content/html/content/src/nsHTMLParagraphElement.cpp => content/html/content/src/HTMLParagraphElement.cpp
rename : content/html/content/src/nsHTMLParagraphElement.cpp => content/html/content/src/HTMLParagraphElement.h
2013-01-04 12:02:14 -05:00
Boris Zbarsky 99dc9fb941 Bug 824823 part 6. Move HTMLLIElement to WebIDL bindings. r=peterv 2013-01-04 12:02:14 -05:00
Boris Zbarsky a081515d60 Bug 824823 part 5. Rename nsHTMLLIElement to mozilla::dom::HTMLLIElement and move the class declaration into a header. r=peterv
--HG--
rename : content/html/content/src/nsHTMLLIElement.cpp => content/html/content/src/HTMLLIElement.cpp
rename : content/html/content/src/nsHTMLLIElement.cpp => content/html/content/src/HTMLLIElement.h
2013-01-04 12:02:14 -05:00
Boris Zbarsky 12ee90cc51 Bug 824823 part 4. WebIDL binding for HTML list elements. r=peterv
Note that I had to create the separate subclasses because we can't map
different WebIDL interfaces to the same concrete type: it causes the
PrototypeIDMap templates to completely fail to deal.
2013-01-04 12:02:14 -05:00
Boris Zbarsky c09af46f0f Bug 824823 part 3. Rename nsHTMLOListElement.cpp to something sane and move the class declaration into a header. r=peterv
--HG--
rename : content/html/content/src/nsHTMLOListElement.cpp => content/html/content/src/HTMLSharedListElement.cpp
rename : content/html/content/src/nsHTMLOListElement.cpp => content/html/content/src/HTMLSharedListElement.h
2013-01-04 12:02:14 -05:00
Boris Zbarsky 211ed00e98 Bug 824823 part 2. WebIDL binding for HTMLAnchorElement. r=peterv 2013-01-04 12:02:13 -05:00
Boris Zbarsky e5143de63d Bug 824823 part 1. Rename nsHTMLAnchorElement to mozilla::dom::HTMLAnchorElement. r=peterv
--HG--
rename : content/html/content/src/nsHTMLAnchorElement.cpp => content/html/content/src/HTMLAnchorElement.cpp
rename : content/html/content/src/nsHTMLAnchorElement.cpp => content/html/content/src/HTMLAnchorElement.h
2013-01-04 12:02:13 -05:00
Ehsan Akhgari 100ae41c83 Bug 826602 - Rename nsHTMLCanvasElement to mozilla::dom::HTMLCanvasElement; r=bzbarsky
--HG--
rename : content/html/content/public/nsHTMLCanvasElement.h => content/html/content/public/HTMLCanvasElement.h
rename : content/html/content/src/nsHTMLCanvasElement.cpp => content/html/content/src/HTMLCanvasElement.cpp
2013-01-04 00:16:14 -05:00
Ehsan Akhgari 4222259458 Backed out changeset bfb788e7ef51 (bug 826602) because of build failures
--HG--
rename : content/html/content/public/HTMLCanvasElement.h => content/html/content/public/nsHTMLCanvasElement.h
rename : content/html/content/src/HTMLCanvasElement.cpp => content/html/content/src/nsHTMLCanvasElement.cpp
2013-01-04 01:07:10 -05:00
Ehsan Akhgari c0e76d61c8 Bug 826602 - Rename nsHTMLCanvasElement to mozilla::dom::HTMLCanvasElement; r=bzbarsky
--HG--
rename : content/html/content/public/nsHTMLCanvasElement.h => content/html/content/public/HTMLCanvasElement.h
rename : content/html/content/src/nsHTMLCanvasElement.cpp => content/html/content/src/HTMLCanvasElement.cpp
2013-01-04 00:16:14 -05:00
Ehsan Akhgari 56e31c2bb4 Make nsHTMLMediaElement.cpp non-executable, no bug, DONTBUILD 2013-01-03 23:41:56 -05:00
Masatoshi Kimura 280752aa61 Bug 826159 - Turn nsICookie.value into AUTF8String. r=bz 2013-01-04 12:49:25 +09:00
Trevor Saunders 09f3b656b4 bug 825419 - outparamdel nsIDocShell::GetPresShell() r=smaug 2012-12-28 20:56:42 -05:00
Ryan VanderMeulen 829dc7459d Merge m-c to inbound. 2013-01-03 17:01:32 -05:00
Olli Pettay 116d0e2688 Bug 816340 - Propagate events to chrome even if there is a disabled form control in the event target chain, r=jst,gavin 2013-01-03 17:17:36 +02:00
Robert O'Callahan 943cb99eff Bug 825866. Part 8: Mass-rename of nsIView to nsView. r=tnikkel
This was autogenerated by basically replacing all occurrences of the word "nsIView" with nsView.

--HG--
rename : view/public/nsIView.h => view/public/nsView.h
2013-01-04 02:23:11 +13:00
Masatoshi Kimura 9a4812e054 Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted 2013-01-03 00:56:38 +09:00
Ehsan Akhgari 8cc491fe91 Bug 825527 - Part 5: Turn on the WebIDL bindings for HTMLImageElement; r=bzbarsky 2013-01-02 12:28:14 -05:00
Ehsan Akhgari fd6ad89073 Bug 825527 - Part 3: Move HTMLImageElement to WebIDL bindings; r=bzbarsky 2012-12-31 13:48:55 -05:00
Ehsan Akhgari 4f58470032 Bug 825527 - Part 2: Rename nsHTMLImageElement to mozilla::dom::HTMLImageElement; r=bzbarsky
--HG--
rename : content/html/content/src/nsHTMLImageElement.cpp => content/html/content/src/HTMLImageElement.cpp
rename : content/html/content/src/nsHTMLImageElement.h => content/html/content/src/HTMLImageElement.h
2012-12-31 12:25:46 -05:00
Julien Levesy 9e58bd1f8f Bug 811753 - Add nsIContent::IsEventAttributeName and use it instead of having callers guess the right flags for the content node in question. r=bzbarsky. 2013-01-02 21:24:07 +01:00
Trevor Saunders 1776beab14 bug 824940 - convert HTMLTitleElement to webidl r=bz 2012-12-25 18:47:17 -05:00
Trevor Saunders ecfa30aa02 bug 824940 - rename nsHTMLTitleElement -> mozila::dom::HTMLTitleElement r=bz 2012-12-25 18:20:35 -05:00
Ryan VanderMeulen 6a1e3408c7 Merge m-c to inbound. 2012-12-28 12:57:30 -05:00
Mounir Lamouri 2b29f0b469 Bug 825009 - Handles NaN and Infinity passed to .valueAsNumber. r=smaug 2012-12-28 12:48:41 +00:00
Raphael Catolino e9a23b4695 Bug 769359 - Adds step attribute and stepUp/stepDown method support for <input type='date'>. r=mounir 2012-12-22 15:46:19 +01:00
Raphael Catolino 1b362d7906 Bug 769357 - Implements min attribute for <input type=date>. r=mounir 2012-12-21 18:28:01 +01:00
Raphael Catolino 88b78d7a07 Bug 769355 - Implements max attribute for <input type='date'>. r=mounir 2012-12-21 18:26:56 +01:00
Raphael Catolino 90a26c1967 Bug 769370 - Add valueAsDate attribute and implement valueAsNumber/valueAsDate for date. r=mounir 2012-12-27 18:55:31 +00:00
Raphael Catolino b1782095c1 Bug 769379 - Adds sanitizing algorithm for <input type=date>. r=mounir
--HG--
rename : content/html/content/test/test_bug549475.html => content/html/content/test/forms/test_input_sanitization.html
2012-12-27 18:48:13 +00:00
Raphael Catolino 9ac55077bf Bug 769385 - Add type attribute date for <input> behind "dom.experimental_forms" pref. r=mounir 2012-12-27 16:06:53 +00:00
Boris Zbarsky e310f2de2e Bug 824448 followup to fix test bustage. r=peterv expected 2012-12-26 15:26:05 -08:00
Boris Zbarsky 5762c55113 Bug 824448 part 2. Switch HTMLHeadingElement to WebIDL bindings. r=peterv 2012-12-26 13:40:46 -08:00
Boris Zbarsky 2c582eba7c Bug 824448 part 1. Rename nsHTMLHeadingElement to mozilla::dom::HTMLHeadingElement. r=peterv
--HG--
rename : content/html/content/src/nsHTMLHeadingElement.cpp => content/html/content/src/HTMLHeadingElement.cpp
2012-12-26 13:40:44 -08:00
Boris Zbarsky 5a3efff7de Bug 819239. Add the WebIDL API for HTMLDocument. r=peterv 2012-12-25 18:00:47 -08:00
Boris Zbarsky a3b4bd9774 Bug 816421. Make Document.visibilityState a WebIDL enum. r=peterv
A lot of the changes here are just so I can actually build after including DocumentBinding.h in nsIDocument.h
2012-12-25 14:00:15 -08:00
Nicholas Nethercote 8eac1dfb3c Bug 824397 - Use NS_ENSURE_{TRUE,FALSE,SUCCESS}_VOID(foo) instead of NS_ENSURE_{TRUE,FALSE,SUCCESS}(foo, ). r=derf. 2012-12-23 20:45:57 -08:00
Peter Van der Beken e8da992624 Fix for bug 811701 (Move innerHTML/outerHTML/insertAdjacentHTML from HTMLElement to Element). r=bzbarsky. 2012-12-23 18:38:41 -08:00
Masayuki Nakano 4138c5d022 Bug 822866 Make mozilla::widget::BaseEventFlags which is a POD struct for VC r=smaug 2012-12-28 23:13:18 +09:00
Nagarjuna Varma ec1be4c9ac Bug 785060 - Check for allocation failure in JS_NewUCStringCopyZ calls; r=Ms2ger 2012-12-22 18:35:07 -05:00
Peter Van der Beken c466c4597c Fix for bug 824007 (Convert HTMLBodyElement, HTMLDataListElement, HTMLFontElement, HTMLFrameSetElement and HTMLLabelElement to new DOM bindings). r=bz.
--HG--
rename : content/html/content/src/nsHTMLBodyElement.cpp => content/html/content/src/HTMLBodyElement.cpp
rename : content/html/content/src/nsHTMLDataListElement.cpp => content/html/content/src/HTMLDataListElement.cpp
rename : content/html/content/src/nsHTMLFontElement.cpp => content/html/content/src/HTMLFontElement.cpp
rename : content/html/content/src/nsHTMLFrameSetElement.cpp => content/html/content/src/HTMLFrameSetElement.cpp
rename : content/html/content/src/nsHTMLFrameSetElement.h => content/html/content/src/HTMLFrameSetElement.h
rename : content/html/content/src/nsHTMLLabelElement.cpp => content/html/content/src/HTMLLabelElement.cpp
rename : content/html/content/src/nsHTMLLabelElement.h => content/html/content/src/HTMLLabelElement.h
extra : rebase_source : f287e7530fa829a6159537476dc1418bbc9f40e5
2012-12-21 15:07:28 +01:00
Peter Van der Beken d837e37c50 Fix for bug 824007 (Convert HTMLBodyElement, HTMLDataListElement, HTMLFontElement, HTMLFrameSetElement and HTMLLabelElement to new DOM bindings) - move some HTML element classes to mozilla::dom. r=bz.
--HG--
rename : content/html/content/src/nsHTMLBodyElement.cpp => content/html/content/src/HTMLBodyElement.cpp
rename : content/html/content/src/nsHTMLDataListElement.cpp => content/html/content/src/HTMLDataListElement.cpp
rename : content/html/content/src/nsHTMLDivElement.cpp => content/html/content/src/HTMLDivElement.cpp
rename : content/html/content/src/nsHTMLDivElement.h => content/html/content/src/HTMLDivElement.h
rename : content/html/content/src/nsHTMLElement.cpp => content/html/content/src/HTMLElement.cpp
rename : content/html/content/src/nsHTMLFontElement.cpp => content/html/content/src/HTMLFontElement.cpp
rename : content/html/content/src/nsHTMLFrameSetElement.cpp => content/html/content/src/HTMLFrameSetElement.cpp
rename : content/html/content/src/nsHTMLFrameSetElement.h => content/html/content/src/HTMLFrameSetElement.h
rename : content/html/content/src/nsHTMLLabelElement.cpp => content/html/content/src/HTMLLabelElement.cpp
rename : content/html/content/src/nsHTMLLabelElement.h => content/html/content/src/HTMLLabelElement.h
rename : content/html/content/src/nsHTMLUnknownElement.cpp => content/html/content/src/HTMLUnknownElement.cpp
rename : content/html/content/src/nsHTMLUnknownElement.h => content/html/content/src/HTMLUnknownElement.h
extra : rebase_source : 99a2b1764bfd34db1375939b967f816dc2a42a91
2012-12-21 15:06:50 +01:00
Peter Van der Beken 22cf1a5568 Fix for bug 824007 (Convert HTMLBodyElement, HTMLDataListElement, HTMLFontElement, HTMLFrameSetElement and HTMLLabelElement to new DOM bindings) - make NS_IMPL_NS_NEW_HTML_ELEMENT macros work with HTML element classes in mozilla::dom. r=bz.
--HG--
rename : dom/encoding/TextDecoderBase.h => dom/encoding/TextDecoder.h
rename : dom/encoding/TextEncoderBase.h => dom/encoding/TextEncoder.h
extra : rebase_source : c6c3c3e702fd2c6081869f1f2cf88bbf6b10b293
2012-12-21 15:06:49 +01:00
Boris Zbarsky 53a5112fb0 Bug 804631. Add the WebIDL API for Document. r=peterv
I'm not entirely happy with the XPath bits.  If we had an
nsXPathEvaluator member, or if the WebIDL API were on
nsIDOMXPathEvaluator or something, all that stuff would need a lot
less code...
2012-12-22 00:27:27 -08:00
Peter Van der Beken f931ddad9f 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
Masatoshi Kimura 4b5034efa3 Bug 804834 - Part 1: Fix tests depending on E4X for-each in content JS. r=waldo 2012-12-21 20:47:52 +09:00
Marco Chen 02e29ffc5f Bug 819849 - One condition of judging playing state for AudioChannelAgent should be larger or equal to CURRENT not HAVE_FUTURE_DATA. r=roc, a=blocking-basecamp 2012-12-14 13:02:54 +08:00
Chris Pearce 59ef0a8717 Bug 799315 - Use Windows Media Foundation to play back MP4, MP3 and M4A on Windows 7 and later (preff'd off). r=padenot 2012-12-18 21:49:58 +13:00
Masayuki Nakano 76345a848f Bug 813445 part.14 Make dom::EventListenerFlags for nsEventListenerManager r=smaug 2012-12-16 10:26:05 +09:00
Masayuki Nakano 3f9bf328e1 Bug 813445 part.11 Don't use NS_EVENT_FLAG_NO_CONTENT_DISPATCH for nsEvent::flags r=smaug 2012-12-16 10:26:05 +09:00
Masayuki Nakano 281792806b Bug 813445 part.6 Remove NS_EVENT_FLAG_PREVENT_MULTIPLE_ACTIONS r=smaug 2012-12-16 10:26:04 +09:00
Masayuki Nakano bb4ed0ce6b Bug 813445 part.4 Remove NS_EVENT_FLAG_STOP_DISPATCH and NS_EVENT_FLAG_STOP_DISPATCH_IMMEDIATELY r=smaug 2012-12-16 10:26:03 +09:00
Masayuki Nakano 4581677d83 Bug 813445 part.3 Remove NS_EVENT_FLAG_CANT_CANCEL and NS_EVENT_FLAG_CANT_BUBBLE r=smaug 2012-12-16 10:26:03 +09:00
Masayuki Nakano 70c4bfa88e Bug 813445 part.2 Don't use NS_EVENT_FLAG_BUBBLE and NS_EVENT_FLAG_CAPTURE for nsEvent::flags r=smaug 2012-12-16 10:26:03 +09:00
Masayuki Nakano dae57396e3 Bug 813445 part.1 Make widget::EventFlags and remove NS_EVENT_FLAG_TRUSTED r=roc+smaug, feedback=emk 2012-12-16 10:26:03 +09:00
Jeff Walden 120886ca73 Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger 2012-12-14 18:58:45 -05:00
Jeff Muizelaar 47c921e73e Bug 801061. Switch from imgIRequest to imgRequestProxy. r=joe
This doesn't switch all of the users yet, but is a step in the right
direction.

--HG--
extra : rebase_source : 91b4fef3f67586179c119208d000cf7629e04963
2012-10-12 08:43:01 -04:00
John Schoenick 42acd585bc Bug 767638 - Greatly simplify loading full-page plugins. r=josh 2012-12-13 13:51:27 -08:00
Matthew Gregan 792c4668c2 Bug 815569 - Pause (rather than mute) media elements interrupted by the audio channel service. r=roc
--HG--
extra : rebase_source : 3ecf1b699d6d8e7a4019bf2c75d4479448f6aec9
2012-12-12 14:58:07 +13:00
Benedict Singer 44ee89fc83 Bug 803677 - Fix offsetTop/offsetParent for element with display:table-cell that have anonymous table parents. r=bzbarsky 2012-12-11 08:48:04 -05:00
Boris Zbarsky 038273c4ff Bug 819745. Correctly handle body.onerror = null. r=peterv 2012-12-10 14:31:25 -05:00
David Zbarsky e03cc0d901 Bug 817332 - Remove XPIDL for HTMLPropertiesCollection/PropertyNodeList r=bz 2012-12-08 17:06:42 -05:00
Benedict Singer 8b16d029d1 Bug 787134 - Make links not in a document or with an invalid href respond to :link selector. r=bzbarsky 2012-12-07 09:35:14 -05:00
Marco Chen c8037d4898 Bug 815069 - Part 3: Adapt audio channel agent to nsHTMLMediaElement and AudioChannelService. r=roc, a=blocking-basecamp
[Audio] A mechanism for Gecko components without media element to join audio competing policy
2012-12-06 23:25:18 +08:00
Marco Chen e431c12f40 Bug 815322 - Phone rings on incoming call will pause audio. r=kinetik, a=blocking-basecamp
1. Add a new audio channel type called ringer.
  2. Add logic into AudioChannelService for ringer.
2012-12-06 17:11:19 +08:00
Boris Zbarsky 0900957c01 Bug 817531. Fix the referrer header for background image loads. r=khuey
--HG--
rename : image/test/reftest/generic/green.png => layout/reftests/backgrounds/background-referrer-image.png
rename : image/test/reftest/generic/accept-image-catchall-ref.html => layout/reftests/backgrounds/background-referrer-ref.html
rename : image/test/reftest/generic/accept-image-catchall.html => layout/reftests/backgrounds/background-referrer.html
rename : image/test/reftest/generic/check-header.sjs => layout/reftests/backgrounds/background-referrer.sjs
2012-12-06 15:21:19 -05:00
Steve Workman 4601da27f5 Bug 792404 - Enable DASH build by default; functionality pref'd off r=cpearce 2012-12-06 15:26:20 -08:00
Ed Morley 6a72436e40 Backout d26382bc6411 (bug 817531) for Android failures in background-referrer.html on a CLOSED TREE 2012-12-06 22:41:37 +00:00
Peter Van der Beken ea0c0a9788 Fix for bug 818219 (Replace HTMLElement quickstubs with new binding methods). r=bz.
--HG--
rename : layout/reftests/backgrounds/background-referrer-ref.html => image/test/reftest/generic/accept-image-catchall-ref.html
rename : layout/reftests/backgrounds/background-referrer.html => image/test/reftest/generic/accept-image-catchall.html
rename : layout/reftests/backgrounds/background-referrer.sjs => image/test/reftest/generic/check-header.sjs
rename : layout/reftests/backgrounds/background-referrer-image.png => image/test/reftest/generic/green.png
rename : toolkit/components/places/tests/browser/browser_favicon_setAndFetchFaviconForPage.js => toolkit/components/places/tests/favicons/test_setAndFetchFaviconForPage.js
extra : rebase_source : 45715d6abe3155a6bcd1d21e5cc3f7b048180eb6
2012-11-26 15:19:02 +01:00
Boris Zbarsky 7b58ca3a2a Bug 817531. Fix the referrer header for background image loads. r=khuey
--HG--
rename : image/test/reftest/generic/green.png => layout/reftests/backgrounds/background-referrer-image.png
rename : image/test/reftest/generic/accept-image-catchall-ref.html => layout/reftests/backgrounds/background-referrer-ref.html
rename : image/test/reftest/generic/accept-image-catchall.html => layout/reftests/backgrounds/background-referrer.html
rename : image/test/reftest/generic/check-header.sjs => layout/reftests/backgrounds/background-referrer.sjs
2012-12-06 15:21:19 -05:00
Peter Van der Beken 94b0fea563 Back out 79fc9d732bf7 (bug 818219) for orange.
--HG--
extra : rebase_source : 862b4c446f9b454c4c72e7536e73b9d9ede9feb6
2012-12-06 16:09:55 +01:00
Peter Van der Beken 4ff672c1a5 Fix for bug 818219 (Replace HTMLElement quickstubs with new binding methods). r=bz.
--HG--
extra : rebase_source : ddbedbaea030272ce8fc1ac7245175f7fd3edaa4
2012-11-26 15:19:02 +01:00
Ed Morley 646db4204e Bug 559932 - Disable test_bug445004.html for too many intermittent failures 2012-12-05 15:14:10 +00:00
Andrea Marchesini 832c77e223 Bug 818220 - SetMutedInternal must be called at anytime 2012-12-04 13:51:13 -08:00
Andrea Marchesini 0fe285bc96 Bug 805333 part 3 - Disable audiochannel for desktop build. r=sicking a=blocking-basecamp 2012-12-04 11:46:07 -08:00
Andrea Marchesini d9045177f0 Bug 805333 part 2 - MediaElement connected to AudioChannelService, r=kinetik, a=blocking-basecamp 2012-12-04 11:46:07 -08:00
Andrea Marchesini d647339fe9 Bug 817043 - mozaudiochanneltype attribute, r=sicking a=blocking-basecamp 2012-12-04 11:46:07 -08:00
Marco Chen be8cc4e73e Bug 805333 part 0 - Need a Policy & Mechanism for Audio Competing & Control. r=sicking a=blocking-basecamp
1. Add new permission called audio and it's sub item called channel.
  2. Add permission checking in nsHTMLMediaElement for audio channel.
2012-12-03 17:46:43 +08:00
Mats Palmgren 924e59e0d0 Bug 817574 - Replace NS_ABS with std::abs. r=roc 2012-12-04 13:33:33 +01:00
Tom Schuster 9271842e43 Bug 676619 - Implementation of the download attribute for links. r=smaug 2012-12-02 21:55:52 +01:00
Peter Van der Beken 7d77272a5e Fix for bug 814195 (Replace Element quickstubs with new binding methods). r=bz. 2012-11-22 12:09:43 +01:00
Paul Adenot 29d389e7cd Bug 455165 - Add support for chained ogg audio file and proper metadata dispatching. r=cpearce 2012-11-30 14:17:54 +01:00
Ralph Giles c0af152aaa Bug 816261 - Remove redundant MetadataTags namespace prefix. r=cpearce
In bug 811381, the MetadataTags struct was moved from the
nsHTMLMediaElement class to the mozilla namespace, requiring
an explicit path for this previously local reference.

However, bug 811381 added a local typedef so the explicit
namespace is no longer necessary.
2012-11-28 14:08:53 -08:00
Boris Zbarsky 3695c38605 Bug 815671 part 2. Make some content code use array references instead of array objects with implicit copies. r=smaug 2012-11-29 11:14:13 -05:00
Ed Morley 563634fe75 Backout 67e95e421678 (bug 814195) for Windows debug jsreftest failures on a CLOSED TREE 2012-11-29 11:17:11 +00:00
Peter Van der Beken 46c89ae29b Fix for bug 814195 (Replace Element quickstubs with new binding methods). r=bz.
--HG--
extra : rebase_source : 360b2ee1bc678265781991149185a1c1d262642e
2012-11-22 12:09:43 +01:00
Peter Van der Beken ba333c8392 Fix for bug 815158 (Make HTMLElement.ontouch* work with tristate dom.w3c_touch_events.enabled). r=bz.
--HG--
extra : rebase_source : 878d559d1a57ad69bdac7bea682ea344ecdea96a
2012-11-19 11:59:13 +01:00
Daniel Holbert 26ca8d2f6a Bug 815928 part 4: Fix typo s/elemnet/element/ in comments & tests. DONTBUILD, rs=Waldo 2012-11-27 19:15:36 -08:00
Ehsan Akhgari d6d6c3d26a Backed out 6 changesets (bug 814821, bug 815158, bug 814195) for test failures
Backed out changeset 0c2011091748 (bug 815158)
Backed out changeset 9d70b4460508 (bug 814195)
Backed out changeset bf8746658a72 (bug 814821)
Backed out changeset e73366b088d7 (bug 814821)
Backed out changeset 49fc6d535c41 (bug 814821)
Backed out changeset 987aea26a43a (bug 814821)
2012-11-27 16:30:39 -05:00
Peter Van der Beken fd08050eaa Fix for bug 815158 (Make HTMLElement.ontouch* work with tristate dom.w3c_touch_events.enabled). r=bz.
--HG--
extra : rebase_source : 0cd9bf993ed3981c1f2e37975ca8daf0b8e8ece7
2012-11-19 11:59:13 +01:00
Peter Van der Beken c15e9ce14c Fix for bug 814195 (Replace Element quickstubs with new binding methods). r=bz.
--HG--
extra : rebase_source : 349ceea8412f4133e1b9de4e2859d7663da27fa5
2012-11-22 12:09:43 +01:00
Mounir Lamouri 57cf75c47a Bug 813936 - Update nsHTMLInputElement::GetStepBase() to return the default value if there is no min. r=smaug 2012-11-26 11:35:26 +00:00
Marco Chen 0188ec492a Bug 813426 - Fail to assign mozAudioChannelType twice. r=kinetik, a=blocking-basecamp
Return NS_OK when mozAudioChannelType is assiged to the same type even
  if mDecoder is already set up.
2012-11-22 18:03:15 +08:00
Ehsan Akhgari 77effde0b0 Bug 814284 - Part 2: Move the logic of dealing with requested codecs down into DecoderTraits::CanHandleMediaType; r=cpearce 2012-11-22 13:49:37 -05:00
Ehsan Akhgari 980fea9d8f Bug 814284 - Part 1: Refactor the code necessary for detection of codec support out of nsHTMLMediaElement; r=cpearce 2012-11-21 22:10:41 -05:00
Paul Adenot d37e140816 Bug 495040 - Implement playbackRate and related bits r=kinetik 2012-11-22 11:38:28 +01:00
Matthew Gregan cf76cd1e8e Bug 814292 - Remove mAudioPlaybackThread and AudioStream refcounting. r=cpearce 2012-11-22 16:38:39 +13:00
Boris Zbarsky 07cd537a7d 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
Nicholas Cameron 5eadd39ce2 Bug 812453; fix CopyInnerTo; r=bz 2012-11-22 10:55:37 +13:00
Nicholas Cameron b5abc3ce0b Bug 814149. Fix GetCanvas. r=bz 2012-11-22 10:55:36 +13:00
Bobby Holley 660ca5d5cf Bug 808608 - Remove unnecessary outparam. r=mrbkap 2012-11-21 13:20:05 -08:00
Ryan VanderMeulen 8dd0402085 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 dc0e11d6e8 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
Simon Montagu 07e8a16de0 Implementation of HTML5 dir=auto. Bug 548206, r=ehsan, peterv. 2012-11-21 02:13:57 -08:00
Simon Montagu 85a51db309 Changes to existing tests caused by bug 548206 2012-11-21 02:13:55 -08:00
Seth Fowler cd421a0e5e Bug 812241 - Remove disabled test warnings. r=khuey 2012-11-20 16:13:04 -08:00
L. David Baron 2d99cbf924 Bug 813373, patch 4: fix printfs that crept in in patch 3. 2012-11-20 13:22:35 -08:00
L. David Baron 43366dc10f Bug 813373, patch 3: Make sure all style rules have non-empty List implementations. r=bzbarsky 2012-11-20 11:55:14 -08:00
Phil Ringnalda 54e6244801 Backout b7e492bf7c13, a64c112c6858, 84b9a773104b, 4bd4aabbaf28 and 24ad2de34061 (bug 548206) for Win Ru orange 2012-11-20 08:44:04 -08:00
Simon Montagu ef21364c12 Implementation of HTML5 dir=auto. Bug 548206, r=ehsan, peterv 2012-11-20 06:21:15 -08:00
Simon Montagu 1b752132f2 Changes to existing tests caused by bug 548206 2012-11-20 06:21:13 -08:00
Ehsan Akhgari 2389e2ea97 Bug 812032 - Refactor the media reader classes to not access MediaDecoder directly; r=cpearce 2012-11-19 10:11:21 -05:00
Marco Chen a5fdca3cb3 Bug 795237 - Web API for setting audio stream type. Part 2. r=kinetik, a=blocking-basecamp
Implementation on path of audio and video element
2012-11-16 11:25:26 +08:00
Benoit Jacob 986ee1a065 Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8 2012-11-15 02:32:40 -05:00
Robert O'Callahan b59945f6e8 Bug 811301. Part 2: Remove saved state IDs now that the root scroll frame state is captured normally. r=mats 2012-11-14 22:40:17 -08:00
Boris Zbarsky 05ba9f02c1 Bug 811449 part 8. Get rid of nsGenericElement. r=peterv 2012-11-14 14:10:08 -08:00
Boris Zbarsky 19333a472b Bug 811449 part 3. Eliminate nsGenericElement as a separate class. 2012-11-14 14:10:07 -08:00
Matthew Gregan ba8579290d Bug 806263 - Move {Get,Set}ValueItemText up to MediaElement. r=doublec 2012-10-29 15:09:07 +13:00
Peter Van der Beken 0a5f44ada8 Fix for bug 807075 (New DOM binding APIs for HTMLElement). r=bz.
--HG--
extra : rebase_source : 842b9397d2b050f880c44d3366bcc838e6615fd5
2012-11-11 00:30:15 +01:00
Chris Pearce ddedecabd0 Bug 811381 - Remove ns prefix from media code. r=roc
--HG--
rename : content/media/nsAudioAvailableEventManager.cpp => content/media/AudioAvailableEventManager.cpp
rename : content/media/nsAudioAvailableEventManager.h => content/media/AudioAvailableEventManager.h
rename : content/media/nsAudioStream.cpp => content/media/AudioStream.cpp
rename : content/media/nsAudioStream.h => content/media/AudioStream.h
rename : content/media/nsMediaCache.cpp => content/media/MediaCache.cpp
rename : content/media/nsMediaCache.h => content/media/MediaCache.h
rename : content/media/nsBuiltinDecoder.cpp => content/media/MediaDecoder.cpp
rename : content/media/nsBuiltinDecoder.h => content/media/MediaDecoder.h
rename : content/media/nsBuiltinDecoderReader.cpp => content/media/MediaDecoderReader.cpp
rename : content/media/nsBuiltinDecoderReader.h => content/media/MediaDecoderReader.h
rename : content/media/nsBuiltinDecoderStateMachine.cpp => content/media/MediaDecoderStateMachine.cpp
rename : content/media/nsBuiltinDecoderStateMachine.h => content/media/MediaDecoderStateMachine.h
rename : content/media/dash/nsDASHDecoder.cpp => content/media/dash/DASHDecoder.cpp
rename : content/media/dash/nsDASHDecoder.h => content/media/dash/DASHDecoder.h
rename : content/media/dash/nsDASHReader.cpp => content/media/dash/DASHReader.cpp
rename : content/media/dash/nsDASHReader.h => content/media/dash/DASHReader.h
rename : content/media/dash/nsDASHRepDecoder.cpp => content/media/dash/DASHRepDecoder.cpp
rename : content/media/dash/nsDASHRepDecoder.h => content/media/dash/DASHRepDecoder.h
rename : content/media/gstreamer/nsGStreamerDecoder.cpp => content/media/gstreamer/GStreamerDecoder.cpp
rename : content/media/gstreamer/nsGStreamerDecoder.h => content/media/gstreamer/GStreamerDecoder.h
rename : content/media/gstreamer/nsGStreamerReader.cpp => content/media/gstreamer/GStreamerReader.cpp
rename : content/media/gstreamer/nsGStreamerReader.h => content/media/gstreamer/GStreamerReader.h
rename : content/media/ogg/nsOggCodecState.cpp => content/media/ogg/OggCodecState.cpp
rename : content/media/ogg/nsOggCodecState.h => content/media/ogg/OggCodecState.h
rename : content/media/ogg/nsOggDecoder.cpp => content/media/ogg/OggDecoder.cpp
rename : content/media/ogg/nsOggDecoder.h => content/media/ogg/OggDecoder.h
rename : content/media/ogg/nsOggReader.cpp => content/media/ogg/OggReader.cpp
rename : content/media/ogg/nsOggReader.h => content/media/ogg/OggReader.h
rename : content/media/omx/nsMediaOmxDecoder.cpp => content/media/omx/MediaOmxDecoder.cpp
rename : content/media/omx/nsMediaOmxDecoder.h => content/media/omx/MediaOmxDecoder.h
rename : content/media/omx/nsMediaOmxReader.cpp => content/media/omx/MediaOmxReader.cpp
rename : content/media/omx/nsMediaOmxReader.h => content/media/omx/MediaOmxReader.h
rename : content/media/plugins/nsMediaPluginDecoder.cpp => content/media/plugins/MediaPluginDecoder.cpp
rename : content/media/plugins/nsMediaPluginDecoder.h => content/media/plugins/MediaPluginDecoder.h
rename : content/media/plugins/nsMediaPluginHost.cpp => content/media/plugins/MediaPluginHost.cpp
rename : content/media/plugins/nsMediaPluginHost.h => content/media/plugins/MediaPluginHost.h
rename : content/media/plugins/nsMediaPluginReader.cpp => content/media/plugins/MediaPluginReader.cpp
rename : content/media/plugins/nsMediaPluginReader.h => content/media/plugins/MediaPluginReader.h
rename : content/media/raw/nsRawDecoder.cpp => content/media/raw/RawDecoder.cpp
rename : content/media/raw/nsRawDecoder.h => content/media/raw/RawDecoder.h
rename : content/media/raw/nsRawReader.cpp => content/media/raw/RawReader.cpp
rename : content/media/raw/nsRawReader.h => content/media/raw/RawReader.h
rename : content/media/raw/nsRawStructs.h => content/media/raw/RawStructs.h
rename : content/media/wave/nsWaveDecoder.cpp => content/media/wave/WaveDecoder.cpp
rename : content/media/wave/nsWaveDecoder.h => content/media/wave/WaveDecoder.h
rename : content/media/wave/nsWaveReader.cpp => content/media/wave/WaveReader.cpp
rename : content/media/wave/nsWaveReader.h => content/media/wave/WaveReader.h
rename : content/media/webm/nsWebMBufferedParser.cpp => content/media/webm/WebMBufferedParser.cpp
rename : content/media/webm/nsWebMBufferedParser.h => content/media/webm/WebMBufferedParser.h
rename : content/media/webm/nsWebMDecoder.cpp => content/media/webm/WebMDecoder.cpp
rename : content/media/webm/nsWebMDecoder.h => content/media/webm/WebMDecoder.h
rename : content/media/webm/nsWebMReader.cpp => content/media/webm/WebMReader.cpp
rename : content/media/webm/nsWebMReader.h => content/media/webm/WebMReader.h
2012-11-14 11:46:40 -08:00
Chris Pearce 5ac4df2ef3 Bug 811381 - Move media code into mozilla namespace. r=roc 2012-11-14 11:45:33 -08:00
Chris Pearce 092eb0ac65 Bug 811381 - Move NextFrameStatus to MediaDecoderOwner, so that nsHTMLMediaElement doesn't need to include all of nsBuiltinDecoder. r=roc 2012-11-14 11:45:31 -08:00
Chris Pearce 9fe37d1328 Bug 811381 - Flatten nsMediaDecoder and nsBuiltinDecoder into a single class. r=roc 2012-11-14 11:45:13 -08:00
Daniel Glazman 6c62a02ecf Bug 811679 - Add nsIEditorObserver back; r=ehsan 2012-11-14 11:23:35 -08:00
Boris Zbarsky ca4b6f5b01 Bug 809765. Match the HTML spec in terms of which event handler attributes are compiled on which elements. r=smaug 2012-11-14 10:05:41 -08:00
Bobby Holley 7c36e30523 Bug 800915 - Remove the cx parameter and simplify various APIs. r=sfink,bz
If callers want to throw, it's now their responsibility.
2012-11-14 09:56:26 -08:00
Ed Morley 35b84cb08f Backout 54c4f2ff78e3 (bug 807075) for Windows compilation errors 2012-11-14 16:45:28 +00:00
Peter Van der Beken f19ca9b71f Fix for bug 807075 (New DOM binding APIs for HTMLElement). r=bz.
--HG--
extra : rebase_source : 9afce481cd0a5c8a1014c8c9b0aad7d6665aaa82
2012-11-11 00:30:15 +01:00
Peter Van der Beken e8544ee9d1 Add testcase from bug 811226.
--HG--
extra : rebase_source : f3b7fc79491b6661d8a15ff2ef3302158c49e715
2012-11-13 16:52:00 +01:00
Nicholas Cameron e907939a76 Bug 800556; remove nsIDOMCanvasRenderingContext2D; r=Ms2ger,sr=bz
--HG--
extra : rebase_source : 461ff127a453116f3364f4ba1e414cc527f195bd
2012-11-13 16:35:36 -08:00
Brad Lassey 7815f1867f bug 739542 - Disable screen timeout when playing HTML5 <video> (webm, H.264) r=doublec 2012-11-01 08:47:51 -04:00
Peter Van der Beken b2ba5959ec 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
Justin Lebar a9e6d9a0c8 Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".

There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id.  This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.

I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process.  I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
2012-11-10 10:32:37 -08:00
Ryan VanderMeulen 3eff16d324 Backed out 12 changesets (bug 806127, bug 802366, bug 806168) for Windows build bustage.
--HG--
rename : dom/indexedDB/test/webapp_clearBrowserData.js => dom/indexedDB/test/test_webapp_clearBrowserData.html
2012-11-09 20:14:40 -05:00
Justin Lebar 785d3c9b2f Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".

There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id.  This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.

I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process.  I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
2012-11-09 16:37:39 -08:00
Peter Van der Beken ba2b51206c Fix for bug 804991 (Make FromContent expect a non-null pointer and add FromContentOrNull). r=bz.
--HG--
extra : rebase_source : 52e1c9171d05ba034971cfa16741e12061e7335d
2012-09-26 16:17:51 +02:00
Boris Zbarsky 529460c9c6 Bug 807224. Implement native-to-JS conversion for WebIDL unions. r=peterv 2012-11-09 07:59:33 -08:00
Mounir Lamouri ae737c8efe Bug 807613 - Add a pref to make the placeholder disappear when a text field is focused. r=bz 2012-11-09 10:32:58 +00:00
Mounir Lamouri 7e7986dbf9 Bug 809584 - Move the placeholder visibility logic to nsTextEditorState. r=ehsan 2012-11-09 10:31:34 +00:00
Mounir Lamouri a69affa1ba Bug 737786 - 2/5 - Use a pseudo-element instead of a pseudo-class for placeholder styling. r=bz 2012-11-09 10:24:23 +00:00
Mounir Lamouri 8edfbaf7e4 Bug 737786 - 1/5 - Show/hide placeholder based on display lists instead of CSS class. r=bz 2012-11-09 10:22:29 +00:00
Ehsan Akhgari bf083ab4cd Bug 810177 - Part 4: Make nsMediaDecoder not depend on nsHTMLMediaElement; r=cpearce
The basic idea in this patch is to create an MediaDecoderOwner
interface which nsHTMLMediaElement would implement, and put everything
needed by nsMediaDeocder on that interface.  In addition to that,
there are a number of other cleanup patches which enables us to
eliminate many of the nsHTMLMediaElement.h #includes in the media code.
2012-11-09 00:52:53 -05:00
Ehsan Akhgari 49f75ba1c3 Bug 810177 - Part 3: Move the IsFormatEnabled methods from nsHTMLMediaElement to nsMediaDecoder; r=cpearce
This patch moves the various Is{Format}Enabled methods to
nsMediaDecoder.  These methods are all implemented on top of prefs, and
they logically belong to the decoder class, because it needs to know
what media types it should be able to decode.  This also helps reduce
the dependency on nsHTMLMediaElement.h.
2012-11-08 21:46:10 -05:00
Ehsan Akhgari 23ed600a8a Bug 810177 - Part 2: Break MetadataTags out of nsHTMLMediaElements; r=cpearce
This patch simply moves the MetadataTags typedef to nsMediaDecoder.h to
reduce the dependencies on nsHTMLMediaElements.h.  The rest of the
changes are made to make this compile.
2012-11-08 19:40:08 -05:00
Ehsan Akhgari e67d7b9a8a Bug 810177 - Part 1: Move NextFrameStatus to nsMediaDecoder; r=cpearce
This patch simply moves the NextFrameStatus enum to nsMediaDecoder and
reorganizes things so that they compile again.
2012-11-08 18:22:32 -05:00
Dave Hylands 3c59f5246d Backout e655c9d59704 Bug 809186 until we decide that we really want this. 2012-11-08 21:50:08 -08:00
Dave Hylands f01521f0e5 Bug 809186 - Recognize .aac file extensions, and the audio/aac-adts mimetype for b2g. r=doublec 2012-11-08 10:08:48 -08:00
Robert O'Callahan af4fee4f48 Bug 792675. Part 7: Add support for MediaStream URIs to media elements. r=cpearce
--HG--
extra : rebase_source : 1c27fa7038dcdd3ab4e7eac6219b2ed5a6affa4a
2012-09-25 15:25:43 +12:00
Justin Lebar cafde79f86 Bug 809587 - Increment the JS malloc counter when doing canvas.toBlob(). r=khuey 2012-11-07 17:49:21 -08:00
Masatoshi Kimura af291bee68 Bug 801402 - Use EncodingUtils::FindEncodingForLabel from DOM. r=sicking 2012-11-07 18:04:22 -05:00
s@rednaks.tn 726bdd0eb1 Bug 808964 - AccessKeyLabel should be empty string for elements without the accesskey attribute,r=smaug 2012-11-07 20:47:34 +02:00
Aryeh Gregor 46d988a342 Bug 805287 - Block scripts in PrepareEditorEvent::Run; r=ehsan
--HG--
extra : rebase_source : cfe5bf684a384421094acb3f1e7bdea7bedc51bc
2012-11-04 14:27:49 +02:00
Boris Zbarsky 1ab893634e Bug 803129. Convert DOMStringMap to WebIDL. r=peterv 2012-11-05 11:58:03 -05:00
Boris Zbarsky 750dec5380 Bug 772869. Make getOwnPropertyNames work correctly for WebIDL proxy bindings. r=peterv,ms2ger 2012-11-05 11:58:03 -05:00
Ms2ger 37fe9b5b6b Merge PGO-green chanageset from inbound to m-c. 2012-11-04 10:26:52 +01:00
Ms2ger c8f9049d6f Bug 808305 - Pass a gfx::Rect instead of a gfxRect in InvalidateCanvasContent; r=Bas 2012-11-04 09:05:25 +01:00
Jonathan Kew 5d7d9f4189 bug 804927 - fix text control frame and accessibility issues. r=ehsan,tbsaunde 2012-11-03 12:08:09 +00:00
Jan Beich b19777fbd2 Bug 806139 - Add more supported h264 codecs, used by youtube for 1080p/720p and 240p. r=doublec 2012-11-02 16:11:51 -04:00