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

57186 Коммитов

Автор SHA1 Сообщение Дата
Ehsan Akhgari 5db79d7e66 Bug 1318883 - Remove the NetworkStats API and related code; r=baku,mcmanus 2016-11-21 13:33:18 -05:00
Boris Zbarsky 0b51e4d979 Bug 1318576. Remove entries from a form's past names map when an element is removed from the form, even if that element doesn't have a name or id anymore. r=baku 2016-11-21 12:34:02 -05:00
Ehsan Akhgari 765a5950e8 Bug 1318936 - Stop checking for unknown appId's in the DOM Cache; r=bkelly
The only appId's in Gecko right now are NO_APP_ID's, so
this check is useless now.
2016-11-21 12:22:56 -05:00
Carsten "Tomcat" Book b83681ba76 Merge mozilla-central to mozilla-inbound 2016-11-21 15:46:10 +01:00
Andrea Marchesini 52a4108da2 Bug 1318387 - BroadcastChannel should become active only after the security checks, r=smaug 2016-11-21 15:45:11 +01:00
Wei-Cheng Pan 8915c51723 Bug 1046166 - Send userContent.css URL to content processes. r=dbaron,haik
MozReview-Commit-ID: 4NTxwYeFGSU

--HG--
extra : rebase_source : 194c526eaf3270cf71de16065d425d1bb13f5847
2016-07-21 18:57:35 +08:00
JW Wang af86c4853c Bug 1317201. Part 2 - remove unused members. r=cpearce
Thanks to P1, we can remove HasFutureAudio() which is tricky about
how much audio data is enough to say 'having future data'.

MozReview-Commit-ID: 8AihIZWtQzm

--HG--
extra : rebase_source : 721b13bd6ab3b5751c6a9ff494efc84a29ebee5c
extra : source : b40a3cb10a97df5a42c8e61bf1272a0931c1d18c
2016-11-15 16:48:06 +08:00
JW Wang 23ca2cc0a2 Bug 1317201. Part 1 - align next-frame-status updates with state changes of MDSM. r=cpearce
Note we remove the call to UpdateNextFrameStatus() from SeekingState::SeekCompleted()
because DecodingState::Enter() always switches to NEXT_FRAME_AVAILABLE.

MozReview-Commit-ID: Dv3NpudZwBB

--HG--
extra : rebase_source : 232f3a02dd46de4c4dfba4235e467f7866688841
extra : intermediate-source : 31ed0d7d6819eefaa1b5870553808def7f054318
extra : source : ef817b308d0b5db437d68db194cdd7ca3716b4dd
2016-11-10 16:35:48 +08:00
Cykesiopka 96938ea780 Bug 1311379 - Stop using Scoped.h NSS types in WebCryptoTask.(cpp|h). r=rbarnes,ttaubert
Scoped.h is deprecated.

MozReview-Commit-ID: CAcnrB9v3dH

--HG--
extra : rebase_source : eaa0dc4348f8577f42c0577d5f9f9031d2d2bb95
2016-11-18 00:49:25 +08:00
Masayuki Nakano c28dd06954 Bug 1318635 Set "dblclick" event's time and timeStamp to mouseup event's time and timeStamp r=smaug
MozReview-Commit-ID: 4c3GsNf9CKi

--HG--
extra : rebase_source : 37537b6d297636a6d68db354600b5edbf904fb87
2016-11-18 20:35:20 +09:00
Gerald Squelart 2af5ebc606 Bug 1318228 - Replace nsAutoPtr with UniquePtr in MediaDrmCDMProxy - r=cpearce
MozReview-Commit-ID: 71BGVx1G7JH

--HG--
extra : rebase_source : cac6f50eaeaf1afa2f2b03f3514f5e598039618e
2016-11-17 21:11:04 +11:00
Gerald Squelart c22dcadd40 Bug 1318228 - Replace nsAutoPtr with UniquePtr in GMPCDMProxy - r=cpearce
MozReview-Commit-ID: Hy4rag5UbsZ

--HG--
extra : rebase_source : d3802b3e0e22cb1ef982eecc4c1a5b016f0ff6aa
2016-11-17 18:40:28 +11:00
Ryan VanderMeulen ee574db67b Merge m-c to autoland. a=merge 2016-11-18 15:47:52 -05:00
Ryan VanderMeulen 2c0ace7f19 Merge inbound to m-c. a=merge 2016-11-18 15:47:05 -05:00
Carsten "Tomcat" Book 866da9f9c6 merge mozilla-inbound to mozilla-central a=merge 2016-11-18 16:51:17 +01:00
Ehsan Akhgari a0a6c1cd33 Bug 1318562 - Remove Navigator.updateManager; r=baku 2016-11-18 09:01:49 -05:00
Ehsan Akhgari f0f85366d9 Bug 1318218 - Remove PermissionsTable; r=baku,jryans
This also removes the WebIDE UI for viewing the permissions table.
2016-11-18 08:59:35 -05:00
Olli Pettay b205f5cdb9 Bug 1317805, ensure to update MediaRecorder when document's activity state changes, r=bechen
--HG--
extra : rebase_source : f9a6dca24ec7e29e73b67002a2cf9470f4768743
2016-11-18 13:29:13 +02:00
Cameron McCormack 4406edcd3a Bug 1318238 - Clear all ServoNodeData during style set shutdown. r=bholley
MozReview-Commit-ID: 9MvBTAWeawC
2016-11-18 16:54:10 +08:00
Phil Ringnalda f55ce4a38c Merge m-c to autoland 2016-11-17 22:57:50 -08:00
Phil Ringnalda 4a8366dabc Bug 1304934 - disable test_presentation_mixed_security_contexts.html on Android for constant failures, a=nnoyance 2016-11-17 21:34:35 -08:00
Phil Ringnalda 61baa2aa9a Merge m-i to m-c, a=merge
MozReview-Commit-ID: A3wgReQAalj
2016-11-17 19:21:20 -08:00
Chih-Yi Leu 3988aaaef5 Bug 1316544 - Fix conformance test fail in texture-image-webgl-specific r=jgilbert 2016-11-17 21:22:00 +01:00
JW Wang 755272513a Bug 1316145 - pass DontAssertDispatchSuccess when dispatching events because it is hard to enforce notification happens before AbstractThread shutdown. r=jya
MozReview-Commit-ID: 2SATSQfdskl

