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

50701 Коммитов

Автор SHA1 Сообщение Дата
Edgar Chen 39105e76a9 Bug 1274519 - Don't append result to the candidate list if got unexpected token at the end of size string; r=heycam
MozReview-Commit-ID: 9jwHNUPZ94k
2016-05-25 09:47:18 +08:00
Kershaw Chang cd414072f6 Bug 1267965 - Part3: Call NotifySessionConnect when registering listener and when receiver is ready. r=smaug 2016-05-25 02:21:00 +02:00
Kershaw Chang e68a87244e Bug 1267965 - Part2: Store responding window ID and session ID in parent process. r=smaug 2016-05-25 02:20:00 +02:00
Kershaw Chang 230ae97e0a Bug 1267965 - Part1: Move duplicate code into PresentationServiceBase. r=smaug 2016-05-25 02:19:00 +02:00
JerryShih 84beb03ee4 Bug 1248580 - handle gl.UniformMatrixXfv() function uploading element size. r=jgilbert 2016-05-25 13:50:57 +02:00
JerryShih e440e9dd9a Bug 1248580 - strip the uploading element num according to the uniform array size. r=hshih 2016-05-25 13:50:31 +02:00
Christoph Kerschbaumer 031a59734b Bug 1196013 - Use channel->ascynOpen2 in toolkit/components/places. r=billm r=sicking r=mak 2016-05-23 23:57:31 +02:00
JerryShih 6850e09718 Bug 1178871 - turn on WebGL conformance test |conformance/glsl/misc/shader-struct-scope|. r=jgilbert 2016-05-24 22:46:00 +02:00
JerryShih d8088c8229 Bug 1178871 - turn on WebGL conformance test |conformance/glsl/misc/struct-nesting-of-variable-names|. r=jgilbert 2016-05-24 09:43:00 +02:00
JerryShih f804058c0f Bug 1178871 - work around that Mac drivers for shader struct scopes. r=jgilbert 2016-05-24 02:41:00 +02:00
Carsten "Tomcat" Book baa01dd21c Backed out changeset 467b0d255265 (bug 1272012) 2016-05-25 13:21:32 +02:00
JW Wang 8b980a3cbc Bug 1274216 - remove use of FlushableTaskQueue from PlatformDecoderModule. r=jya.
MozReview-Commit-ID: E3DG84yKRmw

--HG--
extra : rebase_source : 2636b7d1ef5cc544f70b3912d4d6bd30f25424df
2016-05-19 17:50:31 +08:00
Mats Palmgren cdc61249b6 Bug 1272012 - Tweak or disable a few tests for <select size=1> Up/Down key behavior on OSX. 2016-05-25 10:48:52 +02:00
Jonathan Kew ec45c18193 Bug 1274936 - When <canvas> fillText is using a simple color, draw via the gfxTextRun::Draw code path to get support for COLR and SVG-in-OT fonts. r=bas 2016-05-25 09:21:10 +01:00
HoPang Hsu 3ebd7c9d32 Bug 1261002 - Part 1: Implement node.isConnected. r=smaug 2016-05-20 16:31:29 +08:00
Cameron McCormack 45dfce2c7c Bug 1275452 - Part 3: Eagerly restyle XBL-provided anonymous content in stylo. r=bholley
--HG--
extra : rebase_source : 4da7aa1a6364581cc9970baa42401bc49d33fa68
2016-05-25 16:55:50 +10:00
JW Wang b9c2b41eb4 Bug 1274189. Part 3 - remove use of FlushableTaskQueue. r=jya
MozReview-Commit-ID: BblRglpMvtp

--HG--
extra : rebase_source : 525d103c8a4b829fc3f35d7722cd9456277f8f19
2016-05-19 16:30:02 +08:00
JW Wang ef34d3ad83 Bug 1274189. Part 2 - remove use of FlushableTaskQueue::Flush(). r=jya.
MozReview-Commit-ID: I079lp6vSqu

--HG--
extra : rebase_source : 4cd655365a45123de748791100bd308e229d650c
2016-05-25 10:15:24 +08:00
JW Wang ecc1e85308 Bug 1274189. Part 1 - rename some functions to be consistent with other MediaDataDecoder sub-classes. r=jya.
MozReview-Commit-ID: EqR1cQ2sAhQ

