Commit Graph

530888 Commits

Author SHA1 Message Date
Ehsan Akhgari
29071e6146 Backout change fb3c323635d6 (bug 1347400) because the telemetry probe didn't prove to be useful 2017-04-15 17:20:25 -04:00
Sebastian Hengst
96f0bd0fb6 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-04-15 20:10:39 +02:00
Sebastian Hengst
a7334b2896 Bug 1347709 and Bug 1356569 - Bump eslint plugin version to resolve conflict. r=instruction-by-florian a=bustage-fix
MozReview-Commit-ID: 2zp9hXqxT26

--HG--
extra : amend_source : 465b881899a40cf29d0f3d7dbdd883d8a61edb2c
2017-04-15 20:05:51 +02:00
Sebastian Hengst
8bd051237a merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JpAhOPjgvkF
2017-04-15 19:59:24 +02:00
Ehsan Akhgari
4d48614a50 Bug 1356755 - Don't pass a null pointer to NotifyDocumentTree(); r=qdot 2017-04-15 12:44:31 -04:00
Olli Pettay
27d9c5656a Bug 1355540, use SegmentedVector for pending links to avoid slow hashtable lookups in hot codepaths, r=bz 2017-04-15 18:55:05 +03:00
Hiroyuki Ikezoe
5d653db212 Bug 1324700 - Update reftest expectations. r=heycam
MozReview-Commit-ID: 38Gk7MCIjJD

--HG--
extra : rebase_source : c731ddc207090ef3c1003a4e7b328e6d939e6c3b
2017-04-15 07:37:35 +09:00
Hiroyuki Ikezoe
0da40fea4c Bug 1324700 - Update assertion counts which had been caused by font handling in canvas element. r=heycam
MozReview-Commit-ID: KPhujlE54vL

--HG--
extra : rebase_source : dff960a2b7c6c010cdbd7a1bb913a3d8eceaeecf
2017-04-15 07:37:35 +09:00
Hiroyuki Ikezoe
df137b26a6 Bug 1324700 - Drop warnings for stylo. r=heycam
The code path no longer happens on stylo.

MozReview-Commit-ID: LdQFPNd5YnX

--HG--
extra : rebase_source : 1213f7e944858ddac8061534823f20177c4f63a6
2017-04-15 07:37:35 +09:00
Hiroyuki Ikezoe
a52cf990ce Bug 1324700 - Resolve filter property for servo. r=heycam
MozReview-Commit-ID: 6IHs682rZfH

--HG--
extra : rebase_source : 6688d70a0c92e27f15e97f0d55062fc74f08339e
2017-04-15 07:37:35 +09:00
Hiroyuki Ikezoe
3f46fb9acf Bug 1324700 - Add a function which is equivalent to ResolveStyleForFilter for servo. r=heycam
Also ResolveStyleForFilter is renamed to ResolveFilterStyle for consistency.

MozReview-Commit-ID: IEOxNexpnl5

--HG--
extra : rebase_source : bd806654b3e5462b3abb4fc226b3824bc0acb71f
2017-04-15 07:37:35 +09:00
Hiroyuki Ikezoe
1e6deac4e2 Bug 1324700 - Resolve font property for servo. r=heycam
MozReview-Commit-ID: BvQXFMP0Zr9

--HG--
extra : rebase_source : 9211fa78dd3bf19afe0564e8328d95df2aa8068a
2017-04-15 07:37:35 +09:00
Hiroyuki Ikezoe
b4e5e8f728 Bug 1324700 - Add a function which is equivalent to GetFontStyleContext() for servo. r=heycam
MozReview-Commit-ID: K4KvPk4fJTb

--HG--
extra : rebase_source : 53d8f91652d803b953a86eb03817d40d89e27069
2017-04-15 07:37:35 +09:00
Hiroyuki Ikezoe
51d6b62cb0 Bug 1324700 - Add an FFI which returns computed values for a given declaration block with/without parent_style. r=heycam
The function uses document's default computed values if the parent style
is not specified.

MozReview-Commit-ID: ICd3phAi0C6

--HG--
extra : rebase_source : 343dee682096b75cd7f905db7207823f7e3624b5
2017-04-15 07:37:35 +09:00
Hiroyuki Ikezoe
175655448b Bug 1324700 - Add a function that checks PropertyDeclarationBlock has a CSSWideKeyword for a given property. r=heycam
It will be used to check whether the PropertyDeclarationBlock has 'inherit',
'initial' or 'unset'.


