Граф коммитов

535654 Коммитов

Автор SHA1 Сообщение Дата
Marco Bonardo de3e8620ea Bug 1361675 - Cookie import test fails on Win 10. r=Gijs
MozReview-Commit-ID: 70iJjYaW1ya

--HG--
extra : rebase_source : c8edce73f2222d4fd8212fe63415d9d3189e09b2
2017-05-12 10:19:02 +02:00
Ralph Giles 72c31d122b Bug 1364237 - aom: Enable YASM for intel cpus. r=froydnj
I had removed the USE_YASM define in porting the libvpx
moz.build to libaom, to avoid depending on VPX_USE_ASM.
Turns out USE_YASM is a magic context define, without which
the build won't compile libaom's yasm-format .asm files,
so we need to define it for the two intel architecture
source sets.

Restore the define unconditionally for intel targets.
We require yasm in the default build for those targets,
and want to fail if it isn't available to block performance
regressions.

MozReview-Commit-ID: CqGtY8RNLNf

--HG--
extra : rebase_source : ccc7f9dfc467642d9e4c623c55e54e769fb38f2f
2017-05-11 15:31:50 -07:00
Ralph Giles 105c65063a Bug 1364237 - aom: Remove obsolete 32-bit macOS build config. r=froydnj
We no longer support 32-bit x86 macOS, and
these flags point to configurations we
don't generate.

MozReview-Commit-ID: 3mIfHCf6aUj

--HG--
extra : rebase_source : 35b5089ade7f9d5d03e5f4d3f0760cc969b4b8c7
2017-05-11 13:56:51 -07:00
Daniel Holbert 886c9c28ca Bug 1361617: Remove unused member var nsFlexContainerFrame::mChildrenHaveBeenReordered. r=mats
MozReview-Commit-ID: Iqk85piO9gT

--HG--
extra : rebase_source : f96b3086c62a6dc5c0bbde5640211d4343cb68a8
2017-05-11 23:09:38 -07:00
Manish Goregaokar 868183b04c Bug 1341102 - Update test expectations for Servo PR #16821; r=manishearth
MozReview-Commit-ID: 98UdNZJrQo1
2017-05-12 13:20:31 -07:00
Andreas Tolfsen 3e5326f9db Bug 1362992 - Wrap implementation errors as UnknownError r=automatedtester
JavaScript errors that arise from the Marionette implementation are
currently wrapped as WebDriverErrors.  A WebDriverError is encoded with
a "webdriver error" error code, which officially does not exist in the
WebDriver specification.

To distinguish WebDriver errors from programming errors of Marionette,
this changes them to be encoded as UnknownErrors (error code
"unknown error").  This will make stacktraces coming from clients
easier to read, since it is clear that the error is not caught by the
WebDriverError-catchall.

MozReview-Commit-ID: A5HejTOgOp8

--HG--
extra : rebase_source : 7bd4f539954dd11973b2bd16c1bf4f4ea7b4a4d7
2017-05-08 14:01:30 +01:00
nbeltran14 8a674f1ac1 Bug 1360132 - Escaped tagName with cssEscape in findCssSelector to deal with special chars; r=pbro
MozReview-Commit-ID: CadEDXDYeBV

--HG--
extra : rebase_source : 0f993ff164156e46271c2c249d801404c0396318
2017-05-11 20:03:35 +02:00
Henrik Skupin 0cd2f844e4 Bug 1364245 - Extend delay for slow loading resource testcase to prevent intermittent. r=ato
For debug builds a delay of 1s is too short. It means that a navigation
command will return when the readyState reaches interactive for an eager
page load strategy. But due to the slowness of the browser, the next
command could already operate on a complete readyState. Delaying the load
of resources is the only possible option.

MozReview-Commit-ID: D2je04Euwf0

--HG--
extra : rebase_source : d74f276d96cd5bd2301f9dac8866f9dadc6e2937
2017-05-12 11:44:17 +02:00
Asaf Romano 14b2abfa9f Bug 1019450 - Cleanup test_promiseBookmarksTree. r=mak
MozReview-Commit-ID: C7Zp44toHkX

