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

489388 Коммитов

Автор SHA1 Сообщение Дата
Shih-Chiang Chien 1a2dc51208 Bug 1228526 - Part 2, show devices supported request URL in selection prompt dialog. r=chunmin
MozReview-Commit-ID: FYR2ruFsyGy

--HG--
extra : rebase_source : f0ffe43b6c0f24df6ed55750c7113e758a66710c
2016-08-23 17:57:33 +08:00
Shih-Chiang Chien a2a2c152ab Bug 1228526 - Part 1, support device filtering by requested presentation URL. r=smaug
MozReview-Commit-ID: JrqeavLGub1

--HG--
extra : rebase_source : fc2eca80d59dc36e97a7af8ed3de6597faf38703
2016-08-26 10:59:27 +08:00
tlin@mozilla.com 6ac132dfe9 Bug 1295084 Part 4 - Rename Position::PositionCoord to Position::Coord. r=dholbert
--HG--
extra : rebase_source : 1b8b7019640f2db91167880899438cac7a2c49cd
2016-08-25 09:59:51 +00:00
tlin@mozilla.com 54d89b5a5c Bug 1295084 Part 3 - Move nsStyleImageLayers::Position to mozilla::Position. r=dholbert
--HG--
extra : rebase_source : 6684d08700f9d7fed9fc1572871a0250d43b74cf
2016-08-25 09:59:51 +00:00
tlin@mozilla.com 1a6e56ea85 Bug 1295084 Part 2 - Move two Position methods into nsStyleImageLayers. r=dholbert
--HG--
extra : rebase_source : d6288a2c46a2f7002fc1a6547b0607a811546d58
2016-08-25 09:59:51 +00:00
tlin@mozilla.com 3100ef24af Bug 1295084 Part 1 - Move FragmentOrURL into mozilla namespace. r=dholbert
--HG--
extra : rebase_source : 2d4be5845d11c03560c7cd3fd60417b47f2a6dac
2016-08-25 09:59:51 +00:00
Phil Ringnalda 7392fb1b41 Backed out 4 changesets (bug 1294660) for mask-composite-2c.html failures
Backed out changeset 64b92e33713c (bug 1294660)
Backed out changeset 051453bf9c54 (bug 1294660)
Backed out changeset 0764147ff82b (bug 1294660)
Backed out changeset adfd8fb2faca (bug 1294660)
2016-08-25 23:14:22 -07:00
Chris H-C fba0e0fee3 bug 1218576 - Test child categorical histogram aggregation r=gfritzsche
It's new, it wasn't tested, and my patches broke it earlier so we should have
coverage for it.

MozReview-Commit-ID: B25bFOJHMSQ
2016-08-23 08:36:00 +07:00
Patrick Brosset df364f3f56 Bug 1289543 - Disable the eyedropper on non-HTML documents; r=miker
The eyedropper code now bails out if the content window is XUL, since
highlighters cant be inserted into non-HTML documents.
And the inspector hides the eyedropper buttons in the toolbar and in the
color-picker if the document isn't HTML.

MozReview-Commit-ID: 7AgRV8Qu9gz

--HG--
extra : rebase_source : 04220a6057df9ced4b49c29e8b46557008e0d738
2016-08-22 14:59:08 +02:00
Phil Ringnalda dd3327a9e1 Backed out changeset ec1ebef4eb86 (bug 1296420) for failures in test_aria_owns.html 2016-08-25 20:03:37 -07:00
Michael Li ffa6e26871 Bug 1296420 - Don't add node to DocAccessible's invalidation list if it's a target of aria-owns. r=surkov
MozReview-Commit-ID: tOCjCud8b0

--HG--
extra : transplant_source : %2Ac%B3%25%EE%26%92%13%A7%92%27%D1%0E%B6%DFF%CA%28v%90
2016-08-24 16:54:54 -04:00
rsx11m c4e1b4ed83 Bug 1297546 - Title of Default Developer Tools in Toolbox Options should not hard-code the application name. r=jdescottes 2016-08-25 11:02:15 -05:00
Matthew Noorenberghe c0fde59d6e Bug 1266618 - Fix test_prompt.html for E10S by using a ChromeWindow. r=dolske
This switches getPrompt to use a ChromeWindow which matches what the shipping code does for e10s.

