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

51487 Коммитов

Автор SHA1 Сообщение Дата
Thomas Zimmermann 56695984b0 Bug 1276927: Fix DOM code to build with Android NDK, r=fabrice
MozReview-Commit-ID: KwW9O9DLFuy
2016-06-15 10:59:48 +01:00
JW Wang 0618cbfada Bug 1280175 - Allow passing lvalue to MediaEventProducerExc<T>::Notify. r=gerald
MozReview-Commit-ID: 6Wr3obvkVXo

--HG--
extra : rebase_source : 09ae3a471caa065cdf908bf302d56fe33548157d
2016-06-14 15:25:45 +08:00
Henrik Skupin ba658af935 Bug 1280017 - Fix version requirement specifier for external media tests. a=bustage
MozReview-Commit-ID: Izpe97GtzWp
2016-06-15 06:59:45 +01:00
Carsten "Tomcat" Book 3f12d50429 Merge mozilla-central to mozilla-inbound 2016-06-15 06:27:08 +01:00
Carsten "Tomcat" Book 58167fd092 merge mozilla-inbound to mozilla-central a=merge 2016-06-15 06:24:33 +01:00
Jarda Snajdr b57da2dc12 Bug 1278778 - Show JS stack traces of Fetch requests in Netmonitor r=bkelly 2016-06-14 04:08:00 +01:00
JW Wang 39a058508a Bug 1278772 - Use value semantics to facilitate compiler optimization. r=kinetik.
MozReview-Commit-ID: 2TAU0GFwasB

--HG--
extra : rebase_source : 4d664e84b15076564ed9ea88163b08712f1f6ca9
2016-06-08 15:26:28 +08:00
Kaku Kuo bf4a3e54b3 Bug 1276272 - part 4 - modify the mochitest; r=jwwang
MozReview-Commit-ID: 9DUpKblMbTz

--HG--
extra : rebase_source : eb1c236b882f1b8fd40e441215c918cef585e2a9
2016-06-05 22:15:49 +08:00
Kaku Kuo 9ace015fa5 Bug 1276272 - part 3 - implement promise-based HTMLMediaElement::seekToNextFrame(); r=jwwang
MozReview-Commit-ID: JaUQe5GK6bF

--HG--
extra : rebase_source : 63ffb58ca29776757cd869579e149a4330311e08
2016-06-09 20:27:39 +01:00
Kaku Kuo 5b76709f3e Bug 1276272 - part 2 - modify the webidl and preference setting; r=ehsan
MozReview-Commit-ID: INYkaXhe8gT

--HG--
extra : rebase_source : ee6029f930e8ee9bb4d8f9576faea8f827b2aae4
2016-06-03 16:52:10 +08:00
Kaku Kuo 487b3fb191 Bug 1276272 - part 1 - add Promise::MaybeRejectWithVode() utility method; r=ehsan
MozReview-Commit-ID: 4bBGsUNKbQS

--HG--
extra : rebase_source : 471c57479c41a0626a05df9aee5cb7027e352904
2016-06-09 20:26:47 +01:00
Sebastian Hengst 37bd76ddd9 Backed out changeset 5ad647bf5727 (bug 1276130) for web-platform-test failure invttcue-interface/align.html. r=backout 2016-06-14 17:21:02 +02:00
Sebastian Hengst 639bb51f2a Backed out changeset bb5ef5c3c8ac (bug 1276130) 2016-06-14 17:20:27 +02:00
Sebastian Hengst 599c66055a Backed out changeset 2c235b056514 (bug 1266646) for frequently crashing in mda's test_streams_element_capture_createObjectURL.html. r=backout 2016-06-13 21:24:54 +02:00
Sebastian Hengst f310d4012a Backed out changeset c89b8cc657b2 (bug 1266646) 2016-06-13 21:23:53 +02:00
David Anderson 910f73265e Move TaskFactory from dom/plugins to ipc/glue. (bug 1271180 part 1, r=aklotz)
--HG--
rename : dom/plugins/ipc/TaskFactory.h => ipc/glue/TaskFactory.h
extra : rebase_source : 96b02ead0afb82a27d668927dd53d722b77e488b
2016-06-10 15:43:35 -04:00
Henrik Skupin d9381df1a4 Bug 1280017 - Fix firefox-puppeteer requirement for external media tests. r=maja_zf
MozReview-Commit-ID: 6ihokx6fZQC

--HG--
extra : rebase_source : c2464335512d6d24c8f0f1a939c5460860671a3c
2016-06-14 13:07:56 +01:00
Alastor Wu d5d01b8ae2 Bug 1276130 - part2 : modify test. r=rillian
MozReview-Commit-ID: 1q8MywAMYx5

--HG--
extra : rebase_source : a4d84a9495ea3d5b35b6931816cacfa7c560861f
2016-06-14 14:39:46 +01:00
Alastor Wu d7e500261e Bug 1276130 - part1 : replace the value 'middle' with 'center. r=rillian,smaug
MozReview-Commit-ID: 9rh32HkilYv

--HG--
extra : rebase_source : bf08e4ffc77378553760dfae3854248cf700ea09
2016-06-14 14:39:29 +01:00
Thomas Zimmermann b8fabddd32 Bug 1279448: Remove '%s' from format string without argument in |ConvertSourceSurfaceToNV12|, r=kamidphish
MozReview-Commit-ID: E1Beibwhqyj
2016-06-14 14:38:13 +01:00
Gordon Su 4b24a929e8 Bug 1271126 - Fixed the ParseHTMLInteger function to handle INT32_MIN. r=smaug 2016-06-12 16:18:55 -04:00
Sebastian Hengst ee41a1fab8 Backed out changeset 568a08748f67 (bug 1276831) for failure in web-platform-test webvtt/interfaces.html. r=backout 2016-06-14 14:34:30 +02:00
Sebastian Hengst 78236e0ee7 Backed out changeset 7373932c9e56 (bug 1276831) 2016-06-14 14:33:33 +02:00
Sebastian Hengst 6517d6031b Backed out changeset 79323e71de55 (bug 1276831) 2016-06-14 14:33:29 +02:00
Sebastian Hengst 4890eef558 Backed out changeset 3f17eaa46dd9 (bug 1276130) 2016-06-14 14:33:12 +02:00
Sebastian Hengst cbb3d7682d Backed out changeset eb956a4232b0 (bug 1276130) 2016-06-14 14:33:08 +02:00
Andrea Marchesini 47c21b1f75 Bug 1279889 - Some rv.SuppressException() missing in StructuredCloneHolder, r=smaug 2016-06-14 13:10:39 +01:00
Andrea Marchesini 13337bbba2 Bug 1279883 - Directory should not always be clonable across threads and processes, r=smaug 2016-06-14 12:51:41 +01:00
Alastor Wu c490bb0ab3 Bug 1276130 - part2 : modify test. r=rillian
MozReview-Commit-ID: 1q8MywAMYx5

--HG--
extra : rebase_source : 6cf25684586d88944b21b32d73374e6e54df27ba
2016-06-14 12:13:30 +01:00
Alastor Wu b4c061d318 Bug 1276130 - part1 : replace the value 'middle' with 'center. r=rillian,smaug
MozReview-Commit-ID: HVrExS6nNZA

--HG--
extra : rebase_source : ca54cddea68cb122983645dedf7a805463842f7a
2016-06-14 12:11:53 +01:00
Alastor Wu e893e3733e Bug 1276831 - part3 : modify vtt.jsm. r=rillian
MozReview-Commit-ID: HpSbiNFtVR0

--HG--
extra : rebase_source : d8207460d4decd44d9627330d724b39ebb486641
2016-06-14 11:59:19 +01:00
Alastor Wu 2eb3eefbd1 Bug 1276831 - part2 : modify test. r=rillian
MozReview-Commit-ID: L7NF8Wu7dSF

--HG--
extra : rebase_source : 33560a5a197bc829e3d5f45b11ce0be8bbf5a9da
2016-06-14 11:59:16 +01:00
Alastor Wu 0ab2d5dc25 Bug 1276831 - part1 : VTTCue's position should be double or auto keyword. r=rillian,smaug
MozReview-Commit-ID: 459CjJUPpW9

--HG--
extra : rebase_source : 872fef1d221f64e1411bc2a41d7e808ba1b38d63
2016-06-14 11:57:18 +01:00
Alastor Wu 4e7e9eb905 Bug 1276833 - part2 : modify test. r=rillian
MozReview-Commit-ID: 27N9am5Lb5K

--HG--
extra : rebase_source : cc75f4453125ff02af304bf8115e5e43a98df543
2016-06-14 11:51:48 +01:00
Alastor Wu 6fb6280edf Bug 1276833 - part1 : size should be double. r=rillian,smaug
MozReview-Commit-ID: FwDGgcqWfs5

