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

48825 Коммитов

Автор SHA1 Сообщение Дата
Kit Cambridge 18c5c296ef Bug 1246341 - Add a test for push event error reporting. r=dragana
MozReview-Commit-ID: LABOJnYtpD5

--HG--
extra : rebase_source : 86c27b8a2deb388cdb34a82aebd12b042477acb5
2016-03-28 11:40:58 -07:00
Kit Cambridge d97d284c24 Bug 1246341 - Include status codes in "ack" and "unregister" requests. r=dragana
MozReview-Commit-ID: Gsh3FhTfvkX

--HG--
extra : rebase_source : 94b9afcf006a6201f01875df1aae20c8bb52fb76
2016-03-28 12:29:25 -07:00
Kit Cambridge d55b21e98b Bug 1246341 - Report push event errors and rejections to the Push service. r=baku
MozReview-Commit-ID: D6fRPqojOEh

--HG--
extra : rebase_source : 41c55862cb7393681fdea28e35b689a970a376c3
2016-03-28 11:50:39 -07:00
Andrea Marchesini 71a47168eb Bug 712329 - WebSocket should not complain in the console when the document is navigated away, r=smaug 2016-03-29 18:57:36 +01:00
Andrea Marchesini 5f2d5ca216 Bug 1260414 - WorkerDebuggerGlobalScope.setConsoleEventHandler should be able to receive a null param, r=bz 2016-03-29 15:56:10 +01:00
Ben Kelly 09994fa230 Bug 1249438 P3 Add a gtest that registers duplicate service worker registrations. r=baku 2016-03-29 07:20:48 -07:00
Ben Kelly b9f4a74086 Bug 1249438 P2 Modify existing gtest to use RegisterServiceWorkerInternal. r=baku 2016-03-29 07:20:48 -07:00
Ben Kelly a28d138da6 Bug 1249438 P1 Move guts of RegisterServiceWorker() into a protected method that can be tested in gtest. r=baku 2016-03-29 07:20:48 -07:00
Carsten "Tomcat" Book cee1a58936 Backed out changeset 15058cd33731 (bug 1250054) for leaks
--HG--
extra : rebase_source : 4586059d7b80f6d417aa07dbf9877b170a64ccab
2016-03-29 15:52:29 +02:00
Carsten "Tomcat" Book c7515d6856 Backed out changeset fe425b8cb8cb (bug 1250054)
--HG--
extra : rebase_source : ea79fd42beb7cf841989816b227ce57209494355
2016-03-29 15:45:32 +02:00
Carsten "Tomcat" Book d65d442422 Backed out changeset ea3d6ace0405 (bug 1250054)
--HG--
extra : rebase_source : 2b4bcf5d740e874a146bb4993456717ae904d7ea
2016-03-29 15:45:31 +02:00
Carsten "Tomcat" Book 01caadd25e Merge mozilla-central to mozilla-inbound 2016-03-29 14:28:13 +02:00
Carsten "Tomcat" Book 3d6e689f8a merge mozilla-inbound to mozilla-central a=merge 2016-03-29 14:16:13 +02:00
Sotaro Ikeda 505c880bbe Bug 1259366 - Flush after eos of android::MediaCodec r=jolin 2016-03-28 21:39:05 -07:00
Wes Kocher 17f2b6e204 Merge m-c to fx-team, a=merge
MozReview-Commit-ID: 5KL6t5QkqNQ
2016-03-28 13:08:46 -07:00
Arata Furukawa 28360f6c90 Bug 1259655 - part 2 Rename WidgetEventTime::timeStamp to WidgetEventTime::mTimeStamp r=masayuki
MozReview-Commit-ID: LRgPxoynx0

--HG--
extra : source : 506d58da4e67501a00b676c99997597fa5fe5679
2016-03-28 13:49:02 +09:00
Arata Furukawa 676913b9bb Bug 1259655 - part 1 Rename WidgetEventTime::time to WidgetEventTime::mTime r=masayuki
MozReview-Commit-ID: 7lBCEVkanvF

--HG--
extra : source : d629f018d02594951b7deccf1e1fce279d04694c
2016-03-28 13:29:42 +09:00
Ryo Kato 7218d5dee1 Bug 1244642 - Implement AnimationEffectTiming.direction r=hiro
MozReview-Commit-ID: I8t011JVGBb

--HG--
extra : rebase_source : 15baf67ea204d55e047405c7cd9c20cfdaa12bce
2016-03-26 16:20:25 +09:00
Takeshi Kurosawa 54f662d6c5 Bug 1259674 Part 3 rename InternalFocusEvent::relatedTarget to InternalFocusEvent::mRelatedTarget r=masayuki
MozReview-Commit-ID: FH6igP9kYtO

--HG--
extra : rebase_source : d4bee3406b3cdd35db941642e8126da9a80af99a
2016-03-27 14:46:48 +09:00
Takeshi Kurosawa 93bd4cd721 Bug 1259674 Part 2 rename InternalFocusEvent::isRefocus to InternalFocusEvent::mIsRefocus r=masayuki
MozReview-Commit-ID: 5SjH8PERQVW

--HG--
extra : rebase_source : 174161fffc95e40c5431bb7f0bccb84f3d7893a0
2016-03-27 14:46:07 +09:00
Takeshi Kurosawa 72bf333b0a Bug 1259674 Part 1 rename InternalFocusEvent::fromRaise to InternalFocusEvent::mFrameRaise r=masayuki
MozReview-Commit-ID: FzLjVjDCqAa

--HG--
extra : rebase_source : 55ab306ade105dff57af9ab00d2a2d5290339440
2016-03-27 14:44:57 +09:00
Jean-Yves Avenard 37d629b09b Bug 1259916: [MSE] P3. Simplify eviction calculation logic. r=gerald
Also, remove no longer used code and update comments to properly reflect the current algorithms used.

MozReview-Commit-ID: GwsGC70xM85

--HG--
extra : rebase_source : 2c1a2cd449eac243d8e3d77cc1bf80c2adc64cdf
2016-03-28 00:58:37 +11:00
Jean-Yves Avenard 9867dc58c5 Bug 1259916: [MSE] P2. Bump audio source buffer eviction threshold to 30MB. r=gerald
20MB appears to work, but just to be safe until we get confirmation from YouTube on what is a safe value to use.

MozReview-Commit-ID: BnGaVLeCRJ5

--HG--
extra : rebase_source : 6333dd4c8dbd6f846344218dd50124797fc5cb23
2016-03-28 00:48:57 +11:00
Jean-Yves Avenard c7c99753a2 Bug 1259916: [MSE] P1. Fix eviction. r=gerald
Bug 1216460 introduced a regression which would cause to always evict from both ends of the current track buffer.

MozReview-Commit-ID: 4f01tNQ2KU8

--HG--
extra : rebase_source : 7da96fc1cbca03d60705fce681ee9259dd81d173
2016-03-28 00:41:31 +11:00
Alex Chronopoulos bc6563f248 Bug 1251502 - Use `devid` instead of `device_id` when getting the ID for a cubeb device. r=jesup
MozReview-Commit-ID: JojzRPFhYJ
2016-03-25 17:41:45 +01:00
Ryo Kato b3baf9a794 Bug 1260353 - Remove unnecessary method AnimValuesStyleRule::AddPropertiesToSet() r=hiro
MozReview-Commit-ID: 3rRvYLNCvXE

--HG--
extra : rebase_source : 9997d72733affd869a09a382820d349f5493b732
2016-03-29 16:12:33 +09:00
Hiroyuki Ikezoe 4be774af37 Bug 1255710 - Part 2: Enable tests for 'transform-style: preserve-3d'. r=birtles
MozReview-Commit-ID: HzmFJErruwp