--HG--
extra : rebase_source : 650274ea49bdfcf4a6af55ef6da128d3590bc3a9
2016-05-20 16:28:50 +08:00
JW Wang 006ae9baa3 Bug 1193124 - Ensure logical position is updated after seek. r=jwwang
MozReview-Commit-ID: KD4ylXbaDfu

--HG--
extra : rebase_source : c3e856ce515eeeec17b0dd9c64332fcff4d6deb5
2016-04-18 18:57:47 +08:00
Chris Pearce bc093355a7 Bug 1249706 - Fix 8fe22dd4fc8a (backout of a085ea2d24bb). r=bustage
--HG--
extra : rebase_source : dedc21e95680f0361f4ff9e2058fe37f1a322e8e
2016-05-25 10:51:14 +12:00
Chris Pearce daf024be7d Bug 1249706 - Backout a085ea2d24bb for blowing telemetry server's mind. r=backout
--HG--
extra : rebase_source : fc17ac88544ff800b141a276f66282b34f613dfe
2016-05-25 10:31:15 +12:00
Jonathan Watt de83a13903 Bug 1275266 - Rename imgLoader::Singleton and imgLoader::PBSingleton to something less misleading, and document them. r=tnikkel 2016-05-19 13:31:15 +01:00
Jean-Yves Avenard 708b1db5db Bug 1274933: Reject data promise when EOS is encountered following waiting for data. r=gerald
MozReview-Commit-ID: 1hKplz5wFnJ

--HG--
extra : rebase_source : 301821b51146e5cc7273f86b53b16c1e6ef6ca08
2016-05-24 19:58:36 +10:00
Ben Kelly 0304c38349 Bug 1273920 P4 Fix bugs in dom/push/test_serviceworker_lifetime.html test. r=kitcambridge 2016-05-24 14:08:20 -07:00
Andrew Sutherland df95996482 Bug 1273920 P3b Trigger cycle collector instead of using a timeout. r=bkelly 2016-05-23 22:40:50 -04:00
Ben Kelly 4020ec6404 Bug 1273920 P3 Add mochitest that demonstrates we cancel sw install if install event is GC'd. r=asuth 2016-05-24 14:08:20 -07:00
Ben Kelly d021f226db Bug 1273920 P1 Hold strong reference to service worker WaitUntil() promise until its fulfilled. r=asuth 2016-05-24 14:08:20 -07:00
Gian-Carlo Pascutto e3b4dc9250 Bug 1249313 - Don't shut down the entire Cameras IPC if a single source is shut down. r=jesup 2016-02-23 15:20:26 +01:00
Sebastian Hengst 2105dbce5a Backed out changeset 607941762a73 (bug 1274796) for failing test_lengths-3.html on Android. r=backout 2016-05-24 18:36:28 +02:00
Kartikaya Gupta 5bb2f43706 Bug 1203140 - Don't add touch listener areas to dispatch-to-content regions unless touch events are enabled. r=smaug
MozReview-Commit-ID: 1EI8hrzOcBz
2016-05-24 11:24:31 -04:00
Kartikaya Gupta 5e8020956e Bug 1203140 - Add a pref cache for the touch events pref, as it can get called a lot. r=smaug
MozReview-Commit-ID: EQD3oxFaInO
2016-05-24 11:24:30 -04:00
James Kitchener fd01e0331b Bug 1274796 - Support spaces in MathML namedspaces. r=fredw
--HG--
extra : rebase_source : eff965484ca6b54d4846687fe0a89c36ced8fb43
2016-05-21 19:00:00 +02:00
Patrick McManus c0638a1abc Bug 1274729 - corrupted content string management r=dragana 2016-05-23 10:12:31 -04:00
Masayuki Nakano 38e54402b2 Bug 1272599 part.2 Rename KeyboardEvent.key values, "MozHomeScreen" and "MozCameraFocusAdjust" to "GoHome" and "CameraFocus" except on B2G r=smaug
KEYCODE_HOME was temporarily named as "MozHomeScreen" and KEYCODE_FOCUS was temprarily named as "MozCameraFocusAdjust" since they were not defined by the spec. However, in the latest spec, they are defined as "GoHome" and "CameraFocus". So, it is the time to rename them.

However, these temporary key names are still used by Gaia. Until it's fixed, we should keep using the temporary names only on B2G.

MozReview-Commit-ID: 9ILtZdf6EUQ

