Commit Graph

20904 Commits

Author SHA1 Message Date
Benjamin Chen
5fee249d8f Bug 962878: testcase: Modify the testcase since we can not guarantee the last onDataAvailble always has data. r=roc 2014-06-24 13:52:09 +08:00
Benjamin Chen
3258e2dcc7 Bug 962878 - 1. Reduce the two successive PushBlobRunnable at the end of recording to one. 2. Refine the code flow in Session:Extract for the accuracy of the blob time. r=roc 2014-06-24 14:05:49 +08:00
Jerry Shih
4e9fe40560 Bug 998916 - check the visibility change event to defer the webgl context restore. r=jgilbert,smaug 2014-06-23 01:16:00 +02:00
CJKu
14a0eb0ac4 Bug 1000722 - Rollback close reftest in bug 981477. r=ahal 2014-06-21 01:22:00 +02:00
Walter Litwinczyk
c6ecd6844f Bug 1021791 - Fix old tests for IMPLEMENTATION_COLOR_READ_{FORMAT|TYPE}. r=jgilbert 2014-06-18 15:09:58 -07:00
Walter Litwinczyk
18f43c1fdd Bug 1021791 - Add support for the IMPLEMENTATION_COLOR_READ_{FORMAT|TYPE} enums. r=jgilbert, r=bz 2014-06-18 15:09:56 -07:00
Ehsan Akhgari
0b262938b2 Bug 1028679 - Give DOMAudioNodeMediaStream an out-of-line destructor so that we can forward declare AudioNode in the header; r=bzbarsky
--HG--
extra : rebase_source : d1a17ca2b83f5137ef512d0be5611ae8525f4107
2014-06-24 07:21:21 -07:00
Ehsan Akhgari
5b6971b2b9 Bug 1028680 - Give TextTrackList an out-of-line destructor so that we can forward declare TextTrackManager in the header; r=bzbarsky
--HG--
extra : rebase_source : d8a6eaefd00fe20b0405bef5309100e74a0ac6d7
2014-06-24 07:20:54 -07:00
Benoit Jacob
4c811eba72 Bug 1028588 - Fix dangerous public destructors in content/svg/ - r=heycam 2014-06-24 12:36:45 -04:00
Benoit Jacob
577be64bf4 Bug 1028588 - Fix dangerous public destructors in content/media/ - r=cpearce,smaug 2014-06-24 12:36:43 -04:00
Geoff Brown
57b77cca89 Bug 1020642 - Run more webgl-conformance tests on Android; r=jgilbert 2014-06-23 21:17:02 -06:00
Eric Phan
d7e21aee71 Bug 1015985 - Set decoder seekable members outside of ReadMetadata by StateMachine. r=cpearce 2014-06-23 22:08:34 +12:00
Andrea Marchesini
bc2d4f0706 Bug 1027172 - patch 2 - AudioContext should dispatch call AudioChannelAgent::StopPlaying() when the destination node doesn't have any input or it's muted., r=ehsan
--HG--
rename : content/media/webaudio/test/browser_mozAudioChannel.html => content/media/webaudio/test/browser_mozAudioChannel_muted.html
rename : content/media/webaudio/test/browser_mozAudioChannel.js => content/media/webaudio/test/browser_mozAudioChannel_muted.js
2014-06-24 22:15:36 -07:00
Jim Blandy
b6b202b6bb Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Benoit Jacob
b15850d5c8 Bug 1028588 - Fix dangerous public destructors in content/ - r=khuey 2014-06-24 22:09:15 -04:00
William Chen
309d576f1d Bug 1025638 - Traverse and unlink nsXBLPrototypeResources members. r=mccr8 2014-06-23 19:09:36 -07:00
Garrett Robinson
f1679c726b Bug 1011211 - Disable intermittently failing CSP redirect tests on B2G (for now) r=sstamm 2014-06-23 14:21:54 -07:00
John Schoenick
b7b7eff201 Bug 1025833 - Fix img srcset inadvertently rounding density estimate to nearest int. r=jst 2014-06-23 15:17:06 -07:00
Benoit Jacob
4d8d1e305a Bug 1028420 - Non-unified build fails when using --enable-warnings-as-errors - bustage fix, no review 2014-06-23 14:49:09 -04:00
Ed Morley
a3397ec842 Merge mozilla-central and fx-team 2014-06-24 17:24:53 +01:00
Paolo Amadini
b5f612f085 Bug 1023484 - Improvements and test for the initial requestAutocomplete stub. r=MattN
--HG--
rename : toolkit/components/formautofill/AutofillController.js => toolkit/components/formautofill/FormAutofillContentService.js
rename : toolkit/components/formautofill/nsIAutofillController.idl => toolkit/components/formautofill/nsIFormAutofillContentService.idl
2014-06-24 12:15:02 +01:00
Giovanni Sferro
8b8ef8b7df Bug 1025691 - Use Macro for AutocompleteField* enums. r=smaug DONTBUILD because relanded from an earlier cset, so a no-op
--HG--
extra : rebase_source : 0c3f97902a3fa6a66adb8e63abe2087c0f1c2248
2014-06-21 18:30:00 -04:00
Gijs Kruitbosch
c9ae69147f Backed out changeset 83d14fd3d739 (bug 1025483) for using the wrong bug number
--HG--
extra : rebase_source : 24fc50975af3063010cd038558b2edb20658c31f
2014-06-23 17:04:34 +01:00
Giovanni Sferro
a8529b2c04 Bug 1025483 - Use Macro for AutocompleteField* enums. r=smaug 2014-06-21 18:30:00 -04:00
Wes Kocher
77fdfc0970 Merge m-c to inbound to hopefully open this CLOSED TREE 2014-06-26 18:14:10 -07:00
David Major
3fa36c502a Bug 1018402 - Disable -Gw for the offset files since the extractor doesn't understand it. r=glandium
--HG--
extra : rebase_source : 5351a7166400930d35e3145228dd8d4b4fe3d805
2014-06-26 19:38:53 +12:00
Ryan VanderMeulen
952d09f1a4 Bug 608634 - Re-disable test_error_in_video_document.html on Android for intermittent failures. 2014-06-23 11:42:40 -04:00
Jed Davis
429e00b909 Bug 1027953 - Don't assume int64_t is long long int in media plugin support code. r=cpearce 2014-06-19 18:21:00 +02:00
Benoit Jacob
d69270d1f9 Bug 1028588 - Fix dangerous public destructors in content/canvas/ - r=jrmuizel 2014-06-26 09:30:49 -04:00
Daniel Holbert
0c02719b54 Bug 1030606: Move nsGkAtomList.h entry for 'picture' out of #ifdef ACCESSIBILITY section, to fix --disable-accessibility builds. r=mats 2014-06-26 12:48:05 +00:00
Paul Adenot
812ddf8e87 Bug 1028458 - Don't try to use a resampler when resampling segments to graph rate if we haven't instanciated one yet. r=karlt
--HG--
extra : rebase_source : 3b7696b3e89c1be0e338893578d81088f7182a3b
2014-06-26 14:01:01 +02:00
Michael A. Milazzo
0c7f378d31 Bug 1011748 - Added logic to GetStatusText to ensure the statusText value is available after all redirects (if any) have been followed. Added mochitest unit test which is disabled for b2g and e10. r=bzbarsky 2014-06-24 23:33:03 -07:00
Jonathan Watt
d8f6a0711e Bug 1025553, part 2 - Change gfxMatrix from a struct to a class. r=Bas 2014-06-25 12:59:46 +01:00
Matthew Gregan
99880f5bcb Bug 948269 - Refactor MediaDecoderStateMachine::AudioLoop into a standalone AudioSink class. r=cpearce 2013-12-11 18:03:30 +13:00
JW Wang
a9bb32d767 Bug 1020538 - Enable test_playback_rate.html. r=cpearce 2014-06-26 14:56:24 +12:00
JW Wang
fa16673774 Bug 1020538 - Fix frame position adjustment algorithm in AudioStream. r=kinetik 2014-06-26 14:56:23 +12:00
JW Wang
27bad5c58d Bug 1020538 - Fix the position calculation algorithm in MediaDecoderStateMachine::GetVideoStreamPosition(). r=cpearce 2014-06-26 14:56:23 +12:00
JW Wang
3bc6c25c75 Bug 897108 - test_playback_rate_playpause.html: set preload to 'metadata' to ensure 'loadedmetadata' is fired. r=cpearce 2014-06-26 14:56:23 +12:00
William Chen
035e5c185f Bug 1022869 - Reparent template contents owner document. r=peterv 2014-06-25 17:33:24 -07:00
Christoph Kerschbaumer
0a529616a5 Bug 1011058 - CSP in C++: Use different console message to indicate report only mode (r=sstamm)
--HG--
extra : rebase_source : a8fa04125c9e2bced89ae9843887eff3d4904631
2014-05-25 08:11:50 -07:00
Sid Stamm
efecf0c3c9 Bug 949533 - Remove files that test only x-csp (pre-spec-compliant) CSP implementation. r=grobinson
--HG--
extra : rebase_source : 54222391dd28863512cc0b6b0052904162a43180
2014-06-25 12:07:37 -07:00
Sid Stamm
a08dda43a7 Bug 949533 - Remove uses of x-content-security-policy and pre-spec-compliant parsing/enforcement (file changes). r=jst,grobinson
--HG--
extra : rebase_source : 0be7ad6dc09ef5b6c273748af87503b7c0d19d5b
2014-06-25 12:07:37 -07:00
Peter Van der Beken
98bc3ecb24 Bug 1027095 - Convert XPathResult to WebIDL bindings - add WebIDL API and switch. r=bz. 2013-07-04 17:40:06 +02:00
Bob Owen
2aaffc99ec Bug 1025476 - Part 1: Add compulsory Init functions to AutoJSAPI. r=bholley 2014-06-19 08:21:14 +01:00
John Daggett
4182cf602b Bug 961558 - remove smallCaps from gfxFontStyle. r=jfkthame 2014-06-23 12:09:17 +09:00
Matthew Gregan
5c98e287b8 Bug 1028146 - Remove dangerous public destructor of MediaChannelStatistics. r=cpearce 2014-06-22 16:43:00 +12:00
Matthew Gregan
8bbe3536e3 Bug 1028144 - Remove dangerous public destructor of MediaDecoderReader. r=cpearce 2014-06-22 16:44:00 +12:00
Jonathan Watt
b305824042 Bug 1028522 - Prevent ImageEncoder::ExtractDataInternal from acting on an empty surface. r=gw280 2014-06-22 23:16:26 +01:00
Jonathan Watt
966eacef02 Bug 1016680, part 5 - Report the memory used by PresShell::mCaret. r=dbaron 2014-06-22 23:02:59 +01:00
Andrew McCreight
02ce72cb63 Bug 1021932 - Free the buffer on failure in MediaBufferDecoder::AsyncDecodeMedia. r=padenot 2014-06-22 11:10:08 -07:00
Neil Rashbrook
bf938a3db8 Bug 1026008 Incorrect XBL behaviour with multiple insertion points r=mrbkap 2014-06-22 12:53:01 +01:00
Bill McCloskey
8fd2ccc803 Bug 990729 - Add compartmentPerAddon option for XUL overlays (r=bholley) 2014-06-21 11:55:15 -07:00
Chris Peterson
53878181a7 Bug 1026336 - Fix warnings in content/media/webrtc and mark FAIL_ON_WARNINGS. r=jesup 2014-06-15 11:57:30 -07:00
Benoit Jacob
a16889a6ac Bug 1028121 - Use MFBT RoundUpPow2 in WebGLElementArrayCache - r=jgilbert 2014-06-21 00:09:50 -04:00
Yuki Sekiguchi
b3750b126d Bug 664104 - Part 2: Make ruby related element HTMLElement. r=wchen 2014-06-20 17:08:31 -07:00
Ralph Giles
a1dff513ce Bug 1019291 - Construct Annex B samples in the decoder. r=cpeace
Move Annex B sample formatting from the demuxer to a
static utility function. Return NAL unit syntax
samples by default, since more platforms prefer to
unpack the AVCC data themselves.