--HG--
extra : rebase_source : a9b6cfcb5633f62daa919dc0e3326469d8589837
2016-11-18 17:50:27 +08:00
Ehsan Akhgari d07f79a266 Bug 1318210 - Remove nsIAppsService; r=baku 2016-11-17 10:41:36 -05:00
Dave Huseby 4e53da9544 Bug 1309067 - adding asserts to ensure boolean and OA private browsing values match. r=ehsan 2016-11-17 12:14:00 +01:00
Andrea Marchesini 42cdd9436b Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 2, r=qdot 2016-11-18 09:33:50 +01:00
Andrea Marchesini 2f974ccbce Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 1, r=qdot 2016-11-18 09:33:33 +01:00
Phil Ringnalda cba055b5fe Merge m-c to m-i
MozReview-Commit-ID: ICJOT8GTPT3
2016-11-17 22:57:10 -08:00
Phil Ringnalda e3b53628aa Merge m-c to m-i
MozReview-Commit-ID: GwBaSZdoAZK
2016-11-17 20:33:59 -08:00
Bill McCloskey 017013d42a Bug 1305926 - Custom event targets for Dispatcher API (r=ehsan)
MozReview-Commit-ID: 9FXq1BRXwku
2016-11-17 17:01:02 -08:00
Bill McCloskey 66add2ca93 Bug 1305926 - Dispatcher API for assigning DocGroups to runnables (r=ehsan)
MozReview-Commit-ID: 8qO95a6z1Ut
2016-11-17 17:01:00 -08:00
Sebastian Hengst ea96126bb8 Backed out changeset 1a72c4919371 (bug 1147911) 2016-11-18 00:58:51 +01:00
Sebastian Hengst f02ffed0dd Backed out changeset f768dac3f7a9 (bug 1147911) 2016-11-18 00:58:51 +01:00
Sebastian Hengst 62d71733be Backed out changeset 32c933acd03b (bug 1147911) 2016-11-18 00:58:51 +01:00
Sebastian Hengst a0103a13ec Backed out changeset a5c68edf3788 (bug 1147911) 2016-11-18 00:58:51 +01:00
Michael Layzell 0b34568ead No bug - Remove incorrect comment from TabGroupOuter(), r=ehsan
MozReview-Commit-ID: 7b9fhmAihTc
2016-11-17 17:29:55 -05:00
Ehsan Akhgari 5cc591dc59 Bug 1318209 - Remove mozIApplication; r=baku 2016-11-17 10:12:43 -05:00
Neil Deakin fd181fe163 Bug 1311279, add a chrome-only setCapture method that can ignore the allowed state, r=smaug 2016-11-17 09:56:43 -05:00
Carsten "Tomcat" Book f378c398c9 Backed out changeset 1ba0d3288318 (bug 1311279) 2016-11-17 15:42:41 +01:00
Phil Ringnalda ae361307c7 Merge m-c to autoland 2016-11-17 20:11:25 -08:00
Ajit 59924733b3 Bug 1316511 - Remove friend class nsSVGPathFrame declaration in SVGPathElement as it does not exist anymore r=Ehsan
MozReview-Commit-ID: 9TzvFucJVXK

--HG--
extra : rebase_source : daeef86a65fe9bb5be27b82616875c090045c30a
2016-11-16 21:20:27 +00:00
Andrew McCreight 14fad12fec Bug 1317258 - Call HoldJSObjects in VRFrameData's ctor. r=smaug
--HG--
extra : rebase_source : b9143b7c02652002923222b908b96bcc88a8effc
2016-11-17 15:37:25 +01:00
Neil Deakin 4359bb41a3 Bug 1311279, add a chrome-only setCapture method that can ignore the allowed state, r=smaug 2016-11-17 09:28:27 -05:00
Stone Shih a4fbee5fbd Bug 1305458 Part14: Refine assertion in EventTargetChainItem::Create r=smaug
--HG--
extra : rebase_source : 5a0a15405e72cdcdf4a808072c1c015be0171a3e
2016-11-15 16:42:29 +08:00
Kris Maglione e2f510432b Bug 1317101 - Part 1: Allow about:addons to load remote <browser>s into its content docshell. r=billm
MozReview-Commit-ID: Kv0LDFR2SEq

--HG--
extra : rebase_source : beecda8aeea2c9f741346a6829c94efb639314f2
extra : source : ffc63be3557c3a9531591b28adff6feb0e88e3e3
2016-11-15 15:01:50 -08:00
Jeff Gilbert (:jgilbert) af3cf0408b Bug 1301671 - Roll back non-nullable check for getAttachedShaders in tests.
MozReview-Commit-ID: 7rijDHSi2JW
2016-11-17 13:31:09 -08:00
Jeff Gilbert (:jgilbert) e9f8d55cb4 Bug 1301671 - Update affected tests to top-of-tree.
MozReview-Commit-ID: I2xwbEKLRSw
2016-11-17 13:31:07 -08:00
Emilio Cobos Álvarez 042aca2b61 Bug 1301671 - Cannot bind deleted objects. - r=jgilbert
MozReview-Commit-ID: DV6a2pYMyIU
2016-11-17 13:31:05 -08:00
Sebastian Hengst 7110a88674 Backed out changeset d43b778d95c6 (bug 1318273) for failing mochitest fetch/test_formdataparsing.html. r=backout on a CLOSED TREE 2016-11-17 20:58:38 +01:00
Sebastian Hengst fdfd8b91d1 Backed out changeset 2560659cda95 (bug 1318273) 2016-11-17 20:57:59 +01:00
Boris Zbarsky c892e11e49 Bug 1318117. Stop using IsCallerChrome in pointerlock API, fullscreen API, and documentURI getter. r=ehsan 2016-11-17 13:49:27 -05:00
Boris Zbarsky 061d3629f1 Bug 1318096 part 9. Remove XPCOM parentnode/childnode APIs. r=froydnj 2016-11-17 13:49:27 -05:00
Boris Zbarsky e13d617b08 Bug 1318096 part 8. Remove XPCOM element client* APIs. r=froydnj 2016-11-17 13:49:27 -05:00
Boris Zbarsky 9f04732f13 Bug 1318096 part 7. Remove XPCOM element scroll* APIs. r=froydnj 2016-11-17 13:49:27 -05:00
Boris Zbarsky 391d35268f Bug 1318096 part 6. Remove XPCOM document.compatMode. r=froydnj 2016-11-17 13:49:27 -05:00
Boris Zbarsky 31c5bbddb2 Bug 1318096 part 5. Remove XPCOM mozMatchesSelector. r=froydnj 2016-11-17 13:49:27 -05:00
Boris Zbarsky e6adc66146 Bug 1318096 part 4. Remove the unused XPCOM setCapture/removeCapture. r=froydnj 2016-11-17 13:49:27 -05:00
Boris Zbarsky c8ec840cee Bug 1318096 part 3. Remove the unused XPCOM fullscreen API. r=froydnj 2016-11-17 13:49:27 -05:00
Boris Zbarsky dfab9956ca Bug 1318096 part 2. Remove the unused XPCOM pointerlock API. r=froydnj 2016-11-17 13:49:27 -05:00
Boris Zbarsky 0187a18084 Bug 1318096 part 1. Remove unused XPCOM querySelector(All) bits. r=froydnj 2016-11-17 13:49:26 -05:00
Boris Zbarsky 40c3163488 Bug 1317813. Remove the remaining security checks in windowutils, since untrusted script should never have its hands on this object. r=ehsan 2016-11-17 13:49:26 -05:00
Olli Pettay 0afb59fbfd Bug 1317409, handle failing node adoption properly, r=peterv
--HG--
extra : rebase_source : 3ce4ba7c0406d6f96edd7e4da8687fcc55295980
2016-11-17 15:54:12 +02:00
Andrea Marchesini a895bd31ae Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 2, r=qdot 2016-11-17 19:36:21 +01:00
Andrea Marchesini cf2ad8072f Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 1, r=qdot 2016-11-17 19:36:01 +01:00
Daosheng Mu 1350fb4f8f Bug 1317706 - Remove Pose WebIDL for sharing the implementation to Pose class. r=bz
MozReview-Commit-ID: Lvu0AOBi5Ti

