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

571262 Коммитов

Автор SHA1 Сообщение Дата
Brian Birtles c9eeea373e Bug 1412765 - Update web-platform-tests to test new pending member; r=hiro
Hopefully most of these changes are self-explanatory however a few notes follow.

* In timing-model/animations/play-states.html, as well as making the tests match
  the updated spec, one or two tests have also been moved to better reflect the
  order in the spec (to make it obvious which branch of the algorithm is being
  tested).

* In timing-model/animations/set-the-timeline-of-an-animation.html we previously
  had two tests that check:
  a) That the playState was 'pending' before and after setting the timeline.
  b) That the playState was 'pending' before setting the timeline and then,
     after setting the timeline and waiting on the ready promise, would become
     'running'.
  Likewise we had the same test for pausing.

  Since these are basically the same test--(b) just adds the wait on the ready
  promise--we combine them here into one test that covers both (a) and (b).

MozReview-Commit-ID: CLoDJvsdwmF

--HG--
extra : rebase_source : c2f34fa6614795f2d3ba9ca3e572f11306f96463
2017-11-21 17:12:01 +09:00
Brian Birtles ea536c1426 Bug 1412765 - Move and rewrite playState.html test; r=hiro
Currently we have a test in interfaces/Animation/playState.html that somewhat
randomly tests the result of the `playState` member.

However, there's no complex logic associated with the `playState` member in the
IDL. It simply returns "The play state of this animation". The logic we need to
test is in the definition of 'play state' which is in the timing model.

As a result we move this test to timing-model/animations/play-states.html

However, this test as it stands does not test the calculation of the play state
in a particularly thorough manner. For example, it does not contain a single
test for the 'finished' state.

Given that this patch series will change the definition of the 'play state' we
first fix this test to cover each of the different cases in the definition of
the 'play state' prior to these changes. That is, we update the tests based on
the definition of 'play state' here:

  https://www.w3.org/TR/2016/WD-web-animations-1-20160913/#play-states

(Note that at this point in the patch series the pref to turn on the changed
definition behavior has not been enabled even for tests so this patch is
actually testing the behavior when that pref is false. We'll replace much of
this test in the next patch but by updating the test first, we should be able to
more clearly see the changes in the next patch.)

MozReview-Commit-ID: 1xkOmuY1SxD

--HG--
rename : testing/web-platform/tests/web-animations/interfaces/Animation/playState.html => testing/web-platform/tests/web-animations/timing-model/animations/play-states.html
extra : rebase_source : 1890e1b4db007452df393e8a9e4b3ccf42bca237
2017-11-21 17:11:51 +09:00
Brian Birtles e83e1a5e71 Bug 1412765 - Add Animation.pending member; r=bz,hiro
This reflects the change made to the Web Animations specification in:

  9e2053f553
  1c3415f4cc
  (I got it wrong the first time. The second commit fixes the first.)

And discussed in:

  https://github.com/w3c/web-animations/issues/196

In summary, we are splitting the "pending" play state out into a separate
boolean member so that it is possible to distinguish between "play-pending" and
"pause-pending" and because most of the time when you check for
animation.playState === 'running' you also really want to include play-pending
animations.

MozReview-Commit-ID: IJSNoZTKW2I

--HG--
extra : rebase_source : 5d17239fd087cfe3cce1c9697eff97d062b6dd4b
2017-11-21 17:10:59 +09:00
Andrew Gaul ea51a3fcd3 Bug 1419268: Make some static fields final r=nalexander
This allows compile-time initialization instead of runtime in clinit.
2017-11-20 21:01:10 -08:00
Miguel Useche 1b918bdec8 Bug 1408827 - Where is code link broken for DevTools documentation. r=sole 2017-11-20 23:11:15 -04:00
sotaro dff4491cb4 Bug 1391159 - Handle WebRender ProgramBinary usage r=nical 2017-11-24 20:58:24 +09:00
Franziskus Kiefer 5083a36782 Bug 1420060 - FIPS can no longer be toggled in Firefox with the builtin NSS, r=ttaubert
MozReview-Commit-ID: 5lgEBiFozSG
Differential Revision: https://phabricator.services.mozilla.com/D282