--HG--
extra : rebase_source : f673ca6e128705af3071dafbd7ab1eb8e310297d
2016-05-20 21:29:10 +09:00
Masayuki Nakano 18d7f8212d Bug 1272599 part.1 Rename KeyboardEvent.key value, "MozPhoneCall" to "Call" r=smaug
Android's KEYCODE_CALL was temporarily named as "MozPhoneCall" since proper key name was not defined in the spec. However, now, it's defined as "Call" in the latest spec. Therefore, we should rename this key name.

Note that this isn't available on Android because the key event is never fired on applications. However, this key may be useful on B2G. Although, the key is not used by current Gaia.

MozReview-Commit-ID: GF4STYrGMig

--HG--
extra : rebase_source : 7d94c0a3c47d9ba1fadc4de475d71967d6281545
2016-05-20 21:00:20 +09:00
Masayuki Nakano 4205d9edae Bug 1272578 part.3 Rename key name VolumeMute to AudioVolumeMute except on B2G r=smaug
VolumeMute was renamed to AudioVolumeMute in the latest draft and Chromium uses the new name. Therefore, we need to update this but Gaia uses the old name. So, we shouldn't rename on B2G until Gaia is fixed.

Note that this patch changes tests but they are not used by B2G. Therefore, just replacing with new name is enough.

Only forms.js is necessary #ifdef because the main purpose of forms.js is for B2G's IME framework. However, it's available on the other platforms if chrome needs to use it.

MozReview-Commit-ID: KSkcPbIovin

--HG--
extra : rebase_source : 4ff5d92b000599806367b002fd08aa5ae858ee4d
2016-05-21 00:57:18 +09:00
Masayuki Nakano 65d3998d32 Bug 1272578 part.2 Rename key name VolumeUp to AudioVolumeUp except on B2G r=smaug
VolumeUp was renamed to AudioVolumeUp in the latest draft and Chromium uses the new name. Therefore, we need to update this but Gaia uses the old name. So, we shouldn't rename on B2G until Gaia is fixed.

Note that this patch changes tests but they are not used by B2G. Therefore, just replacing with new name is enough.

Only forms.js is necessary #ifdef because the main purpose of forms.js is for B2G's IME framework. However, it's available on the other platforms if chrome needs to use it.

MozReview-Commit-ID: KzLVL5Y2dIN

--HG--
extra : rebase_source : d7a70f556684cdc99989e408e0e87a04e2da43d9
2016-05-21 00:55:48 +09:00
Masayuki Nakano 97f043ea9e Bug 1272578 part.1 Rename key name VolumeDown to AudioVolumeDown except on B2G r=smaug
VolumeDown was renamed to AudioVolumeDown in the latest draft and Chromium uses the new name. Therefore, we need to update this but Gaia uses the old name. So, we shouldn't rename on B2G until Gaia is fixed.

Note that this patch changes tests but they are not used by B2G. Therefore, just replacing with new name is enough.

Only forms.js is necessary #ifdef because the main purpose of forms.js is for B2G's IME framework. However, it's available on the other platforms if chrome needs to use it.

MozReview-Commit-ID: cq98qJnS8M

--HG--
extra : rebase_source : 98653e5427d9d4720d19011673cbb0f9cdf36f1a
2016-05-21 00:52:03 +09:00
Carsten "Tomcat" Book 805f86c2b5 Merge mozilla-central to mozilla-inbound 2016-05-24 15:13:51 +02:00
Carsten "Tomcat" Book cb4337c62c merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : dom/presentation/tests/mochitest/file_presentation_non_receiver_oop.html => dom/presentation/tests/mochitest/file_presentation_non_receiver.html
rename : dom/presentation/tests/mochitest/file_presentation_non_receiver_inner_iframe_oop.html => dom/presentation/tests/mochitest/file_presentation_non_receiver_inner_iframe.html
rename : dom/presentation/tests/mochitest/file_presentation_receiver_inner_iframe_oop.html => dom/presentation/tests/mochitest/file_presentation_receiver_inner_iframe.html
2016-05-24 14:52:23 +02:00
Carsten "Tomcat" Book 0ed94efabc Backed out changeset 0659c9235136 (bug 1274363) for memory leaks
--HG--
extra : rebase_source : 7fd1df522bb0cab48ca51d29140036f6a5a6a7cc
2016-05-24 09:37:23 +02:00
Jonathan Watt a29011b574 No Bug - Remove some dead imgLoader code from nsContentUtils.h. r=me 2016-05-18 21:24:16 +01:00
David Anderson cc844f6053 Remove ContentParent use of CompositorBridgeParent. (bug 1274149 part 5, r=mattwoodrow) 2016-05-23 00:28:51 -07:00
David Anderson 3284628c95 Remove TabParent use of CompositorBridgeParent. (bug 1274149 part 4, r=mattwoodrow) 2016-05-23 00:28:03 -07:00
David Anderson 60ca648e99 Move Alloc/DeallocLayerTreeId calls to GPUProcessManager. (bug 1274149 part 3, r=mattwoodrow) 2016-05-23 00:27:57 -07:00
Shih-Chiang Chien ef7fdfc03a Bug 1234128 - Part 3, update test cases. r=smaug.
MozReview-Commit-ID: I5CoLpcXxXz


