Commit Graph

485753 Commits

Author SHA1 Message Date
Kris Maglione
8fd3690336 Bug 1290598: Migrate native messaging tests to xpcshell. r=aswan
MozReview-Commit-ID: 4Uz73l8qGVE

--HG--
extra : rebase_source : f24e9cc3bd9b235a429d5bbe8e6cad509495f24f
extra : source : 486639a0f3ca05afaf0250b514c3641805f1f497
2016-08-02 17:39:51 -07:00
Kris Maglione
84ef185a5c Bug 1290598: Manage and terminate Windows subprocess trees as a single job object. r=mhowell
MozReview-Commit-ID: 80K5YyDWmn3

--HG--
extra : rebase_source : dd42f8c22ac92df3b7b06713e2de015bcf7c8782
extra : source : 3242411d3294521508f34d1b5beee52b1ae986ea
2016-08-03 09:39:19 -07:00
Kris Maglione
9d0ae0450e Bug 1290598: Refactor native messaging test setup code into separate head file. r=aswan
MozReview-Commit-ID: BN9oeXt79eG

--HG--
rename : toolkit/components/extensions/test/xpcshell/test_ext_native_messaging.js => toolkit/components/extensions/test/xpcshell/test_ext_native_messaging_perf.js
extra : rebase_source : a0b0a1b5ca2caa772e216d059515ace89e582e1e
extra : source : 3f6f0dc1663cb5cd175f8809c3d3312df1535823
2016-07-29 14:42:03 -07:00
David Anderson
cf5f37f7c3 Add BrowserTabsRemoteAutostart to gfxVars. (bug 1288259 part 6, r=jrmuizel)
--HG--
extra : rebase_source : 4e9dce46b658ecf7a13afaa2e9bb1ba35714c38f
2016-08-04 11:33:44 -07:00
David Anderson
27679a9d30 Move UseXRender from gfxPlatformGtk to gfxVars. (bug 1288259 part 5, r=jrmuizel)
--HG--
extra : rebase_source : e2f8337fe9063ba4bd316c5ae4cb6b475f70d36f
2016-08-04 11:33:44 -07:00
David Anderson
bf733b4fbb Add the 2D content backend to gfxVars. (bug 1288259 part 4, r=jrmuizel)
--HG--
extra : rebase_source : e805a138c71963f4f80ec218d9be05fde6544f02
2016-08-04 11:33:44 -07:00
David Anderson
456bcd0248 Move TileSize from gfxPlatform to gfxVars. (bug 1288259 part 3, r=jrmuizel)
--HG--
extra : rebase_source : 5a48bb72b10c8d9c1c5c96b8d2076a6d33cabc24
2016-08-04 11:33:43 -07:00
David Anderson
9e49bc37bb Introduce gfxVars for sharing graphics variables across processes. (bug 1288259 part 2, r=jrmuizel,billm)
--HG--
extra : rebase_source : cbac742f7165a2fbdec3e4d1179c9ed49324579f
2016-08-04 11:33:42 -07:00
David Anderson
7bdb79f9ac Generate template-friendly value readers for IPDL unions. (bug 1288259 part 1, r?=billm)
--HG--
extra : rebase_source : 7376052d8a50427ab64205246463917fbd0e0d61
2016-08-04 11:13:38 -07:00
Eric Faust
8ec22b0368 Bug 1199296 - Fix up mochitest(cl) failures r=mconley 2016-08-04 11:22:39 -07:00
Nathan Froyd
c5f4456eac Bug 1290973 - update Mac builds to use Rust 1.10; r=mshal 2016-08-04 22:12:34 -04:00
Luke Wagner
3adfcd58c9 Bug 1284155 - Baldr: make direct calls for wasm->wasm imports (r=bbouvier)
MozReview-Commit-ID: 4p3SZiuoAq0
2016-08-04 12:50:41 -05:00
Luke Wagner
0a6927911a Bug 1288944 - Baldr: mark all calls as preserving the TLS reg (r=jolesen)
MozReview-Commit-ID: 3WcKCPGRaFv

--HG--
extra : rebase_source : 96e8382d137c1a65570d97e0ba4401c6c1dfb45c
2016-08-04 11:44:35 -05:00
Luke Wagner
c874b985e3 Bug 1288944 - Baldr: preserve TLS and pinned regs at call_import (r=jolesen)
MozReview-Commit-ID: HnxKRxAXmlg