--HG--
extra : rebase_source : 6a821c2060ee63a4d3ccce70fb88f981274bb17d
2016-03-29 12:50:50 +09:00
Hiroyuki Ikezoe eff0b8badf Bug 1255710 - Part 1: Remove all unnecessary t.step_func. r=birtles
MozReview-Commit-ID: BNBRYLpHjLy

--HG--
extra : rebase_source : 329e448a109052eb450ce17a018c3c27e39d655e
2016-03-29 12:50:35 +09:00
Hiroyuki Ikezoe 156cb0a8ca Bug 1255710 - Part 0: Rename test_animation_property_state.html to test_animation_performance_warning.html. r=birtles
MozReview-Commit-ID: EZxWc2uRVX2

--HG--
rename : dom/animation/test/chrome/test_animation_property_state.html => dom/animation/test/chrome/test_animation_performance_warning.html
extra : rebase_source : 8d0113f359237a7df102f1e3430b8eca28823142
2016-03-29 12:50:23 +09:00
Nicholas Nethercote c01058efe7 Bug 1259194 (part 1) - Add 's' prefixes to some statics generated for dom bindings. r=bz.
This makes Class, PrototypeClass and InterfaceObjectClass match existing cases
like sAttributes{,_ids,specs}, sNativeProperties, sNativePropertyHooks.
2016-03-24 06:48:44 +11:00
Matthew Wein 2f6a139e35 Bug 1251042: Enable mochitests for extensions to run on Android. r=nalexander
MozReview-Commit-ID: FeI5bexmPg4
2016-03-25 19:52:19 -07:00
Kit Cambridge bc0b536de1 Bug 1257821 - Support the new `aesgcm` content encoding scheme. r=mt
MozReview-Commit-ID: IPNXletzJRK

--HG--
extra : rebase_source : 3593624d3513a0ccc7422bfeefe5c85dca37541a
2016-03-18 09:01:50 -07:00
Kit Cambridge 755fc071a9 Bug 1258883 - Add a way to replace the entire Push service in tests. r=wchen
MozReview-Commit-ID: ExJPShvXL5L

--HG--
extra : rebase_source : acafdaf81a8c47d811772dfabc24e001a69d429b
2016-03-22 17:34:41 -07:00
Kit Cambridge 896fb82ab8 Bug 1258145 - Remove `waitForPromise` from the xpcshell tests. r=wchen
MozReview-Commit-ID: 6dX63gyXw07

--HG--
extra : rebase_source : b5638140200403f4441ab2a60d69b3baae6d6de6
2016-03-19 14:57:15 -07:00
Seth Fowler 5973113f1b Bug 1157546 - Replace the image visibility API with a more general API that tracks visibility for any kind of frame. r=mstange 2016-03-25 14:49:43 -07:00
JW Wang 234c4687d6 Bug 1250054. Part 3 - employ MediaDecoderReaderWrapper and remove code about adjusting start time. r=jya. 2016-03-02 21:20:40 +08:00
JW Wang cd4fad046a Bug 1250054. Part 2 - implement MediaDecoderReaderWrapper. r=jya. 2016-03-02 21:16:00 +08:00
JW Wang 635996582d Bug 1250054. Part 1 - add new files and move StartTimeRendezvous from MediaDecoderStateMachine.h to MediaDecoderReaderWrapper.cpp. r=jya. 2016-03-29 14:48:11 +08:00
Christoph Kerschbaumer 254dd8f12a Bug 1216365 - nsMixedContentBlocker should use innerMostURI for aContentLocation. r=tanvi 2016-03-28 22:03:26 -07:00
Tobias Schneider 9dd3cff0b6 Bug 1237198 - Block SWFs on the content blocking list hosted on the Shavar service. r=francois 2016-03-29 00:37:44 -07:00
Randell Jesup 3fd01980f6 Bug 1258144: warnings-as-errors bustage r=cpearce
MozReview-Commit-ID: 6CIkX6F6cl2
2016-03-28 21:00:21 -04:00
Randell Jesup d990461ce1 Bug 1258144: Flip warning sense typo in original patch for bug r=cpearce
MozReview-Commit-ID: dztvbBSYyI
2016-03-28 20:02:40 -04:00
Kyle Machulis 7f4a21d386 Bug 1253957 - Fix e10s race issue for test from bug 1165981; r=bsmedberg 2016-03-28 15:37:26 -07:00
Blake Kaplan 76cf7eedc8 Bug 1257861 - Default to sending all cookies if we can't compute 3rdpartyness. r=sicking 2016-03-28 13:39:12 -07:00
Blake Kaplan ce83243b88 Bug 1257861 - Test that we send cookies from XHRs in web workers when 3rd party cookies are disabled. r=sicking 2016-03-28 13:39:12 -07:00
Ehsan Akhgari 80d71bced1 Bug 1259164 - Set ServiceWorkerMessageEvent.origin correctly when calling ServiceWorkerClient.postMessage(); r=bkelly 2016-03-28 15:14:40 -04:00
Kyle Huey 8eb934feb7 Bug 1256049: Enable two more assertions in release. r=janv 2016-03-28 10:28:15 -07:00
Kyle Huey b58cdb109e Bug 1256049: Revert diagnostics. r=janv 2016-03-28 10:28:15 -07:00
Kyle Huey d9265a3eaf Bug 1259294: Part 2 - Use MOZ_ALWAYS_SUCCEEDS. r=froydnj 2016-03-28 10:28:15 -07:00
Kyle Huey fe5f7b4105 Bug 1259290: Part 5 - Remove the cx from WorkerFeature::Notify. r=bz 2016-03-28 10:28:14 -07:00
Kyle Huey 2b94386d24 Bug 1259290: Part 4 - Remove JS_ReportError for a situation that can never happen. r=bz 2016-03-28 10:28:14 -07:00
Kyle Huey b55b8c715b Bug 1259290: Part 3 - Remove JS_ReportError and cx handling from RegisterWorker and friends. r=bz,jandem 2016-03-28 10:28:14 -07:00
Kyle Huey 47f6f925e1 Bug 1259290: Part 2 - Remove the cx from [Add|Remove]ChildWorker. r=bz 2016-03-28 10:28:14 -07:00
Kyle Huey 3fd22a326c Bug 1259290: Part 1 - Remove unnecessary JS_ReportError calls. r=bz 2016-03-28 10:28:14 -07:00
Kyle Huey 20daca1a98 Bug 1258905: Remove a bunch of dead IPC code. r=jld 2016-03-28 10:28:14 -07:00
Kit Cambridge 8943858ebf Bug 1253831 - Don't check actual intervals in the Push backoff test. r=wchen
MozReview-Commit-ID: CUESwtv58LJ

--HG--
extra : rebase_source : 600b8baeeea6334726c88bf1cba64b2d5635c405
2016-03-19 15:29:11 -07:00
Mike Conley 89939d58dc Bug 1254865 - Send disableglobalhistory state down to TabChild after construction asynchronously. r=smaug
disableglobalhistory is an attribute that we support on <xul:browser> that
can be used to signal to the underlying DocShell whether or not it should
record visits in global history.

This patch adds support for this attribute by detecting it at the time
that the TabParent is bound to the browser, and then sending the presence
of the attribute to the TabChild, which then sets the state in its DocShell.

MozReview-Commit-ID: 9miKtdotTho

--HG--
extra : rebase_source : 542fda3be4ae863dd780a02012e45d446310cf09
extra : source : 28e2799f016719e083c16d94f8cfd6a5d56a3650
2016-03-23 14:39:28 -04:00
Patrick McManus 68feec6d49 Bug 1256022 - dom/network slow GC on mochitest fix r=dragana 2016-03-21 13:10:30 -04:00
Jean-Yves Avenard 70a7329e7e Bug 1259274: [MSE] P5. Use new AutoTaskQueue with MSE objects. r=gerald
It was possible for a TrackBuffersManager to have pending tasks currently running while the MediaSourceDemuxer was shutting down the task queue. This would cause an assertion upon resolution of the promise attempting to schedule a new runnable as the task queue was now shutdown.

