Skip to content
Snippets Groups Projects
  1. Sep 08, 2017
  2. Sep 10, 2017
  3. Sep 07, 2017
    • Nicholas Nethercote's avatar
      Bug 1397628 - Don't auto-atomize strings passed from script. r=kmag. · 50c7852f
      Nicholas Nethercote authored
      If you pass a string from script to an IDL method that takes an nsIAtom,
      XPConnect will automagically atomize the string for you.
      
      But nsIAtom is no longer scriptable (see the blockers for bug 1392883,
      especially bug 1396694). So the code to convert can be removed.
      
      --HG--
      extra : rebase_source : af85fa48c1988348d3a9a81b05ed43403d3b730a
      50c7852f
  4. Sep 10, 2017
  5. Sep 09, 2017
    • Kris Maglione's avatar
      Bug 1398499: Part 2 - Add MOZ_LOADER_SHARE_GLOBAL env var to toggle global sharing. r=mccr8 · 60e49ffd
      Kris Maglione authored
      User preference changes currently don't reliably take effect before component
      loader initialization, which means they can't be used to write reliable tests.
      Environment variables don't have this problem, so adding an environment
      variable override makes testing much easier. It's also fairly convenient
      during development, when we need to switch between different configurations
      for testing.
      
      MozReview-Commit-ID: 8PufRQNRnoU
      
      --HG--
      extra : rebase_source : c5ca2f3cb18a8398c95bbbf86e2cd27430f5161a
      60e49ffd
    • Kris Maglione's avatar
      Bug 1398499: Part 1 - Use separate cache paths for shared/unshared scripts. r=mccr8 · 8b676de4
      Kris Maglione authored
      Scripts for use in shared globals need to be compiled for non-syntactic
      scopes, while scripts for standalone globals should be compiled as global
      scripts for better performance.
      
      Since the startup cache and script preloader store scripts as they were
      compiled in the last session, when global sharing settings may have been
      different, it can lead to a mismatch, and a crash, due to loading the wrong
      type of script.
      
      Using a separate cache path for each type of script fixes this problem, since
      it ensures that the cached script will always be of the type we expect.
      
      MozReview-Commit-ID: DnNb2Xi6KeL
      
      --HG--
      extra : rebase_source : d2474d1da3f8e1066c21a7c65693ea09ec5b8074
      8b676de4
  6. Sep 10, 2017
  7. Sep 09, 2017
Loading