Commit Graph

574156 Commits

Author SHA1 Message Date
Emilio Cobos Álvarez
dbb3111ff1 Bug 1398492: Remove the grid pref. r=mats
MozReview-Commit-ID: 6Qez8NE8oze
2017-12-17 00:04:35 +01:00
Emilio Cobos Álvarez
6a04994e12 servo: Merge #19584 - style: Remove the grid pref (from emilio:remove-grid-pref); r=mats
Bug: 1398492
Reviewed-by: mats
MozReview-Commit-ID: 6Qez8NE8oze
Source-Repo: https://github.com/servo/servo
Source-Revision: 1501a417044061126401d96f236631c97d4e1946

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5e4997020d3b10b205ac8a66b86cde69b5e238ab
2017-12-16 15:44:21 -06:00
Nihanth Subramanya
c25da1b83c Bug 1423564 - Correctly set disabled and checked states of custom history pref checkboxes. r=johannh
This seemed to be working before by a fluke:
> Before bug 1375870, _constructAfterChildren was getting called several times,
  resulting in change events triggering updatePrivacyMicroControls repeatedly.
> updatePrivacyMicroControls was using the auto-private-browsing checkbox to
  decide whether to disable and hide the checkmarks of the other checkboxes.
> After bug 1375870, at the point when updatePrivacyMicroControls is called,
  the preference value has not yet propagated to the auto-private-browsing
  checkbox, so uPMC doesn't work correctly and is not called again.

Solution: use the actual preference value in uPMC.

MozReview-Commit-ID: 2AhRQwkjH5Q

--HG--
extra : rebase_source : dfcea62d925d019b880e87bc0f1551e78d756e9e
2017-12-06 16:03:14 -08:00
Emilio Cobos Álvarez
a2359f420f Backout changeset e963388b7ee1 (Bug 1425227) because the OSX build machines don't have Ahem installed. r=backout 2017-12-16 22:45:56 +01:00
Emilio Cobos Álvarez
df3fc950ff Bug 1425227: Fix grid-layout-properties.html to not depend on buggy Blink / WebKit behavior. r=heycam
See https://bugzilla.mozilla.org/show_bug.cgi?id=1425678.

MozReview-Commit-ID: D9MTTyHUz8R

--HG--
extra : rebase_source : 27e6905ea124888143fa7cf100b3687b41f23ed8
2017-12-16 17:07:05 +01:00
tigercosmos
25eac1e745 servo: Merge #19547 - Send IPC receiver for canvas as part of CreateCanvasPaintThread message (from tigercosmos:b1); r=jdm
<!-- Please describe your changes on the following line: -->
I am not sure if @jdm want this.
r? @jdm

---
<!-- 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
- [X] These changes fix #19483(github issue number if applicable).

<!-- Either: -->
- [ ] 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: c9e3fabdfd0d4c900e83a1050ec465303e339681

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6aa288e249807e1eae78d5900427d8f72414a4ee
2017-12-16 11:35:40 -06:00
Emilio Cobos Álvarez
6f65825326 servo: Merge #19581 - style: Fix grid line serialization to avoid redundant spacing (from emilio:grid-line-serialize); r=canaltinova
This fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1425227.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ad4c63f930027b6a896a3439e2af453140b63db7
2017-12-16 09:13:48 -06:00
Masatoshi Kimura
456098425e Bug 1424103 - constexpr-ify mozilla::Span. r=hsivonen
MozReview-Commit-ID: 4e98Aer9V1k

--HG--
extra : rebase_source : 44f87677a4918aea4abaf2721895e48045267c7b
2017-12-08 23:20:56 +09:00
Masatoshi Kimura
a214244141 Bug 1425217 - Remove Encoding::ForName. r=hsivonen
MozReview-Commit-ID: JzJ2VYGRzf0