--HG--
extra : rebase_source : f8458e7eb5d4d356642918c83de5d08f7d76039e
2016-11-17 07:11:00 -05:00
Ehsan Akhgari fa484fb4be Bug 1318356 - Remove the special casing for apps locking screen orientation; r=baku 2016-11-17 12:35:54 -05:00
Ehsan Akhgari 7ca863c4ee Bug 1318344 - Remove the special casing for apps not lying about battery status; r=baku 2016-11-17 12:35:51 -05:00
Ehsan Akhgari 39f3445718 Bug 1318343 - Remove the special casing for apps opening popups; r=baku 2016-11-17 12:35:48 -05:00
Ehsan Akhgari 38a0d7e870 Bug 1318342 - Remove the special casing for apps going fullscreen; r=baku 2016-11-17 12:35:44 -05:00
Ehsan Akhgari d93248e07e Bug 1318217 - Remove AppsUtils; r=baku 2016-11-17 12:08:13 -05:00
Sotaro Ikeda 514c309d12 Bug 1312988 - Separate the recycling allocators for gpu and cpu textures. r=nical 2016-11-14 10:09:39 +01:00
Valentin Gosu 51cb7b5e93 Bug 1317511 - Share captive portal state with the content process r=bagder
MozReview-Commit-ID: 5FnM9DNDWwL
2016-11-17 17:35:24 +01:00
Bob Owen 87b58c6a19 Bug 1147911 Part 9: Ensure file read permissions for file content process on Windows. r=jimm, r=jld 2016-11-17 15:48:53 +00:00
Bob Owen 52529cb9a9 Bug 1147911 Part 8: Create separate content process for file:// URIs. r=gabor, r=gijs, r=smaug 2016-11-17 15:48:53 +00:00
Bob Owen ce1bc7d820 Bug 1147911 Part 7: Create browsing context with no opener if URI needs different process. r=smaug
This also means window.open returns null in the same circumstance.
2016-11-17 15:48:53 +00:00
Bob Owen fb53b5987c Bug 1147911 Part 6: Send remote type down to child. r=gijs, r=smaug 2016-11-17 15:48:52 +00:00
Stone Shih 16335c6088 Bug 1305458 Part13: Refine event target chain creation. r=smaug
MozReview-Commit-ID: 6DEJDoAzjiu

--HG--
extra : rebase_source : 1f7cea9867c99c1f69cfcee27cf3a8119f9c5a25
2016-11-03 11:01:06 +08:00
Stone Shih e5ea1805f2 Bug 1305458 Part12: Refine EventTargetChain flags to reduce overheads. r=smaug
MozReview-Commit-ID: CxiMsVw3ydz

--HG--
extra : rebase_source : b5d2d8acb3d93e69aab6b8551b9e5ab225949f12
2016-11-02 11:39:32 +08:00
Stone Shih ca4ffa27c2 Bug 1305458 Part11: Let HTMLInputElement delegate event handling to it's parent class. r=smaug
MozReview-Commit-ID: 3Ms8Rt7Fqny

--HG--
extra : rebase_source : 8a91423451edb3b840b4e4f1906ff702257a896f
2016-11-01 15:36:04 +08:00
Stone Shih d4a632d2e2 Bug 1305458 Part10: Add test case. r=smaug
MozReview-Commit-ID: 77r8TkLqiil

--HG--
extra : rebase_source : 99011c1e379980cff81f9cd74c4c0b767be58274
2016-10-26 13:07:18 +08:00
Stone Shih 0d63e2a966 Bug 1305458 Part9: Move fire events and set value from HTMLInputElement::GetEventTargetParent to PreHandleEvent. r=smaug
MozReview-Commit-ID: AbbIMmmwZMZ

--HG--
extra : rebase_source : fe88fbdd905ef5f2761aaad43085a0deba588367
2016-10-21 19:04:29 +08:00
Stone Shih 5d53222adf Bug 1305458 Part8: Move dispatch XUL command from nsXULElement::GetEventTargetParent to PreHandleEvent. r=smaug
MozReview-Commit-ID: QuJSgaaAH9

--HG--
extra : rebase_source : f1175017951e4d815fa8ade342991a33d2d285d5
2016-10-21 17:58:34 +08:00
Stone Shih 0d5527c8ef Bug 1305458 Part7: Refine nsXULElement::GetEventTargetParent. r=smaug
MozReview-Commit-ID: 7ubVChOb04x

--HG--
extra : rebase_source : badbfb7238dcd08870065a4650e50e2c486fefab
2016-10-18 16:55:26 +08:00
Stone Shih 8400e13089 Bug 1305458 Part6: Move fire change event from HTMLTextAreaElement::GetEventTargetParent to PreHandleEvent. r=smaug
MozReview-Commit-ID: K0tuWlUOLw7

--HG--
extra : rebase_source : ade1219fe5e90b8c08a596b919a118a0508d23d0
2016-10-21 17:33:41 +08:00
Stone Shih 56a3971717 Bug 1305458 Part5: Move form control frame focus/blur from nsGenericHTMLFormElement::GetEventTargetParent to PreHandleEvent. r=smaug
MozReview-Commit-ID: H8Zn5OdZpyt

--HG--
extra : rebase_source : f4f3c5d46d935f68bd0d765e10e3bbd2a25c1f7f
2016-10-21 16:56:58 +08:00
Stone Shih 07066e00ca Bug 1305458 Part4: Call EventTargetChainItem::PreHandleEvent even it sets mCanHandle=false. r=smaug
MozReview-Commit-ID: H9UAHNJGiOD

--HG--
extra : rebase_source : 4d2a3d8944ed1019ac8e87739eb65441b976dd01
2016-10-22 08:47:30 +08:00
Stone Shih 8f2ec136e1 Bug 1305458 Part3: Add EventTargetChainItem::GetFirstEventTarget. r=smaug
MozReview-Commit-ID: 7EuGKsG9maX

--HG--
extra : rebase_source : 3eb173356333458c0a7b2a53b3868c6412071e10
2016-10-22 09:21:40 +08:00
Stone Shih 6df624de3f Bug 1305458 Part2: Add nsIDOMEventTarget::PreHandleEvent. r=smaug
MozReview-Commit-ID: HiCDTXgNr0l

