David Anderson
8cc88ca2e4
Merge from mozilla-central.
2012-06-28 15:17:18 -07:00
Andrew McCreight
4b4ebeaccd
Bug 776213 - don't forget about sortedControls. r=smaug
2012-07-31 07:00:13 -07:00
Aryeh Gregor
e64f56cb8b
Bug 778681 part 1 - Make some nsHTMLSelectElement methods infallible; r=bz
2012-07-30 16:48:02 +03:00
Ed Morley
9cdd0db8cb
Merge mozilla-central to mozilla-inbound
2012-08-15 19:00:48 +01:00
Gregor Wagner
f79e6cb659
Bug 781355 - Hook up mozBrowser to Permission Manager. r=jlebar
2012-08-15 10:22:30 -07:00
Trevor Saunders
829d31a16c
bug 683855 implement width and height attributes for html inputs r=bz
2012-06-27 01:17:31 -04:00
Chris Pearce
14f7d80c2c
Bug 784932 - Allow HTMLMediaElement.buffered to be read when readyState > HAVE_NOTHING instead of > HAVE_METADATA. r=roc
2012-08-27 20:30:29 +12:00
Zoe Bellot
ca74cd158f
Bug 746142 - Part 1 - Add inputmode attribute to HTMLInputElement. r=mounir sr=smaug
2012-08-17 11:53:44 +02:00
David Zbarsky
ae85eb5db3
Bug 785671 - nsHTMLMediaElement::mSrcStreamListener should be an nsRefPtr r=roc
2012-08-26 19:33:56 -04:00
Kyle Huey
1a68eab98d
Bug 783162: Make mapped attributes hold the image alive. r=bz
...
The nsCSSValue in nsGenericHTMLElement::MapBackgroundInto is a temporary. This causes a problem after Bug 697230 landed, because the nsCSSValue::Image we put into that value is destroyed once we're done doing style stuff. Previously the nsImageLoader would grab the request off the nsCSSValue::Image and hold it alive. Bug 697230 changed the behavior here; now when the nsCSSValue::Image is destroyed it tells the image loader to drop the request. The result is that all the references to the request are dropped and the frame is never told it has a background.
The solution is to keep the nsCSSValue::Image alive longer. This patch adds two new types of nsAttrValue. The first is an nsCSSValue::URL. A ParseBackgroundAttribute method is added on nsGenericHTMLElement that the relevant elements (body/td/th/table/tr/tbody/thead/tfoot) call that parses background into an nsCSSValue::URL. The second is an nsCSSValue::Image. nsGenericHTMLElement::MapBackgroundInto attempts to convert the nsCSSValue::URL into an nsCSSValue::Image by kicking off the image load. The result is that image loads are only started when the element is actually visible. This also mirrors the way background-image works. This also allows us to fix two longstanding bugs in this code. Since MapBackgroundInto doesn't have a pointer to the actual element, it relied on grabbing the principal of the document. Now we can grab the principal of the node in ParseBackgroundAttribute. MapBackgroundInto also has no way to get at the element's base URI (to honor xml:base), which is now possible in ParseBackgroundAttribute.
nsCSSValue::[Image|URL] have also been moved to be mozilla::css::[Image|URL]Value. nsAttrValue.h is included in external linkage code, so it can't include nsCSSValue.h to get the declarations of nsCSSValue::[Image|URL], and nested classes can't be forward declared. Moving the classes to a namespace solves the problem.
Finally some old inoperative quirks mode code was removed. This code has done nothing since Bug 273078 was landed in 2004.
2012-08-24 10:50:49 -07:00
Henri Sivonen
b43c71a1be
Bug 775467 - Make readyState progress through all states without duplicate transitions. r=bzbarsky.
2012-07-27 16:35:09 +03:00
David Zbarsky
06ea1f66f2
Bug 778519 - Don't include Layers.h everywhere Part 2 r=cjones
2012-07-30 17:42:26 -07:00
Ralph Giles
f63a794f44
Bug 763010 - Expose media element metadata. r=cpearce
...
Implements a media.mozGetMetadata() method returning a new javascript object whose properties are key value pairs respresenting metadata tags from the media resource. This data is available after readystate enters METADATA_LOADED.
Currently this is only implemented for Ogg Vorbis streams.
Media format metadata is parsed out by the media decoders. In the nsCodecStateMachine::ReadMetadata subclasses we fill in an nsDataHashtable pointer using the format-specifc api.
The hash pointer is passed up to the media element as part of the MetadataLoaded event.
The hash is deleted if the load is aborted. The audio metadata is also reset to zero (as in the constructor), resolving a todo comment.
2012-07-30 20:14:29 -04:00
Aryeh Gregor
903f6c9c84
Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan
2012-07-27 16:59:29 +03:00
Ehsan Akhgari
b40b21d633
Merge the nullptr conversion from mozilla-central into mozilla-inbound
2012-07-30 10:28:15 -04:00
Aryeh Gregor
bcce1c96d2
Bug 777292 - Don't use |= on nsresult; r=ehsan
2012-07-27 17:03:08 +03:00
David Anderson
eccdd8879b
Merge from mozilla-central.
2012-06-26 15:37:34 -07:00
Jonathan Watt
6380335603
Bug 767388 - Kill NS_DEBUG. r=bz.
...
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Aryeh Gregor
daea0d4fbf
Bug 760052 - execCommand() should abort and return false for disabled commands; r=ehsan
2012-06-21 15:05:24 +03:00
Aryeh Gregor
0923bf00ef
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Luke Wagner
94264a0bc8
Bug 625199 - s/JSAutoEnterCompartment/JSAutoCompartment/ and make it infallible (r=bholley)
...
--HG--
extra : rebase_source : 12acf2288285f5caefd7fecea8207de3a47eab5b
2012-08-21 18:42:53 -07:00
Robert O'Callahan
727fa86a21
Bug 779715. Part 6: Rework capturing MediaStreams from media elements to use TrackUnionStreams. r=cpearce,jesup
...
Moves to a new setup where a decoder manages a single SourceMediaStream internally. Each stream
returned from mozCaptureStream(UntilEnded) is a TrackUnionStream which is fed by the
decoder's SourceMediaStream.
We want the captured streams to be blocked while the media element is not playing. We do that
by blocking any captured stream that has no SourceMediaStream feeding into it, and blocking
any SourceMediaStream while its decoder is not playing.
We arrange for the decoders's PlaybackEnded to be delayed until its SourceMediaStream has
finished according to the media stream graph. This ensures the state of captured media streams
corresponds more closely to the media element state.
--HG--
extra : rebase_source : 3324ff0e9bdce9c71a23c0f5f2032815e9046081
2012-08-01 00:17:22 +12:00
Mounir Lamouri
45c66f71d7
Bug 787102 - (2/2) - Dispatch the change event for textarea elements even if .value is set while focused. r=bz
2012-09-05 13:40:13 +01:00
Mounir Lamouri
22a7f92553
Bug 787102 - (1/2) - Dispatch the change event for input elements even if .value is set while focused. r=bz
2012-09-05 13:39:33 +01:00
Ryan VanderMeulen
0b244d0a4d
Backout 7887ace84c7d (bug 786801) due to mochitest-other orange.
2012-09-04 22:36:50 -04:00
Masatoshi Kimura
b9f453cd6e
Bug 784367 - Encode/decode document.cookie as UTF-8 per HTML5 spec. r=bz
2012-09-04 21:01:57 -04:00
Luke Wagner
489fcb6974
Bug 786801 - js_InferFlags should not stop at compartment boundaries (r=bhackett)
...
--HG--
extra : rebase_source : a8c83b7965d4b7fd1fa2bf12c1d5e24a20244215
2012-09-04 14:31:04 -07:00
Alessandro Decina
09401d83ff
Bug 761063 - Add avc1.42001E (used by youtube) to the list of supported h264 codecs r=doublec
2012-07-06 14:11:29 -07:00
Mounir Lamouri
c5aa308b73
Bug 771385 - Use more heavily NS_floorModolu() instead of fmod() in nsHTMLInputElement. r=smaug
2012-07-06 14:41:23 +02:00
Mounir Lamouri
cc48d268bc
Bug 771182 - Don't use standard C++ way to detect/set NaN but use MFBT instead. r=smaug
2012-07-06 14:41:00 +02:00
Mounir Lamouri
ff4418f83b
Bug 636634 - Add GetMinAsDouble() and GetMaxAsDouble() to nsHTMLInputElement and refactorize. r=smaug
2012-07-06 14:40:18 +02:00
Raphael Catolino
644abd9343
Bug 765772 - Always sanitize the value when blurring, submitting and getting the value, for <input type='number'>. r=mounir
2012-07-05 18:15:46 +02:00
Aryeh Gregor
09a0d8a8a6
Bug 765595 part 2 - De-COMtaminate nsEditor::mTxnMgr; r=ehsan
2012-06-19 16:23:36 +03:00
Ehsan Akhgari
41da184d14
Merge mozilla-central into mozilla-inbound
2012-07-05 11:13:45 -04:00
Mounir Lamouri
a65283def1
Bug 767806 - Don't create a useless string every time we check for input's validity. r=jlebar
2012-07-05 12:03:19 +02:00
Raphael Catolino
bf4da108f5
Bug 764481 - Add a pref to enable/disable experimental form features. r=mounir
...
--HG--
extra : rebase_source : 43b03c409b9cc52a991ca753c1848d453afbbb33
2012-06-23 14:32:54 +02:00
Mounir Lamouri
0c74f7095a
Bug 636737 - Implement valueAsNumber for <input type='number'>. r=sicking
...
--HG--
extra : rebase_source : 5c77f49a870c6223f46e0259de09b80bbeceef3d
2012-07-05 12:13:41 +02:00
Mounir Lamouri
2f7363d73a
Bug 636627 - Implement stepDown() and stepUp() for <input type='number'>. r=sicking
...
--HG--
extra : rebase_source : 94d0543e68d5c2aa021e07b8b62d674e280f10dd
2012-07-05 16:33:47 +02:00
Mounir Lamouri
32e7acc9a8
Bug 556009 (2/2) - <input type='number'> can suffer from a step mismatch when @step is set. r=sicking
...
--HG--
extra : rebase_source : ebe773a2bd9ade8a1a9cd9b4a6a3aa077fad54b2
2012-06-22 21:02:20 +02:00
Mounir Lamouri
d368078c0c
Bug 556009 (1/2) - Add the step attribute to HTMLInputElement. r=sicking
...
--HG--
extra : rebase_source : 7288832870ee9c6a7964f5f8b3e619c2b2b81c70
2012-07-05 12:12:14 +02:00
Mounir Lamouri
432245fac8
Bug 635554 (2/2) - Implement :in-range and :out-of-range for <input>. r=sicking
...
--HG--
extra : rebase_source : 0c107ddf81fc899dfdeb602bcdc3818dd2d3c541
2012-06-09 19:44:47 +02:00
Mounir Lamouri
aa00366536
Bug 635554 (1/2) - Keep track of whether an input element has a range applying. r=sicking
...
--HG--
extra : rebase_source : b1f577c5acaa70da105352e4d682f608cf938010
2012-06-22 11:41:32 +02:00
Mounir Lamouri
c78821e807
Bug 635553 (2/2) - <input type='number'> can suffer from a range underflow when @min is set. r=sicking
...
--HG--
extra : rebase_source : 27045996c62489b28c799d11b6cee5f5df3a2359
2012-06-22 11:38:20 +02:00
Mounir Lamouri
8d031551dd
Bug 635553 (1/2) - Add the min attribute to HTMLInputElement. r=sicking
...
--HG--
extra : rebase_source : 071c211fde723cb8d79f5d85bab58d8ef2631f66
2012-07-05 12:11:53 +02:00
Mounir Lamouri
ccff7a0918
Bug 635499 (2/2) - <input type='number'> can suffer from a range overflow when @max is set. r=sicking
...
--HG--
extra : rebase_source : 8d5a589b3ab4018de422fb92ab436afc5a083fb7
2012-06-22 11:36:24 +02:00
Mounir Lamouri
cfbdaec5a7
Bug 635499 (1/2) - Add the max attribute to HTMLInputElement. r=sicking
...
--HG--
extra : rebase_source : 4244148c48e837750bb12d809596d8ec18155f73
2012-07-05 12:11:31 +02:00
Mounir Lamouri
4c2739881f
Bug 635281 - Implement the value sanitizing algorithm for <input type="number">. r=sicking
...
--HG--
extra : rebase_source : b4ca5ff2b2ce873012ba3a8e589130123eb40559
2012-06-10 22:24:03 +02:00
Mounir Lamouri
c70ab8fd5b
Bug 635498 - Make <input type='number'> behaves like <input type='text'>. r=sicking
...
--HG--
extra : rebase_source : 0754f845fd6223cd48ca8908ebf642636f0fd9ed
2012-06-10 22:23:17 +02:00
Ehsan Akhgari
5e6974df88
Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions
2012-07-03 20:24:55 -04:00
Ed Morley
bb3f6c2bad
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-07-02 10:03:16 +01:00
Ms2ger
a4ebdb8e6a
Bug 767790 - Remove nsIHTMLDocument::{Get,Set}IsFrameset; r=mounir
2012-07-02 08:22:37 +02:00
David Zbarsky
ae718ee1c0
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
2012-07-01 16:45:59 -07:00
Peter Van der Beken
13f425b97c
Fix for bug 768692 (Move DOM list binding generation to the new DOM binding codegen). r=bzbarsky.
...
--HG--
extra : rebase_source : 651a0fac4c9a87ef1c0a9cd91588c6421fd050c4
2012-05-22 15:46:20 +02:00
Peter Van der Beken
eac55f89be
Fix for bug 762654 (Switch the Azure 2d canvas context to new DOM bindings). r=bz.
2012-05-21 23:30:07 +02:00
Matt Woodrow
cbd39105d9
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-06-30 15:06:11 +12:00
Brian Hackett
0e70360814
Treat canvas invalidations as animation activity for JS heuristics, bug 753630. r=dmandelin
2012-06-29 14:35:06 -07:00
David Anderson
f9753b6d4c
Merge from mozilla-central.
...
--HG--
rename : js/xpconnect/src/XPCThreadContext.cpp => js/xpconnect/src/XPCJSContextStack.cpp
2012-06-22 14:26:15 -07:00
David Anderson
53e70b8a34
Merge from mozilla-central.
2012-06-21 14:02:16 -07:00
David Anderson
9c1aa0957a
Merge from mozilla-central.
2012-06-15 15:23:58 -07:00
Bobby Holley
a25e476e78
Bug 764389 - Update compartment principals on inner window reuse and on document.write. r=bz
2012-06-15 08:31:27 +02:00
Chris Jones
286ba39e07
Bug 757137, part 3: Allow system-principal-privileged code to know that a frame really is mozbrowser. r=jlebar
2012-06-20 12:25:23 -07:00
David Anderson
26ac034690
Merge from mozilla-central.
...
--HG--
rename : accessible/src/html/nsHTMLTableAccessible.cpp => accessible/src/html/HTMLTableAccessible.cpp
rename : accessible/src/html/nsHTMLTableAccessible.h => accessible/src/html/HTMLTableAccessible.h
rename : accessible/src/xul/nsXULAlertAccessible.cpp => accessible/src/xul/XULAlertAccessible.cpp
rename : accessible/src/xul/nsXULAlertAccessible.h => accessible/src/xul/XULAlertAccessible.h
rename : accessible/src/xul/nsXULColorPickerAccessible.cpp => accessible/src/xul/XULColorPickerAccessible.cpp
rename : accessible/src/xul/nsXULColorPickerAccessible.h => accessible/src/xul/XULColorPickerAccessible.h
rename : accessible/src/xul/nsXULComboboxAccessible.cpp => accessible/src/xul/XULComboboxAccessible.cpp
rename : accessible/src/xul/nsXULComboboxAccessible.h => accessible/src/xul/XULComboboxAccessible.h
rename : accessible/src/xul/nsXULMenuAccessible.cpp => accessible/src/xul/XULMenuAccessible.cpp
rename : accessible/src/xul/nsXULMenuAccessible.h => accessible/src/xul/XULMenuAccessible.h
rename : accessible/src/xul/nsXULSliderAccessible.cpp => accessible/src/xul/XULSliderAccessible.cpp
rename : accessible/src/xul/nsXULSliderAccessible.h => accessible/src/xul/XULSliderAccessible.h
rename : accessible/src/xul/nsXULTabAccessible.cpp => accessible/src/xul/XULTabAccessible.cpp
rename : accessible/src/xul/nsXULTreeAccessible.cpp => accessible/src/xul/XULTreeAccessible.cpp
rename : accessible/src/xul/nsXULTreeAccessible.h => accessible/src/xul/XULTreeAccessible.h
rename : accessible/src/xul/nsXULTreeGridAccessible.cpp => accessible/src/xul/XULTreeGridAccessible.cpp
rename : accessible/src/xul/nsXULTreeGridAccessible.h => accessible/src/xul/XULTreeGridAccessible.h
2012-06-12 17:44:22 -07:00
Jan de Mooij
4f467d66c2
Merge m-c to ionmonkey
...
--HG--
rename : accessible/src/html/nsHTMLSelectAccessible.cpp => accessible/src/html/HTMLSelectAccessible.cpp
rename : accessible/src/html/nsHTMLSelectAccessible.h => accessible/src/html/HTMLSelectAccessible.h
rename : memory/jemalloc/jemalloc.c => memory/mozjemalloc/jemalloc.c
rename : memory/jemalloc/jemalloc.h => memory/mozjemalloc/jemalloc.h
2012-06-08 11:18:39 +02:00
Ryan VanderMeulen
891e38e528
Revert c39d36167b99 due to a horribly munged backout.
2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
f497d31a0a
Backout the bug 754202 backout due to orange.
2012-06-10 19:37:47 -04:00
Ryan VanderMeulen
9c1d160da3
Merge the last PGO-green inbound changeset to m-c
2012-06-10 18:21:22 -04:00
Olli Pettay
ac6b89bfdb
Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst
2012-06-10 21:14:30 +03:00
Paul Adenot
869430d548
Bug 760336 - When seeking in an unbuffered range on a live stream, playback stops and |played| reports bogus values. r=chris.double
2012-06-07 11:43:29 +12:00
Paul Adenot
f387024003
Bug 761708 - Wrong |played| value when seeking back in the media. r=chris.double
2012-06-07 11:43:13 +12:00
Mounir Lamouri
8c421a5c03
Bug 760848 - Make select.size reflection follow the specifications. r=smaug
2012-06-07 01:27:53 +02:00
Sean Stangl
fe3f5b47a2
Merge m-c to Ionmonkey.
...
--HG--
rename : accessible/src/base/nsBaseWidgetAccessible.h => accessible/src/generic/BaseAccessibles.h
rename : accessible/src/html/nsHTMLImageMapAccessible.cpp => accessible/src/html/HTMLImageMapAccessible.cpp
rename : accessible/src/html/nsHTMLLinkAccessible.cpp => accessible/src/html/HTMLLinkAccessible.cpp
rename : accessible/src/html/nsHTMLLinkAccessible.h => accessible/src/html/HTMLLinkAccessible.h
2012-06-05 16:54:36 -07:00
Aryeh Gregor
b380362b02
Bug 761993 - Revert broken execCommand("insertparagraph") support; r=ehsan
2012-06-06 20:34:10 +03:00
Ehsan Akhgari
c6218431ee
Merge mozilla-central into mozilla-inbound
2012-06-06 12:46:50 -04:00
Arnaud Bienner
327842ee1f
Bug 565274 - Implement the accept attribute for the form and file upload controls for custom MIME types; r=sicking,mounir
2012-06-06 14:16:58 +02:00
Ed Morley
22d9b9afc4
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-06-06 09:20:35 +01:00
Ms2ger
7f450410f9
Bug 759726 - Move mCanvasElement to nsICanvasRenderingContextInternal and make SetCanvasElement return void; f=bz r=bjacob
2012-06-06 09:42:47 +02:00
Ms2ger
37be1fb791
Bug 760156 - Cleanup LOCAL_INCLUDES in content/media/; r=sicking
...
This patch makes it possible to include nsGenericHTMLElement.h without adding
to LOCAL_INCLUDES.
2012-06-06 09:40:02 +02:00
Geoff Lankow
bdc2b4bb58
Merge m-c to m-i
2012-06-06 15:13:51 +12:00
Geoff Lankow
00f3a215c9
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12:00
Sean Stangl
7d9dc67f9e
Merge m-c to Ionmonkey.
...
--HG--
rename : accessible/src/html/nsHyperTextAccessible.cpp => accessible/src/generic/HyperTextAccessible.cpp
rename : accessible/src/html/nsHyperTextAccessible.h => accessible/src/generic/HyperTextAccessible.h
rename : accessible/src/html/nsHTMLImageAccessible.cpp => accessible/src/generic/ImageAccessible.cpp
rename : accessible/src/html/nsHTMLImageAccessible.h => accessible/src/generic/ImageAccessible.h
rename : accessible/src/msaa/nsHyperTextAccessibleWrap.cpp => accessible/src/msaa/HyperTextAccessibleWrap.cpp
rename : accessible/src/msaa/nsHyperTextAccessibleWrap.h => accessible/src/msaa/HyperTextAccessibleWrap.h
2012-06-04 13:30:29 -07:00
David Zbarsky
e0254c995e
Bug 591467 - Implement HTML5 Microdata API r=bz
2012-06-04 16:49:57 -07:00
Sean Stangl
d9462a4f06
Merge m-c onto Ionmonkey.
...
--HG--
rename : accessible/src/atk/nsAccessibleWrap.cpp => accessible/src/atk/AccessibleWrap.cpp
rename : accessible/src/atk/nsAccessibleWrap.h => accessible/src/atk/AccessibleWrap.h
rename : accessible/src/atk/nsDocAccessibleWrap.h => accessible/src/atk/DocAccessibleWrap.h
rename : accessible/src/base/nsAccessible.cpp => accessible/src/generic/Accessible.cpp
rename : accessible/src/base/nsAccessible.h => accessible/src/generic/Accessible.h
rename : accessible/src/base/nsDocAccessible.cpp => accessible/src/generic/DocAccessible.cpp
rename : accessible/src/base/nsDocAccessible.h => accessible/src/generic/DocAccessible.h
rename : accessible/src/mac/nsAccessibleWrap.h => accessible/src/mac/AccessibleWrap.h
rename : accessible/src/mac/nsAccessibleWrap.mm => accessible/src/mac/AccessibleWrap.mm
rename : accessible/src/mac/nsDocAccessibleWrap.h => accessible/src/mac/DocAccessibleWrap.h
rename : accessible/src/mac/nsDocAccessibleWrap.mm => accessible/src/mac/DocAccessibleWrap.mm
rename : accessible/src/msaa/nsAccessibleWrap.cpp => accessible/src/msaa/AccessibleWrap.cpp
rename : accessible/src/msaa/nsDocAccessibleWrap.cpp => accessible/src/msaa/DocAccessibleWrap.cpp
rename : accessible/src/msaa/nsTextAccessibleWrap.cpp => accessible/src/msaa/TextLeafAccessibleWrap.cpp
rename : accessible/src/msaa/nsTextAccessibleWrap.h => accessible/src/msaa/TextLeafAccessibleWrap.h
rename : netwerk/protocol/http/SpdySession.cpp => netwerk/protocol/http/SpdySession2.cpp
rename : netwerk/protocol/http/SpdySession.h => netwerk/protocol/http/SpdySession2.h
rename : netwerk/protocol/http/SpdySession.cpp => netwerk/protocol/http/SpdySession3.cpp
rename : netwerk/protocol/http/SpdySession.h => netwerk/protocol/http/SpdySession3.h
rename : netwerk/protocol/http/SpdyStream.cpp => netwerk/protocol/http/SpdyStream2.cpp
rename : netwerk/protocol/http/SpdyStream.cpp => netwerk/protocol/http/SpdyStream3.cpp
2012-05-31 17:17:52 -07:00
Kartikaya Gupta
ceed4861d3
Bug 755971 - Switch to using the padding rect size for scrollWidth and scrollHeight, and update tests to continue passing. r=bz, gavin
2012-06-21 09:36:57 -04:00
L. David Baron
06fa5d4558
Rename nsStyleBorder::GetActualBorderWidth to GetComputedBorderWidth. (Bug 713643, patch 4) r=bzbarsky
2012-05-30 22:19:49 -07:00
Chris Double
0e0ad7b069
Bug 758481 - When seeking in an unbuffered range after having ended a media, networkState is NETWORK_IDLE r=chris.double
...
--HG--
extra : rebase_source : e62887187ed20ad6e832bd0211c50392759bb321
2012-05-31 14:30:23 +12:00
David Anderson
29ff7b5c2c
Merge from mozilla-central.
2012-05-23 14:33:15 -07:00
David Anderson
684411090a
Merge from mozilla-central.
2012-05-21 14:40:04 -07:00
Alexander Surkov
9c9cc82f2a
Bug 756383 - make nsHTMLAnchorElement::IsHTMLFocusable faster, r=bz
2012-05-23 12:03:32 +09:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Ryan VanderMeulen
02e3546a23
Merge m-c to inbound.
2012-05-20 19:12:52 -04:00
Olli Pettay
1d51a7d219
Bug 750109, outerhtml crash, r=hsivonen,sicking
2012-05-20 23:54:22 +03:00
Shawn Landden
7d1e4da5f1
Bug 747257 - Part 1: Load .mp4 files in a document wrapper. r=rillian
...
When compiled with --enable-gstreamer, use a document loader for video/mp4,
and associate that type with the decoder in nsHTMLMediaElement.
Bug 422540 fix lets gstreamer render h.264 videos from within webpages with
<video>, however to view these files when loaded directly we need to recognize
their Content-Type.
2012-05-17 17:19:21 -07:00
Tom Schuster
e932326aaf
Bug 752226 - Remove JSVAL_IS_OBJECT from the jsapi. r=dmandelin
...
--HG--
extra : rebase_source : 0943efd64ddf199a4cef12072239302408e5aae5
2012-06-02 20:15:38 +02:00
Mats Palmgren
e091419edc
Bug 760311 - Fix DOS line endings. r=bz
2012-06-01 20:52:37 +02:00
Mats Palmgren
774610ef5b
Bug 760311 - Add a setTimeout to workaround <input type=file> blur issues, and actually call MockFilePicker.cleanup(). r=bz
2012-06-01 20:52:37 +02:00
Boris Zbarsky
3f887fdbe1
Bug 748266. Switch the WebGL canvas context to new DOM bindings. r=peterv
2012-05-31 14:16:48 -04:00
Ed Morley
092d819417
Merge mozilla-central to mozilla-inbound
2012-06-01 16:58:27 +01:00
Ed Morley
f5fef940b6
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-06-01 15:27:36 +01:00
Olli Pettay
78a01c60c9
Bug 744830 - Implement fast serializer for innerHTML/outerHTML, p=jdm+smaug, r=hsivonen
2012-06-01 12:59:16 +03:00
Boris Zbarsky
a02b7fa275
Bug 748692. Don't reparse inline stylesheets on random attribute changes. r=sicking
2012-06-01 00:30:42 -04:00
Andreas Gal
1518859a5b
Bug 714408 Part 2 - Media plugin support for libstagefright - r=doublec
...
--HG--
extra : rebase_source : 308d1aab3cfffbb7ddeb0602a3991565603e6212
2012-06-01 12:54:23 +12:00
Mounir Lamouri
9313ece5ef
Bug 759666 - Make :disabled apply on <option> when their parent <optgroup> has @disabled set. r=bz
2012-06-01 11:46:43 +02:00
Boris Zbarsky
fddc56821d
Backed out changeset f96e0f078b49 (bug 748266) because the test suite is bogus and we're failing a crashtest too.
2012-05-31 16:20:49 -04:00
Boris Zbarsky
c46a9a1068
Bug 748266. Switch the WebGL canvas context to new DOM bindings. r=peterv
2012-05-31 14:16:48 -04:00
Mounir Lamouri
dc2fab13ef
Bug 754668 - Prevent nsTextEditorState to mark the value as changed when it has been requested otherwise. r=ehsan
2012-05-31 18:01:30 +02:00
David Anderson
49c81656ca
Merge from mozilla-central.
...
--HG--
rename : xpcom/ds/CheckedInt.h => mfbt/CheckedInt.h
2012-05-16 15:39:10 -07:00
Laurent Dulary
b56f92f6f2
Bug 660238 (3/3) - Tests. f=mounir r=smaug
2012-05-16 12:24:48 +02:00
Laurent Dulary
402e40ba9d
Bug 660238 (2/3) - Add pseudo-class to access optimal, sub-optimal and sub-sub-optimal meter elements. f=mounir r=smaug
2012-05-16 13:23:31 +02:00
Laurent Dulary
1009b45abd
Bug 660238 (1/3) - Add const getters to nsHTMLMeterElement. f=mounir r=smaug
2012-05-16 13:21:53 +02:00
David Anderson
95e5988f43
Merge from mozilla-central.
2012-05-15 10:22:19 -07:00
Aryeh Gregor
6865bb0c16
Bug 762862 - Rename nsTypedSelection to mozilla::Selection; r=ehsan
...
--HG--
rename : layout/generic/nsTypedSelection.h => layout/generic/Selection.h
2012-06-08 17:20:55 +03:00
David Anderson
cbcd19dd5d
Merge from mozilla-central.
2012-05-14 12:10:12 -07:00
David Anderson
6dfffa2f4b
Merge from mozilla-central.
2012-05-11 14:35:58 -07:00
Tom Schuster
fb630ae705
Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger
2012-05-11 17:46:26 +02:00
Christopher De Cairos
a51913e89c
Bug 726904: Make nsVideoFrame::GetVideoIntrinsicSize return the video size before the poster size. r=cpearce
2012-05-11 20:32:15 +12:00
Mounir Lamouri
d46108bdce
Bug 753978 - Be able to know if a window is part of an application. r=jlebar
2012-05-10 17:56:21 -07:00
David Anderson
1d0465946b
Merge from mozilla-central.
2012-05-10 13:44:10 -07:00
Robert O'Callahan
1c26aed219
Bug 681192. Part 14: Fix test to avoid failure due to event coordinate rounding. r=matspal
...
--HG--
extra : rebase_source : 487873fb423400f15ea7f1dfe424075b0f402574
2012-05-10 17:24:20 +12:00
David Anderson
87cf33f6a7
Merge from mozilla-central.
2012-05-08 17:34:07 -07:00
David Anderson
14bf2a099d
Merge from mozilla-central.
...
--HG--
rename : accessible/src/base/nsRootAccessible.cpp => accessible/src/generic/RootAccessible.cpp
rename : accessible/src/base/nsRootAccessible.h => accessible/src/generic/RootAccessible.h
rename : js/src/jsgcmark.cpp => js/src/gc/Marking.cpp
rename : js/src/jsgcmark.h => js/src/gc/Marking.h
2012-05-04 19:16:35 -07:00
Olli Pettay
1aadf1cb05
Bug 561664 - document.activeElement should never return native anonymous content, r=enndeakin
2012-05-04 17:41:49 +03:00
David Anderson
3b4de3be38
Merge from mozilla-central.
2012-05-03 11:40:52 -07:00
David Anderson
77809391d1
Merge from mozilla-central.
...
--HG--
rename : accessible/src/atk/nsApplicationAccessibleWrap.cpp => accessible/src/atk/ApplicationAccessibleWrap.cpp
rename : accessible/src/atk/nsApplicationAccessibleWrap.h => accessible/src/atk/ApplicationAccessibleWrap.h
rename : accessible/src/base/nsApplicationAccessible.cpp => accessible/src/generic/ApplicationAccessible.cpp
rename : accessible/src/base/nsApplicationAccessible.h => accessible/src/generic/ApplicationAccessible.h
rename : browser/devtools/webconsole/test/browser_gcli_integrate.js => browser/devtools/shared/test/browser_gcli_integrate.js
rename : browser/devtools/webconsole/test/browser_gcli_web.js => browser/devtools/shared/test/browser_gcli_web.js
rename : security/manager/ssl/src/nsNSSIOLayer.cpp => security/manager/ssl/src/TransportSecurityInfo.cpp
rename : security/manager/ssl/src/nsNSSIOLayer.h => security/manager/ssl/src/TransportSecurityInfo.h
2012-04-30 12:53:32 -07:00
Mounir Lamouri
8ab72ab455
Bug 762092 - Remove MPL 1.1 boilerplate from meter-related files. rs=Ms2ger
2012-06-07 20:47:44 +02:00
Mounir Lamouri
b044c5bb85
Bug 762047 - Improve content/html/content/tests/forms/test_progress_element.html. r=Ms2ger
2012-06-07 20:46:53 +02:00
Mounir Lamouri
214c7b9f52
Bug 762044 - Move content/html/content/test/test_bug660238.html to content/html/content/test/forms/ r=Ms2ger
...
--HG--
rename : content/html/content/test/test_bug660238.html => content/html/content/test/forms/test_meter_pseudo-classes.html
2012-06-07 20:46:34 +02:00
Mounir Lamouri
d36bd9b33b
Bug 748238 - <meter> should not be a form control. r=bz
...
--HG--
rename : content/html/content/test/test_bug657938.html => content/html/content/test/forms/test_meter_element.html
2012-06-07 20:42:45 +02:00
Mounir Lamouri
40da038499
Bug 762435 - Make <progress> labelable again. r=bz
2012-06-07 20:41:59 +02:00
Mounir Lamouri
02d0bbfe97
Bug 762434 - Allow any element to be labelable. r=bz
2012-06-07 20:41:23 +02:00
Ed Morley
e0b72fe90a
Backout 5a0fe30e6b1a (bug 565274) for M4 test_bug377624.html failures on a CLOSED TREE
2012-05-03 12:32:49 +01:00
Ralph Giles
3adcc0b005
Bug 674225 - Add Opus support to nsOggReader. r=cpearce
...
Parse and decode Opus streams embedded in the Ogg
container. Based on the draft specification from
https://wiki.xiph.org/OggOpus
Support is conditional on the runtime preference
setting media.opus.enabled, which is false by
default until we're confident the spec is stable
and useful.
This patch doesn't support the gain header or
multichannel files.
The LEUint*() functions from the skeleton parser
are used to read the multi-byte header fields.
This requires moving them to earlier in the file.
Mappings for the .opus filename extension are also
added to facilitate testing with local files.
2012-05-01 17:29:34 -07:00
Arnaud Bienner
6a8c770aec
Bug 565274 - Implement the accept attribute for the form and file upload controls for custom MIME types. r=sicking
2012-05-03 00:49:24 +02:00
Mounir Lamouri
16d4b91674
Bug 760845 - Remove NS_IMPL_POSITIVE_INT_ATTR{,_DEFAULT_VALUE} macros. r=Ms2ger
...
They are no longer used and doesn't match anything in the specifications now.
2012-06-05 15:01:00 +02:00
Simon Montagu
4842b65418
Bug 562169. Add support for :dir(ltr/rtl) CSS selector, content part, r=bz
2012-04-17 07:03:10 +03:00
Simon Montagu
4d946e9779
Bug 562169. Add support for :dir(ltr/rtl) CSS selector, layout/style part, r=bz
2012-08-09 20:37:58 -07:00
Simon Montagu
4d0ef903c3
Add support for :dir(ltr/rtl) CSS selector, content part, Bug 562169, r=bz
2012-04-17 07:03:10 +03:00
Simon Montagu
5ccf0feb0f
Add support for :dir(ltr/rtl) CSS selector, layout/style part. Bug 562159, r=bz
2012-08-07 21:44:24 -07:00
John Schoenick
a597c46f41
Bug 764480 - Don't try to instantiate plugins while not bound to tree. r=josh
2012-08-09 13:57:05 -07:00
Paul Adenot
ea9db5f79a
Bug 567077 - Fix an assertion failure when the decoder was cloned. r=cpearce
2012-08-07 18:00:28 -07:00
Paul Adenot
8ebb59c77f
Bug 567077 - Avoid sniffing when recreating a channel. r=cpearce
2012-08-07 15:56:01 -07:00
Paul Adenot
6d3ce88e68
Bug 567077 - Sniff types of media files that are served with no Content-Type r=cpearce
2012-08-07 15:54:30 -07:00
Paul Adenot
0f3392ee19
Bug 775319 - Determine the sample format at compile time for all media code. r=kinetik
...
--HG--
extra : rebase_source : 4e8a2a4544895c9234ccd3992e1cafe82b8cf365
2012-08-07 16:01:02 -07:00
Paul Adenot
9d2a917ec5
Bug 778902 - When a video finished playing, "pause" should be fired, and |paused| should be true. r=cpearce
...
--HG--
extra : rebase_source : 2866707bd6b61d0225952ff49b858011d79e04ed
2012-08-06 10:27:55 -07:00
David Anderson
c237e59619
Merge from mozilla-central.
...
--HG--
rename : accessible/src/base/nsFormControlAccessible.cpp => accessible/src/generic/FormControlAccessible.cpp
rename : accessible/src/base/nsFormControlAccessible.h => accessible/src/generic/FormControlAccessible.h
rename : accessible/src/html/nsHTMLFormControlAccessible.cpp => accessible/src/html/HTMLFormControlAccessible.cpp
rename : accessible/src/html/nsHTMLFormControlAccessible.h => accessible/src/html/HTMLFormControlAccessible.h
rename : accessible/src/xul/nsXULFormControlAccessible.cpp => accessible/src/xul/XULFormControlAccessible.cpp
rename : accessible/src/xul/nsXULFormControlAccessible.h => accessible/src/xul/XULFormControlAccessible.h
2012-04-18 10:23:31 -07:00
Alessandro Decina
227820df94
Bug 756954 - Return maybe in canPlayType() for h264 container types. r=roc
2012-06-13 21:12:37 -04:00
David Anderson
327308166c
Merge from mozilla-central.
...
--HG--
rename : accessible/src/base/nsARIAGridAccessible.cpp => accessible/src/generic/ARIAGridAccessible.cpp
rename : accessible/src/base/nsARIAGridAccessible.h => accessible/src/generic/ARIAGridAccessible.h
2012-04-11 14:37:59 -07:00
Boris Zbarsky
41ac1056bf
Bug 732209 part 2. Communicate the CORS state of style link loads to the CSS loader. r=sicking
2012-08-28 13:10:07 -04:00
David Anderson
a48e643ce8
Merge from mozilla-central.
2012-04-09 16:18:35 -07:00
Ms2ger
8299fe6b09
Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes.
2012-04-14 17:52:34 +02:00
Ms2ger
05d5270d53
Bug 743573 - Fix a number of build warnings in dom/; r=volkmar
2012-04-14 15:09:47 +02:00