--HG--
extra : rebase_source : a8f3b1e8d31a4132a059fd4be9e717960622214b
2016-06-14 11:51:40 +01:00
Marcos Caceres 312ec68515 Bug 1251175 - Removed dependence on CPOW. r=mconley
--HG--
extra : rebase_source : 03745e0e60c9aa08d964bf419d8c41dd9a788f44
2016-06-14 02:40:00 +01:00
Alastor Wu 49626a0d11 Bug 1276832 - part3 : modify test. r=rillian
MozReview-Commit-ID: 6dmwFneZR2B

--HG--
extra : rebase_source : e5e986490f207aea525b14299b0d3dbcea0973d3
2016-06-14 11:47:45 +01:00
Alastor Wu be2c5868d2 Bug 1276832 - part2 : modify vtt.jsm. r=rillian
MozReview-Commit-ID: DSmy96Mpcbw

--HG--
extra : rebase_source : a2f139c2bd153f9078513f9b38f451e97f5d5c97
2016-06-14 11:47:38 +01:00
Alastor Wu c388caa29d Bug 1276832 - part1 : modify VTTCue's line to double. r=rillian,smaug
MozReview-Commit-ID: 7P79SO5TI0K

--HG--
extra : rebase_source : 2f05ccdfccaabf02474f087cf6561c132d412a2b
2016-06-14 11:47:32 +01:00
Sebastian Hengst 6d87e39b07 Backed out 9 changesets (bug 1208373) for frequent failures in test_peerConnection_addtrack_removetrack_events.html on Android 4.3 debug. r=backout
Backed out changeset 95412432bf10 (bug 1208373)
Backed out changeset 38e3e48c8dd0 (bug 1208373)
Backed out changeset 72cf70065470 (bug 1208373)
Backed out changeset 8cffa26910a8 (bug 1208373)
Backed out changeset 9a8c5a9bb9d5 (bug 1208373)
Backed out changeset bc120c9071bb (bug 1208373)
Backed out changeset fb8a0b464701 (bug 1208373)
Backed out changeset 5ddb73097cfd (bug 1208373)
Backed out changeset c4827087a333 (bug 1208373)
2016-06-14 11:06:51 +02:00
Sebastian Hengst 82d615aa16 Backed out 3 changesets (bug 1274221) for frequent failures in test_peerConnection_addtrack_removetrack_events.html on Android 4.3 debug. r=backout
Backed out changeset 80443106b263 (bug 1274221)
Backed out changeset 795bcfd6223d (bug 1274221)
Backed out changeset 30c253e762c6 (bug 1274221)
2016-06-14 11:05:33 +02:00
Sebastian Hengst edb7a37036 Backed out 5 changesets (bug 1208328) for frequent failures in test_peerConnection_addtrack_removetrack_events.html on Android 4.3 debug. r=backout
Backed out changeset 3160ce8f8759 (bug 1208328)
Backed out changeset aa209325161f (bug 1208328)
Backed out changeset d48bc6eca9c3 (bug 1208328)
Backed out changeset 945141b1f8da (bug 1208328)
Backed out changeset 48da132353c7 (bug 1208328)
2016-06-14 11:04:28 +02:00
ctai 4b40fd1bc1 Bug 1266646 - Rename MediaStreamDirectListener and MediaStreamTrackDirectListener to DirectMediaStreamListener and DirectMediaStreamTrackListener respectively. r=jesup,pehrsons
Rename those two function to better name alignment with AddDirectListener and AddDirectTrackListener.

MozReview-Commit-ID: 6QY08oyih1X

--HG--
extra : rebase_source : e0f2ac5de75d54a870f5a99f08505e40aa0696d9
2016-04-29 11:45:25 +08:00
ctai 4ab1e6cc57 Bug 1266646 - Change HTMLMediaElement::StreamSizeListerner to inherit MediaStreamTrackDirectListener. r=jesup, r=pehrsons
MozReview-Commit-ID: HnNv9BnlbDy

--HG--
extra : rebase_source : 7d04886895910b00964c2ce36a337873195b12fa
2016-05-10 17:02:15 +08:00
Thomas Zimmermann 6d8a7a35d7 Bug 1279442: Fix definition of |MediaOmxReader::ResetDecode|, r=jwwang
MozReview-Commit-ID: 2dNgqTT7DEU
2016-06-13 16:46:25 +02:00
Thomas Zimmermann d02cd93e6c Bug 1279458: Add 'aHaveBidiKeyboards' when calling |RecvGetXPCOMProcessAttributes|, r=masayuki
MozReview-Commit-ID: 9VMxsenlEjW
2016-06-13 16:43:45 +02:00
Andreas Pehrson 5bc6c4811d Bug 1208328 - Test MediaStreamTrackEvent like RTCTrackEvent. r=smaug
MozReview-Commit-ID: GAEu2FskUJr

--HG--
extra : rebase_source : ec18520447f4e9a554e0ab35a057d1248063d86e
extra : source : ece1345d0b6558ff5358f906aad56f0f32648bcd
2016-06-10 11:58:06 +02:00
Andreas Pehrson b6566cadf0 Bug 1208328 - Don't block ended tracks on removal from MediaStream. r=jesup
After ending the MediaInputPort (to the playback stream) gets removed if locked
to the track specifically. Trying to remove the track at this point would try to
block it in the same MediaInputPort - but since it doesn't exist would trigger
an NS_ERROR instead.

MozReview-Commit-ID: IpRL6FAGxPp

--HG--
extra : rebase_source : af67b8f8e0dfc340d50af7bcfe8e476159cefeac
extra : source : dbb4b83be583eacc401648c5c33091958c29c4c3
2016-05-31 14:55:51 +02:00
Andreas Pehrson e93d5f7b7d Bug 1208328 - Implement MediaStream.onaddtrack. r=jib, r=smaug
MozReview-Commit-ID: JVZO5mlxvgW

--HG--
extra : rebase_source : 49b0ebaff593c28b727602d7b61bab5feea80485
extra : source : ba0529f6b0733534d50fa842dfebd52c6b477140
2016-05-31 09:29:52 +02:00
Andreas Pehrson fedd99c881 Bug 1208328 - Test that "addtrack" and "removetrack" events don't occur on manual operations. r=jib
MozReview-Commit-ID: F3T9upYPlnU

--HG--
extra : rebase_source : 8b453047152069f04a750d7594d2025c0ca78963
extra : source : 22150caec0d26f651b8c9bf0e17190c4b386f4bf
2016-05-27 18:01:14 +02:00
Andreas Pehrson 4e8eda20c7 Bug 1208328 - Add test for "addtrack" on recv side of RTCPeerConnection. r=jib
MozReview-Commit-ID: 2KkAc5uFjAZ

--HG--
extra : rebase_source : b6f08b3831f55621fbae8493fcace53e2558c055
extra : source : 6ce08f664f9cf5337b993cf282610681c945e97e
2016-06-09 13:46:19 +02:00
Andreas Pehrson 36786eb617 Bug 1274221 - Ensure MediaStreamListeners are always notified of created and ended tracks. r=ctai, r=jesup
This means that when a MediaStreamListener is added to a stream, we'll call
NotifyQueuedTrackChanges with TRACK_EVENT_CREATE for all tracks that already
exist.

Likewise, we'll call NotifyQueuedTrackChanges with TRACK_EVENT_ENDED for all
tracks that exist and have ended.

This fixes potential race conditions where a track was created and/or ended
before the listener was asynchronously added.

MozReview-Commit-ID: G3juhfiZMtg

--HG--
extra : rebase_source : 4f7b9c116e7d25cfc4c3894551173925613c6c14
extra : intermediate-source : 45bfebd36a99baef6bee50e52ac9c78965a7f1c2
extra : source : 70e8c5a785a9866e6205b54bd1c45faaf834717d
2016-05-24 13:23:50 +02:00
Andreas Pehrson b116cbbb27 Bug 1274221 - Make FindOwnedDOMTrack look for (optionally) unique tracks. r=ctai
MozReview-Commit-ID: 1y8YuwJWIS5

--HG--
extra : rebase_source : 0baab5c71f5e935f69dd3430fc6ce0a7f6c866b3
extra : intermediate-source : ce89c5b1f32de13ca7128de14538eabcb749b925
extra : source : c2154e0e122ac3981d1c5c7e748633a64111cbf7
2016-05-24 13:26:25 +02:00
Andreas Pehrson 9f0a44a15a Bug 1274221 - Test that multiple tracks of the same source all end when in the same stream. r=jib
MozReview-Commit-ID: 64T6I4RDrKH

--HG--
extra : rebase_source : 3de3601fb209dae2474dac2fb8661a971a455ffd
extra : intermediate-source : 96d02a1982f7cd0a21d089006ca235360d1dcd43
extra : source : b9a09fe46c5e1adc8659070a8f4f60d9e09b7311
2016-05-24 13:24:04 +02:00
Andreas Pehrson e10c6cef75 Bug 1208373 - Don't remove tracks from StreamTracks. Just their content. r=jesup
MozReview-Commit-ID: 6JrnR2IWlAS