MozReview-Commit-ID: JxlxAJJSNJI

--HG--
extra : rebase_source : 99912dcbcfb39e2710e822b93c7933af79b5421b
2017-04-15 07:37:34 +09:00
Hiroyuki Ikezoe
a469fe8fd0 Bug 1324700 - Add a function which is equivalent to CreateDeclaration() for servo. r=heycam
MozReview-Commit-ID: 8zgpqLzftbV

--HG--
extra : rebase_source : 6940af726bba96295a7402b4791f170a606fc0f4
2017-04-15 07:37:34 +09:00
Hiroyuki Ikezoe
a7215d7152 Bug 1324700 - Add ResolveServoTransientStyle to get servo's computed values instead of nsStyleContext. r=heycam
Also this patch add nsIAtom as an argument to ResolveTransientStyle() to call
the new function ResolveServoTransientStyle easier. The only call site of the
ResolveTransientStyle() has already nsIAtom* there.

MozReview-Commit-ID: IwxqZbaCSpB

--HG--
extra : rebase_source : b94a3a8723fe53f38eb6144a5926dec3d7796e72
2017-04-15 07:37:34 +09:00
Hiroyuki Ikezoe
d034849334 Bug 1324700 - Call PreTraverseSync() before calling ResolveStyleLazily() in ResolveTransientStyle(). r=heycam
MozReview-Commit-ID: 5KMELNYZJnq

--HG--
extra : rebase_source : 025a0d2267144bd631f28f554dba54352b13a43b
2017-04-15 07:37:34 +09:00
Hiroyuki Ikezoe
784bf46abc Bug 1324700 - Servo_ParseProperty() takes nsCSSPropertyID instead of nsACString. r=heycam
MozReview-Commit-ID: Gn90DBlJSS9

--HG--
extra : rebase_source : 444f4188de7e32f5414f2b75046903dc504db1a0
2017-04-15 07:37:34 +09:00
Hiroyuki Ikezoe
b802b1057e servo: Merge #16470 - Canvas font handling (from hiikezoe:canvas-font-handling); r=heycam
<!-- Please describe your changes on the following line: -->
This is a PR for https://bugzilla.mozilla.org/show_bug.cgi?id=1324700

---
<!-- 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] These changes do not require tests because it's for stylo.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 217bdbf43760bdfbe508fad71d3068746243da6d
2017-04-15 06:20:52 -05:00
Ricky Chien
5caf480904 Bug 1356786 - Add waitUntil in browser_webconsole_shows_reqs_in_netmonitor.js r=ntim
MozReview-Commit-ID: 1cLwVeaortC

--HG--
extra : rebase_source : beb312634f4956be6588b7b537911082a2bb0942
2017-04-15 19:38:00 +08:00
Florian Queze
4c6a68d1c9 Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Florian Queze
3d54f37495 Bug 1355161 - provide a scriptable equivalent of NS_DispatchToMainThread, r=froydnj. 2017-04-14 18:27:32 +02:00
Mark Banner
f515ecdff3 Bug 1347709 - Allow modules.json to be loaded from a local version for out-of-tree uses of eslint-plugin-mozilla. r=mossop
MozReview-Commit-ID: 7RzAUqNJQ15

--HG--
extra : rebase_source : c71873fd9864032345fb48047f2c272c2703a210
2017-04-13 12:03:30 +01:00
Mark Banner
4ef57a002d Bug 1347709 - Add a prepublish script to save the current globals for the published version of eslint-plugin-mozilla, and use that when not in mozilla-central. r=mossop
MozReview-Commit-ID: GHD7GQ0Pjnp

--HG--
extra : rebase_source : 8a8deeb0544799426baa820fa91a22eb9e1d3526
2017-04-12 18:02:53 +01:00
Paolo Amadini
b904570335 Bug 1355582 - Only the most recently added file extension is saved in "mimeTypes.rdf". r=mak
This change is tested in detail as part of bug 1355585.

MozReview-Commit-ID: 74nDQjGlFjA