MozReview-Commit-ID: DcVSr6JfmdK

--HG--
extra : rebase_source : 35178483a1223c71c0dd2142479799225ccde1bb
2016-08-25 00:06:51 -07:00
Matthew Noorenberghe 3803d21cec Bug 1297905 - Remove usage of getAllDisabledHosts in sanitize implementations. r=liuche,markh
Bug 1058438 moved disabled hosts to the permission manager which are already cleared by these modules.

MozReview-Commit-ID: InprrYLvjMR

--HG--
extra : rebase_source : 806c2542cbab953b74ad82611501ecac32400930
2016-08-24 17:41:10 -07:00
Wes Kocher 7d3cddeb71 Merge m-c to fx-team, a=merge 2016-08-25 17:15:43 -07:00
Wes Kocher f80822840b Merge fx-team to central, a=merge 2016-08-25 17:13:23 -07:00
Wes Kocher f78f2d693b Merge inbound to central, a=merge 2016-08-25 16:59:00 -07:00
Mike de Boer 915c0ea08b Bug 1279695 - update the position of ranges that are inside fixed, sticky positioned container nodes or frameset or iframe at each repaint or scroll. r=jaws
MozReview-Commit-ID: J8YK1s2kArq
2016-08-25 20:11:46 +02:00
Mike de Boer 56661a22a9 Bug 1294392 - consolidate the highlight and counter timers into one iterator timer. r=jaws
This introduces a new NLP (Natural Language Processing) module with only one
method: 'levenstein'. We're using it to allow the highlighter to keep running
when the it starts the iterator with a word that's one edit distance behind the
value in the findField.

MozReview-Commit-ID: K8oeiXoiLUe
2016-08-25 20:11:44 +02:00
Aryeh Gregor d384462b47 Bug 1296929 - Match spec for col/colgroup.span, textarea.rows/cols; r=jst
The spec recently changed to match browsers better.  There's currently
not much interop in exact details of how this work.  This brings us in
line with the spec except for the limit of 1000 on the span attribute.

The added textarea failures are spurious, because I'm not updating our
local tests in this commit.  The new tests are submitted upstream at
<https://github.com/w3c/web-platform-tests/pull/3518>.

MozReview-Commit-ID: 1L8aUtF47Qi
2016-08-25 17:23:37 +03:00
Rob Wu 364b810c75 Bug 1287010 - s/Extension:RemoveListener/API:RemoveListener/ r=billm
This fix is not related to the referenced bug but came up during review.

MozReview-Commit-ID: IjrxWzkLIq1

--HG--
extra : rebase_source : d53179af98106049bcf1a12efed74c4527ac62c1
2016-08-24 16:09:43 -07:00
Rob Wu 6576d65005 Bug 1287010 - Add test for SchemaAPIManager's loadScript r=billm
And change `this.global.Object.create(null)` to
`Cu.createObjectIn(this.global)`. The tests pass either way, but
`Cu.createObjectIn` is more explicit.

MozReview-Commit-ID: LmL6rTru5zZ

--HG--
extra : rebase_source : 4cf7b1463bf8b6882b6fd453657eae0ff43ed64d
2016-08-24 15:40:35 -07:00
Rob Wu e080d5603d Bug 1287010 - Refactor shouldInject / pathObj r=billm
Split the `shouldInject` method into separate methods:
- `shouldInject` to determine whether the API (or namespace)
  should be injected.
- `getImplementation` to return the actual implementation.

Introduced `SchemaAPIInterface` for documentation purposes, and
two concrete implementations `LocalAPIImplementation` and
`ProxyAPIImplementation` which provide the functionality to run a local
and remote implementation of the API for which the schema API is
generated, respectively. These classes store the necessary details for
the invocation, so the methods that were formerly in the `Context` in
Schemas.jsm no longer get the `pathObj`, `path` or `name` parameters.

