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

48515 Коммитов

Автор SHA1 Сообщение Дата
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
Boris Zbarsky 655d4654c8 Bug 1257919 part 4. Stop returning StackFrame instances from exceptions::CreateStack. C++ callers of GetCurrentJSStack or exceptions::CreateStack always check for null anyway, and none of them seem to want this non-JS thing. r=khuey 2016-03-22 13:50:31 -04:00
Boris Zbarsky 12ede800fa Bug 1257919 part 3. Make the various toString methods on exceptions take an explicit JSContext. r=khuey 2016-03-22 13:50:31 -04:00
Boris Zbarsky 272f9d9fba Bug 1257919 part 1. Kill off nsIXSLTException. r=khuey 2016-03-22 13:50:31 -04:00
David Anderson f3dc22db8d Rename PCompositor to PCompositorBridge. (bug 1258479 part 2, r=mattwoodrow)
--HG--
rename : gfx/layers/ipc/CompositorChild.cpp => gfx/layers/ipc/CompositorBridgeChild.cpp
rename : gfx/layers/ipc/CompositorChild.h => gfx/layers/ipc/CompositorBridgeChild.h
rename : gfx/layers/ipc/CompositorParent.cpp => gfx/layers/ipc/CompositorBridgeParent.cpp
rename : gfx/layers/ipc/CompositorParent.h => gfx/layers/ipc/CompositorBridgeParent.h
2016-03-22 14:08:38 -04:00
David Anderson d6945e4086 Rename PCompositor to PCompositorBridge. (bug 1258479 part 1, r=mattwoodrow)
--HG--
rename : gfx/layers/ipc/PCompositor.ipdl => gfx/layers/ipc/PCompositorBridge.ipdl
2016-03-22 14:07:08 -04:00
Syd Polk 3acf779e6f Bug 1254732 - External Media Tests needs comprehensive API documentation. r=maja_zf,SingingTree
MozReview-Commit-ID: 8KtnvUPx4LU

--HG--
extra : rebase_source : 3af6a38e28163974ce5adb86fa4ff6ee89a46cdd
2016-03-21 13:17:17 -05:00
Ruxton 397d6cce9c Bug 1109614 - Part 2: TextTrackManager now fires cues before checking for videoFrame. r=rillian
MozReview-Commit-ID: FPz614hnDiF
2016-03-22 13:55:39 -07:00
Ruxton db725b3d91 Bug 1109614 - Part 1: Add tests for TextTrack cuechange on AudioElement. r=rillian
Disabled on Android for timeouts.

MozReview-Commit-ID: 5S32dpbjaM
2016-03-22 13:53:44 -07:00
Eugen Sawin 0d1db2c7f7 Bug 1216560 - [3.1] Make eviction thresholds const. r=jya 2016-03-22 21:32:58 +01:00
Eugen Sawin c94e9927bc Bug 1216460 - [2.2] Refactor SourceBuffer frame eviction and threshold defaults. r=jya
* Move eviction handling out of SourceBuffer into TrackBuffersManager
* Separate audio and video eviction thresholds
* Reduce default audio eviction threshold to 15MB
2016-03-22 21:24:45 +01:00