--HG--
extra : rebase_source : 9157c19b2c6ea64a2f9931daac263f86d05d9e07
2016-08-04 11:43:48 -05:00
Luke Wagner
dabbd6a76c Bug 1288944 - Baldr: rename CallArgs to CallCompileState and FuncImportExit to FuncImportTls (r=bbouvier)
MozReview-Commit-ID: KeAIle47zpV

--HG--
extra : rebase_source : f2fb55e83e4527bef9714f2af10eb8c9210958b4
2016-08-04 11:43:33 -05:00
Luke Wagner
6127abeb31 Bug 1288944 - Baldr: optimize JIT exit (r=bbouvier)
MozReview-Commit-ID: Dm8TUpWB55H

--HG--
extra : rebase_source : 4288fa4939c426a469b20258893bc8e50e4bbe21
2016-08-04 11:28:20 -05:00
Luke Wagner
b9fee3a322 Bug 1292190 - Baldr: fix include dependencies (r=bbouvier)
MozReview-Commit-ID: BAte5sedqaS

--HG--
extra : rebase_source : 182416a9af4551fd2caca589f2e154be1ec288fc
2016-08-04 11:27:24 -05:00
Nathan Froyd
3896afd101 Backout 1fcb956172cd (bug 1291229) for Android build bustage on a CLOSED TREE 2016-08-04 20:42:36 -04:00
Terrence Cole
e57d650fcf Bug 1291928 - Expose JSSavedStack's stack before returning; r=bz 2016-08-03 16:12:51 -07:00
Kim Moir
6a6b71393e Bug 1291858 - update esr merge day config so preference to prohibit signed installing signed addons is not enabled on esr r=callek DONTBUILD 2016-08-04 11:22:18 -04:00
Luke Wagner
bde9632738 Bug 1291757 - Baldr: fold loading of import into call op (r=sunfish)
MozReview-Commit-ID: FsJ1YRXQRpF

--HG--
extra : rebase_source : 6ffcd3a48275cfd8258e763c0f973ad959186821
2016-08-03 18:37:26 -05:00
Luke Wagner
aaacb6c169 Bug 1291757 - Baldr: rename AsmJSCall to WasmCall (r=jolesen)
MozReview-Commit-ID: AVh5ypBH89Q

--HG--
extra : rebase_source : 2028cd59b323c17e7f865832e5f24c8aa31c4d39
2016-08-03 18:37:21 -05:00
Luke Wagner
301649a627 Bug 1291757 - Baldr: note that i64 calls also preserve WasmTlsReg (r=jolesen)
MozReview-Commit-ID: 1r6rZkCzDCt

--HG--
extra : rebase_source : 4940f1f9a4878c89446d4ac9070daf68f59269ba
2016-08-03 18:37:15 -05:00
Eric Faust
b5d42cb013 Bug 1199296 - Don't allow method definitions to be legacy generators. (r=shu, r=evilpie, r=jaws) 2016-07-11 14:45:00 -07:00
Alexander Surkov
f002f15624 Bug 1246447 - crash in mozilla::a11y::DocAccessible::ARIAAttributeChanged, r=yzen 2016-08-04 10:49:21 -04:00
Miko Mynttinen
9ea7cd8eb6 Bug 1291490 - File gfx/qcms/transform_util.h is missing a header. r=bgirard
Include the missing math.h header.

MozReview-Commit-ID: BozHU59BGkF

--HG--
extra : transplant_source : %02%95%3F-k%FF%BA_%C7%1CU%CBU%29c%D7%82%9F%04J
2016-08-02 15:41:56 -07:00
Martin Stransky
e2cbfe0761 Bug 1291769 - use correct "checked" state for treeview expanders, r=acomminos 2016-08-03 14:53:00 +02:00
Ethan Lin
41b10604fb Bug 1290628 - Change the assertion rule to prevent assert with large number. r=lsalzman 2016-08-02 19:47:00 +02:00
Martin Stransky
0bbcee935c Bug 1289763 - Move gImageMenuItemWidget/gCheckMenuItemWidget to WidgetCache, r=acomminos 2016-07-28 03:54:00 +02:00
Martin Stransky
d055a30b27 Bug 1289764 - Move gHPanedWidget/gVPanedWidget to WidgetCache, r=acomminos 2016-07-29 05:30:00 +02:00
Martin Stransky
ec30e6e963 Bug 1288413 - Move GtkTreeView widgets to WidgetCache, r=acomminos 2016-07-29 05:15:00 +02:00
Kaku Kuo
c79eb6f91f Bug 1290371 - handle files with audio and video tracks but no samples at all; r=jya
So, we have 4 boolean variables and here is the truth table.
Case 1, 2, 3, 4, 7, 8, 10 and 12 are not possible to happen.