And merge the `path` and `name` in the implementation of remote APIs
because there is no need for having them separate, as the callers and
callees often did redundant pre/post-processing on `data.path` because
of the way it was implemented.

MozReview-Commit-ID: isbG9i9pNP

--HG--
extra : rebase_source : 22cdc3ab3d14c6381f9f540739d6750281ae8c71
2016-08-24 01:03:49 -07:00
Rob Wu bef0b5a7ac Bug 1287010 - Use sandbox instead of JSM for global separation r=billm
MozReview-Commit-ID: GSqmh0xC2hW

--HG--
extra : rebase_source : 9b23172c205a1e4ef49f018eb2fbd5d9bd207adc
2016-08-23 16:19:33 -07:00
Emanuel Hoogeveen 8210833803 Bug 1294732 - Back out all of bug 1271165 as it has served its purpose. r=glandium 2016-08-23 08:45:00 -04:00
Mark Hammond b35ef0d504 Bug 1297974 - correctly handle shutdown exceptions while applying incoming records. r=rnewman
MozReview-Commit-ID: 7vgaD1yLdb4

--HG--
extra : rebase_source : 5ab827785f6738c5c2e7732f52433830857350ca
2016-08-22 14:36:29 +10:00
Mark Hammond 0dca4464fe Bug 1273343 - make more log noise on resource exceptions and errors. r=tcsc
MozReview-Commit-ID: 6pa8MvoNnwb

--HG--
extra : rebase_source : b416c72d2966d8a1fab5fe68a2b46f731b08ea7e
2016-08-25 18:33:01 +10:00
Sebastian Hengst 0cd4b8abbb Bug 1294660: Part 4 - Touch clobber file to prevent bustage. r=TYLin
MozReview-Commit-ID: 453KmZUJNfB

--HG--
extra : rebase_source : 8d4196724baf0dab1d92b4774b1787e21f794783
2016-08-24 17:02:32 +02:00
Rob Wu 2e1c4a437c Bug 1287010 - Extension.jsm optimization: Use pathObj r=billm
The API implementation is already available upfront when the schema API
is generated, so `pathObj` has the implementation and can be used
instead of looking up the implementation over and over again with
`findPathInObject`.

MozReview-Commit-ID: FnCIyoaxgA4

--HG--
extra : rebase_source : 440b25fcfb4a0438b1ff8680ad770930e7427de7
2016-08-20 15:37:43 -07:00
Jan-Ivar Bruaroey de3b766278 Bug 1284909 - Allow raw deviceId constraints in gUM when caller is chrome. r=jesup
MozReview-Commit-ID: IB0BhGKbdam

--HG--
extra : rebase_source : 9ed1f4218e66bd3c96d044cacce167cbde79e775
2016-08-19 16:39:54 -04:00
Anjana Vakil 6aa106320d Bug 1291796 - Minor fixes to harness unit tests; r=maja_zf
In test_marionette_runner.py, fix pytest warning raised when
importing TestManifest class directly in global namespace.

In test_marionette_arguments.py, improve readability by
shortening/changing some names and removing unnecessary
comments (not needed as code is self-explanatory).

MozReview-Commit-ID: GDzxlEqb7MB

--HG--
extra : rebase_source : 78927cae7f8ec011d2b398e3a1ce71174d7b028c
2016-08-26 15:52:29 +02:00
Anjana Vakil 6e249bab1e Bug 1291796 - Split Marionette harness tests by class; r=maja_zf
Split the Marionette harness unit tests, all of which were
previously located in the single module test_marionette_runner.py,
into modules that each test a specific class or group of
similar classes. This will make it easier to add and locate
new tests in the future, based on the class they are testing.

The new module structure within tests/harness_unit/ is:

* test_marionette_harness.py - tests for MarionetteHarness and
  the command-line interface

