PSA - Planning to enable VR service process on desktop (Linux, macOS, and Windows)

2018-08-20 Thread Kip Gilbert
Hello all,

In order to unblock sandboxing of the GPU process and efforts to re-enable 
macOS WebVR support, we are moving the VR device interfacing code to its own 
“VR Service” process.  This process will only be launched when a user accesses 
a WebVR site.

The bugs to enable this by default will flip two prefs:

Bug 1476092 (Enable the VR process by default)
Bug 1473399 (Enable VRService thread by default)

This change will not affect the WebVR API or otherwise be user facing.

I expect to flip these prefs before the upcoming soft-freeze (2018-08-23).

Any feedback is welcome, thanks!

Cheers,

  *   Kearwood “Kip” Gilbert

___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: PSA: mercurial-setup becomes vcs-setup and adds support for git

2018-08-20 Thread Andrew Halberstadt
This is awesome, thanks for working on it! I filed a follow-up to
detect the vcs automatically (bug 1484243).

In the meantime, if you are a git user you can create an alias in
~/.mozbuild/machrc:
[alias]
vcs-setup = vcs-setup --git

On Fri, Aug 17, 2018 at 3:51 AM Panos Astithas  wrote:

> Hi all,
>
> since bug 1257478 landed in m-c earlier today, you should now be using
> 'mach vcs-setup' instead of 'mach mercurial-setup'. Nothing else changes in
> your workflow (e.g. 'mach mercurial-setup -u' becomes 'mach vcs-setup -u')
> and the spell checker will suggest vcs-setup if you try to use
> mercurial-setup.
>
> If you are a git-cinnabar user, your workflow is now supported. 'mach
> vcs-setup --git' will fetch the latest recommended version of git-cinnabar
> and configure it for you. The --update-only flag is also available for git,
> so it would be a good idea to run 'mach vcs-setup --git --update-only' (or
> 'mach vcs-setup -gu') every now and then to make sure everything is up to
> date.
>
> 'mach bootstrap' will also offer to update and configure your git-cinnabar
> environment if a git checkout is detected.
>
> Cheers,
> Panos
>
> ___
> firefox-dev mailing list
> firefox-...@mozilla.org
> https://mail.mozilla.org/listinfo/firefox-dev
>
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


RE: Fission MemShrink Newsletter #2

2018-08-20 Thread Marissa (Reese) Morris
This is awesome!  Great job!

 

Marissa (Reese) Morris | Cell Phone   303-506-3282 |  
 re...@mozilla.com | Slack: #Marissa (Reese)

 

From: firefox-dev  On Behalf Of Eric Rahm
Sent: Thursday, August 16, 2018 1:41 PM
To: firefox-dev ; dev-platform 

Subject: Fission MemShrink Newsletter #2

 

Hi Folks!

 

The Fission MemShrink project has been chugging along quite nicely and a ton of 
progress has been made over the past month. There's been a large focus on 
reducing the JS memory usage and we've managed to drop the base content JS 
measure 

  by ~1.1MB (17%) [1]:

 

  

 

 

Additionally we've started looking at the overhead of our many threads 
  [2], drafted up some 
ideas on reducing relocation overhead by adopting a fork server 
  on linux/mac [3], and 
we're looking at reducing the overhead of per process font related data 
  [4].

 

Below is a sampling of the bugs that have improved memory usage over the past 
month, apologies if I left any off! Please feel free to point out other 
improvements. All numbers are per content process.

 

JS improvements

*   In a great example of every little bit counts, Kris Maglione reduced 
memory usage by 405KB in various bugs that made us lazily load JS content ( 
 Bug 1472491,  
 Bug 1473631,  
 Bug 1474139,  
 Bug 1474155,  
 Bug 1479241,  
 Bug 1479245,  
 Bug 1479309,  
 Bug 1479310,  
 Bug 1479312,  
 Bug 1479313,  
 Bug 1479318,  
 Bug 1480319,  
 Bug 1480327,  
 Bug 1483363)
*   Kris also reduced memory usage by 494KB by getting rid of 
MessageManager globals (Bug 1480244 
 )
*   Felipe Gomes reduced memory usage by 95KB by lazily loading JS content 
(Bug 1369466  , Bug 
1470324  )
*   Mike Kaply reduced memory usage by 65KB by converting an add-on to in 
tree telemetry (Bug 1475571 
 )
*   Dão Gottwald reduced memory uasge by 57KB by lazily generating 
thumbnails for the Ctrl+Tab panel (Bug 1481321 
 )
*   Nick Nethercote reduced memory usage by 44KB by making 
mozilla::HashMaps lazily allocate their storage (Bug 1481998 
 )
*   Benjamin Bouvier reduced memory usage by 25KB by removing SIMD.js (Bug 
1416723  )

Threading Overhead

*   Kris added measurements for thread stacks across platforms (Bug 1475899 
 , Bug 1476405 
 , Bug 1477512) 
 