Pass the raw AVCC payload to ffmpeg through its extradata
field. It can handle either sample format, expecting one or
the other depending on whether extradata is present.

Pass input samples through a new WMFOutputSource::Input
method. Save a reference to the VideoDecoderConfig in the
WFMVideoOutputSource and use it to convert samples to
Annex B before forwarding them to the MFTDecoder.
2014-06-19 15:59:00 -07:00
Mike Conley
098d3e3317 Bug 989501 - Part 1: If an opening nsITabParent is found when creating a new content window, use that opener's ContentParent to make the new remote browser. r=smaug. 2014-06-20 13:55:40 -04:00
Eric Rahm
f203ad2a35 Bug 1027573 - Crash when measuring memory in about:memory while using Web Audio. r=roc 2014-06-20 10:29:10 -07:00
Ms2ger
8824fbbbd9 Bug 1022855 - Rename nsCSSStyleSheet to mozilla::CSSStyleSheet; r=heycam
--HG--
rename : layout/style/nsCSSStyleSheet.cpp => layout/style/CSSStyleSheet.cpp
rename : layout/style/nsCSSStyleSheet.h => layout/style/CSSStyleSheet.h
2014-06-20 12:32:49 +02:00
Benoit Jacob
90405727ca Bug 1027251 - Fix or whitelist dangerous public destructors in content/media - r=cpearce 2014-06-20 07:08:24 -04:00
Ms2ger
e67cb5f1e0 Backout revision 308e51eae10c for build bustage.
--HG--
rename : layout/style/CSSStyleSheet.cpp => layout/style/nsCSSStyleSheet.cpp
rename : layout/style/CSSStyleSheet.h => layout/style/nsCSSStyleSheet.h
2014-06-20 13:00:08 +02:00
Ms2ger
6a7f549221 Bug 1022855 - Rename nsCSSStyleSheet to mozilla::CSSStyleSheet; r=heycam
--HG--
rename : layout/style/nsCSSStyleSheet.cpp => layout/style/CSSStyleSheet.cpp
rename : layout/style/nsCSSStyleSheet.h => layout/style/CSSStyleSheet.h
2014-06-20 12:32:49 +02:00
Paul Adenot
91f63ee931 Bug 1015519 - Don't write uninitialized buffers to the AudioStream in AudioSegment::WriteTo. r=roc 2014-06-19 13:30:27 +02:00
Daniel Holbert
29f9a0dc57 Bug 1024328: Remove unnecessary #includes of nsFrameManager.h. r=jwatt 2014-06-19 22:07:46 -04:00
Kyle Huey
c46bed2510 Bug 737976: Remove nsINodeInfo. r=smaug
--HG--
rename : content/base/src/nsNodeInfo.cpp => dom/base/NodeInfo.cpp
rename : content/base/public/nsINodeInfo.h => dom/base/NodeInfo.h
rename : content/base/src/nsNodeInfo.h => dom/base/NodeInfoInlines.h
2014-06-19 19:01:40 -07:00
Wes Kocher
6b2d91e1b6 Backed out 2 changesets (bug 1026008, bug 1025264) for debug crashtest leaks on a CLOSED TREE
Backed out changeset d7ab14487c62 (bug 1026008)
Backed out changeset 0b04aefdd3e3 (bug 1025264)
2014-06-19 17:13:12 -07:00
Neil Rashbrook
8429be6885 Bug 1026008 Incorrect XBL behaviour with multiple insertion points r=mrbkap 2014-06-19 23:57:42 +01:00
Andrew McCreight
ab1105c8e9 Bug 1000609 - Free mData in ~BlobSet. r=khuey 2014-06-19 14:36:58 -07:00
Benjamin Chen
8bffd58059 Bug 969372: part1: Change the prototype of FreezableElementEnumerator in nsIDocument from nsIContent to nsISupports, and rename it to ActivityObservers. r=roc 2014-06-19 10:09:35 +08:00
Benjamin Chen
74c23d0b7e Bug 969372: part2: 1. Let Session hold a reference to MediaRecorder. 2. MediaRecorder implement nsIDocumentActivity. r=roc 2014-06-19 10:11:34 +08:00
Benjamin Chen
7b9b52ae34 Bug 969372: part3: fix the testcase. r=roc 2014-06-19 10:14:37 +08:00
David Keeler
e42cb16a81 bug 1025330 - expose the failed channel in nsIDocShell for error pages r=bz 2014-06-19 13:55:55 -07:00
Jonathan Watt
1cdf5f551b Bug 1027763, part 2 - Make non-Moz2D callers of DrawTarget::GetType() call DrawTarget::GetBackendType() instead. r=Bas 2014-06-19 21:35:33 +01:00
Ed Morley
852bdac6b1 Backed out changeset 9fd0316dcd1b (bug 1016413) for crashes during e10s test_metadata.html 2014-06-19 16:35:00 +01:00
Ed Morley
c30f1fb9e2 Backed out changeset 3ff9374610b7 (bug 1016413) 2014-06-19 16:34:42 +01:00
Corentin Cos
cb576e3916 Bug 1016413 - Tests for fmp4 metadata backend. r=rillian
The reporting of metadata with fmp4 backend is tested here with the
file gizmo.metadata.mp4, and some changes are made on test_metadata.html
to integrate tests on mp4 files with restriction to certain platforms.
A 'type' field has also been added to gMetadataTests' elements in
manifest.js in order to correctly test the type with canPlayType method
for instance.
2014-06-17 00:32:18 +02:00
Corentin Cos
7727661b59 Bug 1016413 - Implement reporting metadata with fmp4 backend. r=rillian
There are 3 files modified in order to have the reporting work.