--HG--
extra : rebase_source : f6bf770585d091bbd8ffbea63fd518c9e0923982
2017-05-12 15:33:22 +02:00
Hiroyuki Ikezoe 55a4317a40 servo: Merge #16826 - Check ElementHasAnimations flag in rust side (from hiikezoe:check-animation-flag); r=birtles
We can bail out earlier before calling an FFI function.
This is a PR for https://bugzilla.mozilla.org/show_bug.cgi?id=1364264 .

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes do not require tests because it's for stylo

Source-Repo: https://github.com/servo/servo
Source-Revision: 875b07b4ec64d9ef01bafb81ecf01496c0b9fa4b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f61dc4336198f974eff1fcd7401efbbd899baa00
2017-05-12 12:35:52 -05:00
Manish Goregaokar 33434669f1 servo: Merge #16821 - font-variant-caps should accept all-small-caps and all-petite-caps (from Manishearth:variant-caps); r=jryans
Source-Repo: https://github.com/servo/servo
Source-Revision: c260beba3904cd587964ce4330a7a7e784d21343

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 884e61ca9972dbe32daed852ea8dd0a4aa1b505f
2017-05-12 10:27:35 -05:00
Emilio Cobos Álvarez 7bb0c2c428 servo: Merge #16802 - style: Slim down SharedStyleContext, and do various other cleanups around the style crate (from emilio:slim-down-slc); r=bholley
This slims down SharedStyleContext, in preparation for a few things.

First, I would like to eventually move the stylist to the document in Servo, in
order for it to hold the StyleSheetSet.

Also, this gets rid of a fair amount of overhead while creating it in stylo.

Fixes bug 1363245.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e20eedc331b5fa4c6e2fecc140e10f220619deb8
2017-05-12 08:56:47 -05:00
Emilio Cobos Álvarez 22d7b7fd06 servo: Merge #16834 - Bug 1364377: Fix inheritance of NAC, and selector-matching of pseudo-implementing NAC (from emilio:nac-is-a-pain); r=bholley
Source-Repo: https://github.com/servo/servo
Source-Revision: db080cea97bd88ef4081ff244b5cf0707cbb5d48

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4f05a0697290e3141b0cd754ae6f9e22f2336a4e
2017-05-12 07:25:00 -05:00
Chris H-C d749f213ec bug 1364207 - Guard all uses of whitelists in histogram_tools r=frank
MozReview-Commit-ID: HjFU5ASrhRG

--HG--
extra : rebase_source : f25c82d140a4d222286176a313b3896894a2d006
2017-05-11 17:00:14 -04:00
Andreas Tolfsen 3eb9ebace3 Bug 1363053 - Use Node.ELEMENT_NODE instead of magic number r=maja_zf
This patch removes the magic number and instead uses the ELEMENT_NODE
constant which exists on all objects of the Node prototype chain.
We already test that obj has a nodeType own property.

MozReview-Commit-ID: If9HIkBjCyN

--HG--
extra : rebase_source : 5b04727b53616c08bf74a4f3acb56c33d827d015
2017-05-08 18:58:47 +01:00
Andreas Tolfsen c9a2bed65e Bug 1363053 - Return JSON representation of return value r=maja_zf
According to a recent change in the WebDriver specification, we need to
return an object's JSON representation iff it exists.

The relevant specification prose change was made in
1ee4c61c11.

This patch causes return values that have a toJSON property that is a
function, to return the value of calling said function.

MozReview-Commit-ID: GpQNE9GpjCH

--HG--
extra : rebase_source : 7192bbd484cbaa4661f2442990082aefcdd1570b
2017-05-08 18:57:09 +01:00
Andreas Tolfsen a9505b4395 Bug 1363053 - Move element.fromJson/toJson to evaluate module r=maja_zf
This patch renames element.fromJson and element.toJson to
evaluate.fromJSON and evaluate.toJSON, respectively.