--HG--
extra : rebase_source : ce3318fac96a1baf86059274230b1e6cae750347
2016-10-21 11:29:34 +08:00
Stone Shih 1ed10ff082 Bug 1305458 Part1: Rename nsIDOMEventTarget::PreHandleEvent to nsIDOMEventTarget::GetEventTargetParent. r=smaug
MozReview-Commit-ID: FM3vDUyLOCb

--HG--
extra : rebase_source : 5a513af84718a6d591f77437a0704984c8fc2b67
2016-10-21 10:11:07 +08:00
Ehsan Akhgari 354db69f04 Bug 1318207 - Remove Navigator.mozPermissionSettings; r=baku 2016-11-17 09:19:13 -05:00
Tobias Schneider bff9de0c6e Bug 1315837 - Crash in mozilla::dom::Element::UpdateIntersectionObservation. r=mrbkap 2016-11-15 15:49:00 +01:00
Andrea Marchesini 3120de1ea7 Bug 1315905 - Cleanup Necko http security check - part 2 - tests, r=valentin 2016-11-17 14:53:30 +01:00
Andrea Marchesini d5b0cbe35a Bug 1315905 - Cleanup Necko http security check - part 1, r=valentin 2016-11-17 14:52:16 +01:00
Carsten "Tomcat" Book 2c792af8f0 Merge mozilla-central to mozilla-inbound 2016-11-17 14:39:33 +01:00
Carsten "Tomcat" Book e0ff800a74 merge mozilla-inbound to mozilla-central a=merge 2016-11-17 14:34:44 +01:00
Alastor Wu 1c128b5ce5 Bug 1317167 - only need to do the untrust JS checking in play(). r=jwwang
The first checking condition in the IsAllowedPlay() is used to prevent the play() operation
is called by untrusted JS when media.autoplay.enabled=false. Therefore, we don't need to check
that in CanActivateAutoplay().

MozReview-Commit-ID: 6yqoG8ISyra

--HG--
extra : rebase_source : a3e52a1a5591691f503d7d4ca78dda63c05aef27
2016-11-17 15:09:59 +08:00
Chris Peterson 26308b5b88 Bug 1317111 - Remove RealPlayer plugin quirk handling. r=mats 2016-11-16 13:44:24 -08:00
Jeff Gilbert (:jgilbert) 34864e743e Bug 1290831 - Clarify TexUnpackBlob::TexOrSubImage's fallibility and update callers. - r=cleu
MozReview-Commit-ID: EmkzXwek8JW
2016-11-16 20:44:30 -08:00
Jeff Gilbert (:jgilbert) bc823bdc70 Bug 1316530 - Normalized int/uint count as fixed, and should be treated like floats in BlitFramebuffer. - r=ethlin
MozReview-Commit-ID: FBV0qTDk4pS
2016-11-16 20:44:28 -08:00
Wes Kocher f9e9d69899 Merge inbound to m-c a=merge CLOSED TREE 2016-11-16 17:07:26 -08:00
Aryeh Gregor 0e4353d48a Bug 1002256 - Support CompositionEvent constructor; r=bkelly
All other browsers support a constructor here.  Per current spec, the
constructor does not support .locale, although initCompositionEvent
does.  If we ever decide to standardize .locale, the constructor can be
updated at that point.  (Edge also supports .locale in
initCompositionEvent but not the constructor.  Chrome doesn't support
.locale at all.)
2016-11-16 22:16:22 +02:00
Ehsan Akhgari 04dd7af5b6 Bug 1312101 follow-up: Remove EnsureRequiredPermissions() as well 2016-11-16 15:03:58 -05:00
Ehsan Akhgari dc33b55d94 Bug 1312101 - Part 2: Remove AppProcessChecker and code that depends on it; r=baku 2016-11-16 14:51:08 -05:00
Ehsan Akhgari 130dc996d0 Bug 1312101 - Part 1: Remove permission assertions through the message manager; r=baku
Since AddProcessChecker is going away, there's no point in these
permission checks any more.
2016-11-16 14:51:04 -05:00
Boris Zbarsky 04caf50b43 Bug 1317759. Remove LegacyIsCallerChromeOrNativeCode use in Event::GetScreenCoords in favor or caller type checks at the entrypoints where we really care about pretending that our screen is client-area sized. r=smaug 2016-11-16 14:10:22 -05:00
Boris Zbarsky 3815c83ef1 Bug 1317625. Stop using xpc::AccessCheck in WebGL code. r=jgilbert 2016-11-16 14:10:22 -05:00
Boris Zbarsky be79f7def4 Bug 1317990. Remove Event::IsChrome in favor of passing CallerType arguments. r=smaug,bkelly 2016-11-16 14:10:22 -05:00
Ehsan Akhgari 1488007b30 Bug 1318206 - Remove some unused code for clearing app data; r=baku,mcmanus 2016-11-17 08:30:21 -05:00
Ehsan Akhgari 9f297a22d4 Bug 1315146 - Avoid using the Web-facing Range methods in nsTextControlFrame::SetSelectionInternal(); r=baku
The Web-facing methods perform access checks which blow up when the
stars are aligned such that we run this code under a subject principal
that doesn't have access to the anchor node of the selection.
2016-11-17 08:24:09 -05:00
Hiroyuki Ikezoe ae9b44e039 Bug 1304886 - Part 1: Make StyleAnimationValue::Accumulate() infallible. r=birtles
MozReview-Commit-ID: 9ve3k6a3eAg

--HG--
extra : rebase_source : af536ae0bf9dc7ad26003422d971c3cbdb30e390
2016-11-16 20:32:26 +09:00
Ting-Yu Lin 55e3c801ba Bug 1271549 - Remove details and summary preference. r=bz
Bug 1259889 Part 2 [1] cannot be reverted cleanly, so I manually undo those
changes in this patch. That is, remove the ability for html.css to
invalidate dynamically since it was added specifically for details element.

Although reftest-stylo.list explicit mentions "DO NOT EDIT!", but I still
remove details pref from the file, since it doesn't harm to edit it anyway.

[1] https://hg.mozilla.org/mozilla-central/rev/30aaf3805b56

MozReview-Commit-ID: FsyTGQTxujh

--HG--
extra : rebase_source : 25e5a05a8a5a47642772da69f427631fa07e232d
2016-11-16 14:02:58 +08:00
Wes Kocher 609b9922f7 Merge m-c to autoland, a=merge 2016-11-16 17:29:05 -08:00
Andrea Marchesini a7ee323115 Bug 1313420 - Implement Performance.timeOrigin - part 4 - tests, r=me 2016-11-17 12:50:10 +01:00
Andrea Marchesini 3f3797799a Bug 1313420 - Implement Performance.timeOrigin - part 3 - tests, r=me 2016-11-17 11:06:28 +01:00
Andrea Marchesini ad23bdeed0 Bug 1313420 - Implement Performance.timeOrigin - part 2 - tests, r=bz 2016-11-17 10:00:26 +01:00
Andrea Marchesini b0435b9411 Bug 1313420 - Implement Performance.timeOrigin - part 1, r=bz 2016-11-17 10:00:05 +01:00
Michelangelo De Simone 4b90783184 Bug 1317853 - Remove DOM/speakermanager and related code. r=jst
MozReview-Commit-ID: AHkMHalG99K

