Commit Graph

475201 Commits

Author SHA1 Message Date
Kartikaya Gupta
9fe9512858 Bug 1271432 - When combining event regions across layers, don't expand the regions that shouldn't be expanded. r=tnikkel
MozReview-Commit-ID: 6GlYiJAm7rO
2016-05-17 11:05:46 -04:00
Andrew McCreight
9f333887e3 Bug 1273246 - Fix use of bindir in mochitest mach --dmd code. r=ahal 2016-05-17 07:55:49 -07:00
Andrew McCreight
f9c73e6cf3 Bug 1272707, part 2 - Limit the size of preference values sent to child processes. r=bsmedberg
Don't send any preferences that have a string value that is longer
than MAX_ADVISABLE_PREF_LENGTH. This is intended to mitigate OOM
issues, as I've seen a parent process crash trying to create a 100mb
message to send to the child. Such users likely cannot use e10s at
all.

This has a test for all combinations of setting the default and user
values of a preference to large or small string values, or not setting
them at all.

I manually verified that filtering out preferences reduces the size of
the IPC::Message that is sent to the child by printing out the size of
the reply message in PContentParent::OnMessageReceived().
2016-05-17 07:55:49 -07:00
Andrew McCreight
d47917df1b Bug 1272707, part 1 - Shrink down TV mock data test file so as to not exceed pref size limit. r=mantaroh
The next patch will limit the size of preferences sent to content
processes to MAX_ADVISABLE_PREF_LENGTH characters. This patch
eliminates whitespace by converting to and from a JSON data
structure. In addition, I reduced the size of the names and
descriptions in mock_data.json.
2016-05-17 07:55:49 -07:00
Milan Sreckovic
17dda1461b Bug 1272767: More graphics MOZ_CRASH-es getting GFX prefix. Also, follow up on bug 1270180 comments. r=mchang
MozReview-Commit-ID: 1rlHdDG4Cbw

--HG--
extra : rebase_source : 8bf84d2b1c4cc5bc48821b1eadbadf8edc6ce1ba
2016-05-13 16:34:41 -04:00
Jean-Yves Avenard
a240a3d77e Bug 1264694: [MSE] P3. Remove no longer necessay methods. r=jwwang
P2 let all tasks run until completion, as such we don't need to deal with interrupted tasks anymore.

MozReview-Commit-ID: 45lYcIGk2ce

--HG--
extra : rebase_source : db9c8db1b3f1d51d57ad090fdeb2cad6682de2be
2016-05-16 21:14:28 +08:00
Jean-Yves Avenard
62469ee531 Bug 1264694: [MSE] P2. Clear mTaskQueue early when no longer required. r=jwwang
We need to ensure that the MSE TaskQueue gets shutdown as soon as possible and not wait for the MediaSource parent to be destroyed by the cycle collector.
XPCOM shutdown will deadlock if any SharedThreadPool are still in use, and it possible for the cycle collector to only occur after xpcom has shutdown.
So it's important to ensure mTaskQueue is cleared when the MediaSourceDecoder has been shutdown.

This is done by queueing a new DetachTask that will clear mTaskQueue when run.

MozReview-Commit-ID: C3FXcRtq1wy

--HG--
extra : rebase_source : 38c0b5548b32e89b0994704c1318ff77fba76eba
2016-05-16 18:30:19 +08:00
Jean-Yves Avenard
ce63a808d5 Bug 1264694: [MSE] P1. Ensure we only add source buffer tasks on the task queue. r=jwwang
This ensures that the tasks are processed in the expected order.

MozReview-Commit-ID: JPxlwReZ4Az

--HG--
extra : rebase_source : 873a373c5a6ccf20eb69f6d36b1ebdf25e6ddea3
2016-05-17 17:15:45 +08:00
Julian Seward
7a4c826078 Bug 1261052 - Move C++ histogram implementation code into a separate module. r=gfritzsche.
--HG--
extra : rebase_source : 8799fa405c655795fc42350666e0f3baffd316fc
2016-05-17 15:05:19 +02:00
Andrea Marchesini
287629d51c Bug 1269029 - Create a hamburger menu for containers - implementation, r=gijs 2016-05-17 15:12:13 +02:00
Andrea Marchesini
ec648a8d88 Bug 1269029 - Create a hamburger menu for containers - modify icons, r=gijs 2016-05-05 02:18:00 +01:00
Andrew Halberstadt
b1445349ea Bug 1270506 - [mozlint] Add python flake8 linter, r=smacleod
For now, only the following two directories will be linted:
python/mozlint
tools/lint

New directories can be added by adding them to the 'include'
directive in tools/lint/flake8.lint. They all default to the
configuration specified in topsrcdir/.flake8. Subdirectories
can override this configuration by creating their own .flake8
file.

MozReview-Commit-ID: Eag48Lnkp3l