MP4Reader::ReadMetadata() has now its aTags parameter affected with
a certain MetadataTags structure which comes from MP4Demuxer::GetTags().

MP4Demuxer::GetTags() is in the mp4_demuxer's namespace, where a
structure mapping tags key to its char* value is set.

MP4Demuxer::GetTags() loops all along this mapping structure, and
checks for each key if there is metadata corresponding to it in the
current file's extracted metadata. If there is, it stores the current
key and its corresponding metadata value into a mozilla::MetadataTags
structure.
2014-06-17 00:32:18 +02:00
Ed Morley
6745261171 Backed out changeset d346871db5f6 (bug 1020697) for intermittent test failures 2014-06-19 13:19:56 +01:00
Jonathan Watt
7803ef55ff Bug 1026985 - Stop reporting the memory use of nsAttrValue's MiscContainer objects if they are shared between more than one nsAttrValue. r=bz 2014-06-19 10:14:41 +01:00
Jonathan Kew
da86af6995 bug 871453 - part 1 - pass the font-synthesis flags down to gfxFontStyle. r=jdaggett 2014-06-19 08:08:55 +01:00
Cameron McCormack
c6f2132e7d Bug 1025725 - Part 3: Encapsulate nsXBLPrototypeResources::mStyleSheetList. r=bzbarsky 2014-06-19 17:02:56 +10:00
Karl Tomlinson
16c6126e78 b=1006279 finalize thread pool when MediaBufferDecoder is destroyed r=padenot
--HG--
extra : transplant_source : %B3%A2%CA%00%3Ct%23%E4%AF%17%3B%C4%D0%E08%8Bn%08%D8%94
2014-06-19 14:48:22 +12:00
Birunthan Mohanathas
617866f602 Bug 1026535 - Fix mismatched class/struct tags. r=ehsan 2014-06-18 17:57:51 -07:00
Birunthan Mohanathas
c910458886 Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin 2014-06-18 17:56:02 -07:00
Nicholas Nethercote
bb9d51e11e Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
L. David Baron
31d0f794c2 Bug 996798 - Add a typedef to make it easier to change the size of nsWrapperCache/nsINode flags. r=bzbarsky 2014-06-18 17:07:26 -07:00
Jeff Gilbert
40d8d0fb28 Bug 1000640 - Mark C/A 1.0/0.5 non-premult test as random, since it passes on Win7 Ru. - r=mattwoodrow 2014-06-18 17:04:06 -07:00
Jeff Gilbert
0fe4b1df31 Bug 1000640 - Mark WinXP as failing color-alpha-test unpremultiplied reftests. - r=mattwoodrow 2014-06-18 17:04:06 -07:00
Jeff Gilbert
4ffbabe4bc Bug 1000640 - Use new StreamTextureClient/Host with OMTC. - r=mattwoodrow 2014-06-18 17:04:06 -07:00
Jeff Gilbert
848f7a9baa Bug 1000640 - Death to whitespace. - r=mattwoodrow 2014-06-18 17:04:05 -07:00
Jeff Gilbert
2c846dda69 Bug 1000640 - Handle non-premult alpha in Layers. - r=mattwoodrow 2014-06-18 17:04:05 -07:00
Kyle Huey
bd04752f32 Bug 1015662: Drop the edge from <track> to its channel once the load is completed. r=bz 2014-06-18 13:10:24 -07:00
Corentin Cos
27b5e982a8 Bug 1026704 - Prefer FMP4 over GStreamer. r=rillian
This change has to be made because FMP4 is meant to take over GStreamer for MP4 file format. This way, FMP4 will be instantiated by default over GStreamer if both tools work (on a certain Linux platform).
2014-06-17 00:32:18 +02:00
Giovanni Sferro
01de2a2aed Bug 1020697 - Implement @autocomplete for <select>. r=smaug 2014-06-17 19:50:00 +02:00
Masayuki Nakano
65d9bd13fa Bug 976673 part.3 Don't synthesize mouse events while another mouse event is being synthesized r=smaug 2014-06-18 15:13:00 +09:00
Karl Tomlinson
68e7c0e5fe b=1026325 backout 169de60f0b1e from bug 821062 for shutdown hang
--HG--
extra : transplant_source : %92%9Cm8%AE%13%10U%06%FA%FA%15%08n%DF%5Do%18%87%E7
2014-06-18 17:24:05 +12:00
Karl Tomlinson
a00e79f243 b=1024901 revert TrackTicks range assertion to warning, unintentionally changed in b33b8af66151 r=roc
--HG--
extra : transplant_source : %D8%F8%C3%C2%C3%BF%29%F5%9C%3DiG%04%F9%86Gu%29%9A%8C
2014-06-18 17:23:57 +12:00
Chris Pearce
763787ecd7 Bug 979104 - MediaDecoderReader/StateMachine asynchronous decoding. r=kinetik 2014-06-18 17:07:02 +12:00
Nikhil Marathe
ad956bc189 Bug 1025082 - ServiceWorker related WebIDL changes. r=ehsan,jst
--HG--
extra : amend_source : c8d89097ddfb423ba2eb39beb469c48b69944a89
2014-06-17 11:01:28 -07:00
Jonathan Watt
d8f30cbd1f Bug 1025553, part 1 - Change the names of the members of gfxMatrix to match the names of the members of Moz2D's Matrix. r=Bas 2014-06-17 18:35:51 +01:00
Ehsan Akhgari
35e9bd1fe7 Fix the places where we forward declare mozilla::dom::Nullable as a class, no bug, r=I'm-sick-and-tired-of-MSVC-stupidity 2014-06-17 11:03:42 -04:00
Ehsan Akhgari
bf9af450a4 Fix the places where we forward declare already_AddRefed as a struct, no bug, r=I'm-sick-and-tired-of-MSVC-stupidity 2014-06-17 10:57:23 -04:00
Josiah Bruner
74da862e65 Bug 1021309 - Add "mac-yosemite-theme" CSS system metric. r=mstange 2014-06-05 18:02:46 -04:00
Carsten "Tomcat" Book
a33cd9bbff Merge mozilla-central to mozilla-inbound 2014-06-17 14:32:55 +02:00
Carsten "Tomcat" Book
f72b2aa35a merge fx-team to mozilla-central a=merge 2014-06-17 14:09:46 +02:00
JW Wang
c0315ef667 Bug 1023781 - default preload is 'none' on B2G. It will not create a decoder at all and we will get 'suspend' instead of 'error'. r=cajbir 2014-06-16 20:17:00 +02:00
Josh Matthews
962b5937d0 Bug 902271 - Make StorageInputStream serializable cross-process. r=bent 2014-06-17 11:52:59 +01:00
Jonathan Watt
f8b8a6eeb8 Bug 1022821, part 3 - In content code, stop returning RefPtr and, where not an out-param, stop using RefPtr arguments. r=gw280 2014-06-17 10:37:46 +01:00
Chris Pearce
826cba6235 Bug 1022913 - Ensure that fastSeek() doesn't skip behind the current playback position if we're seeking forwards. r=cajbir 2014-06-17 15:27:46 +12:00
Ben Kelly
bf1b5506d6 Bug 1025973 - Part 1: Rename GlobalObject::GetContext() to Context(). r=bz 2014-06-16 14:08:00 -04:00
Anthony Jones
3020a54ab1 Bug 1020679 - Crash test for timescale /0. r=cpearce 2014-06-17 13:52:01 +12:00
Olli Pettay
837c622779 Bug 902618 - Parser notifies about subtree roots, but not their descendants, r=hsivonen,bz 2014-06-17 02:01:22 +03:00
Carsten "Tomcat" Book
b641634f08 Backed out changeset 8fc4cf38057e (bug 1011748) for mochitest-e10s-1 test failures 2014-06-16 10:56:04 +02:00
Carsten "Tomcat" Book
72d2bd2ac3 Backed out changeset fc765663d8f8 (bug 1011748) 2014-06-16 10:55:32 +02:00
Gijs Kruitbosch
a774e2ed55 Bug 1022025, r=bholley,mfinkle 2014-06-14 22:01:55 +01:00
Michael A. Milazzo
aaea81fdae Bug 1011748 - Mochitest unit test + resource files for this bug. r=bzbarsky 2014-06-13 21:59:32 -07:00
Michael A. Milazzo
141256b4cf Bug 1011748 - Added logic to GetStatusText to ensure the statusText is available after all redirects (if any) have been followed. r=bz 2014-06-09 23:14:53 -07:00
Walter Litwinczyk
80ef3a269d Bug 1024064 - webgl-1.0.3 Initialize all vertex attributes to default values. r=jgilbert 2014-06-12 13:27:19 -07:00
Ehsan Akhgari
968a1472a5 Bug 1024459 - Define an out of line destructor for TextTrack so that we can forward delcare HTMLTrackElement in TextTrack.h; r=bzbarsky
This is required because the destructor for the nsRefPtr<HTMLTrackElement>
member requires the full definition of the type.
2014-06-14 22:53:52 -04:00
Guillaume Abadie
90b929b9a9 Bug 973815 - Implements WebGL draft extension EXT_blend_minmax - r=jgilbert,bzbarsky 2014-06-14 09:07:53 -07:00
Ehsan Akhgari
88a2daa128 Bug 1025324 - Define an out of line destructor for MediaSource so that we can forward delcare MediaSourceList in MediaSource.h; r=bzbarsky
This is required because the destructor for the nsRefPtr<MediaSourceList>
member requires the full definition of the type.
2014-06-14 10:04:01 -04:00
Masayuki Nakano
00a740a47b Bug 1024864 Warn KeyboardEvent.key value change when KeyboardEvent.key is read and its key value is obsolete r=smaug 2014-06-14 11:24:16 +09:00
Ehsan Akhgari
efbf78ada0 Backed out changeset ca5b7ed0dd5a (bug 973815) because of build bustage 2014-06-13 21:09:10 -04:00
Guillaume Abadie
59ca14014f Bug 973815 - Implements WebGL extension EXT_blend_minmax - r=jgilbert,bzbarsky 2014-06-10 18:20:12 -07:00
Jonathan Watt
1fe689f99d Bug 1019753, part 2 - Use Moz2D DataSourceSurfaces instead of Thebes gfxImageSurfaces in DocumentRendererParent.cpp and ImageEncoder.cpp. r=mattwoodrow
--HG--
extra : rebase_source : fc39f0aede22e48ea853b1978eddeb8cc8c43a60
2014-06-04 08:08:39 +01:00
Ehsan Akhgari
3b9861ed6a Backed out changeset 0cdef46c65c1 (bug 979104) for causing bug 1024324 2014-06-13 16:20:37 -04:00
Randell Jesup
e3cb840cc2 Bug 1022235: Make the webrtc LoadManager/LoadMonitor a singleton r=bsmedberg,pkerr 2014-06-13 15:50:51 -04:00
Sid Stamm
8bacc23874 Bug 846978 - disable frame-ancestors checks when CSP is report-only and fix cross-origin frame-ancestors violation URI leak. r=ckerschb,grobinson 2014-06-13 11:06:04 -07:00
Sid Stamm
91bbe648b1 Bug 805929 - test CSP blockage of setInterval and return values from setTimeout. r=grobinson 2014-06-13 11:05:37 -07:00
Andrea Marchesini
205429b693 Bug 1023175 - AudioContext should have attribute EventHandler onmozinterruptend/begin in the webIDL interface, r=ehsan, r=smaug 2014-06-13 07:06:14 +01:00
Ryan VanderMeulen
aa9f3b7b03 No bug - Adjust expected assertions for test_playback_rate.html on Linux. 2014-06-12 18:20:16 -04:00
Milan Sreckovic
1fe37abd13 Bug 1019257: Canvas pattern setTransform exposed through WebIDL. r=gw280,bz.
--HG--
extra : rebase_source : a12b913bf1cfeb11313aa1525d1ebcae075e1456
2014-06-12 10:54:43 -04:00
Ehsan Akhgari
ac692ed2ca Bug 1024463 - Define an out of line destructor for TextTrackCue so that we can forward delcare HTMLTrackElement in TextTrackCue.h; r=bzbarsky
This is required because the destructor for the nsRefPtr<HTMLTrackElement>
member requires the full definition of the type.
2014-06-12 11:31:18 -04:00
Walter Litwinczyk
a3c268a4d5 Bug 1024066 - Fix webgl-1.0.3 conformance failure OES texture half float. r=jgilbert 2014-06-11 14:31:29 -07:00
Randy Lin
58ecede7d1 Bug 1011149 - Video freezes when audio track is disabled on remote stream. r=jesup 2014-06-10 10:32:30 +08:00
Xidorn Quan
fc0b9b51b4 Bug 966166 - Part 4: Rewrite some builtin counter styles. r=dbaron 2014-06-11 21:12:00 -04:00
Giovanni Sferro
4f5b08d3ab Bug 597650 - Label controls don't apply to input controls with type="hidden". r=smaug 2014-06-09 21:51:00 -04:00
Karl Tomlinson
1a7b58ab55 b=1023697 use audio ticks for graph time units r=roc
--HG--
extra : transplant_source : 8%BA%9D%5C%E32%05x%A79K%08TH%A7%F4%F2tg%EC
2014-06-12 16:45:00 +12:00
Karl Tomlinson
919d411be0 b=1023697 use 0 for initial graph time r=roc
We could get away with 1 as an initial time when units were 1/(1<<20) seconds
but when graph time units are audio samples, an initial value of 1 will mean
that the first audio block produced has 1 frame fewer.