*   Kris reduced memory usage on Linux by ~3MB (that's megabytes!) by 
changing our default stack size (Bug 1476828 
 )
*   Eric Rahm (this author) reduced memory usage by 50KB by reducing the 
amount of networking threads (Bug 1448034 
 )
*   Xidorn Quan committed an upstream Rust patch (rust-lang/rust#52847 
 ) to fix how stack sizes are 
set on windows after Kris' initial investigation (Bug 1479250 
 ) 

Font Overhead

*   The winner of biggest improvement with the smallest change goes to Lee 
Salzman who reduced memory usage on OSX by 10MB by reducing the skia glyph 
cache (Bug 1258781  )

Lessons learned

 

Small fixes add up, removing dead code not only helps code quality but can save 
memory, adding measurements is important, caches can be easy targets. If you 

Proposed W3C Charter: Immersive Web Working Group

2018-08-20 Thread L. David Baron
The W3C is proposing a new charter for:

  Immersive Web Working Group
  https://www.w3.org/2018/08/immersive-web-wg-charter.html
  https://lists.w3.org/Archives/Public/public-new-work/2018Aug/0006.html

Mozilla has the opportunity to send comments or objections through
Friday, September 14.

Please reply to this thread if you think there's something we should
say as part of this charter review, or if you think we should
support or oppose it.  Given that we're involved, we should probably
have some comment, even if it's simply in support.

-David

-- 
턞   L. David Baron http://dbaron.org/   턂
턢   Mozilla  https://www.mozilla.org/   턂
 Before I built a wall I'd ask to know
 What I was walling in or walling out,
 And to whom I was like to give offense.
   - Robert Frost, Mending Wall (1914)


signature.asc
Description: PGP signature
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


[desktop] Bugs logged by Desktop Release QA in the last 7 days

2018-08-20 Thread Bogdan Maris
Hello,

Here's the list of new issues found and filed by the Desktop Release QA team 
last two weeks.
Additional details on the team's priorities last week, as well as the plans for 
the current week are available at: https://tinyurl.com/yb7ktxsc
Bugs logged by Desktop Release QA in the last 7 days

Firefox: Sync
NEW - https://bugzil.la/1483866 - [Ubuntu] Visual glitch inside the Disconnect 
Sync dialog

Firefox: Bookmarks & History
NEW - https://bugzil.la/1483931 - User should be notify if any attempt to save 
the same keyword for a bookmark, that was already saved for a search engine

Firefox: Activity Streams: Newtab
NEW - https://bugzil.la/1484199 - The default Top Stories position is annulled 
by section reordering
NEW - https://bugzil.la/1484631 - A way to bypass the @amazon and @google 
keywords on the awesome-bar
NEW - https://bugzil.la/1484661 - CTRL+ENTER on @amazon and @google brings up 
login confirmation window

Firefox: Toolbars and Customization
NEW - https://bugzil.la/1484275 - Hamburger menu breaks after force opening it 
during a bookmark animation

Firefox: General
NEW - https://bugzil.la/1483214 - Black shadow is displayed behind the text in 
about:welcome page when Dark theme is enabled

Core: Widget: Win32
NEW - https://bugzil.la/1482953 - [meta] Windows 10 "Redstone 5" tracking bug

Core: Networking: HTTP
NEW - https://bugzil.la/1483193 - Weather.com website cannot be loaded: "The 
page isn't redirecting properly" in EU countries

Toolkit: Video/Audio Controls
NEW - https://bugzil.la/1482920 - [Redstone 5] Video does not enter correctly 
in full screen if the FF window is snapped

Toolkit: Data Sanitization
NEW - https://bugzil.la/1483271 - Clearing all cookies doesn't remove them

Tech Evangelism: Desktop
NEW - https://bugzil.la/1483220 - Camera not found trying to stream on Facebook

DevTools: Console   
NEW - https://bugzil.la/1482796 - :screenshot - high dpr/fullpage options cause 
browser to crash
NEW - https://bugzil.la/1482799 - :screenshot -- fullpage while being zoomed at 
300% triggers no action on macOS
NEW - https://bugzil.la/1482800 - :screenshot - command line issues
NEW - https://bugzil.la/1482807 - :screenshot - selector option issues
NEW - https://bugzil.la/1482811 - :screenshot - autocomplete issues
NEW - https://bugzil.la/1482813 - :screenshot - delay option on devTools or 
browser close

DevTools: Inspector
NEW - https://bugzil.la/1482869 - 3-pane info pop-up not sticking to button on 
DevTools section zoom

DevTools: Inspector
RESOLVED FIXED - https://bugzil.la/1483134 - Inspector/3-pane scroll bar 
expands over headers on zoom or devTools height resize
NEW - https://bugzil.la/1483868 - [Win] Title tooltips from inspector sidebar 
tabs - extra space on zoom-out to max

This is available as a Bugzilla bug list as well: https://tinyurl.com/y9lxpmzc

Regards,
Bogdan (:bogdan_maris)
Desktop Release QA

___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform