Ehsan Akhgari
c8deef991c
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
934fd1e917
Make nsHTMLMediaElement.cpp non-executable, no bug, DONTBUILD
2013-01-03 23:41:56 -05:00
Masatoshi Kimura
754aa90503
Bug 826159 - Turn nsICookie.value into AUTF8String. r=bz
2013-01-04 12:49:25 +09:00
Trevor Saunders
96c9daa6be
bug 825419 - outparamdel nsIDocShell::GetPresShell() r=smaug
2012-12-28 20:56:42 -05:00
Ryan VanderMeulen
743cecf4c4
Merge m-c to inbound.
2013-01-03 17:01:32 -05:00
Olli Pettay
d8a5030410
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
f9b9491b81
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
b5e27745c8
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
11410dead2
Bug 825527 - Part 5: Turn on the WebIDL bindings for HTMLImageElement; r=bzbarsky
2013-01-02 12:28:14 -05:00
Ehsan Akhgari
912b149c1f
Bug 825527 - Part 3: Move HTMLImageElement to WebIDL bindings; r=bzbarsky
2012-12-31 13:48:55 -05:00
Ehsan Akhgari
bddd91bb2d
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
dff8ef0071
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
dbb2e085f2
bug 824940 - convert HTMLTitleElement to webidl r=bz
2012-12-25 18:47:17 -05:00
Trevor Saunders
0d8d7ae4ac
bug 824940 - rename nsHTMLTitleElement -> mozila::dom::HTMLTitleElement r=bz
2012-12-25 18:20:35 -05:00
Ryan VanderMeulen
c62c0bf43b
Merge m-c to inbound.
2012-12-28 12:57:30 -05:00
Mounir Lamouri
0ade25dd2b
Bug 825009 - Handles NaN and Infinity passed to .valueAsNumber. r=smaug
2012-12-28 12:48:41 +00:00
Raphael Catolino
f6766ee911
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
031723c888
Bug 769357 - Implements min attribute for <input type=date>. r=mounir
2012-12-21 18:28:01 +01:00
Raphael Catolino
fa4f8058bb
Bug 769355 - Implements max attribute for <input type='date'>. r=mounir
2012-12-21 18:26:56 +01:00
Raphael Catolino
3b8d24338c
Bug 769370 - Add valueAsDate attribute and implement valueAsNumber/valueAsDate for date. r=mounir
2012-12-27 18:55:31 +00:00
Raphael Catolino
5ef44d47fd
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
957775fb4a
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
bd138a445c
Bug 824448 followup to fix test bustage. r=peterv expected
2012-12-26 15:26:05 -08:00
Boris Zbarsky
8c6988d0fe
Bug 824448 part 2. Switch HTMLHeadingElement to WebIDL bindings. r=peterv
2012-12-26 13:40:46 -08:00
Boris Zbarsky
ae18157740
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
87a0892ed8
Bug 819239. Add the WebIDL API for HTMLDocument. r=peterv
2012-12-25 18:00:47 -08:00
Boris Zbarsky
90a34fb045
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
df43bc1128
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
5c8280e854
Fix for bug 811701 (Move innerHTML/outerHTML/insertAdjacentHTML from HTMLElement to Element). r=bzbarsky.
2012-12-23 18:38:41 -08:00
Masayuki Nakano
aef542653e
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
8557b6a522
Bug 785060 - Check for allocation failure in JS_NewUCStringCopyZ calls; r=Ms2ger
2012-12-22 18:35:07 -05:00
Peter Van der Beken
a9c13b2cd4
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
6b82e32e41
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
57dcec1ee9
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
20a6d96dc4
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
621ea014c0
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
4a07dc4302
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
46185a1275
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
64e2930074
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
2455263ab2
Bug 813445 part.14 Make dom::EventListenerFlags for nsEventListenerManager r=smaug
2012-12-16 10:26:05 +09:00
Masayuki Nakano
8ef3cf1583
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
0adde071a4
Bug 813445 part.6 Remove NS_EVENT_FLAG_PREVENT_MULTIPLE_ACTIONS r=smaug
2012-12-16 10:26:04 +09:00
Masayuki Nakano
170ab43d48
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
792137f340
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
28cc7d378c
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
eb6b871bcb
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
7146c23e80
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
b4e2a8d95a
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
84b9c456d3
Bug 767638 - Greatly simplify loading full-page plugins. r=josh
2012-12-13 13:51:27 -08:00
Matthew Gregan
7f77f1513c
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
834e3bdd8e
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
b3f6b57284
Bug 819745. Correctly handle body.onerror = null. r=peterv
2012-12-10 14:31:25 -05:00
David Zbarsky
4f6481efb4
Bug 817332 - Remove XPIDL for HTMLPropertiesCollection/PropertyNodeList r=bz
2012-12-08 17:06:42 -05:00
Benedict Singer
eef8ddc2e4
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
3d0ed5758d
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
fa2305ecd5
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
08b01f9ca1
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
e1bb45ee7a
Bug 792404 - Enable DASH build by default; functionality pref'd off r=cpearce
2012-12-06 15:26:20 -08:00
Ed Morley
df2b57eb01
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
a5de435427
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
ee2dc47bbf
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
e2dae3625c
Back out 79fc9d732bf7 (bug 818219) for orange.
...
--HG--
extra : rebase_source : 862b4c446f9b454c4c72e7536e73b9d9ede9feb6
2012-12-06 16:09:55 +01:00
Peter Van der Beken
56e664510b
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
fcb634f039
Bug 559932 - Disable test_bug445004.html for too many intermittent failures
2012-12-05 15:14:10 +00:00
Andrea Marchesini
75dc7a8581
Bug 818220 - SetMutedInternal must be called at anytime
2012-12-04 13:51:13 -08:00
Andrea Marchesini
556369806c
Bug 805333 part 3 - Disable audiochannel for desktop build. r=sicking a=blocking-basecamp
2012-12-04 11:46:07 -08:00
Andrea Marchesini
5504ab46d8
Bug 805333 part 2 - MediaElement connected to AudioChannelService, r=kinetik, a=blocking-basecamp
2012-12-04 11:46:07 -08:00
Andrea Marchesini
496c76a08b
Bug 817043 - mozaudiochanneltype attribute, r=sicking a=blocking-basecamp
2012-12-04 11:46:07 -08:00
Marco Chen
89b1b6353f
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
60ccae9fe3
Bug 817574 - Replace NS_ABS with std::abs. r=roc
2012-12-04 13:33:33 +01:00
Tom Schuster
12e54d9bdb
Bug 676619 - Implementation of the download attribute for links. r=smaug
2012-12-02 21:55:52 +01:00
Peter Van der Beken
f95d18d798
Fix for bug 814195 (Replace Element quickstubs with new binding methods). r=bz.
2012-11-22 12:09:43 +01:00
Paul Adenot
a641c73fd5
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
18c4b91b29
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
6fa18e5571
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
6235b77c71
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
147e2bb1eb
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
e441579753
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
c491e9d557
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
7d0b7e0454
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
38840fde33
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
9ac91a75ad
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
85440b01dc
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
4502a45c4e
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
6248361b00
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
e83a5e9f35
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
02703184c2
Bug 495040 - Implement playbackRate and related bits r=kinetik
2012-11-22 11:38:28 +01:00
Matthew Gregan
173e3e502c
Bug 814292 - Remove mAudioPlaybackThread and AudioStream refcounting. r=cpearce
2012-11-22 16:38:39 +13:00
Boris Zbarsky
68481c3ece
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
8fedf88e00
Bug 812453; fix CopyInnerTo; r=bz
2012-11-22 10:55:37 +13:00
Nicholas Cameron
0992344f55
Bug 814149. Fix GetCanvas. r=bz
2012-11-22 10:55:36 +13:00
Bobby Holley
760ce581ed
Bug 808608 - Remove unnecessary outparam. r=mrbkap
2012-11-21 13:20:05 -08:00
Ryan VanderMeulen
47710276d9
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
52e3d77eed
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
982988287e
Implementation of HTML5 dir=auto. Bug 548206, r=ehsan, peterv.
2012-11-21 02:13:57 -08:00
Simon Montagu
000dc5ba87
Changes to existing tests caused by bug 548206
2012-11-21 02:13:55 -08:00
Seth Fowler
630ed49838
Bug 812241 - Remove disabled test warnings. r=khuey
2012-11-20 16:13:04 -08:00
L. David Baron
b76b368af6
Bug 813373, patch 4: fix printfs that crept in in patch 3.
2012-11-20 13:22:35 -08:00
L. David Baron
be38660c66
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
305c73b87c
Backout b7e492bf7c13, a64c112c6858, 84b9a773104b, 4bd4aabbaf28 and 24ad2de34061 (bug 548206) for Win Ru orange
2012-11-20 08:44:04 -08:00
Simon Montagu
e3a9ed59c0
Implementation of HTML5 dir=auto. Bug 548206, r=ehsan, peterv
2012-11-20 06:21:15 -08:00
Simon Montagu
608f139019
Changes to existing tests caused by bug 548206
2012-11-20 06:21:13 -08:00
Ehsan Akhgari
d5bdac2156
Bug 812032 - Refactor the media reader classes to not access MediaDecoder directly; r=cpearce
2012-11-19 10:11:21 -05:00
Marco Chen
88788c1c05
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
a1d7e0f511
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
ef63ff8332
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
d23220892d
Bug 811449 part 8. Get rid of nsGenericElement. r=peterv
2012-11-14 14:10:08 -08:00
Boris Zbarsky
e369ff0f95
Bug 811449 part 3. Eliminate nsGenericElement as a separate class.
2012-11-14 14:10:07 -08:00
Matthew Gregan
a618a9e67f
Bug 806263 - Move {Get,Set}ValueItemText up to MediaElement. r=doublec
2012-10-29 15:09:07 +13:00
Peter Van der Beken
04d165e18c
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
9abb830db0
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
42d7fd21b1
Bug 811381 - Move media code into mozilla namespace. r=roc
2012-11-14 11:45:33 -08:00
Chris Pearce
43653d0ccc
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
f9e8b1f20a
Bug 811381 - Flatten nsMediaDecoder and nsBuiltinDecoder into a single class. r=roc
2012-11-14 11:45:13 -08:00
Daniel Glazman
ec5abc800c
Bug 811679 - Add nsIEditorObserver back; r=ehsan
2012-11-14 11:23:35 -08:00
Boris Zbarsky
bc9949138a
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
46b9d205df
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
b47760337b
Backout 54c4f2ff78e3 (bug 807075) for Windows compilation errors
2012-11-14 16:45:28 +00:00
Peter Van der Beken
a6c1144dae
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
bc29ba2c56
Add testcase from bug 811226.
...
--HG--
extra : rebase_source : f3b7fc79491b6661d8a15ff2ef3302158c49e715
2012-11-13 16:52:00 +01:00
Nicholas Cameron
b75eec07c3
Bug 800556; remove nsIDOMCanvasRenderingContext2D; r=Ms2ger,sr=bz
...
--HG--
extra : rebase_source : 461ff127a453116f3364f4ba1e414cc527f195bd
2012-11-13 16:35:36 -08:00
Brad Lassey
edd5ac461b
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
508194a997
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
8c64b0474c
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
f774dcd8ba
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
19b287d268
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
584658dc3e
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
721e804d9a
Bug 807224. Implement native-to-JS conversion for WebIDL unions. r=peterv
2012-11-09 07:59:33 -08:00
Mounir Lamouri
2671f5a513
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
5eed937cc5
Bug 809584 - Move the placeholder visibility logic to nsTextEditorState. r=ehsan
2012-11-09 10:31:34 +00:00
Mounir Lamouri
58aa0a96d8
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
b48108567b
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
f739744839
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
94d2c303e6
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
0704216980
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
12f30adf52
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
8d4907583e
Backout e655c9d59704 Bug 809186 until we decide that we really want this.
2012-11-08 21:50:08 -08:00
Dave Hylands
6e9b2d5735
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
6b2b2ee5c8
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
d94c61c8ac
Bug 809587 - Increment the JS malloc counter when doing canvas.toBlob(). r=khuey
2012-11-07 17:49:21 -08:00
Masatoshi Kimura
3bd83e2eac
Bug 801402 - Use EncodingUtils::FindEncodingForLabel from DOM. r=sicking
2012-11-07 18:04:22 -05:00
s@rednaks.tn
fe869f336f
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
a48443ba83
Bug 805287 - Block scripts in PrepareEditorEvent::Run; r=ehsan
...
--HG--
extra : rebase_source : cfe5bf684a384421094acb3f1e7bdea7bedc51bc
2012-11-04 14:27:49 +02:00
Boris Zbarsky
bad3a03ce9
Bug 803129. Convert DOMStringMap to WebIDL. r=peterv
2012-11-05 11:58:03 -05:00
Boris Zbarsky
da22cd5b71
Bug 772869. Make getOwnPropertyNames work correctly for WebIDL proxy bindings. r=peterv,ms2ger
2012-11-05 11:58:03 -05:00
Ms2ger
dd0deeb865
Merge PGO-green chanageset from inbound to m-c.
2012-11-04 10:26:52 +01:00
Ms2ger
48475a4d75
Bug 808305 - Pass a gfx::Rect instead of a gfxRect in InvalidateCanvasContent; r=Bas
2012-11-04 09:05:25 +01:00
Jonathan Kew
6be1bd5f98
bug 804927 - fix text control frame and accessibility issues. r=ehsan,tbsaunde
2012-11-03 12:08:09 +00:00
Jan Beich
95464f420e
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
Justin Lebar
d75eb03310
Backed out changeset a6a847452dbf (bug 802366)
2012-10-30 21:36:29 -04:00