The AutoTaskQueue only shuts down once it's no longer used.

MozReview-Commit-ID: IzPh2OdGbvN

--HG--
extra : rebase_source : 3b39ca72f1bbb1d64e7f9f7a376b5b9cb68da0f6
2016-03-26 02:14:49 +11:00
Jean-Yves Avenard e7f959b6f8 Bug 1259274: [MSE] P4. Add AutoTaskQueue convenience class. r=gerald
Just like TaskQueue, but doesn't require to be shutdown.

MozReview-Commit-ID: 9JR9mZZuP4w

--HG--
extra : rebase_source : c98aaafdad31e34afe7a58d1113f5835f777c1c0
2016-03-26 02:09:26 +11:00
Jean-Yves Avenard 5f3b4ca5d5 Bug 1259274: [MSE] P3. Refactor handling of tasks so they only ever run concurrently. r=gerald
MozReview-Commit-ID: 1U8r82kTR0t

--HG--
extra : rebase_source : 0646125364bee89f37cfff426c1034a6feb3a516
2016-03-27 20:20:40 +11:00
Jean-Yves Avenard 8da4d6ea4d Bug 1259274: [MSE] P2. Remove unused code path. r=gerald
MozReview-Commit-ID: FHj3u1WL1ul

--HG--
extra : rebase_source : aa5303670890056e716edb3ce50e774df143c6e7
2016-03-27 18:44:10 +11:00
Jean-Yves Avenard 734a39347d Bug 1259274: [MSE] P1. Remove unnecessary abstraction layer. r=gerald
We now longer require an abstraction layer with the TrackBuffersManager now that the old MSE has been removed.

MozReview-Commit-ID: 3uEejohvFQD

--HG--
extra : rebase_source : 2e89fe4c7b9d13910fb6f26f0090fca26d19726f
2016-03-25 11:31:30 +11:00
Gerald Squelart f2bfa841c1 Bug 1259985 - Add missing return after null-check - r=jya
MozReview-Commit-ID: 138NM9xTmVA

--HG--
extra : rebase_source : 6f594e905b1d8d8f623a02ea8fb78b7dc3b846f0
2016-03-27 19:57:25 +11:00
Rob McAuley e11d308ed2 Bug 1259898: use range-based for loop in AnimValuesStyleRule.h r=birtles
MozReview-Commit-ID: HlJ291yiVEp

--HG--
extra : rebase_source : b153563ffce9cf94e5196fc33b9f582b03371525
2016-03-26 16:50:05 +09:00
emi suzuki 7655f66912 Bug 1259883 - Enable a test for player finishing behavior in file_animation-starttime.html r=hiro
MozReview-Commit-ID: 1GPW9UsEK5E

--HG--
extra : rebase_source : 75a8ec293c5a8a380403f60efc263b92723dff78
2016-03-26 17:00:51 +09:00
takayuki_yamaguchi da0885219b Bug 1259675 - Clean up InternalTransitionEvent r=masayuki
MozReview-Commit-ID: 8fTJ4Z9yJGl

--HG--
extra : rebase_source : 7c461ee6124e4e7cce0a709b3dfe2c97c6df9e8f
2016-03-26 16:26:35 +09:00
Tetsuharu OHZEKI 8fe5a1b9d4 Bug 1259659 - rename from InternalUIEvent.detail to InternalUIEvent.mDetail. r=masayuki
MozReview-Commit-ID: FjqZ5D2NCFb

--HG--
extra : rebase_source : fad73cc04658b7891f6c5932f0da55db8ae1d615
2016-03-26 16:22:27 +09:00
Tetsuharu OHZEKI 2bc03e825a Bug 1259673 rename from InternalClipboardEvent.clipboardData to InternalClipboardEvent.mClipboardData. r=masayuki
MozReview-Commit-ID: GNELyxueTyN

--HG--
extra : rebase_source : e42df5d79366e2c781971b54ec64483a5f51c05d
2016-03-26 17:19:57 +09:00
Arata Furukawa bc37b37b4c Bug 1258820 - making root scrollable element not scroll if mouse wheel is used on xul dropdown r=masayuki
EventStateManager::ComputeScrollTarget() should stop looking for scrollable frame if it meets nsMenuPopupFrame because the user must not want to scroll outside the popup.

MozReview-Commit-ID: Jo1QaQuSzKS

--HG--
extra : rebase_source : 559f22b7dd456056199aa9d49ef9bfd517dbac8c
2016-03-26 14:29:01 +09:00
Rob McAuley 4acbe0650b Bug 1244640 - implement AnimationEffectTiming iterations r=hiro
MozReview-Commit-ID: Iwq6vleUERo

--HG--
extra : rebase_source : 8eef9f68a8956db547f98ab253927cf01a3ecf50
2016-03-26 14:41:37 +09:00
Tetsuharu OHZEKI 34d28e65df Bug 1259676 - part3: rename from 'InternalAnimationEvent.pseudoElement' to 'InternalAnimationEvent.mPseudoElement'. r=masayuki
MozReview-Commit-ID: GBJtFdobipj

--HG--
extra : rebase_source : 528abb3d04e52547e6c4e13ea396e080406008b1
2016-03-26 13:37:20 +09:00
Tetsuharu OHZEKI 3aeb31cf0f Bug 1259676 - part2: rename from 'InternalAnimationEvent.elapsedTime' to 'InternalAnimationEvent.mElapsedTime'. r=masayuki
MozReview-Commit-ID: 4n5YQwxLeAx

--HG--
extra : rebase_source : 6c29d53092c7d1f84ef2ad38f44380c7579df270
2016-03-26 13:37:19 +09:00
Tetsuharu OHZEKI 693106452d Bug 1259676 - part1: rename from 'InternalAnimationEvent.animationName' to 'InternalAnimationEvent.mAnimationName'. r=masayuki
MozReview-Commit-ID: DK5Q477WoXu

--HG--
extra : rebase_source : 59f061c7835b6e2359ca937a06cf3890871a70ea
2016-03-26 13:37:19 +09:00
Cameron McCormack 72db41da62 Bug 1253788 - Don't reload inline chrome:// style sheets in nsXBLPrototypeResources. r=bzbarsky 2016-03-26 17:02:30 +11:00
Hiroyuki Ikezoe e3a804fcb1 Bug 1259878 - remove unnecessary isSome(). r=birtles
MozReview-Commit-ID: 3Xh2D5TOTSg

--HG--
extra : rebase_source : 95715a192eb67afc6f02ca4e8895dae705d64462
2016-03-26 10:52:08 +09:00
Bryce Van Dyk 51ca385004 Bug 1232045 - Add tests for WebM with resolution changes. r=jya
Added a test WebM file containing resolution changes. This file has been added
to gPlayTests to test playback of such files. A new test has been added,
test_resolution_change.html, which reads a new test array,
gResolutionChangeTests, of media files containing resolution changes. This new
test check that after playing a file through at least one resolution change has
taken place.

MozReview-Commit-ID: 8yz1ccz8g6O

--HG--
extra : rebase_source : 3fddc9116e9a5d20afcf58d795d288875084a08e
2016-03-14 15:13:51 +13:00
Bryce Van Dyk a0436efae3 Bug 1232045 - WebMDemuxer handles resolution changes. r=jya
Update the WebMDemuxer to detect changes in resolution. When it does so it
changes the streamID so that we get a new decoder created to handle the
resolution change. The demuxer will also update media info in these cases, so
the new decoder has the correct information. The demuxer will only handle
resolution changes on key frames, files that attempt changes other times are not
considered valid at this stage. If a resolution change cannot be performed
because nest_egg cannot read track info, or because the new resolution is
invalid, a change will not take place.

