1. 04 Dec, 2019 3 commits
  2. 29 Nov, 2019 2 commits
  3. 14 Nov, 2019 1 commit
  4. 05 Nov, 2019 3 commits
  5. 01 Nov, 2019 1 commit
    • Nicholas Nethercote's avatar
      Bug 1587162 - Fix UBSAN complaints about pref callbacks. r=erahm · a5187093
      Nicholas Nethercote authored
      Lots of these callbacks have a non-`void*` final parameter, which UBSAN
      complains about. This commit changes them to have a `void*` parameter.
      
      This requires undoing the machinery added in the first two commits of bug
      1473631: `TypePrefChangeFunc` and `PREF_CHANGE_METHOD`. The resulting code is
      simpler (which is good) and more boilerplate-y (which is bad) but avoids the
      undefined behaviour (which is good).
      
      Differential Revision: https://phabricator.services.mozilla.com/D50901
      
      --HG--
      extra : moz-landing-system : lando
      a5187093
  6. 30 Sep, 2019 1 commit
  7. 03 Jul, 2019 1 commit
    • Jan Varga's avatar
      Bug 1561876 - Remove support for de-serializing WebAssembly.Modules in IDB; r=asuth · e12ce7d6
      Jan Varga authored
      This patch removes support for de-serialization of WebAssembly.Modules. The
      preprocessing which was added just for WebAssembly.Modules is not removed since
      it can be reused for more efficient de-serialization of big structured clones
      which are stored as standalone files. (standalone files can be read and
      uncompressed in content process instead of the parent process). So this patch
      also adjusts the preprocessing to support that. However the preprocessing is not
      fully implemented (we lack support for indexes and cursors) and there's a
      theoretical problem with ordering of IDB requests when preprocessing is
      involved, so this feature is kept behind a pref for now.
      
      Differential Revision: https://phabricator.services.mozilla.com/D36879
      
      --HG--
      rename : dom/indexedDB/test/unit/test_wasm_recompile.js => dom/indexedDB/test/unit/test_wasm_get_values.js
      rename : dom/indexedDB/test/unit/wasm_recompile_profile.zip => dom/indexedDB/test/unit/wasm_get_values_profile.zip
      e12ce7d6
  8. 29 Mar, 2019 3 commits
  9. 23 Feb, 2019 1 commit
  10. 18 Jan, 2019 1 commit
  11. 30 Nov, 2018 1 commit
  12. 28 Nov, 2018 1 commit
  13. 13 Sep, 2018 1 commit
  14. 06 Jul, 2018 1 commit
    • Kris Maglione's avatar
      Bug 1473631: Part 0a - Make preference callbacks typesafe. r=njn · 0bfdb432
      Kris Maglione authored
      I initially tried to avoid this, but decided it was necessary given the number
      of times I had to repeat the same pattern of casting a variable to void*, and
      then casting it back in a part of code far distant from the original type.
      
      This changes our preference callback registration functions to match the type
      of the callback's closure argument to the actual type of the closure pointer
      passed, and then casting it to the type of our generic callback function. This
      ensures that the callback function always gets an argument of the type it's
      actually expecting without adding any additional runtime memory or
      QueryInterface overhead for tracking it.
      
      MozReview-Commit-ID: 9tLKBe10ddP
      
      --HG--
      extra : rebase_source : 7524fa8dcd5585f5a31fdeb37d95714f1bb94922
      0bfdb432
  15. 11 Jul, 2018 1 commit
  16. 27 Jun, 2018 1 commit
  17. 12 Jul, 2018 1 commit
  18. 18 Jun, 2018 1 commit
  19. 20 Apr, 2018 2 commits
  20. 05 Feb, 2018 1 commit
  21. 31 Jan, 2018 1 commit
  22. 12 Jan, 2018 1 commit
  23. 16 Oct, 2017 1 commit
  24. 18 Oct, 2017 1 commit
  25. 25 Sep, 2017 1 commit
  26. 27 Sep, 2017 1 commit
  27. 28 Jul, 2017 1 commit
  28. 27 Jul, 2017 1 commit
    • Nicholas Nethercote's avatar
      Bug 1384835 (part 3) - Remove the Preferences::Get*CString() variants that... · 200d8ec1
      Nicholas Nethercote authored
      Bug 1384835 (part 3) - Remove the Preferences::Get*CString() variants that return nsAdoptingCString. r=froydnj.
      
      This is similar like the previous patch, but for the 8-bit string variants.
      Also, it changes assignment to Adopt() in GetCString() and GetDefaultCString()
      to avoid an extra copy.
      
      --HG--
      extra : rebase_source : eba805c3a7b809d5ccd6e853b1c9010db9477667
      200d8ec1
  29. 31 Jul, 2017 1 commit
  30. 26 Jul, 2017 1 commit
  31. 13 Jan, 2017 1 commit
  32. 06 Aug, 2017 1 commit