--HG--
extra : source : 3e70d2516749bbb586b419d71c298bc6cfb365c4
2017-04-11 20:38:14 +01:00
Sebastian Hengst
0e08889ab2 Bug 1329114 - Update talos symbolication to work with profile format version 5: remove unused json import from symbolication.py. r=lint-fix 2017-04-15 11:21:10 +02:00
Jan de Mooij
4ee57dc445 Bug 1355058 part 2 - Avoid creating unnecessary type constraints in IonBuilder::typedObjectPrediction. r=h4writer 2017-04-15 10:25:47 +02:00
Jan de Mooij
2d6c825d58 Bug 1355058 part 1 - Try the TypedObject optimizations last as typed objects are disabled by default. r=h4writer 2017-04-15 10:24:54 +02:00
Ehsan Akhgari
974b83bb2b Bug 1250473 - Convert formSubmitListener.js to a process script instead of a frame script; r=MattN
This saves the cost of loading this script once per frame.
2017-04-14 23:32:23 -04:00
Kris Maglione
2f577ad88b Bug 1317697: Follow-up: Fix android test bustage. r=me
MozReview-Commit-ID: 4bFu0pPMZim
2017-04-14 19:28:53 -07:00
Markus Stange
2d2f47f7b2 Bug 1355634 - Use MozPromise to make ProfileGatherer more generic. r=njn
MozReview-Commit-ID: GKqxJW8zjca

--HG--
extra : rebase_source : a6f0903008503ae34cb1584bbd38357ff2343c22
extra : histedit_source : 7e077d757dfa919b4a88a10cff0fc15beb3a62f9
2017-04-12 16:57:58 -04:00
Markus Stange
c0b86ef8ba Bug 1321617 - Add a test for profiler_stream_json_for_this_process. r=njn
MozReview-Commit-ID: A5Iu3dQFvHK

--HG--
extra : rebase_source : e15843dba66e427c6b1eb7bc2f8a63f419f9e3ca
extra : histedit_source : 6f7e9ee3a31aa2463c4946d543e4358fd724f02f
2017-04-12 16:48:16 -04:00
Markus Stange
e668a84964 Bug 1321617 - Capture parent process profiles in ProfileGatherer::Start2, not in ProfileGatherer::Finish. r=njn
MozReview-Commit-ID: 3vC2qb90KN5

--HG--
extra : rebase_source : 45930d88a88648b9d472f990e79e815c106d4fa3
extra : histedit_source : e8b1ef002432231cf3698a5408a1a0d80f3bcac6
2017-04-09 16:52:22 -04:00
Markus Stange
dcfba9f179 Bug 1321617 - Call profiler_stream_json_for_this_process in ProfileGatherer::Finish() and get rid of the 'profile-subprocess' notification indirection. r=njn
MozReview-Commit-ID: CnE0SJBsfDN

--HG--
extra : rebase_source : 59f4201d3d8b8fb0d5bc7743f9dafd60789d916a
extra : histedit_source : 5b8b9b26ac87d22d118891868a8a07fe225e85b2
2017-04-12 16:40:03 -04:00
Markus Stange
4a1b5c4027 Bug 1321617 - Reduce the scope of the lock in profiler_get_profile. r=njn
MozReview-Commit-ID: 5OmVMwy1yMl

--HG--
extra : rebase_source : 9cebf6f6ff860fc6b0750e9e4d9eaf23773ccc19
extra : histedit_source : cbd1321ea17a26553384efb6ee7511d800878b84
2017-04-12 16:45:28 -04:00
Markus Stange
a951919765 Bug 1321617 - Move parts of StreamJSON out into the callers and rename it to locked_profiler_stream_json_for_this_process. r=njn
MozReview-Commit-ID: 239BJOa2bix

--HG--
extra : rebase_source : 36f248d60bf4c82deb2a62c5a45d9c1c3c44af2e
extra : histedit_source : e5b2b4cb5f19e6efb69ff8e2d391199d3dbaf3ea
2017-04-08 21:07:52 -04:00
Markus Stange
0fc86487fd Bug 1321617 - Don't store profiles on the CPPC; pass them right to the ProfileGatherer. r=njn
MozReview-Commit-ID: 6gaP8Ltm7ms