MozReview-Commit-ID: 1JKz3mGbEvi

--HG--
extra : rebase_source : aebd609651dfbd48d2f6ea3e33986a7e12b1495e
2016-03-15 00:28:47 +13:00
Tanvi Vyas 1de9e6ab9d Bug 1259678 - Refactor SubjectToCSP to avoid calling ShouldLoad if CSP doesn't apply to the content type. r=ckerschb
--HG--
extra : rebase_source : 76f914a9dfab38bd5d21ddca519f47a2a5d68963
2016-03-24 23:09:00 -04:00
JW Wang 1d4102375a Bug 1258966 - Remove unnecessary null-checks of MediaDecoderStateMachine::mReader. r=bechen.
MozReview-Commit-ID: HXbFkSd3SZA
2016-03-24 16:54:36 +08:00
JW Wang 2572fe3414 Bug 1256520 - use SyncRunnable to create DecodedStreamData synchronously to ensure the creation and destruction of DecodedStreamData happen in order. r=kikuo.
This greatly simplify the code because:
1. we don't have to dispatch the newly created DecodedStreamData to the work thread and store it to |mData|.
2. no need to deal with dispatch failure incurred by 1 due to task queue shutdown.
   (see: https://hg.mozilla.org/mozilla-central/file/f0c0480732d36153e8839c7f17394d45f679f87d/dom/media/mediasink/DecodedStream.cpp#l392)

MozReview-Commit-ID: FwySgwKp8dV
2016-03-15 08:54:52 +08:00
Christoph Kerschbaumer a7f5240d4b Bug 1206952 - Convert PluginStreamListener to use channel->AsyncOpen2(). r=sicking 2016-03-23 21:47:49 -07:00
Christoph Kerschbaumer 4384c0ed53 Bug 1206952 - Rename MagicRequest to ByteRangeRequest. r=sicking 2016-03-23 20:29:59 -07:00
Christoph Kerschbaumer 36d3e09fd4 Bug 1257650 - Skip Security checks if triggeringPrincipal is SystemPrincipal only for subresource loads. r=sicking
--HG--
extra : rebase_source : fb8d0827788e70ca87e8cd680e2cdd56941e3c2a
2016-03-18 16:14:03 -07:00
John Dai d5b4810bd4 Bug 1256299 - Remove redundent trailing spaces. r=bz
--HG--
extra : rebase_source : 306f13563f9530118ab898ffe8018f7071e79a1e
2016-03-25 18:23:53 +08:00
John Dai 784acc967f Bug 1256299 - Implement Node.isSameNode. r=bz
--HG--
extra : rebase_source : a656c8c9eb9a5c6fe02136c0389c478cff58fa0a
2016-03-25 18:23:50 +08:00
Bevis Tseng 4aca132dcc Bug 1254853 - Add a Helper to Report a ScriptError to the Main Thread. r=khuey 2016-03-16 15:12:17 +08:00
Wes Kocher ea76ed99d7 Backed out changeset 95494e68c722 (bug 1177488) for crashes in test_bug732665.xul CLOSED TREE
MozReview-Commit-ID: IFUHUBUCnCD
2016-03-25 12:11:48 -07:00
Boris Zbarsky d8d55b4579 Bug 1259545. Remove the JS_SaveFrameChain bits in CallbackObject error reporting, since they are no longer needed. r=bholley
The code this is working around no longer exists.
2016-03-25 11:11:20 -04:00
Nathan Froyd 418aa2af4f Bug 1177488 - use |const char*| for representing async call reasons; r=bz,fitzgen
Using a simple |const char*| is more memory-efficient than allocating a
JS string. We still have to allocate the JS string for passing things
into JS, but ideally we will be able to move the point of allocation
much closer to where it's actually needed, rather than indiscriminantly
doing it all the time.
2016-03-23 10:40:53 -04:00
Jan-Ivar Bruaroey 55cbfcbe09 Bug 1259236 - test pc.addTrack of track in constructed stream. r=bwc
MozReview-Commit-ID: E1qFH7xYY0H

--HG--
extra : rebase_source : 1a60fe32b364baa4396aeed3d654c33b313f3e07
2016-03-24 13:32:10 -04:00
Jan-Ivar Bruaroey 9ff449087b Bug 1259236 - throw NotSupportedError on pc.addTrack of track in constructed stream. r=bwc
MozReview-Commit-ID: LBP9CybRmrI

--HG--
extra : rebase_source : f9deb3cca7e891562a3cbe5766f027dabcdf6ed9
2016-03-24 12:45:22 -04:00
JW Wang ed30277439 Bug 1258673. Part 2 - since mStreamOffset is not updated until the end of MediaCacheStream::Read(), we have to pass stream offset to MediaCache::NoteBlockUsage explicitly to avoid hitting the assertion. r=jya. 2016-03-24 14:59:33 +08:00
JW Wang b5553c6b2b Bug 1258673. Part 1 - cache mStreamOffset so we won't read at the wrong position when Other Read() interrupt the current Read(). r=jya. 2016-03-23 21:40:18 +08:00
Jared Wein 445481b3cb Bug 1150036 - Fix leaks within browser_tab_dragdrop.js by making sure references to tabs are deleted and message listeners are removed. r=Felipe
MozReview-Commit-ID: Dz12fmHsJyo

--HG--
extra : rebase_source : 8907a2d3100183d4abf11757335820184d58e9da
2016-03-23 11:32:55 -04:00
Chris Pearce 921ff0472b Bug 1258220 - Disable Adobe GMP if SSE2 isn't supported. r=gerald 2016-03-25 07:56:47 +13:00
Ehsan Akhgari d007b3e148 Bug 1259477 - Port test_document_register.html to mochitest-plain so that it can be turned on in e10s mode; r=mrbkap 2016-03-24 13:40:27 -04:00
Jan Henning 9e046f3ff6 Bug 1256590 - Part 2 - Add a test case for skipping over false positive syncs at the beginning of an MP3 file. r=esawin 2016-03-20 22:08:45 +01:00
Jan Henning 4c248c7249 Bug 1256590 - Part 1 - Try detecting the actual frame start even when parsing starts mid-stream. r=esawin
So far we've simply assumed that the first MPEG Layer 3 frame sync we find is automatically valid. However if the audio data has been improperly cut, parsing might start somewhere in mid-stream, so the first frame sync we hit upon might be a false positive. This naturally leads to problems if we try to check later frame syncs for consistency (same MPEG version, sample rate, etc.) with that first frame sync.

Therefore, this patch changes demuxer initialisation to only accept a frame sync if it is followed by a number of further frame syncs consistent with the initial frame.
2016-03-22 21:39:05 +01:00
Christoph Kerschbaumer 20549b7fe0 Bug 1251043 - Test form submission blocked by CSP. r=francois 2016-03-23 13:38:05 -07:00
Christoph Kerschbaumer ba26bfd31e Bug 1251043 - Bail early with error if form-action blocks loading. r=francois 2016-03-23 11:15:20 -07:00
Brad Kotsopoulos 8fb57a831d Bug 1244611 - "Using named uniform buffer objects in the fragment shader fails". r=jgilbert 2016-03-23 08:18:00 +01:00
Dragana Damjanovic dd.mozilla@gmail.com f049188b1b Bug 409885 - Use SetHostPort in nsHTMLDocument::SetDomain. r=bz 2016-03-24 02:14:00 +01:00
Eddy Bruel 3e2cb55980 Bug 1229769 - We should be able to use DOM promises in the worker debugger;r=khuey 2016-03-24 16:12:00 +01:00
Ting-Yu Lin 577ce8ed43 Bug 1245424 Part 2 - Stop checking the existence of details frame before toggling. r=bz
MozReview-Commit-ID: 6Xgyu7DDquy

--HG--
extra : rebase_source : 6b5ed8fa20117fcafea7dde779c550f6fd79be34
2016-03-24 15:05:29 +08:00
Masatoshi Kimura 160a5b6fb7 Bug 1257877 - Remove UTF-16 support from TextEncoder. r=hsivonen 2016-03-24 19:27:15 +09:00
Andrea Marchesini 91e4d4e4ea Followup for bug 1246091 to fix the naming for PopulateConsoleNotificationInTheTargetScope, r=me 2016-03-24 09:29:08 +01:00
Brian Birtles ded9534a6c Bug 1245748 - Add a Move constructor to Keyframe; r=heycam
I have confirmed that by adding this, we end up calling SwapElements() on the
mPropertyValues member when we build up the nsTArray<Keyframe> result in
GetKeyframeListFromPropertyIndexedKeyframe. Without this explicit move
constructor (i.e. with only the default move constructor) the copy-constructor
for mPropertyValues is called.

MozReview-Commit-ID: 6IWkP97RFUr

--HG--
extra : rebase_source : 4ac4b6545337810a3047f2cfb1dac86074116cfb
2016-03-24 10:39:29 +09:00
Brian Birtles 119a18fee3 Bug 1245748 - Remove no-longer-needed code for directly setting up properties in KeyframeEffect(ReadOnly) constructor; r=heycam
MozReview-Commit-ID: 4V3LMByas9Q

--HG--
extra : rebase_source : c2c687cd39b8287e7e9cb2a4edd12c86a056a0de
2016-03-22 16:36:45 +09:00
Brian Birtles 81c73a9b4b Bug 1245748 - Use Keyframe-based utility functions when constructing KeyframeEffect(ReadOnly); r=heycam
MozReview-Commit-ID: 72vLatkFqMq

--HG--
extra : rebase_source : 5b40afe6e12b3bcb3a57ed294fc582bf7e40ba18
2016-03-22 16:35:53 +09:00
Brian Birtles 1cf303b56f Bug 1245748 - Add ApplyDistributeSpacing for Keyframe objects; r=heycam
MozReview-Commit-ID: 8KNERsl8tea

--HG--
extra : rebase_source : e48ca76aea6e93722f285bf59a8696d6a102bf99
2016-03-22 16:35:53 +09:00
Brian Birtles 93bd57b41f Bug 1245748 - Add GetAnimationPropertiesFromKeyframes; r=heycam
MozReview-Commit-ID: GUnogloqViS

--HG--
extra : rebase_source : ba999c9f9bf18683b7942dfefe0c0242124af474
2016-03-22 16:34:14 +09:00
Brian Birtles 56612fa76d Bug 1245748 - Add PropertyPriorityIterator; r=heycam
MozReview-Commit-ID: JjBWcyEG3f6

--HG--
extra : rebase_source : f3f4de1b665078112205883cb1885931b84ff6ee
2016-03-22 16:33:16 +09:00
Brian Birtles 7e9749fed0 Bug 1245748 - Split PropertyPriorityComparator into a separate (reusable) class; r=heycam
MozReview-Commit-ID: Gq5VylZoS2q

--HG--
extra : rebase_source : c47b937ef63df3dbabfe4dded9de42372c5403f6
2016-03-22 16:33:11 +09:00
Brian Birtles b411ad9926 Bug 1245748 - Add nsStyleContext parameter to StyleAnimationValue::ComputeValue(s); r=heycam
StyleAnimationValue::ComputeValue(s) will automatically look up the style
context of the supplied element. This is mostly fine, but when we start using
this method in scenarios where we are building the initial style context
(as happens later in this patch series) it can easily land us in a situation
where we iterate indefinitely.

It would be better, instead, to just explicitly pass in the style context we
want to use, as we already do for StyleAnimationValue::ExtractComputedValue.

MozReview-Commit-ID: ZoVBlBRRBI

--HG--
extra : rebase_source : 9012cc2e405fc887f070fbfaa2f9853289882862
2016-03-22 16:31:09 +09:00
Brian Birtles 67707b72eb Bug 1245748 - Add KeyframeUtils::GetKeyframesFromObject; r=heycam
MozReview-Commit-ID: 2cl8NIMApSy

--HG--
extra : rebase_source : f0cafad483afcf36efa86f6fa137bbffd068bcb5
2016-03-22 16:25:38 +09:00
Brian Birtles 9ccb67c08b Bug 1245748 - Move keyframe handling code to a separate KeyframeUtils class; r=heycam
MozReview-Commit-ID: 2r27vCLcOhs

--HG--
extra : rebase_source : 6ba24ece944543e250728cf2b18370c277e746d0
2016-03-22 16:20:37 +09:00
Brian Birtles fa75146d8b Bug 1245748 - Add missing includes to TimingParams.{cpp,h}; r=heycam
Once we tweak moz.build in the next patch, the grouping in the unified build
will change and expose these missing includes so we fix them here, first.

MozReview-Commit-ID: GebEEociwTo

--HG--
extra : rebase_source : 18158fdf8a3c1a1dcf446118371cad1a15fd4daf
2016-03-22 16:20:31 +09:00
Brian Birtles 22923130f6 Bug 1245748 - Define the Keyframe type for storing specified keyframes; r=heycam
MozReview-Commit-ID: rejtrG0U1A

--HG--
extra : rebase_source : 24815326a6dfc8c71eda559703f791a204185ea2
2016-03-22 16:19:43 +09:00
Brian Birtles 84a59825cc Bug 1245748 - Update handling of 'composite' dictionary members to match changes to the spec; r=heycam, r=bz
Specifically, for the 'composite' member on keyframes, we now indicate "use the
composite value specified on the effect" using a missing/undefined 'composite'
member as opposed to a null value.

MozReview-Commit-ID: ZH45GvCTlP

--HG--
extra : rebase_source : 5acf081fb844f81280765a87ec019b7847ca1885
2016-03-22 16:18:22 +09:00
Brian Birtles e8806251b8 Bug 1245748 - Rename Keyframe-related IDL types to match changes to Web Animations spec; r=heycam, r=bz
In particular, the spec no longer has Keyframe and PropertyIndexedKeyframes
types but rather deals with objects. The algorithms for processing these
objects, however, define various Base* types:

  https://w3c.github.io/web-animations/#dictdef-basepropertyindexedkeyframe
  https://w3c.github.io/web-animations/#dictdef-basekeyframe
  https://w3c.github.io/web-animations/#dictdef-basecomputedkeyframe

MozReview-Commit-ID: 3RqoEO66kJ

--HG--
rename : dom/webidl/Keyframe.webidl => dom/webidl/BaseKeyframeTypes.webidl
extra : rebase_source : 35a586584934170c5427138a85d167258cb34993
2016-03-22 16:16:39 +09:00
Brian Birtles 2459ec4912 Bug 1245748 - Move ComputedTiming to a separate file; r=heycam
Before we begin re-arranging KeyframeEffect.h we move ComputedTiming aside
since putting it in a separate file should make navigating the source
easier.

MozReview-Commit-ID: L5GTFAo00sh

--HG--
extra : rebase_source : e88b6ea092c459afa90831de8469697454e00c5a
2016-03-22 08:11:05 +09:00
Jonathan Watt fa6e6c3169 Bug 1253590, part 3 - Crashtest for long clipPath reference chains. r=longsonr 2016-03-12 18:22:33 +00:00
Jonathan Watt d274717f72 Bug 1259172 - Fix assertion in Codegen.py's InitUnforgeablePropertiesOnHolder function. r=bz 2016-03-04 16:24:16 +00:00
Gregory Szorc a2c55db304 Bug 1124033 - Disable C4312 in dom/plugins/ipc; r=ehsan
This was in a previously reviewed patch. I dropped the change because I
thought the underlying warning had been fixed. I was wrong.

MozReview-Commit-ID: J9B34YhJ3z0

--HG--
extra : source : ea446df75d17331a7c0736ef3303bf9a07d8d9f0
2016-03-23 22:26:04 -07:00
Martin Thomson 2238c2d4d1 Bug 1258299 - Move RTCIdentityProvider to a dictionary, r=jib,khuey
MozReview-Commit-ID: K97lKyhlsW8
2016-03-24 16:12:56 +11:00
Phil Ringnalda fd64e52ef9 Back out 1726498035c1 (bug 1258299) for xpcshell failures in test_rtcIdentityProvider.js
CLOSED TREE
2016-03-23 19:25:39 -07:00
Boris Zbarsky 12e6e3f600 Followup for bug 1246091 to fix the rooting hazard, get us closer to reopening the CLOSED TREE, and reduce philor's blood pressure. 2016-03-23 22:15:05 -04:00
Gregory Szorc 6a9168778b Bug 1124033 - Disable C4311 and C4312 in directories exhibiting warnings; r=ehsan
There are a long tail of C4311 and C4312 warnings in VS2015. Rather than
wait until all of them are fixed to land VS2015, we're taking the easy
way out and disabling these warnings in every directory currently
exhibiting a warning. This is evil. But it is a lesser evil than
globally disabling C4311 and C4312. At least with this approach new
C4311 and C4312 warnings in directories that aren't suppressing them
shouldn't be introduced.

MozReview-Commit-ID: 2cwWrjMD6B9

--HG--
extra : rebase_source : 3e7b8ea042765fdf138f5ca93a0f9dab75a95fcd
2016-03-23 17:19:20 -07:00
Nicholas Nethercote f80479d54a Bug 1011826 - Split Prefable into two pieces. r=bz.
The fields in Prefable relating to disabling are usually all zero. This patch
moves them into a new struct PrefableDisablers. This reduces static data size
by 92 KB, which applies to every process. It might also make isEnabled() faster
because the common case only involves one test instead of two.

--HG--
extra : rebase_source : 004eb8221e23b741c4837dd95af93e437edb4587
2016-03-24 06:09:24 +11:00
Martin Thomson 15fbbd24ab Bug 1258299 - Move RTCIdentityProvider to a dictionary, r=jib,khuey
MozReview-Commit-ID: EP1fCvQlYqH

--HG--
extra : rebase_source : df44c64ca5614b1ff351d3aa9ffc78e513f97d58
2016-03-24 03:03:06 +11:00
Nicholas Nethercote 57f7f7948c Bug 1259182 - Shrink keyCodeData. r=bz.
This reduces static data size by 1480 B per process.

--HG--
extra : rebase_source : 74bb52af763cb96cd9a58a37d8adad9667dbb4db
2016-03-16 14:36:37 +11:00
Andrea Marchesini dffe78c29b Bug 1246091 - patch 7/7 - Correct use of JSCompartment in Console.cpp, r=bz 2016-03-23 22:55:07 +01:00
Andrea Marchesini 934bd500b6 Bug 1246091 - patch 6/7 - Tests, r=ejpbruel 2016-03-23 22:55:07 +01:00
Andrea Marchesini df932690be Bug 1246091 - patch 5/7 - Remove data when memory pressure notification is received, r=ejpbruel 2016-03-23 22:55:07 +01:00
Andrea Marchesini 931f576f19 Bug 1246091 - patch 4/7 - Expose ConsoleCallData to WorkerDebuggerGlobalScope, r=ejpbruel 2016-03-23 22:55:07 +01:00
Andrea Marchesini a41a9b217f Bug 1246091 - patch 3/7 - Console API should store ConsoleCallData internally, r=ejpbruel 2016-03-23 22:55:07 +01:00
Andrea Marchesini e2091ba30e Bug 1246091 - patch 2/7 - Propagate initialization error in Console.cpp, r=ejpbruel 2016-03-23 22:55:07 +01:00
Andrea Marchesini a29efa56f9 Bug 1246091 - patch 1/7 - Add some NS_WARN_IF in Console.cpp, r=ejpbruel 2016-03-23 22:55:07 +01:00
Nicholas Nethercote a299ce6d78 Bug 1258924 - Reorder DOMIfaceAndProtoJSClass fields to reduce padding. r=bz.
On 64-bit this reduces sizeof(DOMIfaceAndProtoJSClass) from 336 to 328, saving
20 KiB. On 32-bit it should save half that.
2016-03-24 05:54:38 +11:00
Boris Zbarsky 25c4270d09 Bug 1258585. Remove some remaining vestiges of WebIDL quickstubs. r=peterv 2016-03-23 17:46:26 -04:00
Lee Salzman c9a961cf13 Bug 1244754 - make drawCustomFocusRing.html fuzzy only on gtkWidget. r=me CLOSED TREE 2016-03-23 16:59:33 -04:00
Andrew McCreight 1bf6681a43 Bug 1256061 - Hold a strong reference to a request when we call a method on it. r=jdm
I think it is possible for the TimerCallbackHolder to fire off a
Notify() while the geolocation object and the nsGeolocationRequest are
only holding each other alive, so they would be freed by the cycle
collector the next time it runs, but we haven't run the cycle
collector yet. If that happens, then Geolocation::RemoveRequest()
would break the cycle, causing stuff to unravel and bad things to
happen. To fix this, we just hold the request alive in
TimerCallbackHolder::Notify(), which will also ensure that the
geolocation object is alive, hopefully preventing crashes.

This will make the Notify() behavior similar to what it was before bug
1238427, when the nsITimer object would hold a strong reference to the
request when the Notify() was being run.
2016-03-23 12:59:14 -07:00
Andrew McCreight 4e6a34a3d5 Bug 1256061 - Revert patch that didn't do anything. 2016-03-23 12:59:14 -07:00
Ehsan Akhgari f2023a11c0 Bug 1257208 - Use the nsTextNode concrete type in several places in DirectionalityUtils.cpp instead of nsINode and nsIContent; r=peterv 2016-03-23 14:24:56 -04:00
Lee Salzman 8ef69bea3e Bug 1244754 - part 2 - enable Skia canvas on Linux and fix web-platform-tests/reftests. r=jrmuizel 2016-03-23 14:21:04 -04:00
Sebastian Hengst 24a1f2b868 Backed out changeset 01eff93538c8 (bug 1257208) for failing Reftest dir_auto-set-contained-dir-L.html and others. r=backout 2016-03-23 18:35:20 +01:00
Patrick McManus 0e38e0d4ae Bug 1256022 - backout f57f85dc94e4 r=backout 2016-03-23 13:06:05 -04:00
Maja Frydrychowicz 4e86317cea Bug 1238733 - Bump version for firefox-puppeteer and update dependencies; r=sydpolk,whimboo
firefox-puppeteer = 4.0.0
firefox-ui-harness = 1.3.0
external-media-tests = 2.0

MozReview-Commit-ID: BfiL39umlrA

--HG--
extra : rebase_source : 9950079b855fa2dd3b7e0434e2bd7564eac643cd
2016-03-22 14:47:23 -04:00
Maja Frydrychowicz b985b77b7b Bug 1238733 - Remove dependency on Marionette harness in firefox-puppeteer; r=whimboo
BaseFirefoxTestCase inherits from unittest.TestCase and takes
advantage of super() to serve as a cooperative base class
for children of MarionetteTestCase.

This includes moving UpdateTestCase back into firefox-ui-harness

Also update external-media-tests and Firefox UI and Update tests to
use BaseFirefoxTestCase


MozReview-Commit-ID: 4gsKztEOFrt

--HG--
rename : testing/puppeteer/firefox/firefox_puppeteer/testcases/update.py => testing/firefox-ui/harness/firefox_ui_harness/testcases.py
extra : rebase_source : e3383f9633f26061af9521a719cae57db87ccf10
2016-03-22 12:21:30 -04:00
Ehsan Akhgari 0e87b6fb88 Bug 1258872 - Port test_mutationobserver_anonymous.html to mochitest-plain so that it can be turned on in e10s mode; r=mrbkap 2016-03-23 11:54:08 -04:00
Ehsan Akhgari 938b1ad7c4 Bug 1257208 - Use the nsTextNode concrete type in several places in DirectionalityUtils.cpp instead of nsINode and nsIContent; r=peterv 2016-03-23 11:48:23 -04:00
Boris Zbarsky 8b4ef1c72e Bug 1255817 part 6. Fix up some comments in CallbackObject that refer to things that no longer exist. r=bholley 2016-03-23 11:44:55 -04:00
Boris Zbarsky 9d00c4004b Bug 1255817 part 5. Remove the now-unused xpc::SystemErrorReporter. r=bholley 2016-03-23 11:44:54 -04:00
Boris Zbarsky e3b2de6aa9 Bug 1255817 part 2. Get rid of AutoJSAPI::OwnsErrorReporting and AutoJSAPI::TakeOwnershipOfErrorReporting. r=bholley 2016-03-23 11:44:54 -04:00
Boris Zbarsky 865750a216 Bug 1255817 part 1. Make AutoJSAPI always take ownership of error reporting. r=bholley 2016-03-23 11:44:54 -04:00
Boris Zbarsky 08a17f586c Bug 1257725 part 6. Get rid of ThreadsafeAutoJSContext. r=bholley 2016-03-23 11:02:57 -04:00
Boris Zbarsky ede5a13ec4 Bug 1257725 part 5. Get rid of ThreadsafeAutoJSContext usage in IDBRequest::CaptureCaller. r=khuey 2016-03-23 11:02:57 -04:00
Boris Zbarsky 5ebb7a4795 Bug 1257725 part 4. Get rid of ThreadsafeAutoJSContext usage in IndexedDB code, except for IDBRequest::CaptureCaller. r=khuey 2016-03-23 11:02:57 -04:00
Boris Zbarsky 7d81d282f7 Bug 1257725 part 3. Get rid of ThreadsafeAutoJSContext usage in Promise code. r=bholley 2016-03-23 11:02:57 -04:00
Boris Zbarsky 4a64ef833e Bug 1257725 part 2. Fix permissions code to not make unwarranted assumptions about what happens when you reject a promise with an ErrorResult while a permission is pending on an on-stack JSContext. r=baku 2016-03-23 11:02:57 -04:00
Boris Zbarsky 5140ac5aae Bug 1257725 part 1. Get rid of ThreadsafeAutoJSContext usage in JSEventHandler::HandleEvent. r=smaug 2016-03-23 11:02:57 -04:00
Patrick McManus 12d98ad561 Bug 1256022 - dom/network slow GC on mochitest fix r=dragana 2016-03-21 13:10:30 -04:00
Jean-Yves Avenard f32aca05b7 Bug 1258410: [MSE] P2. Disconnect init promise if any pending. r=gerald
MozReview-Commit-ID: 9iOPqSeDzdH

--HG--
extra : rebase_source : a5a840c31c7f5348870dc9f9ca3a408d91a96a88
2016-03-23 16:35:10 +11:00
Jean-Yves Avenard d2e51e6dd6 Bug 1258410: [MSE] P1. Abort if mInputDemuxer has been reset. r=gerald
MozReview-Commit-ID: 3irSFFSnXFp

--HG--
extra : rebase_source : a10d067d54ad3f4a67027efae50282270732c265
2016-03-23 13:44:00 +11:00
JW Wang 38e7d661e6 Bug 1258627 - always schedule next cycle so MDSM has a chance to leave buffering state. r=cpearce.
MozReview-Commit-ID: ByCHVF9IxvS
2016-03-23 10:25:58 +08:00
Jean-Yves Avenard a8b76dc318 Bug 1256038: Remove special NotifyDataArrived handling in the DirectShow reader. r=cpearce
Following bug 1223599, NotifyDataArrived is called extremely often (every 32kB block downloaded). The combination of pinning the MediaResource with small cache reads while reading on another thread can causes incorrect read.
While this issue needs to be addressed, the special handling of NotifyDataArrived with DirectShow ultimately serves no purpose. By the time we have read the metadata, we have already identified if the MP3 has a known duration. If not, the duration will be amended as data is being returned to the MDSM.

Continually feeding new data to the MP3FrameParser only allow to account for the new data downloaded ahead of the last decoded sample and to get a slightly more accurate buffered range and duration.

The new MP3Demuxer doesn't do it, and ultimately this makes the DirectShowReader behaves like the new MP3Demuxer and gives us consistency across the readers.

MozReview-Commit-ID: HKNWWrofIqV

--HG--
extra : rebase_source : 88d8ef9206e8a16097b2d493681e88b4c174d0c5
2016-03-22 22:59:50 +11:00
Tooru Fujisawa 27f480e18c Bug 1219757 - Part 12: Remove JS_NewRegExpObjectNoStatics and JS_NewUCRegExpObjectNoStatics. r=till
--HG--
extra : amend_source : 996f82ff6b70c700de0c28fddb9e7e84d0ced91b
2015-11-25 22:38:05 +09:00
Masayuki Nakano 399cac9177 Bug 1256589 part.7 Add PropagationStopped() to WidgetEvent r=smaug
MozReview-Commit-ID: 3eLDURWr6d9

--HG--
extra : rebase_source : 058ab0d76512622a63c792cb91eb83700743549a
extra : source : 5fda4309b3413d8227828dcfce585500290c0a04
2016-03-17 16:21:57 +09:00
Masayuki Nakano cea0b9cf02 Bug 1256589 part.6 Move the implementation of IsTrusted() from dom::Event to WidgetEvent r=smaug
MozReview-Commit-ID: 1SgMbTL8csl

--HG--
extra : rebase_source : 748fa8a594176edf7b2addd038b8031019d0dd35
extra : source : f4ce36e68ce06c405a6fab31facc120b94709aed
2016-03-17 16:01:30 +09:00
Masayuki Nakano 8c8cbe0e4c Bug 1256589 part.5 Add DefaultPrevented() and DefaultPreventedByContent() to WidgetEvent r=smaug
MozReview-Commit-ID: 5q3QUPTf12Z

--HG--
extra : rebase_source : 83ed946b44910713a61c80bd21202aba9430dd2a
extra : source : 4eb2193814ab1958a65add0c8c307d07c646d61c
2016-03-22 16:47:52 +09:00
Masayuki Nakano 6181d95afb Bug 1256589 part.4 Move the implementation of PreventDefault() and add PreventDefaultBeforeDispatch() from dom::Event to WidgetEvent r=smaug
mDefaultPreventedByChrome is hacky. When PresShell handles Escape key events in fullscreen mode, it prevents default of every Escape key events and dispatch it only into chrome. After that, it check mDefaultPreventedByChrome if at least one call of preventDefault() occurred in chrome. Therefore, if we shouldn't set both mDefaultPreventedByChrome and mDefaultPreventedByContent to true before dispatching an event. This the reason why we need a special method, PreventDefaultBeforeDispatch() is needed for setting only mDefaultPrevented to true.

MozReview-Commit-ID: BPSq68GnWw6

--HG--
extra : rebase_source : f2f963afeba6994cc090efedebc29c0d9334c96d
extra : source : 1012dc095cc1b7236991a7befdbfbf174dc1c1af
2016-03-22 16:26:27 +09:00
Masayuki Nakano 2748ab1e88 Bug 1256589 part.3 Move the implementation of StopCrossProcessForwarding() from dom::Event to WidgetEvent r=smaug
MozReview-Commit-ID: KXeVxCJ05Mo

--HG--
extra : rebase_source : 2f8d49412e32eec4a0a8f599984d057637f491a1
extra : source : a68c4bb4878612d61425d87a47b4eca78f271240
2016-03-22 16:01:46 +09:00
Masayuki Nakano 823c6c0373 Bug 1256589 part.2 Move the implementation of StopImmediatePropagation() from dom::Event to WidgetEvent r=smaug
MozReview-Commit-ID: ERTfIhS8bBi

--HG--
extra : rebase_source : e67b968789b51c08ca4b9ccbea37462d7b509f0c
extra : source : 501ec2dfd279deeb85fad3b843676496da6dff3c
2016-03-17 11:57:42 +09:00
Masayuki Nakano d185d40ab2 Bug 1256589 part.1 Move the implementation of StopPropagation() from dom::Event to WidgetEvent r=smaug
MozReview-Commit-ID: Br5eBgC8TbW

--HG--
extra : rebase_source : 0e5743583f80b3e9e09397f49bd438bfe0f49d06
extra : source : 745c9d855d209780a884bd7a3d2cd3cdc20632af
2016-03-17 11:17:42 +09:00
Daisuke Akatsuka 07d9c95713 Bug 1254761 - Part 3: Add tests for AnimationFilter. r=birtles
--HG--
extra : rebase_source : 188cd7bc49e9c143540b874945ab6a3bbfbf79bf
2016-03-22 09:33:09 +09:00
Daisuke Akatsuka ed48c0cba4 Bug 1254761 - Part 2: Removes extra whitespaces. r=birtles
--HG--
extra : rebase_source : 18299c47072d972e9b40c7e0f848584ac976e01e
2016-03-22 09:33:05 +09:00
Daisuke Akatsuka c89239f3ad Bug 1254761 - Part 1: Implement getAnimations({ subtree: true }). r=smaug
--HG--
extra : rebase_source : 3079ffea84919cb6b43dce8c28b256edddce4746
2016-03-22 09:33:02 +09:00
JW Wang 8be2af10c1 Bug 1258567 - per comment 3, ensure volume is only applied once to the AudioSegment. r=kinetik.
MozReview-Commit-ID: Bks59JySrep
2016-03-23 10:16:15 +08:00
Daisuke Akatsuka 9602fa95af Bug 1256560 - Implement AnimationEffectTiming WebIDL. r=birtles, r=smaug
--HG--
extra : rebase_source : ca188cf8fec37819e90310ca21b9250ac4fe0e0e
2016-03-22 16:43:00 -04:00
Jeff Muizelaar aacbe16708 Bug 1242668 - Hold more references. r=sotaro
--HG--
extra : rebase_source : bc808856afacc93eb472f6a18ca2b791c8bfe7f0
2016-02-25 17:26:10 -05:00
David Anderson f7210bb6ef Add a driver crash guard to D3D11 DXVA. (bug 1253666, r=mattwoodrow) 2016-03-22 18:45:28 -07:00
Masayuki Nakano 3af2033805 Bug 1154183 part.7 Don't dispatch preceding keydown events of reserved keypress events on content in the default event group r=smaug
MozReview-Commit-ID: 5zdkdfNxbxb
2016-03-22 15:05:25 +09:00
Masayuki Nakano ac1b2491bc Bug 1154183 part.6 Add nsXBLWindowKeyHandler::IsExecuteableElement() r=smaug
MozReview-Commit-ID: 8FyDzkfHihH
2016-03-19 23:16:21 +09:00
Masayuki Nakano 5b0e7ecdae Bug 1154183 part.5 Make nsXBLWindowKeyHandler::GetElementForHandler() use early return style r=smaug
MozReview-Commit-ID: CezO0rZBOEl
2016-03-19 23:12:39 +09:00
Masayuki Nakano d62ef1ba67 Bug 1154183 part.4 Implement nsXBLWindowKeyHandler::GetElementForHandler() r=smaug
MozReview-Commit-ID: 9qsOLU3QCnr
2016-03-18 11:25:22 +09:00
Masayuki Nakano 77166dd790 Bug 1154183 part.3 Clean up some variable names in nsXBLWindowKeyHandler::WalkHandlersAndExecute() r=smaug
MozReview-Commit-ID: 17fCUBwFf92
2016-03-18 11:25:08 +09:00
Masayuki Nakano 7bcaf602d0 Bug 1154183 part.2 eKeyDown event should have charCode value of following keypress event r=smaug
MozReview-Commit-ID: 9duzKfCFPro
2016-03-19 20:57:11 +09:00
Masayuki Nakano 963976b46d Bug 1154183 part.1 Move shortcut/access key candidate list creators from nsContentUtils to WidgetKeyboardEvent r=smaug
MozReview-Commit-ID: Ied6qEUc2Kz
2016-03-18 11:22:37 +09:00
Brian Birtles 1fa3fa89d4 Bug 1257753 - Extend length of script animation in test to avoid intermittent failures; r=hiro
MozReview-Commit-ID: DHuWqOGWHqw
2016-03-23 09:40:31 +09:00
Ehsan Akhgari d05c992346 Bug 1258815 - Port some tests that depend on the parser utils object to mochitest-plain so that they can be turned on in e10s mode; r=mrbkap 2016-03-22 19:12:41 -04:00
Till Schneidereit 069b390f89 Bug 911216 - Part 11: Implement all Promise inspection functionality as Debugger getters. r=shu,fitzgen
--HG--
rename : dom/promise/tests/test_dependentPromises.html => js/src/tests/ecma_6/Promise/dependent-promises.js
extra : rebase_source : af4f22cb26a42d3e6262e7fe582ea301c9055a70
2016-02-10 23:10:08 +01:00
Wes Kocher 7ee663302a Backed out 2 changesets (bug 1109614) for frequent failures in Web Platform Reftests
Backed out changeset 6b034852b39f (bug 1109614)
Backed out changeset 529a82416338 (bug 1109614)

MozReview-Commit-ID: AYafA2Dg0VG
2016-03-22 15:59:45 -07:00
Ehsan Akhgari 100dda0d7d Bug 1258056 - Propagate the window opener full page zoom across the IPC layer; r=smaug 2016-03-22 17:49:09 -04:00
Boris Zbarsky bc347a401b Bug 1257919 part 10. Make the caller and formattedStack getters on JSStackFrame take an explicit JSContext. r=khuey 2016-03-22 13:50:35 -04:00
Boris Zbarsky dde5cae5bb Bug 1257919 part 9. Make the asyncCause/asyncCaller getters on JSStackFrame take an explicit JSContext. r=khuey 2016-03-22 13:50:31 -04:00
Boris Zbarsky 42b3bbe27a Bug 1257919 part 8. Make the line/column number getters on JSStackFrame take an explicit JSContext. r=khuey 2016-03-22 13:50:31 -04:00
Boris Zbarsky 54987c5cc1 Bug 1257919 part 7. Make the name getter on JSStackFrame take an explicit JSContext. r=khuey 2016-03-22 13:50:31 -04:00
Boris Zbarsky efa07c06d1 Bug 1257919 part 6. Make the filename getter on JSStackFrame take an explicit JSContext. r=khuey 2016-03-22 13:50:31 -04:00
Boris Zbarsky ecd56b7ee6 Bug 1257919 part 5. Get rid of the now-unused StackFrame class. r=khuey 2016-03-22 13:50:31 -04:00