Jan-Ivar Bruaroey
c748766f3d
Bug 1452031 - Close fingerprint concern by removing code no longer needed to handle NotFoundError spec case. r=pehrsons
...
MozReview-Commit-ID: KVQjO18PL0I
2018-04-10 01:49:15 -04:00
Johann Hofmann
4efad2b1a0
Bug 1442294 - Downgrade global streaming indicator when a higher priority device has been disabled. r=florian
...
MozReview-Commit-ID: 6GxXNsB6xYy
2018-03-08 14:08:21 +01:00
Florian Quèze
f1a55f73f8
Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8.
2018-02-23 20:50:01 +01:00
Johann Hofmann
70ab74c1b1
Bug 1333468 - Part 1 - Move WebRTC sharing indicator into the identity block and add a paused state. r=florian
...
MozReview-Commit-ID: ETi6nX2Eapc
2017-11-16 19:33:19 +01:00
Andrew McCreight
272cee1e65
Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
...
This patch was autogenerated by my decomponents.py
It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.
It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.
It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)
MozReview-Commit-ID: DeSHcClQ7cG
2018-02-06 09:36:57 -08:00
Andreas Pehrson
46eab681f6
Bug 1299515 - Wire up track-disabling logic to frontend APIs. r=jib, r=johannh
...
This modifies mediaCaptureWindowState() to say whether a camera or microphone is
actively captured or not. Note that this is not the same as the device being
on or off. If we disallow a device from being off while disabled, we still
notify chrome that we're not actively capturing.
MozReview-Commit-ID: B1taormqc3j
2017-11-17 20:13:06 +01:00
Kris Maglione
0bb74efdf1
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Cosmin Sabou
f09d6d985d
Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
...
Backed out changeset a1eca62826a1 (bug 1431533 )
Backed out changeset 34c999fa006b (bug 1431533 )
Backed out changeset e2674287e57f (bug 1431533 )
2018-01-30 07:17:48 +02:00
Kris Maglione
fd67f090b2
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Brindusan Cristian
483ba301cb
Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
...
Backed out changeset 6e56f4c8843e (bug 1431533 )
Backed out changeset 12fc4dee861c (bug 1431533 )
2018-01-30 02:32:43 +02:00
Kris Maglione
683a97d172
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Johann Hofmann
ed86084f85
Bug 1345077 - Part 2 - Add telemetry on permission requests from third party origins, handling user input and insecure contexts. r=florian,liuche
...
MozReview-Commit-ID: 4ARIxa6gwCg
2018-01-10 21:07:59 +01:00
Johann Hofmann
311fa5ab19
Bug 1366357 - Use origin instead of documentURI for WebRTC permission requests. r=florian
...
MozReview-Commit-ID: IkccA65Ma3a
2017-06-13 12:10:39 +02:00
Brindusan Cristian
26e63c1657
Backed out changeset c6d592ebf8cd (bug 1366357) for browser-chrome failure in browser_displayURI.js on Windows 7 debug non-e10s a=backout r=backout on a CLOSED TREE
2017-12-05 23:50:31 +02:00
Johann Hofmann
5f54ad3fdf
Bug 1366357 - Use origin instead of documentURI for WebRTC permission requests. r=florian
...
MozReview-Commit-ID: IkccA65Ma3a
2017-06-13 12:10:39 +02:00
Mark Banner
5ab2bd1b7a
Bug 1421376 - Change various instances of manually calling getService to use Services.jsm in browser/. r=mossop
...
MozReview-Commit-ID: FW3X2fkOwK2
2017-11-28 19:21:33 +00:00
Rajesh Kathiriya
bfb3762076
Bug 1374670 - Enabled the ESLint no-tabs rule across mozilla-central r=standard8
...
MozReview-Commit-ID: RT5QTipaOW
2017-07-04 21:30:18 +05:30
Florian Queze
aca1103c68
Bug 1356569 - Remove appendElement's last parameter when it is false, r=jaws.
2017-04-14 21:51:39 +02:00
Sebastian Hengst
4189eac09e
Backed out changeset e1f191aad863 (bug 1356569)
2017-04-14 23:39:17 +02:00
Florian Queze
6c119a88d3
Bug 1356569 - Remove appendElement's last parameter when it is false, r=jaws.
2017-04-14 21:51:39 +02:00
Andrew McCreight
d0b676b9b5
Bug 1352522, part 1 - Add ContentWebRTC observers in ContentObservers.js. r=florian
...
This avoids importing ContentWebRTC.jsm just to register observers
that may never observe anything. Avoiding importing .jsms reduces
memory usage.
ContentObserver.js gets loaded once per content process, so I think
the ._initialized stuff is not needed in the process script.
MozReview-Commit-ID: 5r9L3bfFS0U
2017-04-07 08:48:58 -07:00
Florian Quèze
4a0174d186
Bug 1335807 - JavaScript Error: 'NS_NOINTERFACE: ' {file: 'resource:///modules/ContentWebRTC.jsm' line: 387}, r=felipe.
2017-02-16 00:13:46 +01:00
Munro Mengjue Chiang
27162b8c37
Bug 1335794 - Fix JavaScript Error (TypeError: mm is null) by adding a null checking; r=florian
...
MozReview-Commit-ID: 9CdsvEU4AOa
2017-02-02 11:39:08 +08:00
Munro Mengjue Chiang
2c08e712f8
Bug 1270572 - allow un-prompted gUM access if the page has a live track connected to the same device; r=florian,gcp,smaug
...
MozReview-Commit-ID: EvATqR4NNTH
2017-01-19 12:24:59 +08:00
Jared Wein
242ab87626
Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
...
MozReview-Commit-ID: FuVu8skcqOe
2016-12-30 21:47:25 -05:00
Jared Wein
e3149c378f
Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
...
MozReview-Commit-ID: 7E7LPorrEje
2016-12-29 18:34:54 -05:00
Wes Kocher
2d7553dcfd
Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
...
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein
34e228f767
Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
...
MozReview-Commit-ID: 8WoGr8i6oCR
2016-12-29 15:20:47 -05:00
Dave Townsend
4e295aa48d
Bug 1316882: Turn on space-before-function-paren eslint rule (browser). r=jaws
...
MozReview-Commit-ID: 2ZvTiZDHchz
2016-11-11 08:10:51 -08:00
Florian Quèze
95cb9a3860
Bug 1284878 - display a scary warning when the user is about to share Firefox or the whole screen, r=Gijs.
2016-11-07 12:15:37 +01:00
Florian Quèze
e2e4967377
Bug 1284877 - show a preview when the user selects a screen/window/application to share, r=Gijs.
2016-11-07 12:14:29 +01:00
Jared Wein
0c024fa9ca
Bug 1312486 - Enable no-extra-boolean-cast, no-new-object, no-shadow-restricted-names, and spaced-comment rules for eslint. r=standard8
...
MozReview-Commit-ID: 7Gx90a5y8t6
2016-10-24 13:14:19 -04:00
Eric Rahm
f6508933a4
Bug 1308615 - Part 2: Stop using nsISupportsArray for observer messages. r=jesup
...
This removes the rest of the usage of nsISupportsArray in MediaManager.
MozReview-Commit-ID: EqXTRNyKiva
2016-10-14 10:06:37 -07:00
Eric Rahm
cee1f546ea
Bug 1308615 - Part 1: Use nsIArray in nsIMediaManagerService. r=jesup
...
This converts nsIMediaManagerService to use nsIArray rather than
nsISupportsArray. All usages of the interface are updated.
MozReview-Commit-ID: 1PLczEptf59
2016-10-14 10:06:27 -07:00
Carsten "Tomcat" Book
7b33bd5936
Backed out changeset 9c7364b4579d (bug 1308615) for suspicion that this caused pgo windows test crashes
2016-10-14 14:59:36 +02:00
Carsten "Tomcat" Book
f5ba163df8
Backed out changeset 5af415bbb107 (bug 1308615)
2016-10-14 14:58:51 +02:00
Eric Rahm
a6b0bdca6e
Bug 1308615 - Part 2: Stop using nsISupportsArray for observer messages. r=jesup
...
This removes the rest of the usage of nsISupportsArray in MediaManager.
MozReview-Commit-ID: EqXTRNyKiva
2016-10-13 22:02:58 -07:00
Eric Rahm
0f75881e28
Bug 1308615 - Part 1: Use nsIArray in nsIMediaManagerService. r=jesup
...
This converts nsIMediaManagerService to use nsIArray rather than
nsISupportsArray. All usages of the interface are updated.
MozReview-Commit-ID: 1PLczEptf59
2016-10-13 22:02:47 -07:00
Jared Wein
4518d81cb5
Bug 1292042 - Enable the keyword-spacing rule for eslint. Most of this patch was autogenerated by 'eslint --fix'. Files with .xml extension needed to be changed by hand due to limitations of custom plugin. r=markh
...
MozReview-Commit-ID: EMjJ3yWt9Wt
2016-08-04 03:28:58 -04:00
Florian Quèze
dd61c75c8c
Bug 1104054 - The 'recording-window-ended' notification from a subframe shouldn't remove the sharing indicator of the whole browser, r=felipe.
2016-04-26 17:42:51 +02:00
Florian Quèze
09a9545603
Bug 1258019 - avoid JS errors on closed windows in ContentWebRTC.jsm, r=felipe.
2016-04-05 12:13:45 +02:00
Jan-Ivar Bruaroey
30bc729116
Bug 1224766 - forward callID to disambiguate multiple gUM requests from same window. r=jesup,smaug
2016-01-07 17:30:10 -05:00
Gijs Kruitbosch
c89a48d864
Bug 1233470 - make browser/modules eslintable, r=Mossop
2015-12-17 18:31:08 +00:00
Jan-Ivar Bruaroey
793d6cab8b
Bug 1207784 - skip permission hooks in createOffer when called from hiddenWindow (add-ons). r=mt
2015-10-16 12:16:24 -04:00
Felipe Gomes
52d969d093
Bug 1109087 - Follow-up fix for incorrect function name. r=florian
2015-08-13 10:12:00 -04:00
Felipe Gomes
8eb83273e0
Bug 1109087 - Handle WebRTC indicators' states across multiple processes. r=florian
2015-08-12 16:50:55 -03:00
Jan-Ivar Bruaroey
5963ef300e
Bug 1189060 - add CreateOfferRequest.webidl interface for add-ons r=florian,peterv
2015-08-11 13:48:55 -04:00
Jan-Ivar Bruaroey
1ded5f09d6
Bug 1189060 - let webrtcUI.jsm etc. block initial Offer/Answer exchange through hook. r=florian,fabrice,mfinkle,mt
2015-08-07 15:22:30 -04:00
Paul Adenot
1a2e21b403
Bug 1156472 - Part 9 - Implement the minimum frontend to play with the feature. r=gijs,florian
2015-07-24 14:28:17 +02:00
Wes Kocher
548360d6f6
Backed out 14 changesets (bug 1156472) for test_getUserMedia_audioCapture.html failures on b2g emulator
...
Backed out changeset deec8eb18346 (bug 1156472)
Backed out changeset 0f5bec4c05ba (bug 1156472)
Backed out changeset 2dd83ac00bf9 (bug 1156472)
Backed out changeset abd4e47887f7 (bug 1156472)
Backed out changeset 4824d9874663 (bug 1156472)
Backed out changeset 12805598e6fa (bug 1156472)
Backed out changeset e2f0062a1f67 (bug 1156472)
Backed out changeset 99ef8e436a7f (bug 1156472)
Backed out changeset 65bbfc1546af (bug 1156472)
Backed out changeset 2ab4f16eaf0a (bug 1156472)
Backed out changeset 7f565685e20a (bug 1156472)
Backed out changeset 28c03c98cb2b (bug 1156472)
Backed out changeset d477cfba6e1d (bug 1156472)
Backed out changeset 9819fa56caa1 (bug 1156472)
2015-07-24 13:15:57 -07:00