--HG--
extra : rebase_source : 6d98c9fef80055a48cc2622848aa04c3045b747e
2016-05-05 17:21:12 -04:00
Andrew Halberstadt
5f616862e3 Bug 1270506 - [mozlint] Refactor the include/exclude path filtering algorithm, r=smacleod
The current algorithm for filtering down tests is too naive. For example, given the following
directory structured:

parent
  - foo
    - bar
    - baz

And the following include/exclude directives:
include = ['foo']
exclude = ['foo/bar']

Then running ./mach lint parent and ./mach lint foo/baz should both lint all files in baz but
no files in bar. This provides a nice way to include/exclude directories, while allowing the
underlying linters to find appropriate files to lint *within* those directories.

tl;dr - Straight file paths (no globs) will be passed straight to the underlying linter as is.
While paths with globs will first be resolved to a list of matching file paths.

MozReview-Commit-ID: Eag48Lnkp3l

--HG--
extra : rebase_source : 18ce2231bc4198b1e811d39f9803f0d5e03d982e
2016-05-05 17:20:33 -04:00
Andrea Marchesini
e42cf01dd7 Bug 1267923 - Move the CSS rules to ContextualIdentityService, r=mconley
--HG--
rename : browser/modules/UserContextUI.jsm => browser/components/contextualidentity/ContextualIdentityService.jsm
rename : browser/themes/shared/usercontext/usercontext.inc.css => browser/components/contextualidentity/content/usercontext.css
2016-05-17 15:03:43 +02:00
Dustin J. Mitchell
05ef600e1c Bug 1258497: wrap mach Commands in try/except; r=gps
MozReview-Commit-ID: FTPDTjw4gR

--HG--
extra : rebase_source : a922f03418d9c03f4018940554a23ed341a4e807
extra : histedit_source : 439fda8e499696cca39dff7e1b436f74541d17bb
2016-05-16 17:44:24 +00:00
Dustin J. Mitchell
b79ac66e13 Bug 1258497: use taskgraph decision in decision task; r=gps
MozReview-Commit-ID: 9STbp4EPMrT

--HG--
extra : rebase_source : e46a41df3b0159fbbae2fc26ded576a3261fc870
extra : histedit_source : 4fe675a1bc33929e809ba3e2fe9373140eb4279d
2016-05-16 22:42:10 +00:00
Dustin J. Mitchell
cea2249ca3 Bug 1258497: Implement a new taskgraph generation system; r=gps
The `taskgraph` package generates TaskCluster task graphs based on collections
of task "kinds".  Initially, there is only one kind, the "legacy" kind, which
reads the YAML files from `testing/taskcluster/tasks` to generate the task
graph.

Try syntax is implemented by filtering the tasks in the taskgraph after it has
been created, then extending the result to include any prerequisite tasks.

A collection of `mach taskgraph` subcommands are provided for developers to
extend or debug the task-graph generation process.

MozReview-Commit-ID: 1TJCns4XxZ8

--HG--
rename : testing/taskcluster/docs/index.rst => taskcluster/docs/index.rst
extra : rebase_source : 7b9125281d66044db9bd8e4a1fade16136f384b9
extra : histedit_source : 47640d27080acda0279270babbcf33f5badb0d1c
2016-05-16 22:53:22 +00:00
Dustin J. Mitchell
eea6107b48 Bug 1258497: Factor out some common code; r=gps
This code will also be used by taskgraph's legacy kind.

MozReview-Commit-ID: Gd4zZYEee2W

--HG--
extra : rebase_source : 41a76624322687d752c6d836c15700c92ed80cdb
2016-05-09 18:58:11 +00:00
Dustin J. Mitchell
0444ac1f2f Bug 1258497: allow mozunit to pass along kwargs; r=gps
MozReview-Commit-ID: DzmF3zF5jeD

--HG--
extra : rebase_source : b8fead11cee6600cbf6ea241e77208f2418007cb
2016-05-09 18:56:24 +00:00
Rail Aliiev
88e62f3833 Bug 1269731 - partner-repacks push to mirrors should work on reruns r=nthomas a=release DONTBUILD
MozReview-Commit-ID: 8zc1ppQGxWp

--HG--
extra : rebase_source : 0a3867dbdfbdf3ade3a80a515deca24dfce5515f
2016-05-17 08:26:37 -04:00
Andi-Bogdan Postelnicu
feeb57b27c Bug 1273480 - avoid dead code on |status| assignment. r=jorendorff
MozReview-Commit-ID: 7I4wqGSBe64

