Skip to content
Snippets Groups Projects
  1. Sep 18, 2017
  2. Sep 15, 2017
  3. Sep 14, 2017
  4. Sep 18, 2017
  5. Sep 14, 2017
  6. Sep 18, 2017
  7. Sep 15, 2017
  8. Sep 14, 2017
    • Ted Mielczarek's avatar
      bug 1399877 - Globally define DLL_PREFIX/DLL_SUFFIX. r=gps · b8176d94
      Ted Mielczarek authored
      Several source files use DLL_PREFIX/DLL_SUFFIX defines, and they all
      set them in moz.build using `DEFINES`. This is problematic for the WSL build
      because the quoting gets lost somewhere between bash and cl.exe. This patch
      makes them set globally in moz.configure with `set_define`. There was an
      existing global `MOZ_DLL_SUFFIX` define that was only used in one place, so
      that has been removed in favor of simply `DLL_SUFFIX`.
      
      MozReview-Commit-ID: 4ZQiqMK8Dgu
      
      --HG--
      extra : rebase_source : f85cbb4b9e6dc69881f312182cd4e37985baf22e
      b8176d94
  9. Sep 13, 2017
  10. Sep 15, 2017
  11. Sep 12, 2017
  12. Sep 11, 2017
  13. Sep 13, 2017
  14. Sep 08, 2017
  15. Sep 07, 2017
    • David Teller's avatar
      Bug 1397717 - Using GenericPrinter for DEBUG-only C++ dump() APIs;r=nbp · 44b7cab2
      David Teller authored
      We have a host of DEBUG-only dump()-style APIs that output either to
      stderr or to a FILE*. Unfortunately, this means that we cannot use
      these dumps e.g. for unit tests. This patch ports most of the dump()
      APIs to use GenericPrinter, which is more flexible.
      
      Some parts of the code have not been ported, in particular
      TypeInference, which still uses stderr.
      
      MozReview-Commit-ID: A5WGOPyIPTa
      
      --HG--
      extra : rebase_source : 2c092256569d7f0d5656acea9c6d7dbaf32667be
      44b7cab2
    • 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
  16. Sep 10, 2017
    • Kris Maglione's avatar
      Bug 1398499: Part 3 - Add Marionette tests for global sharing. r=mccr8 · 8c91f298
      Kris Maglione authored
      This tests both that the settings have the desired effect and that switching
      between sharing enabled and sharing disabled without a startup cache flush
      does not cause any issues.
      
      Tests for user pref changes are currently non-fatal, since they're known not
      to work reliably.
      
      MozReview-Commit-ID: 1ZFwyiNf3da
      
      --HG--
      extra : rebase_source : c38bd92d2137c90f8c4d202b7009612b45ff4be9
      8c91f298
  17. 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
    • Sylvestre Ledru's avatar
      Bug 1398513 - IsTokenSane: Remove an useless comparison: < 0 with an unsigned... · 1f29c084
      Sylvestre Ledru authored
      Bug 1398513 - IsTokenSane: Remove an useless comparison: < 0 with an unsigned is always false r=arai
      
      MozReview-Commit-ID: 42pjZIGID4L
      
      --HG--
      extra : rebase_source : ffe64dab7afdd1a63c4d0997097e7c8db0a71aea
      1f29c084
  18. Sep 08, 2017
  19. Sep 13, 2017
  20. Sep 14, 2017
Loading