Commit Graph

555721 Commits

Author SHA1 Message Date
Dylan Roeh
cefc0f9ba9 Bug 1390261 - Add external storage to permissions required in FilePicker.getPermissionsForMimeType. r=snorp 2017-09-01 10:36:59 -05:00
Ryan Hunt
b7a4628547 Bug 1376525 - Enable "apz.keyboard.enabled" by default. r=milan
MozReview-Commit-ID: 8AUFwQTf2Er

--HG--
extra : rebase_source : 03f4f5e387bb895fe66960bfbe4fcca9ea5c1028
2017-09-01 10:57:28 -04:00
Boris Zbarsky
dfd04e984c Bug 1395701 part 2. Use a linked list, not a hashtable, for registering selection ranges on a node, so the registration will be faster. r=ehsan
Inserting/removing things into a doubly-linked list is much faster than doing
the same with a hashtable.  Selection ranges register themselves on their common
ancestor, but all we do with that in non-debug code is iterate all the ranges
registered.  A doubly-linked list works fine for that.

This adds three words to every range for the LinkedListItem members, but that
should be OK.
2017-09-01 11:13:47 -04:00
Boris Zbarsky
2bcb5d26b9 Bug 1395701 part 1. Maintain the "registered common ancestor" in a member on selection ranges. r=ehsan
This costs an extra word per range, but ranges aren't that small anyway.  The
benefit is that we don't have to recompute it dynamically when we need it, which
lets us simplify how selection ranges get registered with their common ancestors.
2017-09-01 11:13:25 -04:00
Boris Zbarsky
264b2245fd Bug 1395715. When recovering letter frames, only do first-line fixup when we have a first-line parent. r=emilio
It turns out, this is the only case in which we need to do the fixup at all.
And this way we don't have to guess based on first-line styles, which may not
match the frame tree (for example if we have a pending style change that we
haven't processed yet).
2017-09-01 11:09:02 -04:00
Gabriel Luong
d9b2b9c118 Bug 1391003 - Use the new photon line selection and hover background colors in devtool. r=bgrins 2017-09-01 10:47:11 -04:00
Jan de Mooij
58c33b70d0 Bug 1346217 part 9 - Enable some assertions that were commented out a long time ago. r=till 2017-09-01 15:47:26 +02:00
Andrew Halberstadt
a3099c6d81 Bug 1391019 - Fix typo in py-compat linter's 'when.files-changed', r=bustage
MozReview-Commit-ID: CZhWCyTr9Qv

--HG--
extra : rebase_source : 4a906dc7db2c2fe5730ddd520e83cd5ba0f5e528
2017-09-01 08:55:47 -04:00
Dan Gohman
a6da168bd0 Bug 1390214 - IonMonkey: Don't test for a 3-byte opcode in a 2-byte opcode predicate r=jandem
MozReview-Commit-ID: KgImWiHrxGP

--HG--
extra : amend_source : eb16da96ca097d02864ae5a4b1d68c119e175619
2017-09-01 15:10:37 +02:00
Bob Owen
60cdfbd0a2 Bug 1392570: On Windows 7 don't attempt to use a job object for the sandbox when it will fail. r=jimm, data-r=rweiss
This patch also adds telemetry for when this occurs, breaking it down for local and remote sessions.
2017-09-01 14:05:49 +01:00
Stone Shih
7a2b25332c Bug 1392876 - Enable coalescing mouse events to be once per refresh cycle (enable the pref). r=smaug.
MozReview-Commit-ID: 4eRQ77mFXAE
2017-08-16 10:37:25 +08:00
Stone Shih
35110f00e9 Bug 1389086 Part2: Use once event listeners to avoid they are triggered after the test is done. r=smaug.
MozReview-Commit-ID: JrYXWs2yhSO
2017-08-31 16:55:39 +08:00
Stone Shih
35fc5fd478 Bug 1389086 Part1: Remove windows line ending in the test file. r=smaug.
MozReview-Commit-ID: 6JHn14XXDLM
2017-09-01 10:12:54 +08:00
Honza Bambas
9dd6d67e45 Bug 1395884 - Remove potential timer race and assertion in RequestContext tailing feature, r=dragana 2017-09-01 13:00:12 +02:00
Catalin Badea
d074b09d16 Bug 1380367 - Use a node reference as range boundary in nsRange. r=smaug 2017-09-01 11:53:22 +01:00
Tom Schuster
a9f97782af Bug 1395513 - Simply nop Object(object) calls. r=nbp 2017-09-01 12:32:05 +02:00
vincentliu
97c34bd232 Bug 1391458 - Make sure WrBridge is ready in the head of BeginTransaction. r=kats 2017-09-01 18:05:53 +08:00
Andrea Marchesini
74a5faef65 Bug 1395140 - Implement "http-on-stop-request" notification, r=mayhemer 2017-09-01 11:55:37 +02:00
Sylvestre Ledru
6c3ae427a5 No bug - Remove an non-breaking space r=me DONTBUILD
MozReview-Commit-ID: 7rA1KsMlURe
2017-09-01 11:41:39 +02:00
Sylvestre Ledru
dfe64e69c7 No bug - Remove an non-breaking space r=me DONTBUILD
MozReview-Commit-ID: GsVer0pRUso
2017-09-01 11:39:35 +02:00
Jon Coppeard
f624c0f438 Bug 1394493 - Check for uninitialised lexicals in getModuleEnvironmentValue() r=arai 2017-09-01 10:14:11 +01:00
Jon Coppeard
47659f1db3 Bug 1384513 - Remove AutoAssertNoAlloc r=sfink 2017-09-01 10:13:51 +01:00
Till Schneidereit
fb21cc09de Bug 1384513 - Change all public APIs to take JS::AutoRequireNoGC instead of JS::AutoCheckCannotGC. r=jonco
Additionally, change the base class of AutoSuppressGCAnalysis from AutoAssertNoAlloc to AutoAssertNoGC.

In combination, these chances enable passing either JS::AutoCheckCannotGC or JS::AutoSuppressGCAnalysis, depending on whether suppressing the GC analysis is desired or not.

MozReview-Commit-ID: Eg1cl28ezeJ
* * *
Bug 1384513 - Follow-up to fix bustage from template usage of functions with a changed signature, on a CLOSED TREE. r=bustage

MozReview-Commit-ID: 5SsI4DoDwAT
2017-07-26 12:20:59 +02:00
Lars T Hansen
60198b9324 Bug 1146817 - Make mips-shared/AtomicOperations-mips-shared.h cleaner (though not 64-bit aware). r=sstangl
--HG--
extra : rebase_source : 4eb1ed5f54fe63862112a6653d4c3156311ae83e
2017-08-25 16:14:23 +02:00
Lars T Hansen
906cada0be Bug 1146817 - Make arm64/AtomicOperations-arm64.h 64-bit aware, and cleaner. r=sstangl
--HG--
extra : rebase_source : 31d2312afe983f41bf0b2f7925e4fd116f613bbb
2017-08-25 16:00:35 +02:00
Lars T Hansen
bbecafccff Bug 1146817 - Make x86-shared/AtomicOperations-x86-shared-msvc.h 64-bit aware, and cleaner. r=sstangl
--HG--
extra : rebase_source : 33dc3a3724b8dafc86279e38b9ce87d9e2e13f49
2017-08-24 16:02:40 +02:00
Lars T Hansen
e52278cce7 Bug 1146817 - Make x86-shared/AtomicOperations-x86-shared-gcc.h 64-bit aware, and cleaner. r=sstangl
--HG--
extra : rebase_source : 6ba43fbb94430f8c33a01f1f5797c03163a04652
2017-08-24 15:17:58 +02:00
Lars T Hansen
7178a88960 Bug 1146817 - Make arm/AtomicOperations-arm.h 64-bit aware, and cleaner. r=sstangl
--HG--
extra : rebase_source : 09717ad8cbf5f3b644bc9bd194939788b4b40eb9
2017-08-24 14:35:55 +02:00
Lars T Hansen
b13ddf9f1e Bug 1146817 - Make none/AtomicOperations-feeling-lucky.h 64-bit aware, and cleaner. r=sstangl
--HG--
extra : rebase_source : 772f5bed3ff46fdced588fc726c2e0ee50100ef2
2017-08-24 13:36:49 +02:00
Lars T Hansen
2c7cf2b621 Bug 1146817 - Rename isLockfree as isLockfreeJS, plus preparation for 64-bit aware atomics. r=sstangl
--HG--
extra : rebase_source : 78c2af9796ef788fbd9a43c092aa3e409abd5f30
2017-08-28 13:31:11 +02:00
Sebastian Hengst
eee61902f8 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-01 10:45:14 +02:00
Sebastian Hengst
43bc951ac7 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: ES9rKhiQo10
2017-09-01 10:38:51 +02:00
Andreas Farre
dc0ff1e255 Bug 1393056 - Make it possible to count open WebSockets on the main thread. r=smaug 2017-09-01 10:36:49 +02:00
Nicholas Nethercote
78adeaf317 Bug 1393384 (attempt 2) - Take advantage of new support for measuring heap blocks via interior pointers. r=erahm.
We now have jemalloc_ptr_info() and moz_malloc_enclosing_size_of(), which can
be used to measure heap blocks via interior pointers. This patch does the
following.

- Adds MOZ_DEFINE_MALLOC_ENCLOSING_SIZE_OF, for defining
  measure-via-interior-pointer functions.

- Uses these functions to replace some horrid pointer arithmetic in functions
  measuring Rust types.

--HG--
extra : rebase_source : 5128408256c128222025153ae3e0f924b2499a2a
2017-09-01 17:25:52 +10:00
Boris Zbarsky
71d6942bcb Bug 1395650. Make anonymous column groups into non-inheriting anon boxes, to better match the behavior of other browsers. r=heycam 2017-09-01 00:53:33 -04:00
Yura Zenevich
c97121629f Bug 1151468 - add accessibility spec/actor/front to devtools. r=pbro
MozReview-Commit-ID: Ln1R8e04mGR
2017-08-31 23:11:23 -04:00
Boris Zbarsky
11a90dfbd9 Bug 1395591. When looking for our layout parent style, make sure to start with the placeholder if we're out of flow. r=emilio
MozReview-Commit-ID: 1M52bi3oQFX
2017-08-31 22:46:35 -04:00
Boris Zbarsky
056d8fe612 Bug 1395421 part 2. When a get() happens on a JS-implemented maplike, notify the JS implementation so it can take some sort of action (e.g. logging or warning). r=peterv
MozReview-Commit-ID: 9G115wOyzvm
2017-08-31 22:45:53 -04:00
Boris Zbarsky
2697cc0235 Bug 1395421 part 1. Don't codegen JS-implemented-webidl glue for methods that use maplike/setlike/iterable codegen (and hence wouldn't call into that clue anyway). r=peterv
MozReview-Commit-ID: 6voihCBh6wh
2017-08-31 22:45:53 -04:00
Yoshi Huang
d180d21cf7 Bug 1370787 - add test for download file in PrivateBrowsing mode. r=smaug 2017-09-01 10:09:36 +08:00
Nicholas Nethercote
c419d5fa48 Bug 1389305 (attempt 2) - Add jemalloc_ptr_info() and moz_malloc_enclosing_size_of(). r=glandium.
--HG--
extra : rebase_source : 93a6cfcc916fb239581c2892f24b24c6fc65ac71
2017-09-01 11:52:23 +10:00
Henri Kemppainen
9edda378b4 Bug 1395768 - Use absolute path to mach. r=gps 2017-09-01 03:15:45 +03:00
Ryan VanderMeulen
20dce28d41 Bug 1395787 - Update pdf.js to version 1.9.512. r=bdahl 2017-08-31 21:45:37 -04:00
Henrik Skupin
476c801003 Bug 1387094 - Add noProxy support for manual proxy type. r=ato
MozReview-Commit-ID: 1C9sFgrno4i

