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

571095 Коммитов

Автор SHA1 Сообщение Дата
arthur.iakab 61b76d3643 Merge mozilla central to autoland r=merge a=merge on a CLOSED TREE 2017-11-24 12:05:22 +02:00
arthur.iakab dfc104159a Merge inbound to central r=merge a=merge 2017-11-24 12:00:30 +02:00
Brian Birtles 9500d45c75 Bug 1412765 - Enable dom.animations-api.pending-member.enabled by default; r=hiro
MozReview-Commit-ID: G1Uyff3Wh32

--HG--
extra : rebase_source : 53a4ce42dfee03512dd0153f069aab27169580d4
2017-11-24 10:54:12 +09:00
Brian Birtles 06e53a1793 Bug 1412765 - Update more tests to reflect changes to Animation.playState's r=hiro
return value; r?hiro

MozReview-Commit-ID: KvZa7EyzAKj

--HG--
extra : rebase_source : b7721bc34f246c36a22eb4f9acc3fba854dcdec8
2017-11-24 10:53:58 +09:00
Cameron McCormack 0df895545b Bug 1420113 - Part 2: Move nsCSSFontFaceRule to its own file. r=xidorn
MozReview-Commit-ID: PVslOIt1ls

--HG--
extra : rebase_source : 9f77e4cc7cc32fd977c54587120edeb9e8cb3136
2017-11-23 18:04:52 +08:00
Cameron McCormack 5346ea6841 Bug 1420113 - Part 1: Move nsCSSCounterStyleRule to its own file. r=xidorn
MozReview-Commit-ID: 765dOTUOBEQ

--HG--
extra : rebase_source : fef451dade0ac52a64413b3bd84db541f22c5af8
2017-11-23 18:04:26 +08:00
Alastor Wu 79ad800f6f Bug 1415478 - part3 : add tests. r=jwwang
MozReview-Commit-ID: ALFQcKRKk7c

--HG--
extra : rebase_source : 4d9aebf3ed627fbb42ec20b32bc608f0360a7182
2017-11-24 16:42:47 +08:00
Alastor Wu 35a99cd8d3 Bug 1415478 - part2 : allow autoplay for non-audible media content and video without audio content. r=jwwang
Per UX spec, we would allow non-audible media (volume 0, muted, video without audio track)
to autoplay.

MozReview-Commit-ID: HKUyt5Jt4sH

--HG--
extra : rebase_source : fa8d1bfd2fb667e974dbe499d7f8215273d4fa10
2017-11-24 11:14:26 +08:00
Alastor Wu d5341011c9 Bug 1415478 - part1 : turn on the pref on Nightly build. r=jwwang
MozReview-Commit-ID: AJva2ypm7BJ

--HG--
extra : rebase_source : 5bfd8d46aa8b928bd7b6a6e12c31f0c7e2c4ebee
2017-11-24 11:12:23 +08:00
Nevin Chen c489438563 Bug 1419320 - PWA icon and onboarding image update. r=maliu
MozReview-Commit-ID: FqHHWg5qsfg

--HG--
extra : rebase_source : c881da264a4c5d87c7aaaf07cfec057be021ef4c
2017-11-23 16:08:58 +08:00
Brian Birtles 7ebdac8455 Bug 1412765 - Update tests in dom/animation/tests to use new pending member; r=hiro
MozReview-Commit-ID: 2PDm9NaXChg

--HG--
extra : rebase_source : 6a159137b7fd65a456f799b2323667de8f636542
2017-11-22 14:13:36 +09:00
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
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
JW Wang ff8c3ed9fd Bug 1418917. P2 - NotifyClientSuspended() should check mClosed. r=bechen,gerald
MozReview-Commit-ID: 9mBPwfyfWCV

--HG--
extra : rebase_source : 7fc6194a99d656f8e9a80430e41486c2ab7f117c
extra : intermediate-source : a601c40d46b2db64372345a3c5e39a1eeab7e326
extra : source : b5d520b8ddbf9926fe6e3a87d667a6c10c9dde5f
2017-11-20 14:21:22 +08:00
JW Wang e672887f6f Bug 1418917. P1 - run some functions off the main thread. r=bechen,gerald
MozReview-Commit-ID: Fn9OveV69hX

--HG--
extra : rebase_source : 36ed72bea695f07694d83c418ba45d89cf1f03be
extra : intermediate-source : e25c80e8ea6991b4f06bc4305b602c792a5b1e8a
extra : source : d20765cfa8575943c62b933563e36ee9ffa4e765
2017-11-16 15:41:36 +08:00
Ionut Goldan bee29ac23b Bug 1410912 - Clean whitelists of .xpi references r=rwood
MozReview-Commit-ID: Au8TNQjaJtL

--HG--
extra : rebase_source : a18e6acdcfdf7081c2a4d472aa443d12dd1517fa
2017-11-23 11:07:49 +02: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