The JSON (de)serialisation code belongs more naturally in the evaluate
module, which did not exist when these functions were written.

MozReview-Commit-ID: FJGbjGD1kZ6

--HG--
extra : rebase_source : b2528f545c8213b06b9116299806d8ab8a875250
2017-05-08 17:05:20 +01:00
Wes Kocher 7546d6084a Merge m-c to autoland, a=merge CLOSED TREE
MozReview-Commit-ID: CkxXpx4uM9o
2017-05-12 13:10:32 -07:00
Joel Maher d8e63e2177 Bug 1364421 - fix flake8 errors. r=me a=CLOSED TREE 2017-05-12 15:14:10 -04:00
Joel Maher 769411ae57 Bug 1364421 - temporarily disable SETA for BBB only. r=bstack, a=CLOSED TREE 2017-05-12 14:55:42 -04:00
Joel Maher 5d7cb32492 Bug 1364421 - temporarily disable SETA. r=bstack, a=CLOSED TREE
MozReview-Commit-ID: KEoiYhR6bXs
2017-05-12 14:41:52 -04:00
Ryan VanderMeulen 44e0bdf130 Backed out changesets 72fe8375faa0 and 5f55c10a0a72 (bug 1352306) for ElementInlines.h assertions.
CLOSED TREE
2017-05-12 12:58:05 -04:00
Ryan VanderMeulen 3650b16bc1 Merge m-c to autoland. a=merge
CLOSED TREE
2017-05-12 12:17:43 -04:00
Ryan VanderMeulen 4e993e38aa Merge m-c to inbound. a=merge
CLOSED TREE
2017-05-12 12:11:25 -04:00
Ryan VanderMeulen 1fc10504ff Backed out changesets c9812dd7d27a and 387d8415d05e (bug 1362148) because it broke various Android jobs. 2017-05-12 11:47:22 -04:00
Ryan VanderMeulen 8b33390981 Backed out changeset 5e04c49d2d10 (bug 1362164) because it depends on bug 1362148 which is being backed out. 2017-05-12 11:46:31 -04:00
Evan Wallace 8c715c91e6 Bug 1052253 - Part 2: Map macOS pinch zoom gesture to wheel event with control key. r=mstange
This patch matches Chrome's behavior almost exactly, except it uses a slightly
different formula for the deltaY value that results in the same movement speed
as Chrome but doesn't drift over time.

Tested by confirming that trackpad pinch zoom now works on maps.google.com,
wego.here.com, and figma.com.
2017-05-12 15:39:09 +03:00
Birunthan Mohanathas 0e52c9ca9e Bug 1052253 - Part 1: Fix gestures when using macOS 10.11 or later SDK. r=mstange
`beginGestureWithEvent` and `endGestureWithEvent` are not called for
applications that link against the macOS 10.11 or later SDK when we're running
on macOS 10.11 or later.

For compatibility with all supported macOS versions, we have to call
{begin,end}GestureWithEvent ourselves based on the event phase when we're using
the 10.11+ SDK.

See: https://developer.apple.com/reference/appkit/nsresponder/1526368-begingesturewithevent
2017-05-12 15:39:01 +03:00
Olli Pettay 1b1642f523 Bug 1364018 - Coalesce wheel events more aggressively, r=stone
--HG--
extra : rebase_source : 17171c517a0c49cfbb2a6c99a06d655e61930e2d
2017-05-12 14:13:59 +03:00
Alin Selagea 68950682a9 Bug 1362397 - Add a new win8 R-e10s-qr job on the graphics tree, r=kmoir,aobreja 2017-05-12 14:11:46 +03:00
Iris Hsiao 6559420d58 Backed out 15 changesets (bug 1358846, bug 1356826) for talos error. a=backout
Backed out changeset 96ea13bb00c5 (bug 1358846)
Backed out changeset b533d7f9b9c2 (bug 1358846)
Backed out changeset 7dcb80a051a3 (bug 1358846)
Backed out changeset 26825f1e33dd (bug 1358846)
Backed out changeset 98b57ff82a54 (bug 1358846)
Backed out changeset b9088593e34f (bug 1358846)
Backed out changeset cb2518673c56 (bug 1358846)
Backed out changeset 889c487a5d41 (bug 1358846)
Backed out changeset 459b36092b7a (bug 1356826)
Backed out changeset c861e23ec8ef (bug 1356826)
Backed out changeset d47998fa24cd (bug 1356826)
Backed out changeset b02e89c67132 (bug 1356826)
Backed out changeset c46fed6e4f6a (bug 1356826)
Backed out changeset 237268e3d9d2 (bug 1356826)
Backed out changeset 527435fc20db (bug 1356826)
2017-05-12 17:45:21 +08:00
Mike Hommey fcd9a5550a Bug 1361258 - Use Thread Local Storage in mozjemalloc on mac. r=erahm
NO_TLS used to be hardcoded on mac because up to 10.6, __thread was not
supported. Until recently, we still supported for 10.6, and it's not the
case anymore, so we could make mac builds use __thread.

