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

38 Коммитов

Автор SHA1 Сообщение Дата
Sam Foster 58d620a957 Bug 1704970 - Move fxr's refresh icon to its own assets directory.
Differential Revision: https://phabricator.services.mozilla.com/D117094
2021-07-09 20:07:08 +00:00
Bernard Igiri bb0ba02a14 Bug 1660848 - Add a check for updates option to application menus r=fluent-reviewers,jaws,harry,Gijs,flod,mkaply
Adding a check for updates option to the application menu, changing the about dialog styling to match the mockup, and adding a minimum delay to the checking for updates message.

Differential Revision: https://phabricator.services.mozilla.com/D95195
2021-01-15 14:26:58 +00:00
Bogdan Tara 47070cef21 Backed out changeset 8dc3f02e20ca (bug 1660848) for multiple mochitest failures CLOSED TREE 2021-01-12 03:22:03 +02:00
Bernard Igiri f6d19cf7e6 Bug 1660848 - Add a check for updates option to application menus r=fluent-reviewers,jaws,harry,Gijs,flod,mkaply
Adding a check for updates option to the application menu, changing the about dialog styling to match the mockup, and adding a minimum delay to the checking for updates message.

Differential Revision: https://phabricator.services.mozilla.com/D95195
2021-01-11 22:37:05 +00:00
Ricky Stewart 02a7b4ebdf Bug 1654103: Standardize on Black for Python code in `mozilla-central`.
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00
Bogdan Tara da1098d4aa Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
Backed out changeset ff3fb0b4a512 (bug 1672023)
Backed out changeset e7834b600201 (bug 1654103)
Backed out changeset 807893ca8069 (bug 1518999)
Backed out changeset 13e6b92440e9 (bug 1518999)
Backed out changeset 8b2ac5a6c98a (bug 1518999)
Backed out changeset 575748295752 (bug 1518999)
Backed out changeset 65f07ce7b39b (bug 1518999)
Backed out changeset 4bb80556158d (bug 1518999)
Backed out changeset 8ac8461d7bd7 (bug 1518999)
Backed out changeset e8ba13ee17f5 (bug 1518999)
2020-10-24 03:36:18 +03:00
Ricky Stewart c0cea3b0fa Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-23 20:40:42 +00:00
Dorel Luca 1ff59cb7a3 Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE 2020-10-22 03:51:06 +03:00
Ricky Stewart 50762dacab Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-21 21:27:27 +00:00
Marco Bonardo 1019bbf009 Bug 1626016 - Remove createFixupURI and move postData inside URIFixupInfo. r=Gijs,geckoview-reviewers,preferences-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D93189
2020-10-13 10:20:16 +00:00
Kris Maglione 9d78661f88 Bug 1649221: Update ChromeUtils.generateQI callers to pass strings. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,preferences-reviewers,agi,whimboo,Bebe,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D81594
2020-07-10 23:58:28 +00:00
Gijs Kruitbosch d523471eac Bug 1644863 - fix trailing whitespace in browser/toolkit/devtools/mobile frontend code files, r=mossop,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D79201
2020-06-17 22:40:53 +00:00
Tim Nguyen efcd5a4bff Bug 1201243 - Make browser/components/preferences/in-content top-level and move dialogs to a subdirectory. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D72038
2020-04-22 23:35:08 +00:00
thomasmo b841095b22 Bug 1608844 - WebExtensions do not run in FxRPC content processes r=zombie
This change introduces a content script, fxr-content.js, that runs in content processes associated with an FxR PC window. This new script notifies observers of "tab-content-frameloader-created", which allows for WebExtensions content script to be injected into the content process.

Differential Revision: https://phabricator.services.mozilla.com/D59887

--HG--
extra : moz-landing-system : lando
2020-01-15 15:14:15 +00:00
Neil Deakin 16f95497b9 Bug 1601301, rework webrtc permission granting UI around JSWindowActor, performing the work of determining the ultimate state for the tab icon and menu in the parent rather than the content process, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D56570

--HG--
rename : browser/modules/webrtcUI.jsm => browser/actors/WebRTCParent.jsm
extra : moz-landing-system : lando
2020-01-10 15:09:59 +00:00
thomasmo 733252acc8 Bug 1603524 - FxR PC Preview UI tweaks r=Gijs
This change updates colors and spacing for some of the UI elements.

Differential Revision: https://phabricator.services.mozilla.com/D56975