--HG--
extra : rebase_source : c91f87f096286f8914553a26d692ea99ec9369c5
extra : histedit_source : 0fd9f4a9bf8b9f8f0acaaab30640a5e2f462148b
2017-04-08 21:54:16 -04:00
Markus Stange
59446b4f09 Bug 1321617 - Tell the CrossProcessProfilerController whether a profile is a response to a GatherProfile request or whether it was sent because the process was exiting. r=mconley
MozReview-Commit-ID: BLkaeZqtRhv

--HG--
extra : rebase_source : b0271115a66afbf54d98b5bad61165f815f5bd8c
extra : histedit_source : 299cccc9cc8c06de4d61686ff49d2b0e7649da78
2017-04-12 16:44:31 -04:00
Markus Stange
2a9661c57b Bug 1329114 - Update talos symbolication to work with profile format version 5. r=jmaher
MozReview-Commit-ID: K2Hd6pPLaoB

--HG--
extra : rebase_source : 9b6276b98d34a7dc2c46e11f29253269d2395bd0
extra : histedit_source : 8fc656aa3ec321fc40224015363bfec851232b51
2017-04-08 15:06:41 -04:00
Markus Stange
dc05eb93fd Bug 1329114 - Put profiles from other processes into a 'processes' array, not into the threads array, and don't stringify them. r=njn
MozReview-Commit-ID: Ccl6JIbRMyX

--HG--
extra : rebase_source : 1b9a5bbff6da5b1dbfb907630900526e95981a28
extra : histedit_source : 8c830a0178c14fdb044dea2c7323025d3892454b
2017-04-08 16:00:30 -04:00
Markus Stange
7463009e1d Bug 1348424 - Drop the window's reference to mColor before releasing it. r=spohl, a=dveditz
MozReview-Commit-ID: LwRZwLpFUtD

--HG--
extra : rebase_source : 4efacd0e82cdcca5a1ec6d459a91dc58cb424d20
extra : histedit_source : b52922153beb627f498ba46ecc7504e011760bc1
2017-04-07 18:07:50 -04:00
Mark Banner
b624a1a95b Bug 1347709 - Add a .npmignore file to stop publishing unnecessary files for eslint-plugin-mozilla. r=mossop
MozReview-Commit-ID: BcZBIFM1Ugu

--HG--
extra : rebase_source : ca8cbc2e04cb96e98da5febdd82d8ac7393ebc8b
2017-04-06 12:04:52 +01:00
Ricky Chien
ddbb541e5d Bug 1356766 - Support HTMLTooltop when running launchpad on Chrome r=ntim
MozReview-Commit-ID: KNeN8hrJjdl

--HG--
extra : rebase_source : ddb241b2f8d2106eab6d315f987b09fbd200e3af
2017-04-15 15:28:29 +08:00
Wes Kocher
4aaf266707 Backed out changeset fc91bd1a27a7 (bug 1353073) for eslint failures a=backout 2017-04-15 00:33:34 -07:00
Wes Kocher
c65c974a08 Backed out changeset b29865f8d36b (bug 1356611) for frequent windows xpcshell failures a=backout 2017-04-15 00:32:29 -07:00
Shane Caraveo
beeff82ee3 Bug 1353073 handle contextmenu in sidebar when remote=true, r=kmag
MozReview-Commit-ID: GDAd2jYrlf6

--HG--
extra : rebase_source : 22a4244d55975513bdfc288c94cf112fcd0e90fd
2017-04-14 15:15:37 -07:00
Shane Caraveo
fd8887b9cd Bug 1350597 fix reload/upgrade of sidebar addon, r=kmag
MozReview-Commit-ID: FcC7zJn1ka5

--HG--
extra : rebase_source : 860e43a19619acaaf4762c5810d489dab1d6ef73
2017-04-14 17:01:23 -07:00
Markus Stange
eb07a56986 Bug 1356752 - Fix --enable-tasktracer build by adding the missing aWriter argument. r=njn
MozReview-Commit-ID: L87KE3BmYRB

--HG--
extra : rebase_source : 09e34cc04ea7f76a07419e0e75cc0b097c001b6b
2017-04-15 00:22:07 -04:00
Mike Hommey
d901402901 Bug 1356720 - Ensure toolchain builds are triggered when some helper scripts are modified. r=chmanchester
--HG--
extra : rebase_source : 1ce737c796d06862fe553c63120238e933bf90d2
2017-04-15 09:03:05 +09:00