--HG--
extra : rebase_source : 447be87b7493a2131fc04add3560eaeef7d37019
extra : source : c864d8ec3ba36ead778d798f14b2107a53a6d290
2016-06-08 14:32:12 +02:00
Andreas Pehrson d551df2bcf Bug 1208373 - Introduce a new blocking mode to MediaInputPort. r=jesup
This lets us notify about a created TrackUnionStream track (and since it was
created, we can notify when it ends), even though it has been blocked from main
thread.

MozReview-Commit-ID: HyopzISBfbb

--HG--
extra : rebase_source : a3d676257473bba08190b8e2b24d027c42306621
extra : intermediate-source : 5454dcaa31ff8eb060b6f1531a376dcbc24ffb4d
extra : source : 690904309e169aa74f95163f0d796493ef882972
2016-06-07 16:20:29 +02:00
Andreas Pehrson b0d8a94789 Bug 1208373 - Fix test_peerConnection_capturedVideo.html to wait for close() promise. r=jib
MozReview-Commit-ID: AOrm5JkfxAG

--HG--
extra : rebase_source : 3ff50ff74c3acf33feeb8dfe6539d080df6f3aa9
extra : intermediate-source : 7f2842b199f5f377de64b130e0e8f8f0867abd3b
extra : source : b9c629250c90c42950b2b91ccf248dd1da6cdbf5
2016-05-04 16:32:17 +02:00
Andreas Pehrson bc991593cb Bug 1208373 - Implement MediaStreamTrack.readyState. r=smaug,jib
MozReview-Commit-ID: EoMaG0R3Dpp

--HG--
extra : rebase_source : 96ffe09a577f951b1d960434aa3b2de9d4aa2c4b
extra : intermediate-source : 2b5684b6362e51af2e90115e2b855662358b51b4
extra : source : eb945c96027405effd2138a069eabd68f192f15c
2016-05-10 17:03:37 +02:00
Andreas Pehrson 416244b4cf Bug 1208373 - Implement MediaStreamTrack's "ended" event and onended EventHandler. r=smaug,jib
MozReview-Commit-ID: DtqzY5nIdPI

--HG--
extra : rebase_source : 37600d9e9090d5a72f3b85baedb075914d473568
extra : intermediate-source : 9c8e3a0dbff3d67d20e7637e9e9975c52e35764c
extra : source : f6a237afe9a83a8389a8e0a4f7435da3c4d0ca54
2016-05-10 17:03:29 +02:00
Andreas Pehrson 81342d42f3 Bug 1208373 - Test that ended tracks that are cloned are also ended. r=jib
MozReview-Commit-ID: 4YU31TK0Mdf

--HG--
extra : rebase_source : d56d39f2f7071a67bf99ed4cb4fd3b26ee51cc4f
extra : intermediate-source : 816141c9f43f5b98d7b1489e1fd61196f2feb570
extra : source : 0d4ff0ff0dac011751329d23122e8e55e37ee3f7
2016-05-04 11:28:14 +02:00
Andreas Pehrson 4457fc9483 Bug 1208373 - Add test for MediaStreamTrack "ended" event and "readyState" attribute. r=jib
MozReview-Commit-ID: INZ0XtRTgt1

--HG--
extra : rebase_source : 70fdf8eaaeb70d8d9c446858ab8a5bb48bc555ae
extra : intermediate-source : 1a53787bf0f7580e8d06cbb5e2b4142490aaf9a4
extra : source : dc5697d8abd4454539a67966cf2e110d2a1ce081
2016-05-12 14:02:10 +02:00
Andreas Pehrson 47b2747187 Bug 1208373 - Test that a peerConnection's received tracks end on close(). r=jib
MozReview-Commit-ID: 1iVTt6XBRpZ

--HG--
extra : rebase_source : f82ee79df243676200efb8fab7672779d19b447b
extra : intermediate-source : ea733590b88625520282a8438b3068e76927c881
extra : source : 548b2be660a128084e1916409add6bd97d5efed3
2016-05-12 14:30:51 +02:00
Andreas Pehrson 86afa4200c Bug 1208373 - Check that we don't get "ended" event for tracks after calling stop(). r=jib
MozReview-Commit-ID: K9gOZtUNQ5K

--HG--
extra : rebase_source : 57e54c89fcad5e3f52a5d0e9b7ea877fcd33fdad
extra : intermediate-source : 2b077be047c0bb50e8c72e9922a5fa0b7ec4df87
extra : source : 2996367191d23fd1aa4630d4a964b2577c7fbf8c
2016-05-12 13:50:34 +02:00
bechen 5f7ef9b5d7 Bug 882717 - Invoke TimeMarchesOn when the startTime/endTime/pauseOnExit be changed of TextTrackCue. r=rillian
MozReview-Commit-ID: 7Xol9x83lLx

--HG--
extra : transplant_source : %DD%5C%E9%5C%98Y4%7B%AE%24%E1%7C%9F%F8%60C%85%0D%D5W
2016-06-08 16:53:30 +08:00
Andrea Marchesini 82f92bee37 Bug 1279453 - Remove separate worker binding for ServiceWorkerRegistration API, r=bkelly 2016-06-12 16:26:51 +02:00
Gabriele Svelto a7b46c973d Backed out changeset c1dd7376263e (bug 1262852) which caused crashdumps from plugin hangs to be without a signature. 2016-06-12 00:25:25 +02:00
Masayuki Nakano 9fdc31aea3 Bug 1278014 part.14 Rename SelectionType::SELECTION_URLSTRIKEOUT to SelectionType::eURLStrikeout r=smaug
MozReview-Commit-ID: 7AqeDbHxGE2

--HG--
extra : rebase_source : 2dada2c98e1186aa7f5699b8d11033eae50ba2c6
2016-06-09 20:58:56 +09:00
Masayuki Nakano a0eb51f54d Bug 1278014 part.13 Rename SelectionType::SELECTION_URLSECONDARY to SelectionType::eURLSecondary r=smaug
MozReview-Commit-ID: C2IW7nqjEkD

--HG--
extra : rebase_source : a64cd80650fe51dbc5586511ad8c3287a0ec3225
2016-06-09 20:47:48 +09:00
Masayuki Nakano ebf3bc1862 Bug 1278014 part.12 Rename SelectionType::SELECTION_FIND to SelectionType::eFind r=smaug
MozReview-Commit-ID: BZxBnCDBghi

--HG--
extra : rebase_source : 099d1043c7e69f3c49a2d4e34190cbd7c4532107
2016-06-09 20:35:20 +09:00
Masayuki Nakano 61a6a5f987 Bug 1278014 part.11 Rename SelectionType::SELECTION_ACCESSIBILITY to SelectionType::eAccessibility r=smaug
MozReview-Commit-ID: 2nU4KQB5S7N

--HG--
extra : rebase_source : 8bb098b292fa92833e86fd65be62819844e0829e
2016-06-09 20:32:36 +09:00
Masayuki Nakano 10f047dba5 Bug 1278014 part.10 Rename SelectionType::SELECTION_IME_SELECTEDCONVERTEDTEXT to SelectionType::eIMESelectedClause r=smaug
MozReview-Commit-ID: 8v3mqcYorOI

--HG--
extra : rebase_source : a6823273c161eabbfa9e49e689154e547c14a106
2016-06-09 19:29:29 +09:00
Masayuki Nakano aa3d2a6ce9 Bug 1278014 part.9 Rename SelectionType::SELECTION_IME_CONVERTEDTEXT to SelectionType::eIMEConvertedClause r=smaug
MozReview-Commit-ID: 5UNqhB2ZEcZ

--HG--
extra : rebase_source : 74d41ddf5496bdc50306bf916251df4f8d65a65b
2016-06-09 19:14:17 +09:00
Masayuki Nakano ff86f10a4c Bug 1278014 part.8 Rename SelectionType::SELECTION_IME_SELECTEDRAWTEXT to SelectionType::eIMESelectedRawClause r=smaug
MozReview-Commit-ID: DgprOxg87K6

--HG--
extra : rebase_source : 2f655353845292c4e8028f6e43f0dbbbfea11b68
2016-06-09 19:03:40 +09:00
Masayuki Nakano 569677d2f1 Bug 1278014 part.7 Rename SelectionType::SELECTION_IME_RAWINPUT to SelectionType::eIMERawClause r=smaug
MozReview-Commit-ID: BRe10Lyx5mt

--HG--
extra : rebase_source : e57239239fe8029040ce49faff9e37c5ad0b8305
2016-06-09 18:51:49 +09:00
Masayuki Nakano a1636168ba Bug 1278014 part.6 Rename SelectionType::SELECTION_SPELLCHECK to SelectionType::eSpellCheck r=smaug
MozReview-Commit-ID: 4n2jEVax37O

--HG--
extra : rebase_source : eb8c0dbedfeac83de330ccef874525dea355b52c
2016-06-09 18:37:36 +09:00
Masayuki Nakano d960ef26d5 Bug 1278014 part.5 Rename SelectionType::SELECTION_NORMAL to SelectionType::eNormal r=smaug
MozReview-Commit-ID: AAdxTTKEvrk