--HG--
extra : rebase_source : 7f0f47374d1208de97fad90ac9f3098dd5b2b330
2016-11-16 13:14:36 -08:00
Jan-Ivar Bruaroey 42cfd0d3ab Bug 1313966 - Add deprecation warnings to writable RTCSessionDescription. r=drno,smaug
MozReview-Commit-ID: AZAjbgJHTAc

--HG--
extra : rebase_source : 23e368ed80414fb3a9b546b2842d5141dbcb4c0a
2016-11-08 17:50:24 -05:00
Ehsan Akhgari 5690b5e079 Bug 1317983 - Remove navigator.mozBrowserElementProxy; r=baku
This was implemented in bug 1196654 for the b2g system app, and is no longer
being used.
2016-11-16 12:22:14 -05:00
Jonathan Kew eb88ca57ad Bug 1314932 - Reduce content-process startup time on MacOSX by passing the system font list from chrome to content process via the GetXPCOMProcessAttributes message. r=mstange 2016-11-15 13:58:29 +00:00
Joel Maher 15b1c3dd86 Bug 1316629 - migrate dom/html/test/test_img_complete.html to web-platform-test. r=jgraham
MozReview-Commit-ID: 7tyxMzVQ1g2

--HG--
rename : dom/html/test/image.png => testing/web-platform/tests/html/semantics/embedded-content/the-img-element/image.png
2016-11-16 09:43:53 -05:00
Ehsan Akhgari 569f181508 Bug 1311149 - Remove the b2g preallocated app support; r=baku 2016-11-16 09:17:35 -05:00
Ehsan Akhgari eac76d9772 Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact.  Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app.  In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed.  In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID.  Other notions of appId which were restricted to this
API have been removed.
2016-11-16 09:13:38 -05:00
Andrea Marchesini 24085dac28 Bug 1317725 -Correct creation of Sliced Remote Blob actorss when used in FormData in workers, r=smaug
--HG--
rename : dom/workers/test/script_bug1301094.js => dom/workers/test/script_createFile.js
2016-11-16 15:04:23 +01:00
Carsten "Tomcat" Book e7ca75286b Merge mozilla-central to inbound 2016-11-16 14:53:15 +01:00
Carsten "Tomcat" Book fd0ff57dbb Backed out changeset bc0e63d09f83 (bug 1314932) for causing merge conflicts with mozilla-central/autoland and so blocking m-i to m-c merge 2016-11-16 14:51:16 +01:00
Carsten "Tomcat" Book 3eacc680db Backed out changeset 7d1f7dd996f7 (bug 1310845) 2016-11-16 14:50:44 +01:00
Carsten "Tomcat" Book a669e9f9f5 Backed out changeset af3eb6a8e0ae (bug 1317111) 2016-11-16 14:50:42 +01:00
Carsten "Tomcat" Book cfcaf71156 Backed out changeset f1ff6d4dca5f (bug 1311149) 2016-11-16 14:50:40 +01:00
JW Wang 3f28193e81 Bug 1317570 - Add a mochitest to test 'ended' fires only once when seeking to the end. r=cpearce
MozReview-Commit-ID: KRm1shND6lL

--HG--
rename : dom/media/test/test_seek-13.html => dom/media/test/test_seek-14.html
extra : rebase_source : cba1fa17bf5e422e2b3b7466776c3af4bea66fbb
extra : intermediate-source : a210bbe13f32486bef8074f18f3a736156eb07b0
extra : source : 35579f0aaa8cab2f86bdb13ca1c5166afa577317
2016-11-15 10:41:42 +08:00
JW Wang 91c8b5507f Bug 1317576. Part 7 - remove the assertion that doesn't make sense anymore. r=cpearce
It is possible to call AudioEndTime() in CompletedState::Step() with MedisSink
not started at all. This happens when seeking to the end on a video only file.

MozReview-Commit-ID: 78P72DAPpWI

--HG--
extra : rebase_source : bc3b46ed526ce532f9bd1e23a86961c7a8513ead
2016-11-15 15:13:21 +08:00
JW Wang 23c537597f Bug 1317576. Part 6 - ensure 'playbackEnded' is notified when seeking to the end on a paused media element. r=cpearce
MozReview-Commit-ID: 4fzru2oHaPV

--HG--
extra : rebase_source : 0c2c3e639ec360fe5826cd5bbcd2f0879fa3f158
2016-11-15 12:06:17 +08:00
JW Wang 1927c644dc Bug 1317576. Part 5 - run Step() in CompletedState::Enter() without scheduling an additional cycle. r=cpearce
MDSM might have reached the end of playback. We want to notify 'playbackEnded' ASAP.

MozReview-Commit-ID: FYI6xTWuNSD

--HG--
extra : rebase_source : 293af7b1a550f36895e7c52f67372647027f9143
2016-11-15 11:54:52 +08:00
JW Wang acf75cb684 Bug 1317576. Part 4 - remove unused MediaDecoder::SeekResolveValue. r=cpearce
MozReview-Commit-ID: 9H6e0gFvWeT

--HG--
extra : rebase_source : 268efe92dda716f73a83493a4b3deaa599118fd6
extra : source : 972ed89cd3fb09004424d42c08c806a789c67361
2016-11-14 17:00:53 +08:00
JW Wang c1b6a6bf65 Bug 1317576. Part 3 - remove unused parameter/member. r=cpearce
MozReview-Commit-ID: Ff6a8MKVY8q

--HG--
extra : rebase_source : f89010012e2c5b728109282f640398cde196ab03
extra : source : 66baa9041276b503101651c118f4c6fe0c769db1
2016-11-14 16:47:07 +08:00
JW Wang cb3fa81b1a Bug 1317576. Part 2 - always transition to DECODING when seek is done. r=cpearce
DecodingState::Enter() will check whether decoding is completed and transition to COMPLETED.

MozReview-Commit-ID: 5abPWWulGWo

--HG--
extra : rebase_source : 75e70116c09819d6319c8d51c5685df2b46fea95
2016-11-15 14:53:50 +08:00
JW Wang e130632c8a Bug 1317576. Part 1 - add some helper functions. r=cpearce
MozReview-Commit-ID: FNWmQohsDRq

--HG--
extra : rebase_source : a6678e3a49d914c2dd41cbfb1578fb1ff1303f26
extra : source : cb88a84b569073406516c6e7f588362c68c29f99
2016-11-14 16:31:48 +08:00
Michelangelo De Simone 1c12c5271d Bug 1313788 - Remove DOM/wifi and related code. r=jst
MozReview-Commit-ID: BRT6bSvPpT

--HG--
extra : rebase_source : c5ae9e88e80ae1a9c46bf80439388bd9ef2ba4df
2016-11-08 15:02:45 -08:00
Chris Pearce 0a0e9d8f06 Bug 1317822 - Move GMPCrashHelper into its own file. r=gerald
MozReview-Commit-ID: 7CinZ2Y2Fmz