--HG--
extra : rebase_source : 38207daa923175d90b0319dae7e166164835af97
2017-12-08 00:31:55 +09:00
David Teller
8af5435a34 Bug 1377007 - Tweak BoyerMoorePositionInfo::SetInterval to keep PGO builds happy;r=jandem
Attempting to build Bug 137707 fails with Linux 64 PGO (and only with
Linux 64 PGO) with the following error:

INFO -  /builds/worker/workspace/build/src/js/src/irregexp/RegExpEngine.cpp:2326:5: error: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Werror=strict-overflow]
INFO -       for (int i = interval.from(); i <= interval.to(); i++) {
INFO -       ^^^

I suspect that this is actually a bug in PGO itself, rather than in
the code. However, replacing `<= interval.to()` with `!= interval.to()
+ 1` seems to do the trick.

MozReview-Commit-ID: IsayKhgkwWq

--HG--
extra : rebase_source : e4f3712b9606177326a00e15102a96c144ec26a8
2017-12-06 14:05:35 +01:00
David Teller
0da9f18390 Bug 1377007 - autospider.py,runcppunittests.py export the path to directory js/src,r=Yoric
Some tests need to find out js/src to locate their test
data. Exporting this information as part of the environment.

MozReview-Commit-ID: JAefL2arhJL

--HG--
extra : rebase_source : b99d55c4ab4335ea938d8f3a9c733ea74f02fddf
2017-12-08 11:14:12 +01:00
David Teller
e60e582ffe Bug 1377007 - Tests: Parsing ECMA2-level tests with binjs;r=arai,jorendorff
MozReview-Commit-ID: 2DysquT2BdD

--HG--
extra : rebase_source : cd56946621b1000b9c66f8d18ba2d9278c96c7e1
2017-09-19 20:50:21 +02:00
David Teller
a10a129c43 Bug 1377007 - JS shell bindings for binjs-ref;r=arai,jorendorff
MozReview-Commit-ID: 4kKbxpqXVSU

--HG--
extra : rebase_source : 977271f054760b515806921e65546960b566a919
2017-09-18 16:41:00 +02:00
David Teller
5db396578d Bug 1377007 - Implementing basic binjs-ref parser in SpiderMonkey;r=arai,jorendorff
This patch implements a Binary AST parser matching the latest
binjs-ref parser at this date. The subset of JS recognized matches
ES5, with an AST based on a slightly customized Babylon AST.

At this stage, the parser trusts its input, insofar as it does not
check directives or bindings. Followup patch will introduce checking
of these directives/bindings.

MozReview-Commit-ID: 1nt230rt02R

--HG--
extra : rebase_source : 4710455326bfd028f6e396426536be01f16dd649
2017-09-11 16:54:48 +02:00
David Teller
4382d682b7 Bug 1377007 - GC for binjs-ref parser;r=sfink
MozReview-Commit-ID: EjZZ1ofm52t

--HG--
extra : rebase_source : 72f5f294fd11360260c6958520c980cd6dcb3427
2017-09-05 14:51:30 +02:00
David Teller
3ed292278c Bug 1377007 - Implementation of the Token Reader dedicated to testing;r=arai,jorendorff
This patch ports to SpiderMonkey the tokenizer currently implemented
in the external binjs-ref tool.

While this tokenizer will clearly not be the tokenizer eventually
shipped to end-users (whether in Firefox or in binjs-ref), the plan is
to keep it both in binjs-ref and in SpiderMonkey (Nightly only) as a
tool for helping test the higher layers of Binjs.

MozReview-Commit-ID: 1i6XnVIf8p5

--HG--
extra : rebase_source : b8179766ff14dca6d4677931b0f490ac2b8385b4
2017-09-13 15:30:19 +02:00
David Teller
64691d17fb Bug 1377007 - Introducing BinField, BinKind;r=Yoric
MozReview-Commit-ID: D4JcJhupud

--HG--
extra : rebase_source : 379a40ea12b8e0e7b435bb1bd28ee31f70b03885
2017-12-15 10:08:53 -06:00
David Teller
45ce7d84db Bug 1377007 - Enable/disable building of binjs;r=Yoric
MozReview-Commit-ID: 6iFgTPWV56T

--HG--
extra : rebase_source : 0c1d21a6fbad7b9d3750f8cdcb3081732bbe401c
2017-12-15 09:54:55 -06:00
JW Wang
a6dc3c33c1 Bug 1425170. P2 - remove unused members. r=bechen,gerald
MozReview-Commit-ID: TJZzVuEI8J

--HG--
extra : rebase_source : 3f6208a74c2a2d88373936a3dc4ee5c873fc297a
2017-12-14 10:19:41 +08:00
JW Wang
d764d94fc5 Bug 1425170. P1 - add a member to ChannelMediaResource to store the nsIPrincipal. r=bechen,gerald
Note SharedInfo contains an array to store the original and cloned resources.
This allows us to iterate over resources on the main thread without taking the
cache monitor.

MozReview-Commit-ID: K3gcPYbf72Z

--HG--
extra : rebase_source : eaa070a889797c29d2599b4c3d2507f440d476e7
extra : source : 5dc420815d7a26771c176cdc7b6a87a1c2278da8
2017-12-08 11:08:38 +08:00
Csoregi Natalia
3ec05888ca Merge inbound to mozilla-central r=merge a=merge 2017-12-16 11:37:48 +02:00
Jean-Yves Avenard
ec469fdddc Bug 1425608 - Don't delete AutoTaskQueue::mTaskQueue on the main thread. r=gerald
MozReview-Commit-ID: I2R4OYB0Jyc

--HG--
extra : rebase_source : 1b8c1caffef91b5888b04b336bd20a74df6711a1
2017-12-16 00:46:49 +01:00
Masayuki Nakano
59ff865ade Bug 1425390 - part 2: Make the constructor of CompositionTransaction take TextComposition to reduce its arguments r=m_kato
Most arguments of the constructor of CompositionTransaction are now stored by
EditorBase::mComposition.  So, making it take TextComposition reduces the
number of its arguments.

Note that this patch doesn't make it retrieve TextComposition with
EditorBase::GetComposition() for guaranteeing that the editor has non-nullptr
mComposition.

MozReview-Commit-ID: 3O5wL52UBUy

--HG--
extra : rebase_source : 7f48465ef3f2f040e8c526fb7837060ecb6c9147
2017-12-15 16:45:41 +09:00
Masayuki Nakano
6e8192fd45 Bug 1425390 - part 1: Move some IME related members of EditorBase into TextComposition r=m_kato
EditorBase stores a text node, offset in it and length in it of composition
string directly.  However, this wastes memory space if user never uses IME
or user only sometimes uses IME.  Additionally, storing all data in
TextComposition is better than current design when other classes like
CompositionTransaction wants some information of both EditorBase and
TextComposition.

This patch moves those 3 members from EditorBase to TextComposition.

MozReview-Commit-ID: 4N7wmGGfxmt

--HG--
extra : rebase_source : bd7cb37fe9631b959ec21da40c20751fec269dca
2017-12-15 13:14:51 +09:00
Brian Birtles
f464fbbad3 servo: Merge #19580 - Update references to Web Animations spec (from birtles:update-web-animations-link); r=hiro
This has been reviewed in [Gecko bug 1425548](https://bugzilla.mozilla.org/show_bug.cgi?id=1425548).

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : be54a712cafe4eb7fb42bc073bd687f6fd0220cb
2017-12-15 17:39:55 -06:00
Cosmin Sabou
2d8d0b4c2c Backed out 3 changesets (bug 1423425) for frequent browser chrome failures r=backout on a CLOSED TREE
Backed out changeset c3ac950b0b8a (bug 1423425)
Backed out changeset d64fd69a4b88 (bug 1423425)
Backed out changeset 04017639642a (bug 1423425)
2017-12-16 02:45:41 +02:00
Miko Mynttinen
03b4894819 Bug 1425271 - Improve temporary display item removal r=mattwoodrow
MozReview-Commit-ID: FBDuGice0DU

--HG--
extra : rebase_source : 3e932e2851d9f706e11c56156a5bc48a2df8b1c2
2017-12-15 16:33:03 -06:00
Andrew Swan
8c271228b8 Bug 1423425 Initial draft of WebExtensions API documentation r=bsilverberg
MozReview-Commit-ID: EwcE881XGfp

--HG--
extra : rebase_source : 13ef6ba6ff73349c9fe5c25f16b305418b9804ff
2017-12-05 18:54:34 -08:00
Andrew Swan
0d4f03ba94 Bug 1423425 Make some extensions comments jsdoc-compatible r=kmag
MozReview-Commit-ID: 3mUKR9IuEKA

--HG--
extra : rebase_source : 30d3bcf27f7a0e5367ed6c2dc3cccf74b9758ec5
2017-12-05 18:53:15 -08:00
Andrew Swan
02474d47f7 Bug 1423425 Let sphinx-js read .js files r=erik
MozReview-Commit-ID: LfL3CG6L4Ss

--HG--
extra : rebase_source : 5a53dac9891fc9233a8b380c4a52eb9154c564a9
2017-12-05 18:53:59 -08:00
David Keeler
27da53bcf6 bug 1425032 - use new "cancel all connections" notification for PKCS#11 logout r=mgoodwin
When the user performs a PKCS#11 logout, we need to cancel all in-progress
network connections. Before this patch, PSM would track all the sockets it
created to implement this feature. However, bug 1411316 added the ability to
cancel these connections by sending the notification
"net:cancel-all-connections". This patch removes the now-unnecessary tracking
machinery in favor of delegating this to necko.

MozReview-Commit-ID: 7IzC14bH2R4

--HG--
extra : rebase_source : 57ff2121a2395cb2b012785ec3a11f75d923e675
2017-12-13 17:41:02 -06:00
Gerald Squelart
024f843fb6 Bug 1425550 - Output frame tree when RDL checker finds issues - r=mattwoodrow
MozReview-Commit-ID: IGnFpDuk0Sc

--HG--
extra : rebase_source : 28099067dd8bcecd51cdc56a5befcf807f140f89
2017-12-15 14:56:37 -06:00
Emilio Cobos Álvarez
85e91b82da Bug 1424633: Decide which frame to focus using the flattened tree. r=smaug
MozReview-Commit-ID: vPbPvu0vrf
2017-12-16 00:39:13 +01:00
Ian Moody
1fee2c4e61 Bug 872910 - Remove obsolete mapIssuerOrganization function from Page Info security. r=johannh
MozReview-Commit-ID: AlEyIJwNhSy

--HG--
extra : rebase_source : cce8fa45ddbe6024e57b9dd43044d3eb4dcc148c
2017-12-05 23:48:37 +00:00
Chih-Yi Leu
87688fa85a Bug 1422714 - Make return value of WebGLQuery::GetQueryParameter conformant to WebGL2 Spec r=jgilbert
MozReview-Commit-ID: FYgoGOPrGZs

--HG--
extra : rebase_source : e12a16007412b8042d70eb536534ea881c973672
2017-12-15 10:50:31 -06:00
Adam Gashlin
a0a93d0d91 Bug 1424839 - Continue checking selections after a collapsed one r=mats
MozReview-Commit-ID: 4YXtx2bEprU

--HG--
extra : rebase_source : 3c94d78c9865d31f9c87e713b58922164ac6d805
2017-12-14 14:29:59 -06:00
Pyfisch
238056272d servo: Merge #19568 - layout: background-origin attribute for gradients (from pyfisch:background-origin-gradients1); r=mbrubeck
Fixes the glitches mentioned in #19554.
Now gradient tiles are placed in the whole bounding box.

<!-- Please describe your changes on the following line: -->

---
<!-- 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

<!-- Either: -->
- [X] There are tests for these changes

<!-- 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: dbfcb7bc39715211928a550d2807cb2ba1e161e7

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ebd1706316e9488589f7f82d3db4014dc01956bd
2017-12-15 15:54:59 -06:00
Cosmin Sabou
d1dc090edc Backed out changeset 3eab9fd44dda (bug 1425550) for build bustages on build/src/layout/base/nsLayoutUtils.cpp:3888:21 r=backout on a CLOSED TREE 2017-12-16 00:56:48 +02:00
Brian Birtles
b9eb56e602 Bug 1425548 - Update references to Web Animations spec in web-platform-tests; r=hiro
MozReview-Commit-ID: EhP0qSOp0TA

--HG--
extra : rebase_source : 2eaf53a6a9473d177ef37196a33f4880044562ae
2017-12-15 14:57:03 -06:00
Brian Birtles
8cc46ca7d7 Bug 1425548 - Update references to Web Animations spec in dom/webidl; r=bz
MozReview-Commit-ID: OnaTWOWhnk

--HG--
extra : rebase_source : d0d7cac72afe1c1e7a1728b566d37670767e5ff4
2017-12-15 14:55:55 -06:00
Brian Birtles
38a1e34561 Bug 1425548 - Update references to Web Animations spec in devtools; r=hiro
MozReview-Commit-ID: DHFgDwh00eO

--HG--
extra : rebase_source : 4dfc7b7ab4f415b6af4ea2a9b79a4d6178e3a430
2017-12-15 14:55:32 -06:00
Brian Birtles
0fec9ac501 Bug 1425548 - Update references to Web Animations spec in dom/animation; r=hiro
MozReview-Commit-ID: 1f2Mz0VhnBm

--HG--
extra : rebase_source : 30c952ed20ee64810d225e5778650dd01791964d
2017-12-15 14:55:08 -06:00
Kartikaya Gupta
d70cff689e Bug 1425527 - Remove duplicate instances of a support file. r=MattN
MozReview-Commit-ID: 8Wf8iRFdRvM

--HG--
extra : rebase_source : 009e9a173c3b94b5b75227b214e96e181df5902f
2017-12-15 15:10:17 -05:00
Emilio Cobos Álvarez
42677736f2 servo: Merge #19578 - Allow deriving Parse on keywords (from emilio:parse-keyword); r=Manishearth,canaltinova
This makes patches like #19576 much easier.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9668fc507960090009446afb651e5742d54b9f30
2017-12-15 14:55:49 -06:00
Brindusan Cristian
bd96271858 Merge mozilla-central to autoland r=merge a=merge on a CLOSED TREE 2017-12-15 23:56:03 +02:00
Ciure Andrei
7e4e20da7d Merge inbound to mozilla-central r=merge a=merge 2017-12-15 23:52:00 +02:00
Ciure Andrei
0c51c27ba6 Merge autoland to mozilla-central r=merge a=merge 2017-12-15 23:49:52 +02:00
Gerald Squelart
61cd254de0 Bug 1425550 - Output frame tree when RDL checker finds issues - r=mattwoodrow
MozReview-Commit-ID: IGnFpDuk0Sc

--HG--
extra : rebase_source : 659c6ed336493a458bc62c2eb73ebc08fef0a0d4
2017-12-15 14:56:37 -06:00
Matthew Noorenberghe
5df92b93f9 Bug 1417603 - Don't upload mozscreenshots on integration branches. r=johannh
MozReview-Commit-ID: Cx8n68j22nL

--HG--
extra : rebase_source : 9171db7136bea7789b9e102045bc9392cbb549f0
2017-12-15 13:38:39 -06:00
ffxbld
eea8fcf5e8 No bug, Automated HPKP preload list update from host bld-linux64-spot-306 - a=hpkp-update 2017-12-15 11:20:42 -08:00