--HG--
extra : transplant_source : %FF%D5%AF%A9%C7%EA%C4%D7%ED%8F%CC%AC%E4%5E%FF%D0%87%8D%3AN
2014-06-12 16:45:00 +12:00
Karl Tomlinson
8162b6c276 b=1023697 add functions to convert between track ticks and seconds, and remove global MediaTime/second conversion functions r=roc
--HG--
extra : transplant_source : %F3%D8%C168%B7%A3%13%B2p%3Ee%89TkGlD%A8%A7
2014-06-12 16:45:00 +12:00
Karl Tomlinson
06f827fea2 b=1023697 simplify StreamBuffer::ForgetUpTo() to avoid graph-rate-dependent conversions r=roc
--HG--
extra : transplant_source : %16%9C%08%CA%3E%DD%82%21%D2%90%7D%29%FB%D9L%9E%F8%2A%CBd
2014-06-12 16:44:59 +12:00
Karl Tomlinson
204d77eaf8 b=1023697 add functions to convert between track rates and remove global StreamTime/tick conversion functions r=roc
--HG--
extra : transplant_source : %B6%BC%83%17%22%EE%5D%BEl%B6%17m%1C%D0N%D1C%97%60%E1
2014-06-12 16:44:59 +12:00
Karl Tomlinson
186aab0feb b=1023697 record the graph tick rate on StreamBuffer and its Tracks for StreamTime calculations r=roc
--HG--
extra : transplant_source : 8%B4%DB%A4%FE%2C%B7%235%7F%7D5%2C%FA%BA%0D%9E%CC%7E%11
2014-06-12 16:44:59 +12:00
Karl Tomlinson
fb729643de b=1023697 use MediaStream to convert between stream time and seconds in Web Audio r=roc
--HG--
extra : transplant_source : %FE%C77k/%25%B4%25F%FB1%EAAqn%CA%DEH%06%C0
2014-06-12 16:44:58 +12:00
Karl Tomlinson
ac83725590 b=1023697 use MediaStream to convert stream time to seconds in DOMMediaStream r=roc
--HG--
extra : transplant_source : %D4%9E%26%05%E3%8AQ%7B%D1%D1%E8%88j%DC%F7r.%7BJ%1A
2014-06-12 16:44:58 +12:00
Karl Tomlinson
bd3cf9171c b=1023697 use MediaStream to convert stream time to ticks in media engine sources r=roc
--HG--
extra : transplant_source : %F9O%C0T_%C9%8D%9C%3Bt%CB%60%EA%60%C3i_%E0A%9D
2014-06-12 16:44:57 +12:00
Karl Tomlinson
979579bad3 b=1023697 use MediaStream to convert stream time to seconds in HTMLMediaElement r=roc
--HG--
extra : transplant_source : %7D%AF%00%8F%0F4%E3%3C.%F7%E2%92%BA%CB%92%0E/%19%CFM
2014-06-12 16:44:57 +12:00
Karl Tomlinson
157b4b4902 b=1023697 use MediaStream to convert ticks to time in MediaDecoderStateMachine r=roc
--HG--
extra : transplant_source : %EA%E0%A5rH%F6%F55%B0%28%3Eq%5C%8Ap%FC%06%3D%06%3B
2014-06-12 16:44:56 +12:00
Karl Tomlinson
d4faed6b58 b=1023697 change MediaDecoderStateMachine::mSyncPointInMediaStream from StreamTime to µs r=roc
This allows the conversion from StreamTime to be performed while a stream is
available.