--HG--
extra : rebase_source : 3b176cbfadebf6463384105c261ff208bc58b1c2
2016-11-16 11:35:36 +13:00
J. Ryan Stinnett 30f5c7c935 Bug 1316718 - Remove ExtensionContent from mozbrowser startup. r=fabrice
MozReview-Commit-ID: 4I5Ox1cQdIg

--HG--
extra : rebase_source : ca8dc8328fe268d91e7e98b1130c16527684a427
2016-11-10 15:38:26 -06:00
Wes Kocher c2c5f83043 Backed out 3 changesets (bug 1271765) for win8 mochitest(5) failures a=backout
Backed out changeset 022a4a018996 (bug 1271765)
Backed out changeset 1d96f03289f8 (bug 1271765)
Backed out changeset 57317a080c99 (bug 1271765)
2016-11-15 10:50:59 -08:00
Chris Pearce eac0e11773 Bug 1317473 - Make GMPService accept paths with mixed dir separators. r=jesup
The mochitest harness on Windows sets MOZ_GMP_PATH to paths with a mixture of
Windows and UNIX dir separators, and the NS_NewLocalFile() call in
GMPServiceParent::AddOnGMPThread() fails on this input.

We've had this problem before, and if we fixed the test harness to give us
input with platform specific line endings somebody would likely just break this
again someday and have this issue again, so just make the GMP service normalize
the paths it's given to have consistent dir separators.

This makes test_peerConnection_basicH264Video.html pass when run
locally on my Windows machine.


MozReview-Commit-ID: 88hSvTdZuWg

--HG--
extra : rebase_source : 2cf63ccd1155e59f9745163cf4a28d3bdb7012ba
2016-11-15 10:56:43 +13:00
Kan-Ru Chen f8100451db Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm
We will use the new type for the generated IPDL message handler
prototype to make sure correct error handling method is called.

MozReview-Commit-ID: AzVbApxFGZ0
2016-11-15 04:26:00 +01:00
Andi-Bogdan Postelnicu 65ae72060c Bug 1317241 - Use C++11's override and remove virtual where applicable in dom/ r=baku
MozReview-Commit-ID: 8jUAehd1odv

--HG--
extra : rebase_source : 13375a14447ce344214fa30babf540de0a394c6a
2016-11-15 13:09:07 +02:00
Andi-Bogdan Postelnicu 41956514cf Bug 1317241 - Replace integer literals which are cast to bool in dom/. r=baku
MozReview-Commit-ID: 8jUAehd1odv

--HG--
extra : rebase_source : 9ba96ebb87590b97dcda03ac4e6777b6b98a12d1
2016-11-14 11:50:54 +02:00
Andi-Bogdan Postelnicu ae0295a290 Bug 1317241 - Replace string literals containing escaped characters with raw string literals in dom/. r=baku
MozReview-Commit-ID: FGjPRf0g3Yt

--HG--
extra : rebase_source : efe73faf1a5d3f26efea56e985bdbb586a6d1da8
2016-11-14 11:45:55 +02:00
Andi-Bogdan Postelnicu aaf2063029 Bug 1317241 - Replace default bodies of special member functions with = default in dom/. r=baku
MozReview-Commit-ID: 12AHOhrpaNO

--HG--
extra : rebase_source : 7881277a13fe7389b95635ee9b94f1686f56d142
2016-11-14 11:40:37 +02:00
Andi-Bogdan Postelnicu 4df235170d Bug 1317241 - Use auto type specifier where aplicable for variable declarations to improve code readability and maintainability in dom/. r=baku
MozReview-Commit-ID: CST7fV4h20h

--HG--
extra : rebase_source : 663d24e9c15d7b42023f1557b75fb8dabfc9b6a9
2016-11-14 11:35:58 +02:00
Andi-Bogdan Postelnicu b43be84495 Bug 1317241 - Converts for(...; ...; ...) loops to use the new range-based loops in C++11 in dom/. r=baku
MozReview-Commit-ID: ysMKgcL3YQ

--HG--
extra : rebase_source : 37ac432e1bca84a6ab34ab2b84577b6702ba6413
2016-11-14 11:31:11 +02:00
Carsten "Tomcat" Book f28942ae47 Merge mozilla-central to autoland 2016-11-15 12:34:47 +01:00
Carsten "Tomcat" Book 8cfa5253e8 merge mozilla-inbound to mozilla-central a=merge 2016-11-15 12:26:41 +01:00
Phil Ringnalda aee7b7f39e Merge m-c to autoland 2016-11-14 20:08:18 -08:00
Phil Ringnalda 8562d3859b Backed out changeset a8be4ebc85cf (bug 1313595) for permaorange unexpected assertion in test_referrerdirective.html, a=backout
MozReview-Commit-ID: GxBqDrHHg7z
2016-11-14 18:30:58 -08:00
Carsten "Tomcat" Book c7a033c3e2 merge mozilla-inbound to mozilla-central a=merge 2016-11-14 10:22:06 +01:00
KuoE0 8f59dc3a46 Bug 1316538 - [Presentation WebAPI] Test case for AndroidCastDeviceProvider, r=snorp
MozReview-Commit-ID: 3RU4toTdu36

--HG--
extra : rebase_source : 9eccb34cdd6b6de3cdac062435c4a96ab3a2968d
2016-11-03 18:06:48 +08:00
Iris Hsiao d9a1a0a083 Backed out changeset 9e9727bdc484 (bug 1306314) 2016-11-14 11:07:39 +08:00
Iris Hsiao 891306a89a Backed out changeset 9343cb73c218 (bug 1306314) 2016-11-14 11:07:28 +08:00
Iris Hsiao 8be72fb1e5 Backed out changeset e2a5702d96b0 (bug 1306314) 2016-11-14 11:07:23 +08:00
Iris Hsiao 85b8be1656 Backed out changeset d37e28309560 (bug 1306314) 2016-11-14 11:07:19 +08:00
Iris Hsiao cd600c5ab4 Backed out changeset 5c5600e1f30f (bug 1306314) for bustage 2016-11-14 11:07:13 +08:00
Chris Pearce 21137c728b Bug 1306314 - Allow Widevine CDM process to contain multiple CDM instances and to have persistent storage. r=gerald
This change ensures that we don't create a new random node Id for every
MediaKeys object using Widevine - which has the effect of ensuring
Widevine CDMs that are same origin get created in the same process, and
that persistent storage can be used and retrieved.

MozReview-Commit-ID: K55rkcu9jWo

--HG--
extra : rebase_source : 9bd789d05d1f5ed0a00eeb9870668e6335e899e6
2016-11-14 11:43:45 +13:00
Chris Pearce 14a0cc34ed Bug 1306314 - Use decryptor ID in WidevineAdapter to link decryptors with decoders. r=gerald
Store a mapping of decryptor ID to the CDM instance that the corresponding
WidevineDecryptor is using. This allows us to link GMPDecryptor instances
with the corresponding GMPVideoDecoder.