Unfortunately, on OSX, __thread circles back calling malloc to allocate
storage on first access, so we have an infinite loop problem here.
Fortunately, pthread_keys don't have this property, so we can use that
instead. It doesn't appear to have significantly more overhead (and TLS
overhead is small anyways compared to the amount of work involved in
allocating memory with mozjemalloc).

At the same time, we uniformize the initialization sequence between
mozjemalloc and mozjemalloc+replace-malloc, such that we have less
occasions for surprises when riding the trains (replace-malloc being
nightly only), ensuring the zone registration happens at the end of
mozjemalloc's initialization.
2017-05-12 18:12:20 +09:00
Mike Hommey f5461de678 Bug 1361258 - Initial implementation for jemalloc_thread_local_arena. r=erahm
The function, when passed `true`, creates a new arena with no attachment
in the global list of arenas, and assigns it to the current thread.
When passed `false`, it restores the default arena.

Some details are left out because they don't matter yet, as the sole
initial use of the API is going to invoke the function when stylo rayon
threads start up, which happens exactly once per thread, and at thread
exit time, which happens at shutdown, if ever.

This simplifies things, and leaves those details to followup(s):
- Arenas can't simply be killed when the function is called with `false`
  again (or when the thread dies) because they may still contain valid
  allocations that could have been passed to other threads. Those arenas
  should be kept until they are empty.
- jemalloc_stats doesn't know about them and will under-report memory
  usage.
- pre/post fork hooks don't know about them and will not force-unlock
  their locks. In practice, until those arenas are used for something
  else than the style system, this can't lead to the dead-locks that
  these hooks help prevent because nothing should be touching pointers
  allocated through them after fork.
2017-05-12 18:12:15 +09:00
Mike Hommey 6277defd95 Bug 1361258 - Add a hazard exception for Gecko_SetJemallocThreadLocalArena. r=me 2017-05-12 18:12:07 +09:00
Julian Seward 83969e88eb Bug 1361258 - Add a jemalloc_thread_local_arena API with a binding for rust. r=glandium
The intent of the API is to allow threads to opt-in to use a separate
mozjemalloc arena.

This indroduces a dummy shell with no actual implementation.
2017-05-12 18:08:08 +09:00
Ruturaj K. Vartak eeb5e9e9e1 Bug 1354504 - Add autocomplete to network monitor search box. r=jdescottes, ntim
MozReview-Commit-ID: KojxbqOAJAQ
2017-05-11 04:25:00 +01:00
Jan de Mooij 652857ca5b Bug 1364014 - Remove unnecessary is-array check in GCMarker::restoreValueArray. r=jonco 2017-05-12 09:46:21 +02:00
Ehsan Akhgari 8a04849cee Bug 1362814 - Part 2: Move GeckoProfilerReporter to its own header; r=mstange
This allows us to get rid of the nsIMemoryReporter.h inclusion in GeckoProfiler.h.
That brings XPCOM string headers with it.
2017-05-12 02:35:09 -04:00
Ehsan Akhgari 9fc6c978e3 Bug 1362814 - Part 1: Remove an unneeded inclusion from GeckoProfiler.h; r=mstange 2017-05-12 02:35:09 -04:00
vincentliu 3d037c531f Bug 1363675 - Get D3D11Device from TextureSourceProvider if it exists. r=dvander 2017-05-12 14:09:53 +08:00
Phil Ringnalda 0b5026dbf2 Backed out 3 changesets (bug 1310885) for heap write hazard failures
Backed out changeset 77352010d8e8 (bug 1310885)
Backed out changeset 9245a2fbb974 (bug 1310885)
Backed out changeset 7c2db290c4b6 (bug 1310885)