--HG--
extra : rebase_source : 0fdca792cc58fad2643ce10a343cfde8d8289589
2016-05-17 15:33:25 +03:00
Sotaro Ikeda
fdbb1d4a60 Bug 1255303 - Use SurfaceFormat::B8G8R8X8 as back buffer if possible r=jrmuizel 2016-05-17 05:36:33 -07:00
Andi-Bogdan Postelnicu
22c0d057c1 Bug 1273103 - initialize |lineno_|, |column_|. r=jorendorff
MozReview-Commit-ID: KbluCZJMbNy

--HG--
extra : rebase_source : 3def2f61e9a6bcfe7f0f46794ede835dd26d6cca
2016-05-17 15:21:59 +03:00
Valentin Gosu
451803ecf5 Bug 1148161 - rename PluginModuleParent::OfflineObserver to PluginOfflineObserver r=jimm
The class name clashes with mozilla::net::OfflineObserver and ends up crashing in nsTraceRefcnt::GetBloatEntry because the two classes have a different size.
2016-05-12 17:43:34 +02:00
Valentin Gosu
62b38035bf Bug 1148161 - OfflineObserver seems to be racy r=honzab 2015-03-27 17:54:20 +02:00
Yoshi Huang
5fd6aa919b Bug 1250033 - DocShell shouldn't have any child when setting userContextId. r=sicking 2016-05-17 19:49:10 +08:00
Yoshi Huang
bd13277475 Bug 1250063 - Part 3 : docshell shouldn't load any document except for about:blank when set origin attibutes. r=sicking 2016-05-17 19:49:10 +08:00
Yoshi Huang
b0b5fc2bf1 Bug 1250063 - Part 2: don't call notifyTabContextUpdated(). r=sicking 2016-05-17 19:49:10 +08:00
Yoshi Huang
96c3cbd91b Bug 1250063 - Part 1: Pass userContextId in duplicateTab. r=ttaubert 2016-05-17 19:49:09 +08:00
Sebastian Hengst
f10f24429e Backed out changeset 613c6e5d56a2 (bug 1272109) for failure in test_execute_script.py. r=backout on a CLOSED TREE 2016-05-17 13:40:44 +02:00
David Burns
e0fb97970e Bug 1272109: Remove skip_if_b2g decorator for tests r=ato
It looks like when I landed bug 965308 it stopped looking at any tests
that had @skip_if_b2g decorator. Since we no longer need to support b2g
we should just remove the decorator.


MozReview-Commit-ID: 6EJoSTSCKDu

--HG--
extra : rebase_source : f0b0518633039ba4e742240979e03d37fb821fdf
extra : source : ec96e9cac1a38d1b1df3709b9d16c423e5ce368e
2016-05-12 11:51:08 +01:00
David Burns
42526cc80d Bug 1273275: scroll to the top of elements before interacting r=ato
This allows us to converge with webdriver project which scrolls to the
start of the element instead of the end.

MozReview-Commit-ID: ErQ18bTeo5m

--HG--
extra : rebase_source : 0cb69c80da561e0b0fda288841c415fd206fe907
2016-05-17 11:04:30 +01:00
Jon Coppeard
e77f483725 Bug 1273180 - Trigger major GC if necessary after minor GC r=terrence 2016-05-17 10:20:00 +01:00
Sotaro Ikeda
e4ecb6b6da Bug 1273417 - Update DataSourceSurfaceFromYCbCrDescriptor() r=nical 2016-05-17 02:14:54 -07:00
Kai Engert
f586b10fe0 Bug 1258375, land final release tag of nss 3.24. Changes version numbers.
This backs out bug 1270836, as it wasn't landed according to NSS procedures. It will be re-landed once we go to a NSS 3.25 beta version.
2016-05-17 11:00:15 +02:00
Joel Maher
b6788df19c Bug 1067022 - add expected assertion on windows for test_bug995943.xul. r=RyanVM
MozReview-Commit-ID: 3cg9fQgorhG

--HG--
extra : rebase_source : 76c75b2fab084240c33eab1311ebb6c8f7b9f856
2016-05-16 06:47:59 -04:00
Alexandre Lissy
b4420dcc85 Bug 1273126 - Fixing definition of MOZ_SERVICES_SYNC on B2G r=glandium
MozReview-Commit-ID: 1FniQxHUCKC

--HG--
extra : rebase_source : e64684de98c903502d133e1278cb87c19a2f20a2
2016-05-16 15:27:48 +02:00
Timothy Nikkel
de51310fb9 Bug 1267489. nsImageBoxFrame should unlock old image when changing to a new image. r=dholbert 2016-05-17 03:13:28 -05:00
Christoph Kerschbaumer
ba2b486b03 Bug 1272590 - Remove SEC_NORMAL from toolkit/content/contentAreaUtils.js (r=sicking) 2016-05-17 10:00:45 +02:00
Sebastian Hengst
c470acb725 Backed out changeset aa4ee7364898 (bug 1264694) for frequent crash in mediasource-append-buffer.html [@ mozilla::TrackBuffersManager::ProcessTasks()] on OSX 10.10 after hitting its new assertion. r=backout 2016-05-17 09:50:38 +02:00
Sebastian Hengst
2963660445 Backed out changeset 14b8c2f4764f (bug 1264694) 2016-05-17 09:50:29 +02:00
Sebastian Hengst
68d5be6b79 bug 1273201 - Also also disable 018.html. r=frequent-intermittent 2016-05-17 09:50:18 +02:00
Brian Birtles
05ebe24ccd Bug 1264822 part 5 - Remove web-animations/animation-model/animation-types/not-animatable.html; r=hiro
Part 3 in this patch series introduces a test that checks this behavior more
strictly. If that test passes, this test is sure to pass as well.

MozReview-Commit-ID: 8UvESeSYYFl

--HG--
extra : rebase_source : 7c676f9efbc9caeedcc864d8e5698edb033aa64d
2016-05-17 14:10:34 +09:00
Brian Birtles
b7858fac74 Bug 1264822 part 4 - Ignore shorthand properties when all their subproperties are not-animatable; r=hiro
This patch also includes a tweak to not-animatable.html to match the order in
which properties are enumerated on the object. This test was always in error but
we never noticed since the test failed before reaching the test in question.

Making the test dependent on the order in which object properties is enumerated
is not good but we will remove this test in the next patch. In this patch we
just make sure it passes.

MozReview-Commit-ID: AKXdHj4nUMv

--HG--
extra : rebase_source : 64270ae9d9cf68cdf534baaf198583fb1974025c
2016-05-17 14:09:11 +09:00
Brian Birtles
ac54ca6ebe Bug 1264822 part 3 - Add a test that non-animatable properties are not accessed; r=hiro
We already have a test under
web-animations/animation-model/animation-types/not-animatable.html that checks
that non-animatable properties don't show up in the result from getKeyframes().
However, the spec says we should not even *read* those properties off the input
object(s).

This patch adds a test to check that we don't read non-animatable properties.
In a later patch we will remove the existing test since it will be redundant
after this test is added.

MozReview-Commit-ID: J11cUybTLcX

--HG--
extra : rebase_source : 84355bf19084a8c33f271c314ceca2572761cffd
2016-05-17 14:06:06 +09:00
Brian Birtles
1d58f2abaf Bug 1264822 part 2 - Move web-animations/keyframe-effect/keyframe-handling.html; r=hiro
To better match where the behavior under test is defined in the spec.

MozReview-Commit-ID: 6Uhypq7ZxDc

--HG--
rename : testing/web-platform/tests/web-animations/keyframe-effect/keyframe-handling.html => testing/web-platform/tests/web-animations/animation-model/keyframe-effects/the-effect-value-of-a-keyframe-effect.html
extra : rebase_source : b972ea3ab9778703a8eedfd4f58cd934befc428a
2016-05-17 14:06:03 +09:00
Brian Birtles
bc000c0e75 Bug 1264822 part 1 - Move web-animations/animation-model/keyframes to keyframe-effects; r=hiro
To better match the outline of the spec.

MozReview-Commit-ID: LZrDJvql65s

--HG--
rename : testing/web-platform/meta/web-animations/animation-model/keyframes/effect-value-context.html.ini => testing/web-platform/meta/web-animations/animation-model/keyframe-effects/effect-value-context.html.ini
rename : testing/web-platform/tests/web-animations/animation-model/keyframes/effect-value-context.html => testing/web-platform/tests/web-animations/animation-model/keyframe-effects/effect-value-context.html
extra : rebase_source : aa2d5f7a44aa2a5c5e1c0244289797288bc40606
2016-05-17 14:05:58 +09:00
Bob Owen
e809e9f918 Bug 1035125 Part 9: Link Chromium sandbox into firefox.exe instead of having a separate DLL. r=aklotz,glandium
MozReview-Commit-ID: 1vgDPjpcwz3

--HG--
extra : rebase_source : 40966d98ca6c37f30884639d648907b4760ae240
2016-05-15 16:41:40 +01:00
Bob Owen
c43bf02cda Bug 1035125 Part 8: Pass sandboxing pointers through XRE_InitChildProcess instead of linking to more functions in xul. r=aklotz,glandium
MozReview-Commit-ID: 5AiktOArpfU

--HG--
extra : rebase_source : 1ba3be949e2bfeb3b67687ab05d43342852ab764
2016-05-15 16:35:22 +01:00
Bob Owen
209b6e6e18 Bug 1035125 Part 7: Remove unused functions in security/sandbox/chromium/base/time/time.h to avoid nspr dependency. r=aklotz
MozReview-Commit-ID: 4TwVMQGTXUU

--HG--
extra : rebase_source : 0757390f3ff6fc71242ae09d95e1934d3e80fa26
2016-05-15 16:23:57 +01:00