The CDM is stored inside the CDMWrapper, so that we destroy the CDM instance
when the last reference to the CDM is dropped.

MozReview-Commit-ID: FQYzh77yjoC

--HG--
extra : rebase_source : 7e8c264200e904a4f5a1311f11cd317d98df9791
2016-11-11 15:39:10 +13:00
Chris Pearce 7af167a212 Bug 1306314 - Pipe decryptor ID through to WidevineAdapter. r=gerald
MozReview-Commit-ID: HqRoImDhuFl

--HG--
extra : rebase_source : 7c8459af145e948a15eade34a842df92184353d4
2016-11-11 14:55:56 +13:00
Chris Pearce 5926bef365 Bug 1306314 - Pass decryptor ID to GMPVideoDecoder constructor. r=gerald
Retrieve the ID of the GMPDecryptor from the GMPCDMProxy, and pass that
through to the GMPVideoDecoder's constructor.

MozReview-Commit-ID: IuNsSroZ9Zu

--HG--
extra : rebase_source : 6f1db4a019deaedac07fa15c1958270268dcb941
2016-11-14 11:07:02 +13:00
Chris Pearce ec543ad267 Bug 1306314 - Add an ID to GMPDecryptor instances, reflect that on CDMProxy. r=gerald
This enables us to identify GMPDecryptor instances in the child process, so that
in a later patch when we create a GMPVideoDecoder instance, we can associate it
with a GMPDecryptor. Then the cdm::ContentDecryptionModule8 instance that these
two actors are adapted to can know whom it's supposed to respond to.

We use the IPDL PGMPDecryptorChild actor ID as the GMPDecryptor's ID. This is unique
per GMP process, which is sufficient.

MozReview-Commit-ID: 7NKND9VjPUW

--HG--
extra : rebase_source : 6ea7dfa358f8d13f7d36db5a581fc075268038b7
2016-11-11 12:10:43 +13:00
Jan-Ivar Bruaroey be144a7726 Bug 1318132 - Fix CamerasChild helper to return by value instead of out-of-scope reference (Coverity) r=jesup
MozReview-Commit-ID: 5RQodJ18MbA

--HG--
extra : rebase_source : 16af8788674198ab74cf44c7dc7cd87d1850aff9
2016-11-16 17:09:14 -05:00
Luca Greco ce8c6bf791 Bug 1318006 - Clone originAttributes on cached console message events. r=baku
MozReview-Commit-ID: tnWCa5CsuE

--HG--
extra : rebase_source : ef536e135cd415a9f1f476e30e5636f466a43d31
2016-11-16 18:03:08 +01:00
James Cheng 01e09b0a7f Bug 1317660 - Fix CID 1394336: Resource leaks in TestAudioPacketizer.cpp r=padenot
MozReview-Commit-ID: GAKgI6JVm52

--HG--
extra : rebase_source : d682b06c1d07bb089b73ff4d1473ff6b58b223d0
2016-11-15 18:20:32 +08:00
Stone Shih 86e2bca74e Bug 1315862 Part2: Add a test case to ensure pointer events aren't dispatched in the system group. r=masayuki
MozReview-Commit-ID: 4FR62yYlxAY

--HG--
extra : rebase_source : 634cef3c217ab427d12e8f961c59ed3a1248b267
2016-11-15 10:34:13 +08:00
Stone Shih 5d6aec8c60 Bug 1315862 Part1: Stop dispatching pointer events in the system group. r=masayuki,smaug
MozReview-Commit-ID: 8Xqp3bxlRFt

--HG--
extra : rebase_source : 25afbefb19e5ae613e9e493ea2f275a36004d523
2016-11-11 18:02:37 +08:00
Kilik Kuo f041399009 Bug 1307818-[P2] Setup MediaCrypto for both in-process and out-of-process decode. r=cpearce,jchen
MozReview-Commit-ID: Ehbm2u8LeLg

--HG--
extra : rebase_source : 63ddb16545e254b468e9f72f8c4ad7c957f8b29b
2016-11-16 22:10:01 +08:00
Kilik Kuo 5d9f1e5975 Bug 1307818-[P1] Provide drmStubId for CDMProxy and instantiate {Local,Remote}MediaDrmBridge. r=cpearce,jchen
MozReview-Commit-ID: EFPn4DOZq4D

--HG--
extra : rebase_source : 7f494fe6f6c6db897b50b159fcd001f3181f15cd
2016-11-16 22:09:34 +08:00
Stone Shih 386540035e Bug 1303704 Part3: [Pointer Event] Add test case to ensure preventDefault on pointerdown doesn't impact firing click event. r=masayuki
MozReview-Commit-ID: LiDffeN7hk6

--HG--
extra : rebase_source : e6d14606d07ebe9a17a39b48e13c8c21d11c99d3
2016-11-10 10:11:16 +08:00
Stone Shih 3a1d8c22f0 Bug 1303704 Part2: [Pointer Event] Enable prevent default on pointerdown related test cases. r=masayuki
MozReview-Commit-ID: CqwCm3uAYMW

--HG--
extra : rebase_source : effc632654b0215c5ef87358516d668c0562e1ee
2016-10-14 10:31:28 +08:00
Ray Lin 8c3d97d3bc Bug 1271765 - Part 2: Desktop media control visual refresh. r=jaws
MozReview-Commit-ID: 1GfyGmrhgCs

--HG--
extra : rebase_source : e3b49788ddac0537281c8e2fb33c66b31e631db3
2016-10-12 13:31:32 +08:00
Ray Lin 55062c0a73 Bug 1271765 - Part 2: Desktop video control visual refresh. r=jaws
MozReview-Commit-ID: 1GfyGmrhgCs

--HG--
extra : rebase_source : 8d4fc403c481fcdedf3976cdd97cc56ccc8344f9
2016-10-12 13:31:32 +08:00
Bryce Van Dyk 51b7a05529 Bug 1298027 - Shut down CDMs when a containing document becomes inactive. r=cpearce
The previous changeset against this bug relaxed the conditions under which the
CDM and associated objects were shut down. This was to address moving a tab to a
new window breaking EME videos. However, this had the unwanted side effect of
not shutting down those objects early enough when pages are closed.

This changeset introduces a new check to see if the containing document is
currently active, if not we shutdown the CDM. This means CDMs are shutdown on
time, while retaining the desired behaviour that CDMs should not be shut down on
moving tabs to new windows. Shutdowns previously happened because we shut down
if a page hide happened, which took place during a reparent.

MozReview-Commit-ID: K5CD3ej43Y0

--HG--
extra : rebase_source : 28fdc277a89c371ad204d5e545779a5950063494
2016-11-14 15:02:48 +13:00
Bryce Van Dyk 5dbd650b59 Bug 1298027 - Relax decoder shutdown and mediakey removal on MediaElement suspension. r=cpearce
This changeset relaxes the shutting down of decoders and removal of mediakeys
when suspending HTMLMediaElements. This should now only happen for adobe
primetime. This alleviates, for non-primetime CDMs, the issue of videos
breaking when moving an EME protected video from a tab to a new window.