--HG--
extra : moz-landing-system : lando
2019-12-13 18:33:44 +00:00
thomasmo e6655d9d96 Bug 1599846 - Enable Background WebExtension scripts in FxR on PC r=zombie
This change allows for background scripts from WebExtensions to run in the FxR on PC chrome window. In this scenario, the promise ExtensionParent.browserStartupPromise is never fulfilled because it depends on the notification sessionstore-windows-restored, which doesn't occur because the FxR window does not participate in SessionStore.
To address this issue, browserStartupPromise is now a race between the original notification and a new one, extensions-late-startup, which is fired from fxrui.js.

Differential Revision: https://phabricator.services.mozilla.com/D55058

--HG--
extra : moz-landing-system : lando
2019-11-30 04:19:46 +00:00
thomasmo 3caaa7297a Bug 1598328 - Support FxR PC chrome UI on non-Windows machines r=bgrins,Gijs,florian
Differential Revision: https://phabricator.services.mozilla.com/D54148

--HG--
extra : moz-landing-system : lando
2019-11-25 12:55:21 +00:00
thomasmo d4926629a3 Bug 1591755 - Support Web Permissions in FxR for Desktop r=Gijs,pbz
This change will be the first of multiple changes to control permissions in FxR on PC. This change introduces a new class, FxrPermissionPromptPrototype, in the FxR front end code. With the introduction of this class, all permission requests are denied by default. Subsequent changes will provide UI to give user control.

Differential Revision: https://phabricator.services.mozilla.com/D52283

--HG--
extra : moz-landing-system : lando
2019-11-14 18:51:32 +00:00
thomasmo 55deef9140 Bug 1589913 - Update FxR Desktop default home page r=kip,bzbarsky
This change updates the home page to webxr.today for Firefox Realty on Desktop. Further, since WebVR is not supported yet, this change includes a way to disable WebVR specifically for FxR windows without impacting Desktop Fx.

Differential Revision: https://phabricator.services.mozilla.com/D51426

--HG--
extra : moz-landing-system : lando
2019-11-06 14:53:08 +00:00
Brindusan Cristian 9a4043957e Backed out changeset c3813936e074 (bug 1589913) for mochitest assertion failures at nsGlobalWindowInner.cpp. CLOSED TREE 2019-11-06 02:42:43 +02:00
thomasmo 3ebc22a35d Bug 1589913 - Update FxR Desktop default home page r=kip,bzbarsky
This change updates the home page to webxr.today for Firefox Realty on Desktop. Further, since WebVR is not supported yet, this change includes a way to disable WebVR specifically for FxR windows without impacting Desktop Fx.

Differential Revision: https://phabricator.services.mozilla.com/D51426

--HG--
extra : moz-landing-system : lando
2019-11-05 22:45:38 +00:00
Oana Pop Rus 3d0252d00b Backed out 2 changesets (bug 1589913) on request from bz on a CLOSED TREE
Backed out changeset e8ee20fdf6ac (bug 1589913)
Backed out changeset 12d046056948 (bug 1589913)
2019-11-01 17:32:59 +02:00
thomasmo d3ac95a94e Bug 1589913 - Update FxR Desktop default home page r=kip,daoshengmu
This change updates the home page to webxr.today for Firefox Realty on Desktop. Further, since WebVR is not supported yet, this change includes a way to disable WebVR specifically for FxR windows without impacting Desktop Fx.

Differential Revision: https://phabricator.services.mozilla.com/D49840

--HG--
extra : moz-landing-system : lando
2019-10-30 13:54:49 +00:00
thomasmo 351a434e71 Bug 1592019 - Miscellaneous 2D UI tweaks for FxR Desktop r=Gijs,PhilipLamb
This change makes several small changes:
- Update default window size to 16:9 ratio for common fullscreen video size
- Update license URL
- Fix spacing of settings icon in nav bar
- make the window have Private Browsing behavior by default

Differential Revision: https://phabricator.services.mozilla.com/D50843

--HG--
extra : moz-landing-system : lando
2019-10-29 21:15:15 +00:00
thomasmo bb892f4320 Bug 1590808 - Use Preview logo for FxR Desktop Settings r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D50249

--HG--
extra : moz-landing-system : lando
2019-10-24 20:50:29 +00:00
thomasmo fe82b4a4db Bug 1587521 - Enable FullScreen in FxR for Desktop r=mconley,Gijs
Bug 1587521 - Enable FullScreen in FxR for Desktop

This change enables Fullscreen functionality in the UI for Firefox Reality for Desktop. On Fullscreen, the window (rather than the desktop) is taken over, and it is up to the host to render the contents as fullscreen.

To mitigate the impact on Desktop's implementation, browser-fullScreenAndPointerLock.js is forked and removes the dependencies on browser.js. These two files will be rationalized at a later time.

Differential Revision: https://phabricator.services.mozilla.com/D48913