Then, the remaining cases could be clustered into three categories:
(1) Case 5, 9 and 13: no sample is demuxed at all, return 0.
(2) Case 6, 11, 14 and 15: either audio or video is able to be demuxed, return the known value.
(3) Case 15: both audio and video are demuxed, return the minimum of the values.


For simplifying the logic, I will initialize the audioStartTime and videoStartTime
to be INFINITY if we don't have the first-demuxed sample, otherwise, initialize
them to be the real first-demuxed sample's time.

Then, the final calculation will be:
(1) Case 5, 9 and 13: the minimum of two INFINITY values is still INFINITY, return 0.
(2) Case 6, 11, 14 and 15: return the minimum of one real first-demuxed-time and the INFINITY.
(3) Case 15: return the minimum of two real first-demuxed-time values.

Case   HasAudio   HasVideo   HasAudioSample   HasVideoSample    ExpectedResult
---------------------------------------------------------------------------------------------------
1         F          F             F                 F          not possible
2         F          F             F                 T          not possible
3         F          F             T                 F          not possible
4         F          F             T                 T          not possible
---------------------------------------------------------------------------------------------------
5         F          T             F                 F          return 0
6         F          T             F                 T          return video sample
7         F          T             T                 F          not possible
8         F          T             T                 T          not possible
---------------------------------------------------------------------------------------------------
9         T          F             F                 F          return 0
10        T          F             F                 T          not possible
11        T          F             T                 F          return audio sample
12        T          F             T                 T          not possible
---------------------------------------------------------------------------------------------------
13        T          T             F                 F          return 0
14        T          T             F                 T          return videoSample
15        T          T             T                 F          return audioSample
16        T          T             T                 T          return min(auidoSample, videoSample)

MozReview-Commit-ID: ANsYDth7slJ

--HG--
extra : transplant_source : %DAj%1A%EC%19%82%7B%B3%05%FE%21%04a%16%9A%9F%18x1%95
2016-08-03 16:51:29 +08:00
John Dai
996b1f61aa Bug 1289872 - Fixed the warning log spams due to bug 1275833. r=wchen 2016-08-04 04:22:00 +02:00
Shih-Chiang Chien
a99142a2c5 Bug 1287717 - Part 2, close receiver page while loading fail. r=smaug.
MozReview-Commit-ID: Dogham2LmHG
2016-08-04 09:46:14 +08:00
Shih-Chiang Chien
90424f760d Bug 1287717 - Part 1, enter closed state while fail to connect. r=smaug.
MozReview-Commit-ID: L3gacVfSlcd
2016-08-02 18:40:00 +02:00
Andrew McCreight
0d2ed01bc4 Bug 1287204 - Fix typo in nsNodeUtils::CloneAndAdopt(). r=bz 2016-08-04 16:28:15 +02:00
Martin Stransky
83d5f7415d Bug 1286482 - use gdk_display_get_default() instead of mIsX11Display attribute, r=karlt
--HG--
extra : rebase_source : 136ed4085294eb7ff4908a3439e8dbb78efac768
2016-08-01 01:52:00 +02:00
Jessica Jong
b92c3511ea Bug 1283023 - Implement the step attribute for <input type=month>. r=smaug
--HG--
extra : rebase_source : 730c799687da786279efcd3134777b7208567e9e
2016-08-03 02:54:00 +02:00
JerryShih
184798636b Bug 1236785 - return WebGLTexture cache value for GetTexParameter() call. r=mtseng
--HG--
extra : rebase_source : 6c5d6358f6f4ee0f3c5f4e09a2b17998657415e8
2016-08-02 20:20:00 +02:00
JerryShih
28b72fb07b Bug 1291612 - update webgl conformance test gl-object-get-calls.js. r=mtseng
Update webgl conformance test gl-object-get-calls.js to
24323861fe

--HG--
extra : rebase_source : 0cb51ef71f78d6e9d2ed8cf716b78e8d95f87927
2016-08-02 22:52:00 +02:00
JerryShih
3b6936ef71 Bug 1236394 - turn on gl-object-get-calls.html WebGL conformance test, a=mtseng
--HG--
extra : rebase_source : 8f4daf60eefcbb40915d455f90064bb973ad5ea5
2016-07-31 19:39:00 +02:00
James Willcox
0fbdac5122 Bug 1255628 - Remove AndroidNativeWindow, as we can use the NDK functions directly now r=rbarker 2016-08-04 09:23:34 -05:00
James Willcox
26bcde6a5e Bug 1255628 - Replace and/or remove some graphics-related calls in AndroidBridge with NDK equivalents r=jchen 2016-08-04 09:23:34 -05:00
ctai
03882d4cec Bug 1201363 - Do not copy video segment to StreamTracks in TrackUnionStream. r=jesup
Now everything is ready. We can make NotifyQueuedTrackChanges only triggered by TRACK_EVENT_CREATED and TRACK_EVENT_ENDED without breaking anything. Also we make TrackUnionStream no longer copying data in video case.

