Commit Graph

284043 Commits

Author SHA1 Message Date
Mats Palmgren
dc4bb6c5e8 Bug 1216001 part 1 - Optimize nsRange::IsNodeSelected. r=bz 2016-02-12 02:13:57 +01:00
Kevin Wern
77738d3a78 Bug 1227224 - Further improvements to generic tree traversal algorithms. r=botond
- Introduce a more general version of ForEachNode that takes two actions
  (pre-action and post-action).
- Express the one-action version of ForEachNode in terms of the two-action
  version.
- Add TraversalFlag::Abort, which stops traversal immediately.
- Express DepthFirstSearch in terms of ForEachNode.
- Add ForEachNodePostOrder and DepthFirstSearchPostOrder.
- The new functions are all recursive, and traverse children in the order
  provided by the node accessors. Adjust tests to reflect this.
- Refactor two APZCTreeManager functions, FindTargetNode and GetAPZCAtPoint,
  to use the algorithms.

MozReview-Commit-ID: 83Y7psjkUWG
2016-01-25 04:04:13 -08:00
Mike Hommey
2388bb4e59 Fix up missing dependency in bug 1247162. r=me 2016-02-12 09:44:03 +09:00
Wes Kocher
d520b17d80 Backed out changeset 19c631cc41c8 (bug 1243589) for test_transformed_scrolling_repaints.html failures on OS X 2016-02-11 16:34:28 -08:00
Chris Manchester
fb36aa7132 Bug 1216681 - Add a windows version of fileid to extract a guid from windows binaries. r=jimm,ted
This patch introduces a small utility program to extract a guid from a shared library
or executable on windows to identify the correct symbol file to read in fix_stack_using_bpsyms.py.
In order for this to work correctly on windows, the library name provided by
MozDescribeCodeAddress needs to be a full path, so the LoadedImageName field
from the IMAGEHLP_MODULE64 structure is used here instead of the ModuleName
field.
2015-10-29 13:25:03 -07:00
Sambuddha Basu
7e697bb556 Bug 1246264 - Ensure cache directory exists for artifacts installation r=chmanchester 2016-02-12 03:43:18 +05:30
Sebastian Hengst
3f4b15c76b Backed out 2 changesets (bug 1247250) for bustage. r=bustage on a CLOSED TREE
Backed out changeset 8aded3a039f5 (bug 1247250)
Backed out changeset 374e6d0abf0e (bug 1247250)
2016-02-12 00:42:48 +01:00
Jean-Yves Avenard
6fdc4d5c9d Bug 1245463: [MSE] P4. Remove no longer working Dump() commands. r=gerald
MozReview-Commit-ID: 71hgJ63ksPU
2016-02-12 10:30:16 +11:00
Jean-Yves Avenard
bce4039c55 Bug 1245463: [MSE] P3. When abort() is called, wait until the current appendBuffer completes. r=gerald
The W3C spec indicates that while everything in MSE is asynchronous, the abort() command is to interrupt the current segment parser loop and have the reset parser loop synchronously completes the frames present in the input buffer.
This causes a fundamental issue that abort() will never result in a deterministic outcome as the segment parser loop may be in different condition.

We used to really attempt to abort the current operation, however there could have been a race in the order in which tasks were queued. As such, we now simply wait for the current appendBuffer to complete.

This also simplifies the code greatly, as we don't need to worry about pending concurrent appendBuffer.

The actually happens to be similar to the Chromium behavior.

Similar to bug 1239983, we strongly assert should a segment parser loop be running when it must have completed.

MozReview-Commit-ID: 9772PLQEozf
2016-02-12 10:30:09 +11:00
Jean-Yves Avenard
b02270b712 Bug 1245463: [MSE] P2. Remove MediaSource's duration mirror. r=gerald
It served no purpose other than implementing the MSE spec by the letter. The spirit is preserved.
This allows to disable tail dispatching on the MediaSourceDemuxer's TaskQueue which prevents us from performing synchronous operation on the main thread.

MozReview-Commit-ID: G7aqfvGsf1e
2016-02-12 10:29:59 +11:00
Jean-Yves Avenard
ab5dd07ed5 Bug 1245463: [MSE] P1. Do not attempt to retrieve the buffered range if the mediasource is in closed state. r=gerald
The changes that follow may cause the active sourcebuffer list to be modified; which will trigger an assertion if the mediasource object is closed.