These conditions can be relaxed as neither clearkey or widevine support
secure stop. This means we don't need to shutdown their decoders and keys to
signal a stoppage, as at this stage, doing so doesn't give us secure stop and
instead means that playback is busted when we try to resume.

MozReview-Commit-ID: 3MGNXGGDVLS

--HG--
extra : rebase_source : cbf46b3da089f79d9b6729a02997d1a0a12b68a7
2016-10-31 10:55:19 +13:00
Thomas Nguyen b169621e2e Bug 1264792 - Update request'referrer policy when redirect.r=bkelly,dragana.
MozReview-Commit-ID: 3V6W0fuRomZ

--HG--
extra : rebase_source : 4b708f9646ea42ef40c60ba0b7a86e14edf621e3
2016-11-14 15:15:32 +08:00
Chris Pearce 6f8b365df3 Bug 1306314 - Allow Widevine CDM process to contain multiple CDM instances and to have persistent storage. r=gerald
This change ensures that we don't create a new random node Id for every
MediaKeys object using Widevine - which has the effect of ensuring
Widevine CDMs that are same origin get created in the same process, and
that persistent storage can be used and retrieved.

MozReview-Commit-ID: K55rkcu9jWo

--HG--
extra : rebase_source : ebca24d2eeb4acd5fb14e0063cf2065c419853b1
2016-11-14 11:43:45 +13:00
Chris Pearce d60faf6fad Bug 1306314 - Use decryptor ID in WidevineAdapter to link decryptors with decoders. r=gerald
Store a mapping of decryptor ID to the CDM instance that the corresponding
WidevineDecryptor is using. This allows us to link GMPDecryptor instances
with the corresponding GMPVideoDecoder.

The CDM is stored inside the CDMWrapper, so that we destroy the CDM instance
when the last reference to the CDM is dropped.

MozReview-Commit-ID: FQYzh77yjoC

--HG--
extra : rebase_source : 772d4bead18a9b88e7f9ee30b0f169a192322e24
2016-11-11 15:39:10 +13:00
Chris Pearce 451c0b5421 Bug 1306314 - Pipe decryptor ID through to WidevineAdapter. r=gerald
MozReview-Commit-ID: HqRoImDhuFl

--HG--
extra : rebase_source : b153d8f7557c0bbf78ed04c01dd11b2400c324a7
2016-11-11 14:55:56 +13:00
Chris Pearce 1b21fde486 Bug 1306314 - Pass decryptor ID to GMPVideoDecoder constructor. r=gerald
Retrieve the ID of the GMPDecryptor from the GMPCDMProxy, and pass that
through to the GMPVideoDecoder's constructor.

MozReview-Commit-ID: IuNsSroZ9Zu

--HG--
extra : rebase_source : d678628dec67a059aec06918f07ea93ecc54a5f9
2016-11-14 11:07:02 +13:00
Chris Pearce b430a8a481 Bug 1306314 - Add an ID to GMPDecryptor instances, reflect that on CDMProxy. r=gerald
This enables us to identify GMPDecryptor instances in the child process, so that
in a later patch when we create a GMPVideoDecoder instance, we can associate it
with a GMPDecryptor. Then the cdm::ContentDecryptionModule8 instance that these
two actors are adapted to can know whom it's supposed to respond to.

We use the IPDL PGMPDecryptorChild actor ID as the GMPDecryptor's ID. This is unique
per GMP process, which is sufficient.

MozReview-Commit-ID: 7NKND9VjPUW

--HG--
extra : rebase_source : da14d9a8a7313a609e30649af1a23e79b3e401fe
2016-11-11 12:10:43 +13:00
Carsten "Tomcat" Book 17a7875e17 Merge mozilla-central to autoland 2016-11-17 14:46:26 +01:00
Jan-Ivar Bruaroey ddcb755bd0 Bug 1318163 - Remove unimplemented and non-spec getStreamById from RTCPeerConnection. r=smaug
MozReview-Commit-ID: CvuxuLEhAz1

--HG--
extra : rebase_source : b1a77420f070d8ff9f1eebb3adfaf6cee1e0fb7a
2016-11-16 18:50:49 -05:00
Dan Minor df1e61fa98 Bug 1308433 - In automation methods, when startTime is < AudioContext.currentTime, clamp to AudioContext.currentTime; r=padenot
MozReview-Commit-ID: ImnxgOiIdnG

--HG--
extra : rebase_source : 57f874281bf9cbb97b6f52bbb3f138b5c35edcc7
2016-11-08 09:29:35 -05:00
Sotaro Ikeda 92926a0f41 Bug 1317656 - Cleanup more gonk/b2g dependent code r=nical 2016-11-15 22:01:30 -08:00
Ehsan Akhgari 0e176830ff Bug 1311149 - Remove the b2g preallocated app support; r=baku 2016-11-15 23:21:28 -05:00
Chris Peterson ad2208605f Bug 1317108 - Stop scanning for the Windows Media Player plugin. r=jimm 2016-11-14 22:20:44 -08:00
Chris Peterson 14e98a8362 Bug 1317111 - Remove RealPlayer plugin quirk handling. r=mats
Delayed stop was only used for RealPlayer and forced reentry was only used by delayed stop (nsStopPluginRunnable).
2016-11-14 22:06:53 -08:00
Chris Peterson cd071486d0 Bug 1317110 - Remove QuickTime plugin quirks handling. r=jimm 2016-11-14 22:08:43 -08:00
Chris Peterson c331fa9ecb Bug 1317109 - Remove Acrobat plugin quirk handling. r=jimm 2016-11-14 23:37:44 -08:00
Ehsan Akhgari cb369370b3 Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact.  Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app.  In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed.  In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID.  Other notions of appId which were restricted to this
API have been removed.
2016-11-15 18:31:46 -05:00
Boris Zbarsky 9fa05c9f15 Bug 1317591. Get rid of IsCallerChrome usage in Navigator. r=bkelly
This restores the throwing behavior for .userAgent/appVersion/platform that was
incorrectly removed in bug 925847.
2016-11-15 17:44:43 -05:00
Joel Maher 2ef6db7b07 Bug 1316606 - fix test_save_restore_radio_groups.html to be run multiple times in the same browser. r=mounir
MozReview-Commit-ID: b1v8Of0BRJ
2016-11-15 13:26:34 -05:00
Milan Sreckovic 7bf73e0916 Bug 1313884: Part 2. Additional nullptr test and nightly/aurora crash if bad things happen. r=gw280 2016-11-15 12:56:16 -05:00
Boris Zbarsky 192d20fb6e Bug 1317606. Get rid of LegacyIsCallerChromeOrNativeCode in barprop code. r=bkelly 2016-11-15 12:46:32 -05:00
Boris Zbarsky 784a52fd02 Bug 1317720. Use NeedsCallerType instead of NeedsSubjectPrincipal for DataTransfer.types. r=mystor 2016-11-15 12:46:32 -05:00