--HG--
rename : dom/presentation/tests/mochitest/file_presentation_non_receiver_oop.html => dom/presentation/tests/mochitest/file_presentation_non_receiver.html
rename : dom/presentation/tests/mochitest/file_presentation_non_receiver_inner_iframe_oop.html => dom/presentation/tests/mochitest/file_presentation_non_receiver_inner_iframe.html
rename : dom/presentation/tests/mochitest/file_presentation_receiver_inner_iframe_oop.html => dom/presentation/tests/mochitest/file_presentation_receiver_inner_iframe.html
2016-05-24 14:19:22 +08:00
Shih-Chiang Chien 427d2ea1b5 Bug 1234128 - Part 2, use mozpresentation to identify presented content. r=smaug. 2016-05-24 14:19:22 +08:00
Shih-Chiang Chien 859a30461d Bug 1234128 - Part 1, add mozpresentation attribute in browser element. r=smaug. 2016-05-24 14:19:22 +08:00
Andrea Marchesini 2d4ce92868 Bug 1274363 - BroadcastChannel should dispatch events in the correct order, r=smaug 2016-05-24 06:59:15 +02:00
Chris Peterson b1e318c188 Bug 1259335 - Part 1: Log deprecation warning for navigator.battery. r=baku 2016-05-21 01:08:52 -07:00
Phil Ringnalda 5236d2e4ba Back out 561138ee5a32 (bug 1271487) for web-platform-tests failures and unexpected passes
CLOSED TREE
2016-05-23 21:09:07 -07:00
Hiroyuki Ikezoe fc371e8226 Bug 1166500 - Part 11: Add a preference for offscreen throttling. r=dbaron
MozReview-Commit-ID: AD34RTVZcxy
2016-05-24 12:57:43 +09:00
Hiroyuki Ikezoe f2c5a700c9 Bug 1166500 - Part 10: Test throttling and unthrottling of paint-only animations on elements that are scrolled out of view. r=dbaron 2016-05-24 12:57:43 +09:00
Hiroyuki Ikezoe 8a1eb78fd4 Bug 1166500 - Part 9: onFrame process should be called even if frameCount is 1. r=birtles 2016-05-24 12:57:43 +09:00
Hiroyuki Ikezoe dafe11f343 Bug 1166500 - Part 8: Now automation tests for bug 1166500 can pass expect on Android. r=birtles 2016-05-24 12:57:43 +09:00
Hiroyuki Ikezoe b2888c83cd Bug 1166500 - Part 7: Throttle paint-only animations if the presShell is not active. r=dbaron 2016-05-24 12:57:43 +09:00
Hiroyuki Ikezoe f4e8a9f94a Bug 1166500 - Part 6: Throttle paint-only animations on element which is out of view. r=dbaron 2016-05-24 12:57:43 +09:00
Hiroyuki Ikezoe eec4931934 Bug 1166500 - Part 3: Add KeyframeEffectReadOnly::CanIgnoreIfNotVisible(). r=dbaron 2016-05-24 12:57:42 +09:00
Hiroyuki Ikezoe caa5bb7b54 Bug 1166500 - Part 2: Calculate cumulative change hint. r=dbaron
In order to raise an assertion in CanIgnoreIfNotVisible() which will be
introduced in part 3 when the cumulative hint is not properly, we should skip
the calculation when mProperties is empty.
2016-05-24 12:57:42 +09:00
Hiroyuki Ikezoe ad26dd6ea3 Bug 1166500 - Part 1: Store change hints between from and to for each animation segment. r=dbaron
BuildSegmentsFromValueEntries now needs base nsStyleContext to calculate
the change hints.
If the change hint is not set correctly, we will check it in
CanIgnoreIfNotVisible() introduced in a subsequent patch (part 3).
2016-05-24 12:57:42 +09:00
Jean-Yves Avenard cd102518d1 Bug 1270323: P5. Prevent potential null deref. r=cpearce
This currently can't happen as no MediaDataDecoder ever return a null sample.