MozReview-Commit-ID: 8A1CMKAUyTq
2016-02-12 10:27:33 +11:00
Deepthi Venkitaramanan
7ccb50bbf7 Bug 1244328 - Merge the functionality of DOMSettableTokenList into DOMTokenList and make everything that used to refer to DOMSettableTokenList refer to DOMTokenList instead. r=bzbarsky 2016-02-11 17:50:42 -05:00
Dan Gohman
26189e7e7a Bug 1247104 - BaldrMonkey: Parsing, encoding, and decoding for load+store. r=luke 2016-02-11 14:49:57 -08:00
Dan Gohman
b9f2ef6da9 Bug 1247104 - BaldrMonkey: Enclose most of WasmText.cpp in anonymous namespaces. r=luke 2016-02-11 14:49:55 -08:00
Dan Gohman
70e8119e30 Bug 1247104 - BaldrMonkey: Outline a method to reduce indenetation. r=luke 2016-02-11 14:49:54 -08:00
Matt Woodrow
1a9a42defc Bug 1224433 - Part 3: Compute the invalidation area for preserve-3d layers by accumulating the leaves. r=roc 2016-02-12 11:35:35 +13:00
Matt Woodrow
a2bda84324 Bug 1224433 - Part 2: Clamp the invalidation rect to values that fit within nscoord. r=roc 2016-02-12 11:35:17 +13:00
Thinker K.F. Li
1d4bbc0f35 Bug 1224433 - Part 1: Add reftest. r=roc 2016-02-12 11:35:03 +13:00
Masatoshi Kimura
b1ba9a24e3 Bug 1247250 - followup: fix comments to reflect the review comment. r=keeler DONTBUILD 2016-02-12 07:43:21 +09:00
Masatoshi Kimura
0326420242 Bug 1247250 - Enable TLS 1.3 draft 11 anti-downgrade on non-secure fallback. r=keeler 2016-02-12 07:36:37 +09:00
Ben Kelly
fdbde537db Bug 1247623 Cancel intercepted channel in more service worker failure cases. r=jdm 2016-02-11 14:37:45 -08:00
Jeff Muizelaar
4b35feb8fc Bug 1247327. Add WebGL acceptance rates to telemetry. r=vladan 2016-02-11 17:34:49 -05:00
Mike Conley
053d80b7d9 Bug 1246244 - Follow-up - clean up MockFilePicker once test is done. r=me
MozReview-Commit-ID: 54rjvxSD9ZT
2016-02-11 17:19:32 -05:00
Nicholas Nethercote
0d455d168b Bug 1244841 - Don't measure SharedArrayBuffer objects multiple times. r=lth.
Redoes object element measurement and reporting:

- Adds "non-heap/elements/shared", which reports a (size / refcount)
  measurement. Previously these measurements went into
  "non-heap/elements/mapped" and the full size would be erroneously reported
  for every thread sharing the buffer.

- Renames "non-heap/elements/mapped" as "non-heap/elements/normal".

- Renames "malloc-heap/elements/non-asm.js" as "malloc-heap/elements/normal".

- Leaves "{malloc,non}-heap/elements/asm.js" unchanged.
2016-02-12 09:18:46 +11:00
Mike Shal
b09b8021e9 Bug 1247490 - display ssh output if upload command fails; r=ted 2016-02-10 20:21:16 -05:00
Mike Hommey
35276e983e Bug 1224450 - Make the CompileDB derive its commands from the moz.build data. r=gps
The moz.build data is now sufficient to, with some convolution, generate
the same compilation database that recursing the tree with the showbuild
target does.

The resulting code is not the prettiest, and exposes the shortcomings of
the current moz.build data model. It is however a first step towards
fixing those shortcomings, because they are now more clearly identified.

This was validated on all platforms on try by checking the output of
  mach build-backend -b CompileDB -d -n
is empty when backing out the patch after running
  mach build-backend -b CompileDB
once.
2016-02-12 07:16:19 +09:00
Mike Hommey
7ec1d13300 Bug 1224450 - Ignore COMPILE_PDB_FLAG for the CompileDB. r=gps 2016-02-12 07:16:17 +09:00
Mike Hommey
714dfe4575 Bug 1224450 - Skip difficult directories in the CompileDB. r=gps
There are a few difficult directories to handle, with limited usefulness
compared to having the CompileDB properly filled for everything else
in a timely manner, so skip them for now.
2016-02-12 07:16:16 +09:00
Mike Hommey
9a0de86e0d Bug 1224450 - Ignore host compilations in the CompileDB backend. r=gps 2016-02-12 07:16:15 +09:00
Mike Hommey
ecad3301ab Bug 1247162 - Generate a header defining MOZ_SOURCE_*. r=mshal
The behavior is not entirely idempotent (most notably for
buildconfig.html), but this can be improved later if necessary.
It is idempotent where it matters.

