Commit Graph
12958 Commits
Author SHA1 Message Date
David Anderson 79be65b6b6 Initial import of Advanced Layers. (bug 1365879 part 20, r=bas) 2017-06-23 14:23:12 -07:00
Carsten "Tomcat" Book 5bc135a59c Merge mozilla-central to mozilla-inbound 2017-06-23 12:22:24 +02:00
Carsten "Tomcat" Book 966dc1f38e Backed out changeset 8069471cda21 (bug 1365879) 2017-06-23 12:15:35 +02:00
Carsten "Tomcat" Book 41a5dcac12 Merge mozilla-central to mozilla-inbound 2017-06-23 11:44:21 +02:00
Carsten "Tomcat" Book c7b7699387 merge mozilla-inbound to mozilla-central a=merge 2017-06-23 11:28:19 +02:00
Florian Quèze c0468168f5 Bug 1368456 - remove Promise.jsm imports in tests, r=mconley. 2017-06-23 11:25:52 +02:00
Nicholas Nethercote a58025002f Bug 1375392 - Tweak the PROFILER_LABEL* macros. r=mstange.
This patch makes the following changes to the macros.

- Removes PROFILER_LABEL_FUNC. It's only suitable for use in functions outside
  classes, due to PROFILER_FUNCTION_NAME not getting class names, and it was
  mostly misused.

- Removes PROFILER_FUNCTION_NAME. It's no longer used, and __func__ is
  universally available now anyway.

- Combines the first two string literal arguments of PROFILER_LABEL and
  PROFILER_LABEL_DYNAMIC into a single argument. There was no good reason for
  them to be separate, and it forced a '::' in the label, which isn't always
  appropriate. Also, the meaning of the "name_space" argument was interpreted
  in an interesting variety of ways.

- Adds an "AUTO_" prefix to PROFILER_LABEL and PROFILER_LABEL_DYNAMIC, to make
  it clearer they construct RAII objects rather than just being function calls.
  (I myself have screwed up the scoping because of this in the past.)

- Fills in the 'js::ProfileEntry::Category::' qualifier within the macro, so
  the caller doesn't need to. This makes a *lot* more of the uses fit onto a
  single line.

The patch also makes the following changes to the macro uses (beyond those
required by the changes described above).

- Fixes a bunch of labels that had gotten out of sync with the name of the
  class and/or function that encloses them.

- Removes a useless PROFILER_LABEL use within a trivial scope in
  EventStateManager::DispatchMouseOrPointerEvent(). It clearly wasn't serving
  any useful purpose. It also serves as extra evidence that the AUTO_ prefix is
  a good idea.

- Tweaks DecodePool::SyncRunIf{Preferred,Possible} so that the labelling is
  done within them, instead of at their callsites, because that's a more
  standard way of doing things.
2017-06-22 17:08:53 +10:00
Phil Ringnalda edae740554 Backed out 3 changesets (bug 1334550) for Windows timeouts in test-oop-extensions/test_ext_unlimitedStorage.html
Backed out changeset 17c74c7634a2 (bug 1334550)
Backed out changeset d3b0db4e50c5 (bug 1334550)
Backed out changeset 4319f15e2496 (bug 1334550)

MozReview-Commit-ID: 2vmxPAMJZW
2017-06-22 22:32:58 -07:00
Phil Ringnalda 1915142fcd Merge m-c to autoland
MozReview-Commit-ID: 8Is0wexk66X
2017-06-22 20:45:50 -07:00
Phil Ringnalda c64cad4109 Backed out changeset 4f0ee0f75a30 (bug 1367813) for Windows opt permaorange in test_worker_basic.html
MozReview-Commit-ID: 2k693yFa28r
2017-06-22 20:43:11 -07:00
Phil Ringnalda be59e1915e Backed out changeset 93e8c43340e4 (bug 1372988) for Windows opt permaorange in test_worker_basic.html
MozReview-Commit-ID: 6S8P6nsha0X
2017-06-22 20:42:40 -07:00
Phil Ringnalda b1062ce1c9 Backed out changeset 8b34a8ccdb17 (bug 981818) for Windows opt permaorange in test_worker_basic.html
MozReview-Commit-ID: AeNMD3GbFUe
2017-06-22 20:41:59 -07:00
Nicholas Nethercote 4cbdad69e6 Bug 1374580 (part 2) - Remove nsAFlat{,C}String typedefs. r=froydnj.
All the instances are converted as follows.

- nsAFlatString  --> nsString
- nsAFlatCString --> nsCString
2017-06-20 19:19:05 +10:00
Chris Peterson 2e905c6a96 Bug 1375699 - Only define the Stylo pref if Stylo support is actually built in. r=bholley
And fix animation_utils.js test code to handle the case when the pref is not defined.