MozReview-Commit-ID: 7JWuxt9QDO0
2017-05-11 23:03:31 -07:00
Kris Maglione 01da50be42 Bug 1358846: Temporarily disable low-value tests that fail only on Windows. r=me
MozReview-Commit-ID: AklygLaeckt

--HG--
extra : rebase_source : 39b68fc73a87caacb8a401d786df9e0a21569bc2
2017-05-11 22:42:44 -07:00
Kris Maglione 695828f6ff Bug 1358846: Disable Jetpack child_process test. r=me
MozReview-Commit-ID: 65a0bfbtskU

--HG--
extra : rebase_source : e0d9e8a6f6927ab999b2a29fa6a9fd6a33dde5a9
2017-05-09 21:04:35 -07:00
Cameron McCormack 9aa3f6dbf6 Bug 1352306 - Part 2: stylo: Only snapshot EventStates if there is some rule that depends on it. r=emilio
MozReview-Commit-ID: J5xhdi7pGSv

--HG--
extra : rebase_source : 48247c1dd2e5b091224bc5fff2e1249b880e157b
2017-05-09 18:13:45 +08:00
Cameron McCormack baddd12434 Bug 1352306 - Part 1: stylo: Only snapshot attributes if there is some rule that depends on that attribute. r=emilio
MozReview-Commit-ID: Emey96ovc2a

--HG--
extra : rebase_source : b60b5114e8faf5bb39bf34fd0d985b071b9ec2dc
2017-05-08 16:04:31 +08:00
Cameron McCormack 24efbaf908 servo: Merge #16811 - style: record attribute and state selector dependencies (from heycam:snapshots); r=emilio
From https://bugzilla.mozilla.org/show_bug.cgi?id=1352306.

Source-Repo: https://github.com/servo/servo
Source-Revision: 1faac6a6e640e9af1890debfbecce60c8cdf37a9

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 76c559a192d3d64e5a369c14a459e9acbf71a4ca
2017-05-12 05:41:35 -05:00
Kris Maglione f942b2418c Bug 1358846: Part 6 - Clean up error handling. r=me
MozReview-Commit-ID: ApF7H3NTIU8

--HG--
extra : rebase_source : e1fdf13a2abc73ae961b7d4087dbfd7232101ede
2017-04-29 19:03:40 -07:00
Dustin J. Mitchell fd4071972b Bug 1340564: use attributes to identify talos jobs; r=bstack
MozReview-Commit-ID: B29F5SL8JNr

--HG--
extra : source : fd1f5c9160453dec2a83293cbf1f727a2d5ffc0a
2017-04-25 22:34:13 +00:00
Dustin J. Mitchell 8cd3cb39d2 Bug 1340564: specify the target name explicitly for dependent tasks; r=gps
MozReview-Commit-ID: D7TeFDmXeVr

--HG--
extra : source : 516721f50c1ee2bbb81879f6b89ec880e196dea3
2017-04-25 22:30:09 +00:00
Dustin J. Mitchell a242245737 Bug 1340564: filter for android tasks using the build_platform attribute; r=jlorenzo
This avoids using substring matching on labels, which is likely to lead to
sadness someday.

MozReview-Commit-ID: J1pFuP1U335

--HG--
extra : source : 45d01b30e9d1eb6e7a06eb2800d7d54d302c2f6e
2017-04-25 21:59:42 +00:00