MozReview-Commit-ID: BucIadubght

--HG--
extra : rebase_source : 4c6f3dc1d5581bdb9d58ba3b7cc1659c57f40d8e
2016-05-23 16:12:17 +10:00
Jean-Yves Avenard 977d53d5e1 Bug 1270323: P4. Don't drain decoder if we're already waiting for new data. r=cpearce
If we're in waiting for data mode, the decoder must have already been drained and we want the waiting promise to be resolved upon the next run of UpdateReceivedNewData.

MozReview-Commit-ID: Hf8pFFyQmjJ

--HG--
extra : rebase_source : c51ed65c7d7c4a9ee877e6f9420f6534480e7cb5
2016-05-23 16:09:12 +10:00
Jean-Yves Avenard e1fd229178 Bug 1270323: [ffmpeg] P3. Use the dts of the last sample input, not the dts of the last decoded sample. r=cpearce
Amendment to bug 1244410. If no frames had been output yet, last dts would have been INT64_MIN.

MozReview-Commit-ID: LOdWLpyuLYm

--HG--
extra : rebase_source : f842d2214b1e82f3b069e843157b95d87e62fa01
2016-05-23 15:37:34 +10:00
Jean-Yves Avenard 1a18fcce6e Bug 1270323: P2. Don't process new incoming data while a skip to next keyframe is pending. r=cpearce
Followup from bug 1272964 P4.

MozReview-Commit-ID: 18MC3O1JZLv

--HG--
extra : rebase_source : f1f09890f8837caceb37e0e5deafea6e43fbe900
2016-05-21 23:02:43 +08:00
Jean-Yves Avenard 51b5eef658 Bug 1270323: P1. Don't reset flag indicating that new data was received. r=cpearce
A bit of a shot in the dark, but it is possible that data got received but that information got lost as reset was called.

MozReview-Commit-ID: 1KjQeCFsGPJ

--HG--
extra : rebase_source : 3a522045bde0658fdfeccbf4d0cac11b43bc35d7
2016-05-21 22:58:40 +08:00
Xidorn Quan 26c3d73bf6 Bug 1270386 - Move unprefixed fullscreen event handlers from GlobalEventHandlers to Document. r=smaug
MozReview-Commit-ID: FfQhDoD5Wf3

--HG--
extra : source : db4cd63a10f577e68b238509b7a13897ff028064
2016-05-24 13:21:22 +10:00
Edgar Chen 7e21de3ed5 Bug 1274526 - Part 1: Implement support for 'q' absolute length units in CSS; r=heycam
MozReview-Commit-ID: vTDufVkAuv
2016-05-23 15:18:34 +08:00
Wei-Cheng Pan 4743ce02cd Bug 1273079 - Use MOZ_MUST_USE in hal. r=gsvelto
MozReview-Commit-ID: 7VLDpz34DRu

--HG--
extra : transplant_source : O%9DK%DCOc%D8%CB%FD%EFf%04%C4%B4%DA%A2x%FF%88%99
2016-05-16 17:24:03 +08:00
Jessica Jong 524ca57c7e Bug 1268556 - clicking padding area of 'number' input should not blur. r=smaug 2016-05-23 23:27:00 +02:00
Ben Tian 7b7d04ca34 Bug 1257887 - Make windows opened through window.open() be scrollable by default. r=smaug 2016-05-17 11:25:47 +08:00
JW Wang 96106a2fbc Bug 1274522. Part 2 - fix comments. r=gerald.
MozReview-Commit-ID: J7YKTy1m7PU