MozReview-Commit-ID: 7wsPwtcvKqV
2017-06-22 16:03:22 -07:00
David Anderson 885a29c7bb Initial import of Advanced Layers. (bug 1365879 part 20, r=bas) 2017-06-22 21:12:19 -07:00
Benjamin Smedberg b6c7037825 Bug 981818 - Save preferences every time they are dirty (on an idle timer for batching and jank reduction). r=milan
MozReview-Commit-ID: 8O96jQIBsrb
2017-06-15 14:15:25 -04:00
Benjamin Smedberg 004b69db2a Bug 1372988 part A - Warn when user prefs are set after the profile is dead, because the prefs won't get saved anyway. r=milan
MozReview-Commit-ID: IfwL5yYtLcF
2017-06-21 11:17:01 -04:00
Benjamin Smedberg d6e744168b Bug 1367813 - 1) Add telemetry for prefs.js not existing or being corrupted, and the presence of a user.js file. 2) Rename and change the nsIPrefService.readUserPrefs API. The new API reads user prefs from a file but doesn't remember that location or save changed preferences to that location. r=milan data-r=rweiss
MozReview-Commit-ID: FD5npJlB24W
2017-06-21 15:26:10 -04:00
Wes Kocher 350e28ef70 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 1dQBCh5pBY6
2017-06-22 14:21:39 -07:00
Haik Aftandilian 71b0950776 Bug 1334550 - Part 1 - Proxy moz-extension protocol requests to the parent process; r=jimm,mayhemer
Changes ExtensionProtocolHandler to use remote streams for
moz-extension loads of file and JAR URI's to allow for
filesystem read-access sandboxing.

Adds messaging to PNecko to allow child processes to
request an input stream or file descriptor for moz-extension
URI's.

Add ExtensionProtocolHandler singleton so that NeckoParent can
call methods directly and ExtensionProtocolHandler::NewFD
can use a new member variable |mFileOpenerThread| to open files.

Adds FileDescriptorFile, a limited implementation of nsIFile
that wraps a file descriptor, to be sideloaded into
nsJARChannels so that extension JAR files can be read
using a file descriptor without accessing the filesystem
directly.

MozReview-Commit-ID: 1pcnIpjz2yR
2017-06-22 11:53:06 -07:00
Munro Mengjue Chiang e06d70e07a Bug 1374204 - set the preference for android hardware encoder to true in nightly. r=jib
MozReview-Commit-ID: L0ibqWACQLD
2017-06-19 16:22:36 +08:00
Florian Quèze ecd98ba423 Bug 1374282 - script generated patch to remove Promise.defer calls, r=Mossop. 2017-06-22 12:51:42 +02:00
Florian Quèze d0406d270c Bug 1374282 - script generated patch to remove Task.jsm calls, r=Mossop. 2017-06-22 12:51:42 +02:00
Wes Kocher ab72c537c8 Merge m-c to inbound, a=merge
MozReview-Commit-ID: CaSKFN9T7N4
2017-06-21 18:05:27 -07:00
Samuel Vargas 4cbe3ce9c7 Bug 1367893 - Rename webgl.max options to webgl.perf.max - r=jgilbert 2017-06-21 16:25:49 -07:00
Felipe Gomes c17f36437c Bug 1374731 - Don't use hardcoded test entries for the Flash classification tables. r=bytesized
MozReview-Commit-ID: 1pG11W7PX4R
2017-06-20 18:15:44 -03:00
Wes Kocher aff551aa1b Merge autoland to m-c a=merge
MozReview-Commit-ID: LFtpTAueYrF
2017-06-20 18:24:29 -07:00
Kate McKinley 60e621f193 Bug 1374453 - turn HSTS priming on in Beta r=ckerschb
MozReview-Commit-ID: JHc47g8cDmb
2017-06-19 14:46:48 -07:00
Kate McKinley 4e598fbc80 Bug 1374443 - Decrease HSTS priming timeout to 2s r=ckerschb
MozReview-Commit-ID: 7brYAUXwHvE
2017-06-19 14:35:27 -07:00
Blake Kaplan 7efc1d24ca Bug 981796 - Turn off window.showModalDialog. r=smaug
MozReview-Commit-ID: CEURcAfkina
2017-06-07 16:28:01 -07:00
Carsten "Tomcat" Book 5cd02f7ef8 Merge mozilla-central to mozilla-inbound 2017-06-20 11:31:34 +02:00
Carsten "Tomcat" Book 324442b615 merge mozilla-inbound to mozilla-central a=merge 2017-06-20 11:26:40 +02:00
Wes Kocher 6243e3b22e Merge m-c to inbound, a=merge
MozReview-Commit-ID: Gf5xDaCWnPi
2017-06-19 17:34:36 -07:00
Wes Kocher 5b62856ec4 Merge inbound to central, a=merge
MozReview-Commit-ID: KZoJHLFuTwT
2017-06-19 17:30:02 -07:00
Chris Pearce 1de669f9f1 Bug 1374499 - Increase number of shmems pre-allocated by PChromiumCDM to 6. r=gerald
Currently we preallocate 4 shmems for ferrying video frames between the GMP and CDM
procecss. Our telemetry indicates that 88% of PChromiumCDM instances need only 4.
So 12% are finding that insufficient, and are taking the slow path and sending frames
back to the content process via a non-shared path while they allocate more shmem.