* test_marionette_arguments.py - tests for MarionetteArguments
  (future: BaseMarionetteArguments and RemoteMarionetteArguments)

* test_marionette_runner.py - tests for MarionetteTestRunner
  and BaseMarionetteTestRunner (future: MarionetteTextTestRunner)

* test_marionette_test_result.py - tests for MarionetteTestResult
  (future: MarionetteTest)

* conftest.py - pytest fixtures used in multiple modules
  (fixtures specific to a single module are defined in that module)

MozReview-Commit-ID: CGh6Aa07lfV

--HG--
extra : rebase_source : faa7d27135aa6e4c6c44fa60aab6f2b5d6339961
2016-08-26 15:47:09 +02:00
Jean-Yves Avenard 2014b787b8 Bug 1298617: [MSE] P3. Optimize sample search by breaking loop early. r=gerald
MozReview-Commit-ID: 48YcQiy0p8S

--HG--
extra : rebase_source : 00e6c3468618bc6811faa80b5da590ab9e31d582
2016-08-28 02:43:36 +12:00
Jean-Yves Avenard da968e2d25 Bug 1298617: [MSE] P2. Attempt to search the exactly matching sample first. r=gerald
MozReview-Commit-ID: AW1T51n6WMl

--HG--
extra : rebase_source : 241a200fdb4f450e8188000aa70ea058aae817b5
2016-08-28 02:38:59 +12:00
Jean-Yves Avenard d97b525caa Bug 1298617: [MSE] P1. Don't attempt to estimate next sample time if exact value known. r=gerald
MozReview-Commit-ID: 8DE9WHFsePt

--HG--
extra : rebase_source : dd9edb407d6f2cc8ba76367fca0e10fb91f2eea7
2016-08-28 02:34:44 +12:00
Jean-Yves Avenard d9412b2ac0 Bug 1298594: P5. Fix mochitest. r=gerald
The assumption was that the waiting event would be fired once the last frame prior the gap had been played. This is however incorrect, as per spec, the waiting event is to be fired once readyState is <= HAVE_CURRENT_DATA. So the waiting event is actually fired anytime between the start of the last frame and its end.

MozReview-Commit-ID: AA4Qhn7okhB

--HG--
extra : rebase_source : fc1f336b2e07cc2549071563804de8fae9c9ab67
2016-08-29 16:07:38 +10:00
Jean-Yves Avenard b3537bb63d Bug 1298594: P4. Pop the frame when current time is past the end of the current frame. r=jwwang
Most frames start when the previous one stop.

MozReview-Commit-ID: H92Bmiki49Q

--HG--
extra : rebase_source : 071416d9151d5188550d73f0eb5a4c70a5fbd48b
2016-08-29 15:46:56 +10:00
Jean-Yves Avenard 9e433b8a83 Bug 1298594: P3. Ensure currentTime is updated prior changing readyState. r=jwwang
Otherwise we get intermittent in mochitests checking the value of currenTime when events are fired

MozReview-Commit-ID: AVktWrXochp

--HG--
extra : rebase_source : 76c952e62e9b449834d5924454c25ddad305ada6
2016-08-28 21:20:52 +10:00
Jean-Yves Avenard 816b36a832 Bug 1298594: P2. Fire waiting event when readyState move back to HAVE_CURRENT_DATA. r=jwwang
MozReview-Commit-ID: BpwYY6njXGC

--HG--
extra : rebase_source : 6dfe1998341ccf9fea69d8974f08aaa54385628d
2016-08-27 22:23:52 +10:00
Jean-Yves Avenard a9dab88295 Bug 1298594: [MSE] P1. Add mochitest to verify correct behavior. r=gerald
1- We shouldn't reach ended if we have a gap in the buffered range prior the end of the file (see bug 1297036)
2- Waiting should be fired when readyState goes below HAVE_FUTURE_DATA

MozReview-Commit-ID: 18bEnkNpYvO

