Commit graph

17 commits

Author SHA1 Message Date
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
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
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
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