If we increased our pre-allocation to 6 shmems, we'd guess correctly for 97%, and thus
we'd avoid the slow path more often.


MozReview-Commit-ID: 9HcrlskiCPq
2017-06-20 13:47:33 +12:00
Daniel Stenberg 976d3d3d94 Bug 1328865 - Make nsJARURI::SetSpecWithBase ignore URL fragments. r=valentin
As otherwise it could wrongly find !/ delimiters with that.
2017-06-18 23:52:00 -04:00
Carsten "Tomcat" Book b607cb23ed merge mozilla-inbound to mozilla-central a=merge 2017-06-19 13:37:20 +02:00
Dragana Damjanovic 693e425e06 Bug 1372897 - Test only the necko part of TFO, i.e. disable the nspr part. r=mcmanus 2017-06-19 09:16:38 +02:00
Milan Sreckovic 958ad89f0d Bug 1373250: encapsulate all of the memory management in a single structure so that we don't have to do any manual freeing. r=milan
MozReview-Commit-ID: 8hIm53rDUI3
2017-06-15 17:33:20 -04:00
Cameron McCormack 95368ca21c Backout bug 1291457 and bug 1370034 for bustage. 2017-06-19 13:55:15 +08:00
Aaron Klotz f293ce6946 Bug 1363221: Enable a11y handler by default in prefs; r=jimm 2017-06-19 14:23:45 -06:00
Honza Bambas d9b2cc5343 Bug 1319111 - Expose 'result principal URI' on LoadInfo as a source for NS_GetFinalChannelURI (removes some use of LOAD_REPLACE flag). r=bz, r=mikedeboer 2017-05-30 18:07:59 +02:00
Gerald Squelart cecb486d0c Bug 1371882 - Avoid MemoryBlockCache when combined sizes > 'media.memory_caches_combined_limit_...' - r=cpearce
Don't go over the lowest of 'media.memory_caches_combined_limit_kb'
(kilobytes) or 'media.memory_caches_combined_limit_pc_sysmem' (percents of
system memory).

Added more logging around creation/destruction of MediaCaches.

MozReview-Commit-ID: Cdz4ycyn1RR
2017-06-12 15:42:26 +12:00
Gerald Squelart 269d41be34 Bug 1371882 - If content length <= 'media.memory_cache_max_size', use a discrete memory-backed MediaCache - r=cpearce
MozReview-Commit-ID: HH1R6LjKkxb
2017-06-09 23:15:04 +12:00
Michael Layzell 8e86239d33 Bug 1370971 - Enable dom.noopener.newprocess by default, r=bz
MozReview-Commit-ID: 2XNmnVkIicV
2017-06-15 15:07:44 -04:00
Milan Sreckovic 1b0959ac1f Bug 789945: Part 4. Explicitly make some pref save be blocking calls. r=bsmedberg
MozReview-Commit-ID: 1MEp7o65HAV
2017-06-14 13:38:17 -04:00
Milan Sreckovic 7baf01695e Bug 789945: Part 3. Flush late in the shutdown, to give a last save a chance to complete and for the flush to not be blocking. r=bsmedberg"
MozReview-Commit-ID: 7w5Y16C7mTn
2017-06-14 13:38:08 -04:00
Milan Sreckovic 5cc473e71c Bug 789945: Part 2. Off main thread functionality for the save. r=bsmedberg
MozReview-Commit-ID: 2TmA59K4nSB
2017-06-14 13:37:28 -04:00
Stone Shih 95ce842de6 Bug 1352278 - [Pointer Event] Turn on PointerEvent preference on Mac and Linux nightly. r=masayuki.
MozReview-Commit-ID: JeuDOjTMkl1
2017-03-31 09:24:24 +08:00
Cervantes Yu 82a3b7996a Bug 1286802 - Part 3: Add empty set_include_context_heap() implementation to ExceptionHandler and CrashGenerationServer. r=ted
MozReview-Commit-ID: 5GBzvyvNPDa
2017-06-20 15:00:32 +08:00