--HG--
extra : rebase_source : 29f7497cb035545d15dc2d0c79d82bf0ff94d549
2016-05-24 11:47:23 +08:00
JW Wang acc0134e37 Bug 1274522. Part 1 - Use AsyncShutdown API in MediaShutdownManager. r=gerald.
MozReview-Commit-ID: 4hMS188FBdp

--HG--
extra : rebase_source : 6c193d5a07f3109ef8a9a6268b112f3368500e88
2016-05-20 17:17:40 +08:00
Jean-Yves Avenard 4bde53c7a1 Bug 1275098: Silence incorrect dumb compiler warning. r=cpearce
MozReview-Commit-ID: In7HSZM2SjX

--HG--
extra : rebase_source : 9f4358e5fad4b0233847fc96a6a8097ea101498a
2016-05-24 10:16:39 +10:00
JW Wang 13fa174ec0 Bug 1274199 - remove use of FlushableTaskQueue. r=cpearce.
MozReview-Commit-ID: J9BHEuF6CPJ
2016-05-19 17:04:18 +08:00
JW Wang fbdef02717 Bug 1272565 - draw a blank image when no frames in the video track.
MozReview-Commit-ID: 1Kijn00XAnQ
2016-05-17 10:33:32 +08:00
JW Wang d1674fc0e3 Bug 1274212 - remove use of FlushableTaskQueue. r=kaku
MozReview-Commit-ID: DmyrIhGq8yb
2016-05-19 17:24:30 +08:00
JW Wang 5a7fa14c5c Bug 1274214 - remove use of FlushableTaskQueue. r=kaku.
MozReview-Commit-ID: 5tMa5aqAgQ1
2016-05-19 17:32:22 +08:00
Hiroyuki Ikezoe 240e8e3669 Bug 1271487 - Enable PerformanceObserver API in nightly by default. r=baku
MozReview-Commit-ID: EuenLdpscHb

--HG--
extra : rebase_source : 07d84ddd066940b74fd3f1c3e13a73cc4e4b91e2
2016-05-10 13:35:35 +09:00
Wes Kocher 7f842eb00c Merge m-c to fx-team, a=merge CLOSED TREE 2016-05-20 14:23:37 -07:00
Jared Wein b57a662411 Bug 1270853 - Remove HTML5 video controls statistics. r=gijs, r=bz for removing internal chrome/xbl attribute in webidl
MozReview-Commit-ID: 53BYXvHaaB9
2016-05-19 23:30:12 -04:00
Blake Kaplan ad87d3252d Bug 1244533 - Pass dragend coordinates down to the content process. r=enndeakin 2016-05-19 11:55:40 -07:00
Ben Kelly f3cfddb783 Bug 1273070 P2 Execute fetch() mochitests in nested workers. r=khuey 2016-05-19 11:39:13 -07:00
Ben Kelly f671f48c5d Bug 1273070 P1 Fix fetch() WorkerRunnable classes to allow it to work with nested Workers. r=khuey 2016-05-19 11:39:13 -07:00
Sebastian Hengst d6e3286232 Backed out changeset 854a8df494d3 (bug 1271198) for many assertions at nsHttpChannel.cpp:5204. r=backout on a CLOSED TREE 2016-05-19 14:23:51 +02:00
Thomas Zimmermann 30f80487ad Bug 1274206: Use MediaPref for |mRecognition->mTestConfig.mFakeRecognitionService|, r=jyavenard
MozReview-Commit-ID: Jb9CbpXYhBU
2016-05-19 12:53:35 +02:00
Christoph Kerschbaumer 0e2d46a840 Bug 1271198 - Convert Websockets to use AsyncOpen2() (r=jduell) 2016-05-19 11:54:02 +02:00
Alexandre Lissy 3222abeaab Bug 1273945 - Move MonoAudio from gfxPrefs to MediaPrefs r=jya
MozReview-Commit-ID: HyA1NEpAY2d

--HG--
extra : rebase_source : 5f5458ddcd7e77060297bedcc2c08efcfdbcc38e
2016-05-18 18:26:31 +02:00
JW Wang bdd00e6e97 Bug 1273774. Part 3 - remove members no longer used. r=jya.
MozReview-Commit-ID: E4OgqAOzqnr

--HG--
extra : rebase_source : 70722fcb1260d98df9216f457377929f36f39420
2016-05-18 15:26:36 +08:00
JW Wang 8e5351a7eb Bug 1273774. Part 2 - do decoding jobs synchronously without dispatching. r=jya.
MozReview-Commit-ID: CkGrZfgEIhu