--HG--
extra : transplant_source : %3A%AD%5C%1A%84%C3%1BC%8B%04%D5%5B%90%3Cv%BE%A6%D6%C0%9D
2014-06-12 16:44:56 +12:00
Karl Tomlinson
e248292a1d b=1023697 add methods to MediaStream for tick and time conversions r=roc
When MediaTime depends on the audio rate of the graph, the stream will know the
graph rate and so can perform the conversion.

Existing methods in StreamBuffer.h and MediaSegment.h will be removed once
clients have been changed to the new methods.

--HG--
extra : transplant_source : %155uv%90%EC%81%C8%888%C4%17%AF%ED%1B%A0B%90%5E%26
2014-06-12 16:44:56 +12:00
Karl Tomlinson
0820fd82f2 b=1023697 remove unused TicksToTimeRound() r=roc
--HG--
extra : transplant_source : %3E%84%B8%C7%25%EE%EEz%08%B9%ABx8%27%C3%BA%9C%F6%9D%ED
2014-06-12 16:44:55 +12:00
Karl Tomlinson
a9a8a4cee4 b=995690 don't advance audio output stream position 1 tick beyond what has been produced r=roc
This may result in repeating a sample sometimes due to rounding effects, but
that should only happen once per unblocked sequence of track frames.