This allows to get rid of config/makefiles/rcs.mk and its uses.
2016-02-12 07:16:14 +09:00
Mike Hommey
d7cbd3887e Bug 1241613 - Only pass MOZ_BUILDID to the one source that requires it in toolkit/xre. r=mshal
This has the side effect of hiding the define to the CompileDB backend, which
is actually wanted.
2016-02-12 07:16:05 +09:00
Mike Hommey
d28a689856 Bug 1246881 - Stop using config/buildid in few remaining places. r=mshal 2016-02-12 07:16:03 +09:00
Mike Hommey
213f941410 Bug 1246881 - Generate a header defining MOZ_BUILDID. r=mshal 2016-02-12 07:15:55 +09:00
Mike Hommey
69de2419a1 Bug 1204516 - Ignore missing directories when changing ownership of cache directories in build.sh. r=dustin 2016-02-12 07:14:16 +09:00
Christian Holler
c0670ba6d7 Bug 1247247 - Add AFL-style wasmLoop function for persistent fuzzing. r=luke
MozReview-Commit-ID: RFQ5pqCvl6
2016-02-11 14:55:53 +01:00
Christian Holler
670c4cbc7b Bug 1247247 - Factor essential wasmEval code into public helper function. r=luke
MozReview-Commit-ID: 9l3LEYFQZEy
2016-02-11 14:43:54 +01:00
Fabrice Desré
b2dd897472 Bug 1247570 - unbreak widget/gonk/nativewindow/FakeSurfaceComposer.cpp r=gwagner 2016-02-11 14:05:11 -08:00
Bill McCloskey
6f51a97954 Bug 1246787 - Fix rebasing error 2016-02-11 14:01:29 -08:00
Chris Pearce
64ff901dd4 Bug 1247556 - Use GMPInfoFileParser in GMPParent::ReadGMPMetaData(). r=gerald 2016-02-12 10:59:51 +13:00
Kartikaya Gupta
df9daecd40 Bug 1243589 - Use SingleTiledContentClient even for scrollable layers if the layer is smaller than a single tile. r=mattwoodrow
MozReview-Commit-ID: LHIrrtFfRgm
2016-02-11 16:49:04 -05:00
Matt Wobensmith
d9230afcc7 Bug 1246227 - Remove SEC_NORMAL from dom/base/test (r=ckerschb) 2016-02-10 14:44:15 -08:00
Bill McCloskey
35996ca6a1 Bug 1246787 - Fix ESLint errors 2016-02-11 13:37:44 -08:00
Nils Ohlmeier [:drno]
dbe6ba0194 Bug 1247547: removed double accounting for WEBRTC_ICE_ADD_CANDIDATE telemetry probes. r=bwc
MozReview-Commit-ID: 43nNMVFLqT
2016-02-11 02:16:03 -08:00
Tom Schuster
9540aa67c8 Bug 1246318 - Remove the still disabled Reflect.enumerate code. r=efaust 2016-02-11 22:23:13 +01:00
Bas Schouten
4ea53b41cd Bug 1247380: Only copy the background if we can succesfully get a snapshot. r=jrmuizel
MozReview-Commit-ID: uWH7MtJmSp
2016-02-11 22:15:11 +01:00
Bill McCloskey
eb126b433d Bug 1246787 - [webext] Add schema storage.json (r=kmag) 2016-02-11 13:04:31 -08:00
Bill McCloskey
76d7e95264 Bug 1246730 - [webext] Add schema test.json (r=kmag) 2016-02-11 13:04:30 -08:00
Bas Schouten
443982f94a Bug 1246641: Also execute an occasional EndDraw for CommandLists used by non-operator OVER drawing. r=jrmuizel
MozReview-Commit-ID: H3V3z8ZIiIK
2016-02-11 21:35:07 +01:00
Bas Schouten
09b022c684 Bug 1232042: Workaround Windows presentation bug by executing a present call on the main thread during a WM_PAINT event. r=jrmuizel
MozReview-Commit-ID: JbPdhIi9zCd
2016-02-06 03:14:44 +00:00
Mike Conley
0bfe5a4586 Bug 1246244 - Regression test. r=jaws,Margaret
MozReview-Commit-ID: BRbHkzSTRrA
2016-02-05 18:20:22 -05:00