MozReview-Commit-ID: IgLx1mpBWB3

--HG--
extra : transplant_source : %21M%C5%07%B9%CB%16%96%D6gN%C0g%0A%E8%7D%A0%AB%98%26
2016-05-31 18:05:11 +08:00
ctai
749ec15b11 Bug 1201363 - MediaStreamVideoSink for MediaPipelineTransmit case. r=jesup
Replace |MediaPipelineTransmit::PipelineListener::NotifyQueuedTrackChanges| with |MediaPipelineTransmit::PipelineVideoSink::SetCurrentFrames|. We only need to deal with the video case since audio will be routed to |NotifyQueuedAudioData|.

MozReview-Commit-ID: EVpMVgJynGT

--HG--
extra : transplant_source : %0By%B5%91Fr%5B%BA%F7%D4%EE%FBs7%0C%F2%84%EC%5C5
2016-05-31 14:59:13 +08:00
Chia-hung Tai
e759836a63 Bug 1201363 - MediaStreamVideoSink for MediaRecorder case. r=jesup
Add MediaStreamVideoRecorderSink into MediaEncorder. In this patch, I still keep use duration to pass to TrackEncoders. Don't want to make this bug too big and out of control. We can file a new bug to change TrackEncoders use TimeStamp only.

MozReview-Commit-ID: KGftzulZynj

--HG--
extra : transplant_source : %E9%22B%90%D6%CF%08%12X%D1%E2%17%90%99%B2%91%24B%EA%1D
2016-06-15 16:48:44 +01:00
ctai
290298aeec Bug 1201363 - MediaStreamVideoSink for ImageCapture case. r=jesup
Make CaptureTask to inherite from MediaStreamVideoSink. The main change is to move the logic of |NotifyQueuedTrackChanges| to |SetCurrentFrames|.
The original image capture is not modified for support multiple video MediaStreamTracks. The design still used the track id in owned media stream. The should be fixed in the following bug if we still want to support ImageCapture in multiple video tracks case.

MozReview-Commit-ID: Od4tHoR8Ef

--HG--
extra : transplant_source : %AA%1BD%20%1D%8F%D0%9A%5B%9C%7Ef%A0%1C%E9%D7%EE%AE%E6%93
2016-05-31 13:53:49 +08:00
ctai
2c69985ffe Bug 1201363 - Call MediaStreamVideoSink::setCurrentFrames in SourceMediaStream::AppendToTrack. r=jesup
In this patch, we first deal with the case of MediaElement. Now we replace |PlayVideo| with |VideoFrameContainer::SetCurrentFrames| in |SourceMediaStream::AppendToTrack|. The MSG use TimeStamp::Now() for the TimeStamp of each video frame in most of case except MediaElement case. Becasue the MediaElement has its own VideoQueue, we need to calucalte the correct Timestamp based on the StartTimeStamp of this MediaStream and the elpased time of the video frame in DecodedStream.

MozReview-Commit-ID: 2bm2AHkFXHu

--HG--
extra : transplant_source : %3D%AA%00%CE%A3SV5%8F%84%96%AC%E2%D9%10%EC%85%07N%DF
2016-07-25 10:01:26 +08:00
ctai
384447b1ba Bug 1201363 - Adding Add/RemoveVideoOutput into VideoStreamTrack. r=jesup
MozReview-Commit-ID: JmKotuB3pBM

--HG--
extra : transplant_source : %DE%90%A1%E0%CC%FD%27%AC%BB%931%9F%EF%B8M%CE%F0%C3%3F%B7
2016-07-19 11:45:27 +08:00
ctai
27d3bbf12d Bug 1201363 - Register MediaStreamVideoSink into SourceMediaStream. r=jesup
MozReview-Commit-ID: 7X546VXVLJT

--HG--
extra : transplant_source : %98%26%05s%9B%96%05%D3%1Aq%7E87%F4%A5%A2%DE%C0Sw
2016-05-30 11:32:23 +08:00