--HG--
extra : rebase_source : 4182535b4dc5660966856adc250e38c08e009623
2017-08-31 17:49:36 +02:00
Brian Grinstead
e94809441d Bug 1307881 - Part 3 - Remove unused filteredMessageVisible prop from the state;r=nchevobbe
MozReview-Commit-ID: D5TKjuuvpgt

--HG--
extra : rebase_source : df78c410d2961d0604e811cbcfaa08fe7139d430
2017-08-31 21:45:00 -07:00
Brian Grinstead
e3688e9d65 Bug 1307881 - Part 2 - Provide a UI within the Web Console for managing persistence;r=nchevobbe
MozReview-Commit-ID: GVkOms1o74c

--HG--
extra : rebase_source : 19b8decae600ef1a93338003200f97c96fd558de
2017-08-31 21:43:42 -07:00
Brian Grinstead
07e14766fa Bug 1307881 - Part 1 - Split message persistence prefs into two, one for the netmonitor and one for the console;r=Honza
MozReview-Commit-ID: 4i8heIyPEv0

--HG--
extra : rebase_source : 2f3d35329126866b0c85d3620fb9f3d046ff3a85
2017-08-31 21:42:15 -07:00
Hiroyuki Ikezoe
6feeb8950f Bug 1394935 - A crash test. r=bholley
MozReview-Commit-ID: 1zSJPx2sVbi
2017-09-01 13:27:11 +09:00
Glenn Watson
1c314cf843 servo: Merge #18322 - Update WR (font instance API) (from glennw:update-wr-fonts-2); r=emilio
WR now has a concept of font templates and font instances. This
makes the WR font interfaces closer to Cairo and Gecko, and also
makes some future performance optimizations possible.

A font template is the font family, and data backing the font.
A font instance is a reference to a font template and per-instance
options, such as font size, anti-aliasing settings etc.

To update Servo in a minimally invasive way, I added a new font
cache call, that creates a font instance. This means that when
a font is created, and doesn't exist in the cache there are now
two calls to the font cache thread. We could refactor the font
cache to make this work in one call, which we should do in the
future. However, refactoring the font cache is a large chunk of
work by itself. The extra call is only when a font doesn't already
exist in the font context cache, so it should have minimal
performance impact.

Source-Repo: https://github.com/servo/servo
Source-Revision: f7d238d1f38e4d6798cf2f18d72e61b3dd35bd2c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c85ae1d0c1a530c0fbe27fb76ba4b30f5c345f26
2017-08-31 21:59:30 -05:00
Jim Mathies
23742b9ac3 Bug 1394927 - Use profiler_add_marker vs. profiler_tracing for accessibility profile events tags. r=aklotz
MozReview-Commit-ID: 9oJcPtdodrU

--HG--
extra : rebase_source : c56fb92d0521f5d3769ba8952a31d8b2c80cf498
2017-08-30 16:55:28 -05:00