--HG--
extra : rebase_source : 795b81b79f5c407cbfed3c0607c479d9880f0deb
2017-11-24 09:01:49 +01:00
Franziskus Kiefer 34900c8a57 Bug 1420060 - land NSS ceb8b9290b35 UPGRADE_NSS_RELEASE, r=me
MozReview-Commit-ID: KprUV50uNDs

--HG--
extra : rebase_source : d67b83423351ac6581889cc95ec979a6f12adc07
2017-11-24 09:00:26 +01:00
arthur.iakab 63f0034937 Merge mozilla central to inbound r=merge a=merge on a CLOSED TREE 2017-11-24 12:07:48 +02:00
sotaro cfdcc07b34 Bug 1419307 - Make WebRenderAPI::~WebRenderAPI() fast r=nical 2017-11-24 18:34:50 +09:00
Brian Birtles bad7dc839d Bug 1412765 - Add dom.animations-api.pending-member.enabled, defaulting to false; r=hiro
MozReview-Commit-ID: 7P34nAI7apB

--HG--
extra : rebase_source : 94cf46522b995c40b1649a4d8ce44cd868026869
2017-11-21 09:43:40 +09:00
peter chang f0d71f5a55 Bug 1418791 - Explicit free the resource of PersistentBufferProviderBasic, r=sotaro
MozReview-Commit-ID: JJXYkF5PR5K

--HG--
extra : rebase_source : 86217890ee8a6e5d26b1b26cc063d42c6793c903
2017-11-23 16:31:55 +08:00
Botond Ballo 0c0ca862c0 Bug 951793 - Add a test for the pref that controls overscroll-behavior. r=emilio
MozReview-Commit-ID: 9qIuF1Vdsm4

--HG--
extra : rebase_source : 825cc20e6877c9ec5804c19540b5c4104ee4406c
2017-11-20 18:11:24 -05:00
Botond Ballo 98a6d6f6f4 Bug 951793 - Disable the timeout in the web-platform-test for overscroll-behavior. r=jgraham
This is a manual test, and the timeout often prevents it from being run to
completion manually.

MozReview-Commit-ID: DXnqycq5hix