--HG--
extra : rebase_source : 82e10db6b8b17d4f571625e34bb3c8f1905ef58a
2016-06-09 18:35:22 +09:00
Masayuki Nakano b58c08cb8f Bug 1278014 part.4 Rename SelectionType::SELECTION_NONE to SelectionType::eNone r=smaug
MozReview-Commit-ID: BRfzs8sColP

--HG--
extra : rebase_source : a5190cb20c263b01205e1ff75c76b2970c229b4e
2016-06-09 18:07:18 +09:00
Masayuki Nakano 581b9986bb Bug 1278014 part.3 Define 2 constants for number of SelectionType and number of SelectionType except "none" r=smaug
This patch defines two constants kSelectionTypeCount and kPresentSelectionTypeCount.  The former is same as nsISelectionController::NUM_SELECTIONTYPES.  The latter is kSelectionTypeCount - 1 for excluding SELECTION_NONE.  The latter is useful in some loops which handle all selection types except SELECTION_NONE.

Note that this patch fixes a bug of nsFrameSelection.  That doesn't treat SELECTION_NONE as a selection (see the definition of index), however, it defines redundant item and doesn't use it actually.  Additionally, it computes invalid selection type in each loop.  Therefore, without this patch, debug build hits MOZ_ASSERT() in ToSelectionType(RawSelectionType).

Note that these constants are defined as anonymous enum because we cannot define as const (or static) even with extern.  If we'd try to do it, it caused link error or not available in nsFrameSelection.cpp as constant value since they were not initialized if they were initialized in nsSelection.cpp.  Therefore, these constants are defined as enum items but using "k" prefix.

MozReview-Commit-ID: H6sH7NBEXlE