--HG--
extra : rebase_source : 0407045b22206a790d38ca5e4fa92e088564a042
2016-05-18 15:09:25 +08:00
JW Wang 1658845934 Bug 1273774. Part 1 - remove unused members and thread assertions. r=jya.
MozReview-Commit-ID: 7rIxvxAfvhq

--HG--
extra : rebase_source : 67ae86b217ef61a0251bf406737fdc7fc15aff27
2016-05-18 15:03:51 +08:00
Matthew Gregan 3e8997c3fe Bug 1261900 - Allow WebMDemuxer to resume demuxing even after encountering EOS. r=jya
Use the recently added nestegg_read_reset API to restore the demuxer to the
last valid state so that MSE can reattempt parsing the next packet as more
data is added to the stream.
2016-04-22 23:10:00 +10:00
Jean-Yves Avenard 6ca9901bbc Bug 1261900: [webm] P9. Prevent null deref when webm logs are turned on. r=kinetik 2016-04-27 10:07:03 +10:00
Jean-Yves Avenard b5b89317e9 Bug 1261900: [MSE/webm] P6. Don't unnecessarily calculate the next keyframe time. r=kinetik
MSE only uses the webm demuxer to demux all samples at once. Attempting to find the next keyframe as such always fail.
2016-04-22 16:41:52 +10:00
Jean-Yves Avenard ebffea1ce6 Bug 1261900: [MSE/webm] P5. Re-add WebMTrackDemuxer::GetEvictionOffset. r=gerald 2016-04-22 16:37:39 +10:00
Jean-Yves Avenard f0d5590b9d Bug 1261900: [MSE] P4. Only evict no longer used data from resource. r=gerald 2016-04-22 16:33:56 +10:00
Jean-Yves Avenard d52e089910 Bug 1261900: P3. Re-add MediaDataDemuxer::GetEvictionOffset() API. r=gerald
API was removed in bug 1204419.
2016-04-22 15:48:38 +10:00
Jean-Yves Avenard b53370f549 Bug 1261900: [MSE] P2. Prevent assertion if first media segment contains no usable frames. r=gerald
Encountered while using YouTube MSE/webm compliance test.
2016-04-21 21:19:47 +10:00
Jean-Yves Avenard 7a284b30ab Bug 1261900: [webm] Use block duration if known. r=kinetik 2016-04-21 21:07:54 +10:00
Mike Conley 359f06fb50 Bug 1166351 - Prioritize getting the nsXBLDocumentInfo out of the bound document's nsBindingManager instead of the nsXULPrototypeCache. r=bobbyholley+313730
This is kind of a long story, stay with me on this.

In bug 990290, a WeakMap was added to any JS scope that loaded an XBL
binding. That WeakMap stored the JS prototypes that are injected into
a bound node's prototype chain.

When a binding is removed, we search the prototype chain for the
JS prototype that we'd added, and remove it.

The XUL prototype cache caches numerous things, including nsXBLDocumentInfo,
which we use to get at the nsXBLPrototypeBinding for a particular binding,
which is then used to generate the class object that's put into the WeakMap.

When the XUL prototype cache is flushed, that means that when a binding
is bound, its definition needs to be reloaded off of the disk. If, however,
there was a pre-existing instance of the binding already being used in a
document, now we were in a funny case.

We were in a funny case, because when attempting to remove a binding, we
would look up the nsXBLPrototypeBinding via the nsXBLDocumentInfo that's
being held within the nsXULPrototypeCache, find (or load off the disk) a
_new_ nsXBLDocumentInfo and generate a _new_ nsXBLPrototypeBinding that
did not match to the one that we'd already stored in the WeakMap. This
would mean that removal would go wrong, and things would break horribly.

This patch makes it so that we prioritize checking the nsBindingManager
for a document for the nsXBLDocumentInfo before checking the
global nsXULPrototypeCache. That way, even if the cache gets cleared,
if the binding was ever used in this document, it'll be in the
nsBindingManager, and we'll get the same nsXULProtoypeBinding that
we'd been using before, and sanity will prevail.

MozReview-Commit-ID: G8iLDbCPRAC

--HG--
extra : rebase_source : 4322965c0b7150b22454651ad7a9461ee76d766b
2016-05-16 19:07:26 -04:00