--HG--
extra : rebase_source : d058a76b173a951e112d1eef72aacf6d264ea60d
2017-11-20 14:48:25 -05:00
Tom Tung 7dd219f393 Bug 1416629: Add a telemetry to get how many precentage of synthesized cors response for same-origin mode request. r=bkelly, data-r=francois
--HG--
extra : rebase_source : af6c7186f7b4c08fd94f5613d8bfe67666903c6e
2017-11-16 09:45:39 +08:00
Jeff Walden 3ed26e8aa6 Bug 1416337 - Limit the function expression-closure extension to apply only to function expressions that constitute an entire AssignmentExpression, so that the next token-get after the function expression closure can safely use Operand. r=arai
--HG--
extra : rebase_source : 0a544870a5dc24e2886c7a944dc22f186d2443a4
2017-11-23 12:52:41 -05:00
Jeff Walden 39e22f3104 Bug 1416337 - Fix bug 1298809's test to function correctly on beta/release. r=evilpie
--HG--
extra : rebase_source : a07772569667e0a08870f0b980559f6d2a8113e9
2017-11-23 12:52:33 -05:00
Jeff Walden 669e1b4c27 Bug 1416337 - Implement an ExpressionClosure::{Forbidden,Allowed} enum parameter in the parser, to distinguish places where our function-expression-closure syntax (normal function, just with an AssignmentExpression as body, not a braced StatementList) is permitted. (|function() foo| used to be supported anywhere PrimaryExpression was allowed, but ambiguity as to whether a binary operator is part of the function's body, or part of the AssignmentExpression the function-expression-closure was embedded in, led us to change this.) Don't actually use this parameter yet -- just pass it in the right places. r=arai
--HG--
extra : rebase_source : edf20eb3c660cf4d55895913a57f95427e94c474
2017-11-23 12:52:29 -05:00
Jeff Walden 8e7a4fd6d7 Bug 1416337 - Split FunctionSyntaxKind's Expression initializer into AssignmentExpression and PrimaryExpression flavors (even if for the moment only the latter is ever used or generated). r=arai
--HG--
extra : rebase_source : 27a4d4cdfb9d7b112ac9559f730b73d1e28f3d91
2017-11-23 12:52:24 -05:00
Andrew Osmond 21f063a5c8 Bug 1420279 - Undo fuzzing adjusment in bug 1183378 part 3 as now resolved. r=me CLOSED TREE 2017-11-23 19:35:18 -05:00
Tooru Fujisawa 39de38980b Backed out changeset 4e261d018c03 (bug 1416153) CLOSED TREE 2017-11-24 09:17:18 +09:00
Tooru Fujisawa fb24556ece Backed out changeset 1eff507bf0f4 (bug 1416153) 2017-11-24 09:17:11 +09:00
Tooru Fujisawa 0f25141816 Backed out changeset ebb34610b67a (bug 1416153) 2017-11-24 09:17:08 +09:00
sotaro f9d17135d9 Bug 1418571 - Set SwapInterval to 0 with ANGLE r=jgilbert 2017-11-24 09:09:29 +09:00
Geoff Brown 3556bc0ffe Bug 1294873 - Skip test_websocket-server.html on osx, to avoid intermittent leaks; r=me, a=test-only 2017-11-23 16:37:21 -07:00
Tooru Fujisawa 9c0b5a9a31 Bug 1416153 - Part 2: Remove now unused variable. r=bustage 2017-11-24 08:22:34 +09:00
Andrew Osmond b3cd891730 Bug 1420279 - Make nsDisplayXULImage::CreateWebRenderCommands use scaled image containers more often. r=tnikkel 2017-11-23 18:17:17 -05:00
Andrew Osmond 9472bdfa62 Bug 1418895 - VectorImage::Draw should imply FLAG_BYPASS_SURFACE_CACHE for DrawTargetRecording. r=tnikkel 2017-11-23 18:14:52 -05:00
Tooru Fujisawa dfa2598b77 Bug 1416153 - Part 1: Wait for the next event tick before resolving promise in BrowserTestUtils.waitForNewTab. r=Gijs 2017-11-24 07:50:12 +09:00
Tooru Fujisawa 53546e0355 Bug 1416153 - Part 0: Fix tests that uses BrowserTestUtils.waitForNewTab to perform the registration of the next event handler instantly inside the new tab event handler. r=Gijs 2017-11-24 07:50:12 +09:00
Gurzau Raul 21905d169e Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-11-24 00:38:13 +02:00
Tiberius Oros da0a72a9d7 Merge inbound to mozilla-central r=merge a=merge 2017-11-24 00:28:29 +02:00
Tiberius Oros 0e0cbd0bc9 Merge autoland to mozilla-central r=merge a=merge 2017-11-24 00:23:46 +02:00
Jonathan Kew af62b14db3 Bug 1403302 - patch 3 - Remove direct cairo dependency from gfxTextRun and gfxGlyphExtents. r=bas 2017-11-23 19:40:33 +00:00
Jonathan Kew af9d8ad285 Bug 1403302 - patch 2 - Fix mixed-up glyph bounding box coordinates in ScaledFontDWrite::GetGlyphDesignMetrics. r=bas 2017-11-23 19:39:39 +00:00
Jonathan Kew 2643bb52e3 Bug 1403302 - patch 1 - Add missing return statement to ScaledFontBase::GetGlyphDesignMetrics, so that its cairo-based code path actually works. r=bas 2017-11-23 19:39:11 +00:00
Jonathan Kew 620b5d3c57 Bug 1419615 - Remove old synthetic-italic support from the GDI font code, so we don't double-slant text now that we have generic support in gfxFont. r=lsalzman 2017-11-23 19:38:17 +00:00
ffxbld 7ede3e4787 No bug, Automated HPKP preload list update from host bld-linux64-spot-036 - a=hpkp-update 2017-11-23 11:37:49 -08:00
ffxbld eb15ed90ea No bug, Automated HSTS preload list update from host bld-linux64-spot-036 - a=hsts-update 2017-11-23 11:37:46 -08:00
ffxbld 4018e652ff No bug, Automated HPKP preload list update from host bld-linux64-spot-030 - a=hpkp-update 2017-11-23 10:42:06 -08:00
ffxbld ce8ed40893 No bug, Automated HSTS preload list update from host bld-linux64-spot-030 - a=hsts-update 2017-11-23 10:42:02 -08:00
Brian Grinstead 56085baf52 Bug 1420166 - Include global.css on about:config;r=Gijs
This fixes missing menu styling caused by Bug 1416493

MozReview-Commit-ID: 4w9BGAOqQjR

--HG--
extra : rebase_source : b640f978008859d4de21dff8793d91427d05adcb
2017-11-23 07:36:55 -08:00
Imanol Fernandez f0305f871b servo: Merge #19352 - Handle arraybuffer responseType in XHR (from MortimerGoro:xhr_arraybuffer); r=jdm
<!-- Please describe your changes on the following line: -->

Handle arraybuffer responseType in XHR

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [x] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 55049c2a676caff72e86a5631350309061a14352

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 58f2d5275dad5a37ebaa7f7f15b1c68f421f4dc8
2017-11-23 11:14:11 -06:00
Cosmin Sabou a5d613086a Merge mozilla-inbound to mozilla-central r=merge a=merge 2017-11-23 11:42:46 +02:00
Timothy Nikkel 8bb6a64726 Bug 1413762. Check integer shift value is reasonable before using it in gif decoder. r=aosmond 2017-11-23 00:40:17 -06:00
Mike Hommey c2346512fd Bug 1418389 - Partially revert bug 1417234. r=njn
Bug 1417234 replaced all uses of CRITICAL_SECTION with SRWLocks in the
allocator on Windows, and this seems to have incurred performance
regressions on speedometer.

OTOH, there is a real benefit from not having to manually initialize the
allocator.

So we restore the use of CRITICAL_SECTIONs for Mutexes in the allocator,
except for the initialization lock, which is remaining as a SRWLock.

Talos indicates this solves the regression in large part, but is not
definitive as whether it has the same effect as a pure backout of bug
1417234. We'll see how things go over time.

--HG--
extra : rebase_source : a52b8d08159f6fce8286578114af84e55851a86b
2017-11-23 07:25:08 +09:00
Simon Sapin 0ead2435b5 servo: Merge #19346 - Remove compiletest from Travis script (from servo:SimonSapin-patch-1); r=asajeffrey
This should have been in https://github.com/servo/servo/pull/19338

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7f1d1620c93c55491a1180dc275dcafd599917ef
2017-11-22 21:05:07 -06:00
Franziskus Kiefer 7b10164f9f Bug 1403840 - add cose rust lib with a test, r=keeler,ttaubert
Summary:
This adds the COSE rust library from https://github.com/franziskuskiefer/cose-rust with its C API from https://github.com/franziskuskiefer/cose-c-api to gecko with a basic test.
The COSE library will be used for verifying add-on signatures in future.

Reviewers: keeler, ttaubert

Reviewed By: keeler

Bug #: 1403840

Differential Revision: https://phabricator.services.mozilla.com/D232

--HG--
extra : rebase_source : 433ca6894d88ccda333bfac53507eba4e84924fb
2017-11-22 16:37:15 +01:00
Tooru Fujisawa 4c6f4eda25 Bug 1416254 - Remove conditional catch consumers in uriloader/. r=mak 2017-11-23 14:22:19 +09:00
Tooru Fujisawa cbd4fe279b Bug 1416253 - Remove conditional catch consumers in netwerk/. r=mak 2017-11-23 14:20:43 +09:00