--HG--
extra : rebase_source : fd517d5fc2e2d5dc2f96313e2802fd1719817af7
2016-06-11 11:12:26 +09:00
Masayuki Nakano 00591135a4 Bug 1278014 part.2 Define mozilla::SelectionType as an enum class and use it instead of RawSelectionType as far as possible r=smaug
This patch defines mozilla::SelectionType as an enum class.  This is safer than nsISelectionController::SELECTION_* since setting illegal value to its variable is checked at build time.  So, as far as possible, this should be used everywhere (but of course, this isn't available in scriptable interfaces).

And also this implements some useful methods for managing SelectionType and RawSelectionType which are implemented in layout/nsSelection.cpp because nsISelectionController is implemented by both PresShell and nsTextEditorState.  Therefore, implementing one of them may make hard to find them.  On the other hand, nsSelection.cpp is a better file name to look for them.

Note that this patch creates mozilla::Selection::RawType() for binding.  Native code should keep using Selection::Type() but the binding code needs to use RawType() due to impossible to convert from SelectionType to RawSelectionType without explicit cast.

MozReview-Commit-ID: 81vX7A0hHQN

--HG--
extra : rebase_source : d9f88e217c713c60d1c2578ce6421c73ccba8650
2016-06-11 11:06:37 +09:00
Masayuki Nakano 17f667a2e2 Bug 1278014 part.1 Rename SelectionType in nsISelectionController.idl to mozilla::RawSelectionType r=smaug
mozilla::SelectionType will be an enum class. Therefore, we need to rename SelectionType with a word "raw" since it's a type for raw nsISelectionController::SELECTION_*.

MozReview-Commit-ID: K8SO0bbpv0Y

--HG--
extra : rebase_source : 56e3ac852657ef4795d718d2da09b16903c2e66c
2016-06-07 22:42:06 +09:00
Jonathan Watt 483ce4fb50 Bug 1279628, part 3 - Replace the last gfxASurface::CheckSurfaceSize call, and remove gfxASurface::CheckSurfaceSize. r=mstange 2016-06-10 13:32:01 +01:00
Jonathan Watt 06b29e4abf Bug 1279628, part 2 - Switch all but one of the gfxASurface::CheckSurfaceSize calls to call Factory::CheckSurfaceSize. r=mstange 2016-06-10 13:32:01 +01:00
Jean-Yves Avenard 8bb32f751e Bug 1275339: [ffmpeg] P2. Fetch avcodec_free_frame in libavcodec. r=cpearce
avcodec_free_frame was incorrectly looked in libavuti. On Linux where this code is used, it makes no difference really but for clarity sake.

MozReview-Commit-ID: DC1WJAAKiE4
2016-06-11 11:04:14 +01:00
Jean-Yves Avenard 3b9ae45b0e Bug 1275339 - [ffmpeg] Don't assume AVFrame has a constant size.
An AVFrame has a different size between FFmpeg 0.10 and LibAV 0.8 though both have the same version number.

Forgot to add the fixes (twice now :( )

MozReview-Commit-ID: DR3b3fqSngh
2016-06-11 11:04:10 +01:00
Phil Ringnalda 5e0adb7d56 Back out 5 changesets (bug 1271180) for static analysis bustage
CLOSED TREE

Backed out changeset cfb53b780b18 (bug 1271180)
Backed out changeset 204b084385f8 (bug 1271180)
Backed out changeset 353da876be33 (bug 1271180)
Backed out changeset 4472dfbc1dc6 (bug 1271180)
Backed out changeset 81079e787b8a (bug 1271180)

--HG--
rename : ipc/glue/TaskFactory.h => dom/plugins/ipc/TaskFactory.h
2016-06-11 00:46:09 -07:00
Phil Ringnalda 1cce1f61f8 Back out 2 changesets (bug 1279628) for reftest bustage
CLOSED TREE

Backed out changeset 07e4432bd6b3 (bug 1279628)
Backed out changeset 416fa9aeec55 (bug 1279628)
2016-06-11 00:44:51 -07:00
David Anderson 995cadf738 Move TaskFactory from dom/plugins to ipc/glue. (bug 1271180 part 1, r=aklotz)
--HG--
rename : dom/plugins/ipc/TaskFactory.h => ipc/glue/TaskFactory.h
extra : rebase_source : 485012c5a08eb0ce2a4225ddfe9cbfb454fc4302
2016-06-10 15:43:35 -04:00
Jonathan Watt 8ea6b72d47 Bug 1279628, part 2 - Replace all gfxASurface::CheckSurfaceSize calls with Factory::CheckSurfaceSize and remove gfxASurface::CheckSurfaceSize. r=mstange
--HG--
extra : rebase_source : 314cf522b5760e63e176418ae170301fafa80f89
2016-06-09 15:31:24 +01:00
Blake Kaplan e6e116bff5 Bug 1274516 - Add a helper to iterate over all ContentParents and use it to clear the image cache in both the parent and child processes. r=billm r=seth 2016-06-10 16:00:22 -07:00
Andrea Marchesini c177c5e05d Bug 1278777 - XHR in workers should support the setting of responseType before calling open(), r=bkelly 2016-06-10 23:30:57 +02:00
Ralph Giles d8b5bb25d4 Bug 1275744 - Reference MOZ_LOG in dom comments. r=erahm
NSPR_LOG_MODULES is deprecated.

MozReview-Commit-ID: GgJTpEHyZqJ

--HG--
extra : rebase_source : dea80975ee6281aff1476f99f1807f3093af82c9
2016-05-26 11:08:47 -07:00
eyim b0ca07b635 Bug 1277027 - fix MOZ_CRASH to have GFX prefix in webGL code r=BenWa,milan
MozReview-Commit-ID: FjLA9xNH3zD

--HG--
extra : rebase_source : 5809a1f8126360b3fa8ee069b3a463747cb31e6f
2016-06-06 11:17:23 -04:00
Tooru Fujisawa 6ed032640e Bug 382721 - Part 9: Warn about too large dotted/dashed corner. r=jrmuizel 2016-06-10 13:10:03 +09:00
Tooru Fujisawa bae631b707 Bug 382721 - Part 3: Improve spacing and corner interaction of dashed/dotted border. r=jrmuizel 2015-08-06 11:42:09 +09:00
Andrea Marchesini dd368c9569 Bug 1279194 - Get rid of nsDOMPerformanceNavigationType, r=smaug 2016-06-10 16:29:46 +02:00
Carsten "Tomcat" Book 2266139ee3 Merge mozilla-central to mozilla-inbound 2016-06-10 15:44:04 +02:00
Carsten "Tomcat" Book 4ee1ed2b8f merge mozilla-inbound to central a=merge
--HG--
extra : amend_source : 10247ace8885c608987dcf31d47368e0dec09b19
2016-06-10 15:39:23 +02:00
Carsten "Tomcat" Book 6697f3e22c Backed out changeset f7cfef76a52c (bug 382721) for android c3 perma failures
--HG--
extra : rebase_source : 3179c9982aa1fec85323bfd08cf7eed8818dfc44
2016-06-10 15:38:58 +02:00
Carsten "Tomcat" Book d612b10610 Backed out changeset c3f66208fe85 (bug 382721)
--HG--
extra : rebase_source : 45a93822af369dc9b1c4c2d733fa6a7e81064499
2016-06-10 15:38:30 +02:00
James Andreou d1d6e01a74 Bug 1278664 - TabContext were not being passed the right PrivateBrowsingId r=baku,smaug 2016-06-08 07:42:00 +02:00
Carsten "Tomcat" Book 38ff08c882 Merge mozilla-central to fx-team 2016-06-09 15:42:30 +02:00
Carsten "Tomcat" Book afff301b32 Backed out changeset 5c836acf3197 (bug 906420) on developer request by baku
--HG--
extra : rebase_source : 9f109cdb706feef6d2bcd9a2e71f8c4d3c17ebdf
2016-06-09 15:30:53 +02:00
Carsten "Tomcat" Book cec713e0c7 Backed out changeset e3615a839821 (bug 906420)
--HG--
extra : rebase_source : f9898c9163ce45b9ecfeff88a0f140e890f40ef6
2016-06-09 15:30:37 +02:00
Carsten "Tomcat" Book ed14bc0dce Backed out changeset 18b3c95f1a38 (bug 906420)
--HG--
extra : rebase_source : 2cb14884f71aa8a41e56c935abe93755b0b0d8db
2016-06-09 15:30:35 +02:00
Mike de Boer e42260141c Bug 384458 - part 5: add unit test coverage for the findbar modal highlight feature. r=jaws 2016-06-09 13:30:51 +02:00
Makoto Kato cadf9d8f77 Bug 1257731 - Part 1. Send HaveBidiKeyboards information to content process. r=masayuki
MozReview-Commit-ID: 87J4hE79e3n

--HG--
extra : rebase_source : fbfb473ebfd28a0f19b81b8030a0dfe60bc310a9
extra : histedit_source : e8b2ab1c0da578be8170ed5380d43cb4503ab299
2016-06-03 18:56:04 +09:00
Bill McCloskey 4c22980cdc Bug 1268559 - Wait to finish nested event loops before shutdown (r=bsmedberg) 2016-06-08 22:10:44 -07:00
James Andreou 7c273b3eb3 Bug 1276328 - Remove private browsing flags r=baku
--HG--
extra : rebase_source : e13f6b834ae22986776ca7cc3dd0cee3fc945992
2016-06-07 13:50:00 +02:00
Phil Ringnalda 7270ed519a Back out 4 changesets (bug 1276132) for browser_gmpProvider.js failures
CLOSED TREE

Backed out changeset 511a2389ca48 (bug 1276132)
Backed out changeset 91b3cdd0640a (bug 1276132)
Backed out changeset 09b9972e36f9 (bug 1276132)
Backed out changeset 69052d4e3dbb (bug 1276132)
2016-06-08 20:36:22 -07:00
Sotaro Ikeda 6ec321d0df Bug 1256475 - Use libyuv for non scaling YUV color conversion r=jrmuizel 2016-06-08 18:46:42 -07:00
Chris Pearce 191e25eeb7 Bug 1276132 - Make more Widevine class constructors explicit to keep gcc happy. r=jwwang
Fixes compile errors on Linux when Widevine is compiled.

MozReview-Commit-ID: 19qQw02CqdQ

--HG--
extra : rebase_source : 335124655869da1f899986f7dcd0d7ec1e441f6a
2016-05-31 12:05:24 +12:00
Chris Pearce 91ab2bc0c4 Bug 1276132 - Remove use of #ifdef MOZ_{KEYSYSTEM}_EME in dom/media code. r=jwwang
Instead of controlling visibility of EME keysystems by build config, do it by
preference. This means keysystems can be turned on easier.


MozReview-Commit-ID: Ky1zrHPubOJ

--HG--
extra : rebase_source : 35d9c26436a86683b902225e7b0d6645b02d8ff9
2016-05-31 11:00:55 +12:00
Mats Palmgren f6d968da26 Bug 1279038 - Add a couple of #includes that this file requires to build. r=sicking 2016-06-10 02:56:23 +02:00
Nicholas Nethercote 1ef1cfa948 Bug 1279148 - Clarify non-nullness of nsHeaderVisitor::{mXHR,mHttpChannel}. r=baku.
--HG--
extra : rebase_source : 9bdd59d568c92bd465671f894a07603c75aa182c
2016-06-09 16:11:00 +10:00
Dan Minor 0c66b656d9 Bug 1265395 - Implement new high pass filter equation; r=padenot
If run against the version of the test using the old equations, 8 of the
26460 values would be larger than the maximum difference threshold, so I
updated the test code to use the new equations as well.

MozReview-Commit-ID: 7gJb8rFQPq1

--HG--
extra : rebase_source : 53e13932e05053355e5f3fe69d06aa007c9314ac
2016-05-16 15:16:17 -04:00
Dan Minor bdb8a133ee Bug 1265395 - Implement new low pass filter equation; r=padenot
If run against the version of the test using the old equations, 18 of the
26460 values would be larger than the maximum difference threshold, so I
updated the test code to use the new equations as well.

I also had to make a small increase to the maximum allowable glitch for
the tail test.

MozReview-Commit-ID: LrB3HufFWpJ

--HG--
extra : rebase_source : 5b011653b3c0d8a00c2a96185c703b5457058936
2016-06-08 12:49:40 -04:00
Dan Minor b01574924b Bug 1265395 - Use blink biquad filter tests; r=padenot
MozReview-Commit-ID: 3cOAraspIR4

--HG--
rename : dom/media/webaudio/test/blink/biquad-allpass.html => dom/media/webaudio/test/blink/test_biquadFilterNodeAllPass.html
rename : dom/media/webaudio/test/blink/biquad-automation.html => dom/media/webaudio/test/blink/test_biquadFilterNodeAutomation.html
rename : dom/media/webaudio/test/blink/biquad-bandpass.html => dom/media/webaudio/test/blink/test_biquadFilterNodeBandPass.html
rename : dom/media/webaudio/test/blink/biquad-getFrequencyResponse.html => dom/media/webaudio/test/blink/test_biquadFilterNodeGetFrequencyResponse.html
rename : dom/media/webaudio/test/blink/biquad-highpass.html => dom/media/webaudio/test/blink/test_biquadFilterNodeHighPass.html
rename : dom/media/webaudio/test/blink/biquad-highshelf.html => dom/media/webaudio/test/blink/test_biquadFilterNodeHighShelf.html
rename : dom/media/webaudio/test/blink/biquad-lowpass.html => dom/media/webaudio/test/blink/test_biquadFilterNodeLowPass.html
rename : dom/media/webaudio/test/blink/biquad-lowshelf.html => dom/media/webaudio/test/blink/test_biquadFilterNodeLowShelf.html
rename : dom/media/webaudio/test/blink/biquad-notch.html => dom/media/webaudio/test/blink/test_biquadFilterNodeNotch.html
rename : dom/media/webaudio/test/blink/biquad-peaking.html => dom/media/webaudio/test/blink/test_biquadFilterNodePeaking.html
rename : dom/media/webaudio/test/blink/biquad-tail.html => dom/media/webaudio/test/blink/test_biquadFilterNodeTail.html
extra : rebase_source : 3fff8a2e63593efee1e93ec3780ed86541376c88
2016-06-08 14:37:21 -04:00
Dan Minor ee7445c176 Bug 1265395 - Import blink biquad filter tests; r=padenot
Imported from git revision b1fd9cf76c2e80540100262b09911600936f2ae3.

MozReview-Commit-ID: HzfHxOExJxq

--HG--
extra : rebase_source : 977261aefc956d0f6e733eacc5c7c17a2bb29236
2016-05-13 10:36:41 -04:00
Jonathan Watt b15368cfcb Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
Masayuki Nakano 77f6ee4369 Bug 1278084 part.3 TextComposition shouldn't decide composition string which is only an ideographic space as a placeholder r=m_kato
Currently, when TextComposition tries to forcibly commit composition synchronously, it cancels the composition if there is only an ideographic space since legacy Chinese IMEs for Windows were used an ideographic space as a placeholder and shows actual composition string in its owning window (called reading window).

However, Japanese TIPs basically use composition to input an ideographic space. Unfortunately, this intentional input of an ideographic space is always canceled if an editor commits to composition at every input event in TSF mode because TSF cannot commit during a call of ITextStore::RequestLock().  Additionally, we will enable e10s mode, then, on all platforms, requesting commit composition is handled asynchronously.

Therefore, we should make the hack disabled in default settings now. If we'll find a way to distinguish if an ideographic space is a placeholder, we should recover this hack. Note that such input fields cannot handle such legacy IMEs, so, disabling the hack in default settings must be fine.

MozReview-Commit-ID: IdBcfBxeJum

--HG--
extra : rebase_source : 18ca5cd1083ade8813703cec05c020dc03f09f63
2016-06-07 21:25:24 +09:00
Jeff Gilbert cc716a2cf9 Bug 1111689 - Remark failures.
MozReview-Commit-ID: 6SsnoDXPdvO
2016-06-08 17:28:49 -07:00
Kearwood (Kip) Gilbert 8a50416d83 Bug 1111689 - Part 1: Let EXT_shader_texture_lod play when ARB_shader_texture_lod can play. r=jgilbert 2016-06-08 17:28:49 -07:00
Brian Birtles 5aaca3d44e Bug 1276688 part 1 - Handle entries arrays where we don't have a property value at the 0.0/1.0 offset; r=heycam
MozReview-Commit-ID: GCCF4taOC6z

--HG--
extra : rebase_source : b2238ce7aa1fde865810ca70774d51cd1f5b7c8b
2016-06-09 08:12:52 +09:00
Chris Pearce 57fa470692 Bug 1276132 - Make more Widevine class constructors explicit to keep gcc happy. r=jwwang
Fixes compile errors on Linux when Widevine is compiled.

MozReview-Commit-ID: 19qQw02CqdQ

--HG--
extra : rebase_source : ebb98b25738e0438d873834f07c72be1f4eb71db
2016-05-31 12:05:24 +12:00
Chris Pearce 64f7e2a1c9 Bug 1276132 - Remove use of #ifdef MOZ_{KEYSYSTEM}_EME in dom/media code. r=jwwang
Instead of controlling visibility of EME keysystems by build config, do it by
preference. This means keysystems can be turned on easier.


MozReview-Commit-ID: Ky1zrHPubOJ

--HG--
extra : rebase_source : 7d68ad8389afdac8fcfffd2c505f8467107c05a5
2016-05-31 11:00:55 +12:00
Botond Ballo 4cd8a55cfc Bug 1277298 - Store the 'scrollgrab' property in a NODE_FLAG_BIT rather than a new field of nsGenericHTMLElement. r=smaug
MozReview-Commit-ID: 7DV33kG2KNt

--HG--
extra : source : 3f7ad60ae16bce8cac317aee8d3ec6445354733c
2016-06-06 17:45:46 -04:00
Eric Rahm 5c875edd39 Bug 1270310 - Part 4: Bypass line break conversion if element is single line. r=smaug
For single line text controls we shouldn't need to convert line breaks.
2016-05-05 15:52:28 -07:00
Eric Rahm 2b917eceb6 Bug 1270310 - Part 3: Make string assignment in HTMLInputElement::GetValueInternal fallible. r=smaug
This makes the string assignment fallible and also adds checks for the return
value from GetValueInternal and GetValue.
2016-05-20 16:15:52 -07:00
Eric Rahm f5b4b3b7b8 Bug 1270310 - Part 1: Make allocation in ConvertStringLineBreaks fallible. r=froydnj, r=smaug
ConvertStringLineBreaks calls ConvertUnicharLineBreaksInSitu which uses
fallible allocation. We should make the potential allocation in |BeginWriting|
fallible as well and handle the failure. This also updates the callers to
|ConvertStringLineBreaks| to handle the error properly in release builds.
2016-05-05 15:50:35 -07:00
David Anderson a00c07b27f Remove ContentParent calls to MessageChannel::CloseWithError. (bug 1275467, r=billm)
--HG--
extra : rebase_source : da7cd0836576aedb6ed3ee7a3b287445b102e6b4
2016-06-09 17:52:33 -04:00
Matthew Gregan 0f7bada663 Bug 910329 - Don't use the channel status as a proxy for load group membership. r=mayhemer 2016-06-09 13:36:58 +12:00
Jan-Ivar Bruaroey 83550a678d Bug 1278309 - Test that createOffer immediately followed by close does not settle. r=drno
MozReview-Commit-ID: GzPlWp5nlqZ

--HG--
extra : rebase_source : 38af9558d159a0bf5f4834bd875261b957cc4e81
2016-06-07 11:45:25 -04:00
Jan-Ivar Bruaroey f07be007ab Bug 1278309 - make createOffer immediately followed by close not settle. r=drno
MozReview-Commit-ID: ILOiCY9gFJy

--HG--
extra : rebase_source : cb09dd78e1c95692e78d6b9c2812d80d4d3f5f9e
2016-06-07 15:50:43 -04:00
Benoit Girard c3105e007d Bug 1279317 - Don't override the failureId with a more general one. r=jrmuizel
MozReview-Commit-ID: 8ErCqFlm89p

--HG--
extra : rebase_source : cc6739ce9a2f818b32b9eecff0bbc3b0c9c29011
2016-06-09 15:20:49 -04:00
Boris Zbarsky 21c063a375 Bug 1278996. Move the support-files bit for test_promise_xrays.html into chrome.ini so running that one test via mach mochitest works. r=chmanchester 2016-06-09 14:49:21 -04:00
Boris Zbarsky 1b52850807 Bug 1273203 followup. Remove now-unused test support files. 2016-06-09 14:49:07 -04:00
Andrea Marchesini 42d73e42ca Bug 1278838 - move workers/performance tests in dom/performance/tests, r=smaug
--HG--
rename : dom/workers/test/sharedworker_performance_user_timing.js => dom/performance/tests/sharedworker_performance_user_timing.js
rename : dom/workers/test/test_sharedWorker_performance_user_timing.html => dom/performance/tests/test_sharedWorker_performance_user_timing.html
rename : dom/workers/test/test_performance_observer.html => dom/performance/tests/test_worker_observer.html
rename : dom/workers/test/test_worker_performance_now.html => dom/performance/tests/test_worker_performance_now.html
rename : dom/workers/test/test_worker_performance_now.js => dom/performance/tests/test_worker_performance_now.js
rename : dom/workers/test/test_performance_user_timing.html => dom/performance/tests/test_worker_user_timing.html
rename : dom/workers/test/performance_observer.html => dom/performance/tests/worker_performance_observer.html
rename : dom/workers/test/worker_performance_observer.js => dom/performance/tests/worker_performance_observer.js
rename : dom/workers/test/worker_performance_user_timing.js => dom/performance/tests/worker_performance_user_timing.js
2016-06-09 19:05:16 +02:00
Andrea Marchesini 64734bf74c Bug 1278838 - Remove separate worker binding for Performance API, r=smaug
--HG--
rename : dom/performance/nsPerformance.cpp => dom/performance/Performance.cpp
rename : dom/performance/nsPerformance.h => dom/performance/Performance.h
rename : dom/workers/Performance.cpp => dom/performance/PerformanceWorker.cpp
rename : dom/workers/Performance.h => dom/performance/PerformanceWorker.h
2016-06-09 19:04:42 +02:00
Andrew McCreight e1d8d2ed7b Bug 1272423 - Refuse to send large messages via the message manager. r=baku
Large IPC messages will hit a fatal assert, so reject message manager
messages earlier.

Also, collect telemetry on the rejected messages.
2016-06-09 09:35:19 -07:00
Neil Deakin baef42a6ab Bug 1276976, ensure that popups are visible in the right area, r=tn, r=mrbkap 2016-06-09 11:34:12 -04:00
Paul Adenot 532305e1e2 Bug 845648 - Don't try to get the local on Android.
MozReview-Commit-ID: CHKq4B76Xv0
2016-06-09 16:35:30 +02:00
Carsten "Tomcat" Book 801ccd962d Merge mozilla-central to mozilla-inbound 2016-06-09 15:41:40 +02:00
Carsten "Tomcat" Book a34d39f529 Backed out changeset e7a3ba795e1a (bug 1276976) for timeouts in browser_tableWidget_mouse_interaction.js on a CLOSED TREE 2016-06-09 15:28:22 +02:00
Carsten "Tomcat" Book 69f29f31e5 Backed out changeset 2b077be047c0 (bug 1208373) for test failures in test_all_synthetic_events.html on a CLOSED TREE 2016-06-09 15:19:09 +02:00
Carsten "Tomcat" Book 21ee35ff2b Backed out changeset ea733590b886 (bug 1208373) 2016-06-09 15:18:50 +02:00
Carsten "Tomcat" Book ade26230b0 Backed out changeset 1a53787bf0f7 (bug 1208373) 2016-06-09 15:18:49 +02:00
Carsten "Tomcat" Book e5fe30e833 Backed out changeset 816141c9f43f (bug 1208373) 2016-06-09 15:18:48 +02:00
Carsten "Tomcat" Book f9283e86ce Backed out changeset 9c8e3a0dbff3 (bug 1208373) 2016-06-09 15:18:46 +02:00
Carsten "Tomcat" Book 51b3fd3c7d Backed out changeset 2b5684b6362e (bug 1208373) 2016-06-09 15:18:45 +02:00
Carsten "Tomcat" Book 39ce674aa0 Backed out changeset 7f2842b199f5 (bug 1208373) 2016-06-09 15:18:43 +02:00
Carsten "Tomcat" Book 79d88f89e8 Backed out changeset 5454dcaa31ff (bug 1208373) 2016-06-09 15:18:42 +02:00
Carsten "Tomcat" Book 2c32e5b3ad Backed out changeset c864d8ec3ba3 (bug 1208373) 2016-06-09 15:18:40 +02:00
Carsten "Tomcat" Book 614b2d105f Backed out changeset 96d02a1982f7 (bug 1274221) 2016-06-09 15:18:39 +02:00
Carsten "Tomcat" Book 60e86b393e Backed out changeset ce89c5b1f32d (bug 1274221) 2016-06-09 15:18:38 +02:00
Carsten "Tomcat" Book fe2de5bf49 Backed out changeset 45bfebd36a99 (bug 1274221) 2016-06-09 15:18:36 +02:00
Carsten "Tomcat" Book 27555764e7 Backed out changeset 6ce08f664f9c (bug 1208328) 2016-06-09 15:18:35 +02:00
Carsten "Tomcat" Book c55a07994c Backed out changeset 22150caec0d2 (bug 1208328) 2016-06-09 15:18:33 +02:00
Carsten "Tomcat" Book 89552f5055 Backed out changeset ba0529f6b073 (bug 1208328) 2016-06-09 15:18:32 +02:00
Carsten "Tomcat" Book 7be668f681 Backed out changeset dbb4b83be583 (bug 1208328) 2016-06-09 15:18:31 +02:00
Paul Adenot 49c7837186 Bug 845648 - Use shortBrand for the name of cubeb streams. r=kinetik
MozReview-Commit-ID: 1PUY8wHVOxy
2016-06-08 17:29:38 +02:00
Neil Deakin efe80ab561 Bug 1276976, ensure that popups are visible in the right area, r=tn, r=mrbkap 2016-06-09 07:59:31 -04:00
Neil Deakin ea192c61f5 Bug 1174798, propagate keyboard indicator state down to child processes, r=smaug 2016-06-09 07:59:31 -04:00
Andreas Pehrson 17d61f9da4 Bug 1208328 - Don't block ended tracks on removal from MediaStream. r=jesup
After ending the MediaInputPort (to the playback stream) gets removed if locked
to the track specifically. Trying to remove the track at this point would try to
block it in the same MediaInputPort - but since it doesn't exist would trigger
an NS_ERROR instead.

MozReview-Commit-ID: IpRL6FAGxPp

--HG--
extra : rebase_source : 81c7b6356e5f43b39b1c3fd9c70e14059cae7e63
2016-05-31 14:55:51 +02:00
Andreas Pehrson 2597c73af2 Bug 1208328 - Implement MediaStream.onaddtrack. r=jib, r=smaug
MozReview-Commit-ID: JVZO5mlxvgW

--HG--
extra : rebase_source : b2ec734dc408e96c9a9f265c11c7308895c3b6ce
2016-05-31 09:29:52 +02:00
Andreas Pehrson 469fe5da74 Bug 1208328 - Test that "addtrack" and "removetrack" events don't occur on manual operations. r=jib
MozReview-Commit-ID: F3T9upYPlnU

--HG--
extra : rebase_source : 3bda5bf54472af8480716cc1738b27e6a862b0e5
2016-05-27 18:01:14 +02:00
Andreas Pehrson e2ffacaef9 Bug 1208328 - Add test for "addtrack" on recv side of RTCPeerConnection. r=jib
MozReview-Commit-ID: 2KkAc5uFjAZ

--HG--
extra : rebase_source : 12fbf22950546420dba5c84289b23a546813286c
2016-06-09 13:46:19 +02:00
Andreas Pehrson e9c91bddf6 Bug 1274221 - Ensure MediaStreamListeners are always notified of created and ended tracks. r=ctai, r=jesup
This means that when a MediaStreamListener is added to a stream, we'll call
NotifyQueuedTrackChanges with TRACK_EVENT_CREATE for all tracks that already
exist.

Likewise, we'll call NotifyQueuedTrackChanges with TRACK_EVENT_ENDED for all
tracks that exist and have ended.

This fixes potential race conditions where a track was created and/or ended
before the listener was asynchronously added.

MozReview-Commit-ID: G3juhfiZMtg

--HG--
extra : rebase_source : 6f4fe68b888b6dd0d9ee370b6a390ff17da5f1de
extra : source : 70e8c5a785a9866e6205b54bd1c45faaf834717d
2016-05-24 13:23:50 +02:00
Andreas Pehrson 9c625f8d0f Bug 1274221 - Make FindOwnedDOMTrack look for (optionally) unique tracks. r=ctai
MozReview-Commit-ID: 1y8YuwJWIS5

--HG--
extra : rebase_source : fbf328d1ea7ba94d0cf5f4c9bf2e0e4738cf5f42
extra : source : c2154e0e122ac3981d1c5c7e748633a64111cbf7
2016-05-24 13:26:25 +02:00
Andreas Pehrson 99ca8427e9 Bug 1274221 - Test that multiple tracks of the same source all end when in the same stream. r=jib
MozReview-Commit-ID: 64T6I4RDrKH

--HG--
extra : rebase_source : 5ce2b0673ec6e827ab8c174c364026a2bee1991f
extra : source : b9a09fe46c5e1adc8659070a8f4f60d9e09b7311
2016-05-24 13:24:04 +02:00
Andreas Pehrson daa78fc2fe Bug 1208373 - Don't remove tracks from StreamTracks. Just their content. r=jesup
MozReview-Commit-ID: 6JrnR2IWlAS

--HG--
extra : rebase_source : d4b48bb21cee1c085a69ff85dcffa1958342b4dd
2016-06-08 14:32:12 +02:00
Andreas Pehrson 5b155d5add Bug 1208373 - Introduce a new blocking mode to MediaInputPort. r=jesup
This lets us notify about a created TrackUnionStream track (and since it was
created, we can notify when it ends), even though it has been blocked from main
thread.

MozReview-Commit-ID: HyopzISBfbb

--HG--
extra : rebase_source : 55d6dd5d6a34a0b499b45e0b72f900fc37cff1bf
extra : source : 690904309e169aa74f95163f0d796493ef882972
2016-06-07 16:20:29 +02:00
Andreas Pehrson f726141050 Bug 1208373 - Fix test_peerConnection_capturedVideo.html to wait for close() promise. r=jib
MozReview-Commit-ID: AOrm5JkfxAG

--HG--
extra : rebase_source : ea327a9434143174863f4f94db1b954b7a6409bd
extra : source : b9c629250c90c42950b2b91ccf248dd1da6cdbf5
2016-05-04 16:32:17 +02:00
Andreas Pehrson 74fadc45ab Bug 1208373 - Implement MediaStreamTrack.readyState. r=smaug,jib
MozReview-Commit-ID: EoMaG0R3Dpp

--HG--
extra : rebase_source : 162ed3922e0ab664f3cf02b2af996ba3e9759ba5
extra : source : eb945c96027405effd2138a069eabd68f192f15c
2016-05-10 17:03:37 +02:00
Andreas Pehrson e86ac0c2b2 Bug 1208373 - Implement MediaStreamTrack's "ended" event and onended EventHandler. r=smaug,jib
MozReview-Commit-ID: DtqzY5nIdPI

--HG--
extra : rebase_source : e236f799c05de0bef9c9d1248e4a6db2e0ae7f31
extra : source : f6a237afe9a83a8389a8e0a4f7435da3c4d0ca54
2016-05-10 17:03:29 +02:00
Andreas Pehrson ba8b7f91e2 Bug 1208373 - Test that ended tracks that are cloned are also ended. r=jib
MozReview-Commit-ID: 4YU31TK0Mdf

--HG--
extra : rebase_source : 0e5b37f101d22ccc0f439e97eb47596c8ae17847
extra : source : 0d4ff0ff0dac011751329d23122e8e55e37ee3f7
2016-05-04 11:28:14 +02:00
Andreas Pehrson f31189f3e0 Bug 1208373 - Add test for MediaStreamTrack "ended" event and "readyState" attribute. r=jib
MozReview-Commit-ID: INZ0XtRTgt1

--HG--
extra : rebase_source : 813e073a64b5d635c6e814d3cf5006825d6309d0
extra : source : dc5697d8abd4454539a67966cf2e110d2a1ce081
2016-05-12 14:02:10 +02:00
Andreas Pehrson 651efce919 Bug 1208373 - Test that a peerConnection's received tracks end on close(). r=jib
MozReview-Commit-ID: 1iVTt6XBRpZ

--HG--
extra : rebase_source : 8f75330332d4f71a5e868aa25af43e05e4d3525b
extra : source : 548b2be660a128084e1916409add6bd97d5efed3
2016-05-12 14:30:51 +02:00
Andreas Pehrson 65f6569e63 Bug 1208373 - Check that we don't get "ended" event for tracks after calling stop(). r=jib
MozReview-Commit-ID: K9gOZtUNQ5K

--HG--
extra : rebase_source : cfe14a021af54eb16fdded0e71e8332d0fcf1448
extra : source : 2996367191d23fd1aa4630d4a964b2577c7fbf8c
2016-05-12 13:50:34 +02:00
Carsten "Tomcat" Book c024396362 Backed out changeset 2b9212818ced (bug 845648) for test failures in browser_audioCompeting.js
--HG--
extra : rebase_source : d2fd2442665157d758dc07e1deb8e9893bf73c10
2016-06-09 13:13:00 +02:00
Andrea Marchesini 1264ad2da5 Bug 1278845 - Move PerformanceNavigation to separate files, r=smaug 2016-06-09 12:44:54 +02:00
Andrea Marchesini d84e87b425 Bug 1278843 - Move PerformanceTiming code in separate files, r=smaug 2016-06-09 12:43:56 +02:00
Andrea Marchesini e7022433c4 Bug 1278835 - Renaming nsPerformanceNavigation to mozilla::dom::PerformanceNavigation, r=smaug 2016-06-09 12:43:02 +02:00
Andrea Marchesini c1ff80c475 Bug 1278834 - Renaming nsPerformanceTiming to mozilla::dom::PerformanceTiming, r=smaug 2016-06-09 12:42:43 +02:00
Andrea Marchesini 8723eb439d Bug 1278816 - Move Performance API into dom/performance, r=smaug
--HG--
rename : dom/base/PerformanceEntry.cpp => dom/performance/PerformanceEntry.cpp
rename : dom/base/PerformanceEntry.h => dom/performance/PerformanceEntry.h
rename : dom/base/PerformanceMark.cpp => dom/performance/PerformanceMark.cpp
rename : dom/base/PerformanceMark.h => dom/performance/PerformanceMark.h
rename : dom/base/PerformanceMeasure.cpp => dom/performance/PerformanceMeasure.cpp
rename : dom/base/PerformanceMeasure.h => dom/performance/PerformanceMeasure.h
rename : dom/base/PerformanceObserver.cpp => dom/performance/PerformanceObserver.cpp
rename : dom/base/PerformanceObserver.h => dom/performance/PerformanceObserver.h
rename : dom/base/PerformanceObserverEntryList.cpp => dom/performance/PerformanceObserverEntryList.cpp
rename : dom/base/PerformanceObserverEntryList.h => dom/performance/PerformanceObserverEntryList.h
rename : dom/base/PerformanceResourceTiming.cpp => dom/performance/PerformanceResourceTiming.cpp
rename : dom/base/PerformanceResourceTiming.h => dom/performance/PerformanceResourceTiming.h
rename : dom/base/nsPerformance.cpp => dom/performance/nsPerformance.cpp
rename : dom/base/nsPerformance.h => dom/performance/nsPerformance.h
rename : dom/base/test/performance_observer.html => dom/performance/tests/performance_observer.html
rename : dom/base/test/test_performance_observer.html => dom/performance/tests/test_performance_observer.html
rename : dom/base/test/test_performance_observer.js => dom/performance/tests/test_performance_observer.js
rename : dom/base/test/test_performance_user_timing.html => dom/performance/tests/test_performance_user_timing.html
rename : dom/base/test/test_performance_user_timing.js => dom/performance/tests/test_performance_user_timing.js
2016-06-09 12:42:21 +02:00
Dan Minor 967be91752 Bug 1261168 - Add AlignedAutoTArray type in Web Audio; r=padenot
MozReview-Commit-ID: uQfTWkzKKB

--HG--
extra : rebase_source : c733e8bd17db57acaa0f0be4eefbf144ed2629af
2016-05-17 15:47:56 -04:00
Bob Owen 7c3321c672 Bug 1277475 Part 1: Add a chrome and XBL accessor for the sandboxed scripts flag to Document WEBIDL. r=bz
This also incldues changes to use the new function instead of getting and checking the sandbox flags in most places.

MozReview-Commit-ID: Cv0vJCdLH4D
2016-06-09 11:22:22 +01:00
Paul Adenot c29cb7b0f6 Bug 845648 - Use shortBrand for the name of cubeb streams. r=kinetik
MozReview-Commit-ID: 1PUY8wHVOxy
2016-06-08 17:29:38 +02:00
Mike Conley f13dfb3a18 Bug 1278989 - Make parent outer window available on TabParent. r=mrbkap
MozReview-Commit-ID: 9nS1zQkGmu3

--HG--
extra : rebase_source : 29a22118d6670669b98ee4506ec1a2e4ed25521d
2016-04-27 15:40:36 -04:00
Andrew Sutherland af016de2cb Bug 1272436 - P0: Implement "only-if-cached" RequestCache mode. r=mayhemer, r=bkelly, r=bzbarsky for WebIDL change
The fetch spec has re-introduced "only-if-cached" mode which loads only from
the cache.  There are privacy implications to this so for the time being it
is required that "same-origin" mode is used.
2016-06-08 12:10:15 -04:00
Eugen Sawin 778760ed81 Bug 1214710 - [2.5] Recover decode seek position when resuming suspended playback. r=jwwang 2016-06-08 18:04:33 +02:00
Eugen Sawin a368c596cb Bug 1214710 - [1.11] Implement ReaderQueue for simultaneous decoder limit enforcement. r=jya,jwwang 2016-06-08 18:04:32 +02:00
Kit Cambridge 2cd19df30d Bug 1278435 - Update DOM interface tests to reflect shipping Push on Android. r=baku
MozReview-Commit-ID: AvTW8zDPjAY

--HG--
extra : rebase_source : 2f644946ea21d3e9b1becb1f314a71c5ac41e078
extra : source : 3a4cd59e97b5100b2b14185a068271531b80c68d
2016-06-07 13:25:21 -07:00
Kit Cambridge a9df8d4d3f Bug 1278851 - Enable service worker notifications everywhere except for non-release B2G. r=baku
MozReview-Commit-ID: InG420vpNtA

--HG--
extra : rebase_source : 0523697466cb8f438b1af129c5d74a1b0c8df499
2016-06-07 14:25:59 -07:00
Andrea Marchesini 501b078b36 Bug 1278799 - Moving Console API into dom/console, r=smaug
--HG--
rename : dom/base/Console.cpp => dom/console/Console.cpp
rename : dom/base/Console.h => dom/console/Console.h
rename : dom/base/ConsoleAPI.manifest => dom/console/ConsoleAPI.manifest
rename : dom/base/ConsoleAPIStorage.js => dom/console/ConsoleAPIStorage.js
rename : dom/base/ConsoleReportCollector.cpp => dom/console/ConsoleReportCollector.cpp
rename : dom/base/ConsoleReportCollector.h => dom/console/ConsoleReportCollector.h
rename : dom/base/nsIConsoleAPIStorage.idl => dom/console/nsIConsoleAPIStorage.idl
rename : dom/base/nsIConsoleReportCollector.h => dom/console/nsIConsoleReportCollector.h
rename : dom/base/test/test_bug659625.html => dom/console/tests/test_bug659625.html
rename : dom/base/test/test_bug978522.html => dom/console/tests/test_bug978522.html
rename : dom/base/test/test_bug979109.html => dom/console/tests/test_bug979109.html
rename : dom/base/test/test_bug989665.html => dom/console/tests/test_bug989665.html
rename : dom/base/test/test_console.xul => dom/console/tests/test_console.xul
rename : dom/base/test/test_consoleEmptyStack.html => dom/console/tests/test_consoleEmptyStack.html
rename : dom/base/test/test_console_binding.html => dom/console/tests/test_console_binding.html
rename : dom/base/test/test_console_proto.html => dom/console/tests/test_console_proto.html
2016-06-08 14:46:50 +02:00
Andrea Marchesini 3844ccedea Bug 1278453 - Console API should be able to deal with arguments that close the window in toString(), r=smaug 2016-06-08 12:49:51 +02:00
bechen 6193b9598d Bug 1274884 - Add/Remove cue into MediaElement when TextTrack::mMode changed. r=rillian
MozReview-Commit-ID: 9PGEV5g8iv3

--HG--
extra : transplant_source : b%06Jsa%B8%08%A3%A2aS%0F%5C%C5T%9B%C9y%B5%C8
2016-06-02 16:08:32 +08:00
Alfredo Yang baf7982f87 Bug 1257107 - set video seek thresohld on mac PDM. r=jya
MozReview-Commit-ID: 1nlO0cyXBEb

--HG--
extra : rebase_source : a1347a5caa3b55c3f46b7df2d295c05a91480ff0
2016-06-08 10:59:57 +08:00
Alfredo Yang 254d49c5f6 Bug 1257107 - discard decoded data if its pts is smaller than seek time. r=jya
MozReview-Commit-ID: 70rbBsor8lp

--HG--
extra : rebase_source : 7f88969e1c5f19aa1651080dd5b1985d0b718592
2016-06-08 10:59:57 +08:00
Carsten "Tomcat" Book d8feaef998 Backed out changeset 74a7d364f5a3 (bug 1214710) for bustage on a CLOSED TREE 2016-06-08 12:08:53 +02:00
Carsten "Tomcat" Book 6a323f91ff Backed out changeset d64ca44c11ce (bug 1214710) 2016-06-08 12:08:40 +02:00