--HG--
rename : browser/base/content/browser-fullScreenAndPointerLock.js => browser/fxr/content/fxr-fullScreen.js
extra : moz-landing-system : lando
2019-10-18 00:15:08 +00:00
thomasmo 5439857160 Bug 1570139 - Add Settings to FxR UI Menu r=johannh,Gijs
This change adds and integrates a Preferences UI for Firefox Reality on Desktop. This simple page supports 3 behaviors:
- Viewing the privacy policy
- Toggly Telemetry
- Clearing User Data
The latter two have an impact on the desktop install of Firefox associated with this instance of FxR.

Subsequent changes will update the UI to design specifications as well as migrate the strings to Fluent.

Differential Revision: https://phabricator.services.mozilla.com/D48186

--HG--
extra : moz-landing-system : lando
2019-10-16 02:49:43 +00:00
Marco Bonardo cff612c7b4 Bug 1586681 - Ensure URIFIxup uses the right engine when there's a separate PB engine. r=Standard8,Gijs
Add a new FIXUP_FLAG_PRIVATE_CONTEXT to nsIURIFixup, make it use the default
private search engine when it's set.
Update consumers to pass the new flag when necessary.

Differential Revision: https://phabricator.services.mozilla.com/D48741

--HG--
extra : moz-landing-system : lando
2019-10-12 12:37:51 +00:00
thomasmo 48ca0e736f Bug 1585311 - Update FxR Desktop 2D UI r=Gijs
This change makes several changes to the 2D UI, including
- moving the nav bar to the botom of the screen
- removing the FxR logo from the nav bar
- updating colors to new pallette
- refactoring CSS to separate color rules into a separate file

Differential Revision: https://phabricator.services.mozilla.com/D47769

--HG--
extra : moz-landing-system : lando
2019-10-03 22:22:24 +00:00
thomasmo 5bc5a92887 Bug 1570130 - Add Search to FxR Url Bar r=Gijs
This change updates the URL bar in Firefox Reality for Desktop to support
searching with the default provider when a not-well-formed URL is input by the
user.

Differential Revision: https://phabricator.services.mozilla.com/D47292

--HG--
extra : moz-landing-system : lando
2019-09-26 21:16:53 +00:00
thomasmo 9517432844 Bug 1570120 - Create FxR HTML UI with navigation r=Gijs
This change introduces the HTML-based UI for the 2D Content window in Firefox
Reality for Desktop, accessed via the --fxr command line parameter.

Differential Revision: https://phabricator.services.mozilla.com/D42546

--HG--
extra : moz-landing-system : lando
2019-09-05 19:25:42 +00:00
Csoregi Natalia 321d7f8f17 Backed out changeset e16dda7ba4bf (bug 1570120) for failures on browser_parsable_css.js related to custom properties. CLOSED TREE 2019-09-05 06:21:44 +03:00
thomasmo de1b47b157 Bug 1570120 - Create FxR HTML UI with navigation r=Gijs
This change introduces the HTML-based UI for the 2D Content window in Firefox
Reality for Desktop, accessed via the --fxr command line parameter.

Differential Revision: https://phabricator.services.mozilla.com/D42546

--HG--
extra : moz-landing-system : lando
2019-09-04 20:30:14 +00:00
thomasmo afb76f5fe2 Bug 1570123 - Export Input functions from vrhost r=kip
This change adds a new export, SendUIMessageToVRWindow, from vrhost.dll
that allows the caller to forward a subset of UI messages to the VR
window in Firefox.

Differential Revision: https://phabricator.services.mozilla.com/D40828

--HG--
extra : moz-landing-system : lando
2019-08-09 22:41:23 +00:00
thomasmo de6f69fb39 Bug 1565296 - Implement Command Line Handler for FxR on desktop r=mossop,Gijs
This change adds functionality for the new command line argument, --fxr. This
will be used to create a new, separate browser window for Firefox Reality on
desktop.

Differential Revision: https://phabricator.services.mozilla.com/D37957

--HG--
extra : moz-landing-system : lando
2019-07-29 20:11:27 +00:00
Cosmin Sabou cb6719040b Backed out changeset 1558caa1157d (bug 1565296) for browser chrome failures on fxrui.html.
--HG--
extra : rebase_source : 89be7e7eca926e037b7b837add434b907a7e526a
2019-07-23 12:46:58 +03:00
thomasmo 1858572459 Bug 1565296 - Implement Command Line Handler for FxR on desktop r=mossop,Gijs
This change adds functionality for the new command line argument, --fxr. This
will be used to create a new, separate browser window for Firefox Reality on
desktop.

Differential Revision: https://phabricator.services.mozilla.com/D37957

--HG--
extra : moz-landing-system : lando
2019-07-22 22:50:09 +00:00