--HG--
extra : transplant_source : %0C%E9%A4jq%286%96%B1%A9%AE%9F%1Cr%DCK%8F%AF%92i
2014-06-12 16:41:29 +12:00
Karl Tomlinson
2d4e3075a2 b=995690 correct mLastTickWritten to only advance when not blocked r=roc
mLastTickWritten and offset are stream positions, which do not advance when
the stream is blocked.

--HG--
extra : transplant_source : %15%7B%E5%E9.%89%BC%1E%F8%92%FD%3D%CB%10%FC%AD%EAT%90-
2014-06-12 16:40:51 +12:00
Ehsan Akhgari
d7968eead1 Bug 1024195 - Fix a compilation error with clang-cl in nsContentList.cpp; r=bzbarsky
This is similar to bug 1021494.
2014-06-11 21:56:59 -04:00
Cameron McCormack
cf5f15e987 Bug 1023727 - SVGStyleElement::UnbindFromTree should look at the element's containing shadow, not its own shadow. r=wchen 2014-06-12 11:15:22 +10:00
Boris Zbarsky
b6c8784504 Bug 1009675 part 3. Return WebIDL 'object' values as handles. r=peterv 2014-06-11 16:26:52 -04:00
Boris Zbarsky
1284410aa0 Bug 1009675 part 2. Return WebIDL 'any' values as handles. r=peterv 2014-06-11 16:26:52 -04:00
Shihua Zheng
1f77281bae Bug 1019368 - Cleaning extra whitespace in FileReader, r=bent. DONTBUILD 2014-06-10 20:59:45 -07:00
Ed Morley
8b6fb691bd Backed out changeset bfb5297101cd (bug 1000640) for compilation failures on B2G 2014-06-11 17:07:41 +01:00
Ed Morley
32338f43fe Backed out changeset 11bb536cdede (bug 1000640) 2014-06-11 17:07:17 +01:00
Ed Morley
eea2dcd242 Backed out changeset c4681bf6680c (bug 1000640) 2014-06-11 17:07:10 +01:00
Ed Morley
0acd8050b4 Backed out changeset 5458e23a7f0a (bug 1000640) 2014-06-11 17:07:07 +01:00
Ed Morley
e5bf482163 Backed out changeset dacd814d3bb0 (bug 1000640) 2014-06-11 17:07:03 +01:00
Jeff Gilbert
dff51afde2 Bug 1000640 - Mark C/A 1.0/0.5 non-premult test as random, since it passes on Win7 Ru. - r=mattwoodrow CLOSED TREE 2014-06-04 16:54:51 -07:00
Jeff Gilbert
49a63a67df Bug 1000640 - Mark WinXP as failing color-alpha-test unpremultiplied reftests. - r=mattwoodrow 2014-06-04 15:20:27 -07:00
Jeff Gilbert
03f417f180 Bug 1000640 - Use new StreamTextureClient/Host with OMTC. - r=mattwoodrow 2014-06-04 15:20:26 -07:00
Jeff Gilbert
8c1e713b28 Bug 1000640 - Death to whitespace. - r=mattwoodrow 2014-06-04 15:20:25 -07:00
Jeff Gilbert
a0b2d200ef Bug 1000640 - Handle non-premult alpha in Layers. - r=mattwoodrow 2014-06-04 15:20:24 -07:00
Shihua Zheng
e8271a0c9e Bug 1017765 - Replace nsChannel with nsAsyncInputStream for FileReader API, r=bent 2014-06-10 11:48:36 -07:00
"Kan-Ru Chen (陳侃如)"
0896e79e4f Bug 879475 - Part 005. Implement ContentBridge r=jlebar
Based on original patch by David Zbarsky <dzbarsky@gmail.com>
2014-06-11 13:44:13 +08:00
"Kan-Ru Chen (陳侃如)"
54d6af82e8 Bug 879475 - Part 002. Add an nsIContentChild api r=jlebar
Based on original patch by David Zbarsky <dzbarsky@gmail.com>
2014-06-11 13:44:06 +08:00
"Kan-Ru Chen (陳侃如)"
ddfb97c575 Bug 879475 - Part 001. Add an nsIContentParent api r=jlebar
Based on original patch by David Zbarsky <dzbarsky@gmail.com>
2014-06-11 13:44:03 +08:00
Shian-Yow Wu
1caefcaf10 Bug 1022607 - Only cache the response when the readyState is DONE. r=bent 2014-06-11 11:37:47 +08:00
Wes Kocher
043bf47677 Merge m-c to inbound 2014-06-10 18:55:47 -07:00
Wes Kocher
c9f1714389 Merge fx-team to m-c a=merge 2014-06-10 18:47:36 -07:00
Guillaume Abadie
0cb4b6e2cc Bug 1022077 - Fixes a bug in WebGL's vertex array objects' software implementation - r=jgilbert 2014-06-10 17:23:50 -07:00
Guillaume Abadie
92f9a15e9a Bug 1022272 - Lets WebGL's draw{Arrays,Elements}() generate INVALID_OPERATION when all vertex attributes' divisor are different of 0 - r=jgilbert 2014-06-10 17:23:49 -07:00
Chris Pearce
ee3f553842 Bug 1022468 - Detect EOS in MP4Stream::ReadAt(). r=kentuckyfriedtakahe 2014-06-11 10:53:41 +12:00
Chris Pearce
81e0c13304 Bug 1022467 - Proxy destruction of WMFVideoOutputSource's DXVA2Manager to main thread. r=padenot 2014-06-11 10:53:21 +12:00
William Chen
6d093181ec Bug 1022741 - Use CrossShadowCurrentDoc() in Element::UpdateState. r=smaug 2014-06-10 14:41:31 -07:00
Brad Lassey
061a0c6028 bug 1023108 - nsITabSource.idl UUID have to be updated for the 31 release r=mfinkle 2014-06-10 09:21:22 -07:00
Chris Pearce
5f9673dc9d Bug 979104 - MediaDecoderReader/StateMachine asynchronous decoding. r=kinetik 2014-06-10 19:31:09 +12:00
Cameron McCormack
4e1ee63233 Bug 1017798 - Part 2: Set content bits on elements in shadow trees indicating whether they are in a style scope from the light tree. r=bzbarsky 2014-06-06 15:23:40 +10:00
Cameron McCormack
10b511a515 Bug 1017798 - Part 1: Make AncestorFilter and the TreeMatchContext style scope list include ancestors from following ShadowRoots up to the light tree. r=bzbarsky 2014-06-06 15:22:55 +10:00
Andrea Marchesini
5668ca3c96 Bug 1018682 - URL API - SetProtocol should serialize and reparse the URL, r=bz 2014-06-09 17:20:19 +01:00
Ed Morley
b4dde83da2 Backed out changeset f7e0ffc1debd (bug 879475) for B2G reftest crashes 2014-06-09 11:28:40 +01:00
Ed Morley
15d2941cd1 Backed out changeset f1406960c26a (bug 879475) 2014-06-09 11:28:16 +01:00
Ed Morley
a79ae6799c Backed out changeset a7872dbfa5ce (bug 879475) 2014-06-09 11:28:05 +01:00
Ed Morley
dc7db7a234 Backed out changeset 3395ce618c91 (bug 979104) for mochitest-1 hangs and leaks 2014-06-09 11:25:19 +01:00
"Kan-Ru Chen (陳侃如)"
be492740ae Bug 879475 - Part 005. Implement ContentBridge r=jlebar
Based on original patch by David Zbarsky <dzbarsky@gmail.com>
2014-06-09 16:49:12 +08:00
"Kan-Ru Chen (陳侃如)"
ec61000e1d Bug 879475 - Part 002. Add an nsIContentChild api r=jlebar
Based on original patch by David Zbarsky <dzbarsky@gmail.com>
2014-06-09 16:49:11 +08:00
"Kan-Ru Chen (陳侃如)"
cbf56a0ce7 Bug 879475 - Part 001. Add an nsIContentParent api r=jlebar
Based on original patch by David Zbarsky <dzbarsky@gmail.com>
2014-06-09 16:49:10 +08:00
Paul Kerr [:pkerr]
6cf4c86116 Bug 970713 - Part 1: Control webrtc logging from about:config settings r=jesup 2014-06-08 18:54:47 -07:00
Chris Pearce
8ecb7e9c0b Bug 979104 - MediaDecoderReader/StateMachine asynchronous decoding. r=kinetik 2014-06-09 20:33:22 +12:00
Anthony Jones
aed76231b9 Bug 1016150 - Fix ffmpeg; r=cpearce 2014-06-09 18:07:44 +12:00
Karl Tomlinson
0ad2c41273 b=1014862 assert that source track resamplers are used with the correct channel count r=padenot
--HG--
extra : rebase_source : cc28665fc90cf0bfc9f113b5e25f2c57a4948c9e
2014-06-09 12:11:41 +12:00
Karl Tomlinson
b6f7efd8b2 b=999267 ensure AudioSegment::Resample() processes all frames of each chunk r=padenot
--HG--
extra : rebase_source : e3128e9837c108b36b83cd3cf8762e549c5ef696
2014-06-09 12:11:08 +12:00
Randell Jesup
154118ec6d Bug 1022376: Properly shut down LoadMonitor threads r=jib 2014-06-08 18:37:14 -04:00
Randell Jesup
2f70ec93bb Bug 999704: Implement GMP codec interface to webrtc (not enabled yet) r=joshmoz,ehugg,jesup,pkerr 2014-06-08 17:25:18 -04:00
Ryan VanderMeulen
e58e907b46 Backed out changeset 2af237fa2079 (bug 999704) for bustage.
CLOSED TREE DONTBUILD
2014-06-08 14:39:44 -04:00