--HG--
extra : rebase_source : c42c7fd19fec9ede5bb64ea697a0086116882403
2016-08-27 00:08:38 +12:00
Jean-Yves Avenard 3b8c226443 Bug 1297036: [MSE] P6. Fix invalid mochitest. r=gerald
The test accidentally worked because any demuxing failures in ended mode would be treated as EOS. There's no audio between [0-3), so playback couldn't start

MozReview-Commit-ID: 4B90CrVUTy4

--HG--
extra : rebase_source : 9079aa8a6983877745baac71c7868ca360b85095
2016-08-28 12:26:40 +10:00
Jean-Yves Avenard 46842a940a Bug 1297036: [MSE] P5. Make fuzz research consistent. r=gerald
The aim is to only allow skipping gaps of fuzz=500ms.

MozReview-Commit-ID: 8uHxni2nPHI

--HG--
extra : rebase_source : ccef593170fb3a0c3ff61dc97ad1a0508be06934
2016-08-27 23:51:40 +10:00
Jean-Yves Avenard 8d676d83a6 Bug 1297036: [MSE] P4. Only report end of stream when reaching the end. r=gerald
MozReview-Commit-ID: 5EWhBVnscXY

--HG--
extra : rebase_source : 914aa1b8abb8d4026993281dbd68b1ba2ef04642
2016-08-28 01:00:39 +12:00
Jean-Yves Avenard 90f7e263a7 Bug 1297036: P3. Revert "Bug 1293646: [MSE] P2. Only reject a seek request with EOS if it's passed the explicit duration." r=gerald
This reverts commit 5a949eb358e27

Another more complete solution will follow.

MozReview-Commit-ID: K3lTdrBxW7W

--HG--
extra : rebase_source : d0f9443193b0816ae85972a4a368599b872fd437
2016-08-26 19:30:50 +12:00
Jean-Yves Avenard 03f6dc4d61 Bug 1297036: [MSE] P2. Make seek always succeed when attempting to seek past the end time. r=gerald
MozReview-Commit-ID: H2YJu7vY0aP

--HG--
extra : rebase_source : 73b1e324a6d9f8612ef03dcbf7dc5e5a91c7e2b2
2016-08-26 19:23:29 +12:00
Jean-Yves Avenard e4f3e62f41 Bug 1297036: [MSE] P1. Add mochitest to verify behavior. r=gerald
Seeking in the buffered range should always succeed, even if we have no data in a given track

MozReview-Commit-ID: FGjsDCNIdWC

--HG--
extra : rebase_source : c91348e44055f82deee0e97da4abef0cf799b225
2016-08-26 23:10:00 +12:00
Jean-Yves Avenard fb042f363f Bug 1298606: P3. Fix coding style. r=gerald
MozReview-Commit-ID: L5MHnYOkyDV

--HG--
extra : rebase_source : 5da52435a47cc1dae14459ad44e910329c702ce4
2016-08-29 16:59:17 +10:00
Jean-Yves Avenard 85862da5ee Bug 1298606: [MSE] P2. Properly determine next frame status in ended state. r=gerald
MozReview-Commit-ID: 2m05GzauHes

--HG--
extra : rebase_source : d5541dd96dc0480c41e7d68cfb96a95243b9a454
2016-08-27 22:27:22 +12:00
Jean-Yves Avenard e45036c616 Bug 1298606: P1. Add Intervals::ContainsStrict method. r=gerald
MozReview-Commit-ID: 7XA8xVUWSi7

--HG--
extra : rebase_source : e8123ed9a11063a5e0e83f4b31bb9cafec7f02b4
2016-08-27 20:24:31 +10:00
Jean-Yves Avenard 954647ed96 Bug 1297218: [MSE] Remove unnecessary call to Find(). r=gerald
MozReview-Commit-ID: Af7mzXbLiNy

--HG--
extra : rebase_source : b3107a0be24a839be06ab5d4d22045a6fb0c94c3
2016-08-26 16:51:18 +12:00