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

525666 Коммитов

Автор SHA1 Сообщение Дата
Hiroyuki Ikezoe a7825d3c98 Bug 1340958 - Add AnimationValueMap and expose it in FFI. r=heycam
Current Gecko composes all of effects in the composite order at once.
We can put each computed value into this AnimationValueMap every time composing
an effect.

MozReview-Commit-ID: EZdCYedva13

--HG--
extra : rebase_source : 0dc97045f2e5fd9088307fcd1588d9416907ba8e
2017-03-17 13:22:19 +09:00
Hiroyuki Ikezoe 2511ac5d4e Bug 1340958 - Templatize ComposeStyle. r=birtles
Later in this patch series we will replace ServoAnimationRule with a hashmap.
At that point, we would like to pass the hashmap to ComposeStyle. In order
to achieve that, this patch templatizes the 'animation rule' parameter of
ComposeStyle in both Animation and KeyframeEffectReadOnly so that it can
represent a hashmap instead.

MozReview-Commit-ID: H5bMxjN3W8n

--HG--
extra : rebase_source : 58cd9ee1cda51970d35c52b39d2cdab12055e24a
2017-03-17 13:22:13 +09:00
Hiroyuki Ikezoe 2d5908cdb1 Bug 1340958 - Separate ComposeStyle() into servo and gecko versions. r=birtles
MozReview-Commit-ID: FAXf6J9UVjo

--HG--
extra : rebase_source : 606043e23b478558dd931756c0769dd2ef592b3b
2017-03-17 12:48:56 +09:00
Hiroyuki Ikezoe faa7a6f3cb Bug 1340958 - Allocate StyleRule only if we need to compose styles. r=birtles
MozReview-Commit-ID: 6ucsxBAaYRp

--HG--
extra : rebase_source : ec0bd4627d40335c353b79720f7dfb2e4f3c304c
2017-03-17 12:48:51 +09:00
Hiroyuki Ikezoe a3c9c5051e Bug 1340958 - Do not call EffectCompositor::GetServoAnimationRule for print preview. r=heycam
The only one caller of GetServoAnimationRule is Gecko_GetAnimationRule.
There is no risk that pres context is destroyed in Gecko_GetAnimationRule.

MozReview-Commit-ID: 52pxbCiCNoJ

--HG--
extra : rebase_source : 8000e267d1d5706c709f807e11396dda3579c4dc
2017-03-17 12:48:34 +09:00
Hiroyuki Ikezoe 00ae32a7b2 Bug 1340958 - Do not call get_animation_rules for pseudo elements other than ::before and ::after. r=heycam
MozReview-Commit-ID: FlrT4hIst6U

--HG--
extra : rebase_source : 7cefba0f9353efd8128117f8596a01315937ef6c
2017-03-17 12:48:15 +09:00
Hiroyuki Ikezoe 63599aca47 servo: Merge #16005 - Compose animation with servo's hashmap (from hiikezoe:animation-compose); r=heycam
<!-- Please describe your changes on the following line: -->
This is a PR for https://bugzilla.mozilla.org/show_bug.cgi?id=1340958

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

<!-- 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: 36234d717f7155d61a631e98f0a435110e1ec161

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 714164a9c47722d41ce1959024ea072af7569cfb
2017-03-17 03:09:31 -07:00
Matteo Ferretti c90e952876 Bug 1332936 - hiding box model before taking the node's screenshot from inspector; r=pbro
MozReview-Commit-ID: 7MuC4KMLgJc

--HG--
extra : rebase_source : 3b968be70665726172a9ed9ca46bef453bf46456
2017-03-15 12:01:02 +01:00
Kaku Kuo 0d5f3a200f Bug 1347402 part 5 - create MediaElementGMPCrashHelper in HTMLMediaElement.cpp; r=cpearce,jwwang
Move the creation of MediaElementGMPCrashHelper out from MediaDecoder.cpp
which reduces the dependency of MediaDecoder to HTMLMediaElement.

MozReview-Commit-ID: E60aMfcFr7V

--HG--
extra : rebase_source : f50a8ee6f2fbec0bdf117eb1217066bc9c701745
extra : source : dd4e52da6d0d6205fe61d0caba44bbff008fd21a
2017-03-16 11:16:15 +08:00
Kaku Kuo b7fee84e84 Bug 1347402 part 4 - move ConstructMediaTracks/RemoveMediaTracks to HTMLMediaElemnt; r=jwwang
ConstructMediaTracks and RemoveMediaTracks are actually HTMLMediaElement's responsibilities.

MozReview-Commit-ID: 8lOdzD4pN7N

--HG--
extra : rebase_source : 7159d2c62b77429e5b2305b9e3eb7a0020a3b52c
extra : source : 0467c059be3cd8f066da5fc912b7738a5b9c4dd9
2017-03-15 17:33:21 +08:00
Kaku Kuo 81d9f0e2db Bug 1347402 part 3 - get owner document via polymorphism; r=jwwang
MozReview-Commit-ID: GCr2xQyST4X

--HG--
extra : rebase_source : 2798b2f962d52f1fbb2a4459951a1c18e4a0050a
extra : source : 03ead19e945201d3f0e42643cfe0ddf1bc43764f
2017-03-15 14:56:05 +08:00
Kaku Kuo a71c156f34 Bug 1347402 part 2 - open a GetOwnerDoc() interface at the MediaDecoderOwner; r=jwwang
Open a GetOwnerDoc() method to the MediaDecoderOwner interface and then we can get the
owner document via a pointer to MediaDecoderOwner in MediaDecoder.

MozReview-Commit-ID: JCzQDLx1MsU

--HG--
extra : rebase_source : e194c95cb1513046ec7aa19d6c6e9f8231971a2d
extra : source : 1b9c45911a036e3677b6636cda84a636681d71de
2017-03-15 11:40:37 +08:00
Kaku Kuo c8bd9d4d79 Bug 1347402 part 1 - call DownloadSuspended() via polymorphism; r=jwwang
Instead of calling DownloadSuspended() via a pointer to a HTMLMediaElement,
we should call DownloadSuspended() via a pointer to a MediaDecoderOwner.

MozReview-Commit-ID: BvExQuchsWb

--HG--
extra : rebase_source : 0c8a5d412e91e2c370050a4706fc6f2afc0c20e9
extra : source : fb5ca26fc018e273296411a037b70b922cb26f4d
2017-03-15 11:20:57 +08:00
n0max ad152ae462 servo: Merge #15929 - Fix crop_area_bytes_length calculation and add tests (from n0max:canvas_drawimage_crop_fix); r=nox
<!-- Please describe your changes on the following line: -->
- Fix crop_area_bytes_length calculation (the height was multiplied by itself)
- Add tests for this error and for the case that the width is multiplied by itself

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

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

<!-- 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: 594a679002a5d74da761c17574ad5383a130b55a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 58e86c96aa98b7de2754d8687a68893b66d8fe7a
2017-03-17 01:55:16 -07:00
dimi b98b77568d Bug 1346196 - URLCLASSIFIER_UPDATE_REMOTE_STATUS2 records values using empty keys. r=francois
mTelemetryProvider might be empty if |CancelUpdate| is called during update.
In that scenario, the call flow will look like:
CancelUpdate -> UpdateError -> DownloadDone -> set mTelemetryProvider to empty ->
OnStartRequest -> record telemetry with empty key.

So in this patch, move mTelemetryProvider.Truncate() to OnStopRequest.

MozReview-Commit-ID: JDgNUqR4SKa

--HG--
extra : rebase_source : 42aa4c898f403a1189e67e355246ebed5aa4af44
2017-03-16 14:42:46 +08:00
Shing Lyu 9a6e19ebfb Bug 1344132 - Make reftest run stylo-vs-gecko test without special reftest.list. r=dbaron
MozReview-Commit-ID: 3XqZGNoqG2h

--HG--
extra : rebase_source : 13204a6c7268c0ac05dbecdbe0435cf765419a53
2017-03-03 14:21:58 +08:00
Tom Tromey 1cefb9fb2f Bug 1347961 - use #f06, not #f0c, in devtools tests; r=pbro
MozReview-Commit-ID: Li0s9X82YQC

--HG--
extra : rebase_source : 0c9d9deeced8d07f29f39912785d2c6fd60db314
2017-03-16 16:40:10 +01:00
Patrick Brosset 7164550d4c Bug 1347977 - Add docs about highlighters to /devtools/docs; r=jryans
MozReview-Commit-ID: 7Qdi9i2iaN8

--HG--
extra : rebase_source : 1a57df3f269543d8db72038dd2b0f485c8972e9f
2017-03-16 18:41:06 +01:00
Federico Padua e475364161 Bug 1344844 - Enable flake8 rule E222: "multiple spaces after operator". r=Dexter
This patch enables flake8 rule E222:
"multiple spaces after operator" in toolkit/components/telemetry
by removing the relative E222 entry from toolkit/components/telemetry/.flake8
and fixing the files for which the E222 error was reported.
Precisely 1 error violating E222 rule was found and solved.

MozReview-Commit-ID: 3xx09jkVu3E

--HG--
extra : rebase_source : 23c7ed40161e843ebe1b47fead2b00e4550b90ff
2017-03-14 01:44:29 +01:00
Mark Banner b792bfe15f Bug 1347884 - Enable eslint cyclomatic complexity rule at existing levels. r=jaws
Enable the rule with the maximums set to avoid current failures, except for test_form_autocomplete which is very
high (82). The levels are set per major area, with existing warnings being changed to errors.

MozReview-Commit-ID: 37M6Ry0Mr1c

--HG--
extra : rebase_source : 07e6864bdd945eb322499912dd702638430c0365
2017-03-16 11:04:39 +00:00
Carsten "Tomcat" Book e08ad28f77 Backed out changeset 9e40bc33e620 (bug 1346623) for perma leak in chrome-style stylo tests 2017-03-17 08:19:20 +01:00
Carsten "Tomcat" Book 1c400b7ed3 Backed out changeset 39ee9556d4a0 (bug 1346623) 2017-03-17 08:18:53 +01:00
Carsten "Tomcat" Book 8a5101d371 Backed out changeset 1f9a6ce59a56 (bug 1346623) 2017-03-17 08:18:51 +01:00
cku 99c7a15344 Bug 1346265 - Part 3. Test cases. r=mstange
Since -moz-element is moz only feature, the test case for -moz-element is
created under reftests/image-element folder.

MozReview-Commit-ID: G4V0G3cX7qr

--HG--
extra : rebase_source : f681d64fe4b9331a35fb082c7ed135f58c3f5a9d
2017-03-13 12:47:30 +08:00
cku e17dd9d6ff Bug 1346265 - Part 2. Pass gfxContext to nsImageRenderer::DrawableForElement. r=mstange
It's ok to pass aRenderingContext to DrawableForElement, since DrawableForElement
only use aRenderingContext to create a similiar draw target. Replace
aRenderingContext by ctx make code more consistent since the draw call
bellow(nsLayoutUtils::DrawImage) use ctx.

MozReview-Commit-ID: 6n0nYfcFPui

--HG--
extra : rebase_source : 1374c8b5be9fe5351a5a126e39773c9493cf233d
2017-03-17 12:05:51 +08:00
cku c984ad8338 Bug 1346265 - Part 1. Pass gfxContext to nsCSSRendering::PaintGradient. r=mstange
If mask-mode is luminace, we will create a temporary context at [1]. It's
obvious we do not use this gfxContext at all in PaintGradient path. This patch is
trying to fix this problem by pass gfxContext, instead of RenderingContext,
directly to PaintGraident.

[1] https://hg.mozilla.org/mozilla-central/file/991f5724e58f/layout/painting/nsCSSRendering.cpp#l5811
MozReview-Commit-ID: LLmg4k6IEm3

--HG--
extra : rebase_source : ed42e3f5ddf1314300259c3f74d43aac8b4683de
2017-03-13 12:26:21 +08:00
JW Wang b8a7a99f2c Bug 1348182 - default suspend-background-video to off in media mochitests. r=kaku
There is a bug in this feature which somehow prevents MDSM from reaching the
end of playback and firing the 'ended' event. We will default this feature to
off in media tests and tests for this feature need to turn it on explicitly.

We will also open a new bug to investigate this issue.

MozReview-Commit-ID: 8ebgcHGPKY0

--HG--
extra : rebase_source : f5a7dcf4a80eece6270e2757d7c41e5eaaff60e9
2017-03-17 11:56:53 +08:00
Mark Hammond f13f9ed085 Bug 1347373 - better handling of requests that have only non-existing items and of errors. r=kitcambridge
MozReview-Commit-ID: 7kcky3wJb4j

--HG--
extra : rebase_source : 108dde9145e323410e8799053581dc9bb4b80e42
2017-03-16 20:53:06 +11:00
Xidorn Quan 358e765982 No bug - Update mochitest expectations.
MozReview-Commit-ID: FQtBpgfBtR3

--HG--
extra : source : aa16c1ecccb6e6bd6e16d6f2e72732c0bed845ab
2017-03-17 17:16:52 +11:00
cku a6be5bcf9d Bug 1345853 - Part 3. Reftest. r=tnikkel
MozReview-Commit-ID: 7mXjFSXH2pa

--HG--
extra : rebase_source : bfa2f5013e93c8359933d457a5643528ca8e4aaf
2017-03-16 03:09:04 +08:00
cku 3d3a05d1ee Bug 1345853 - Part 2. If the transform matrix is singular, return DrawResult::SUCCESS, instead of DrawResult::BAD_ARGS r=tnikkel
According to bug 1345853 comment 5, tn said:
You probably want to return whatever was drawn there regardless of the
DrawResult. SVGMaskFrame has the same problem. Keep in mind that DrawResult is
only reporting on how drawing of any images went, not the drawing of anything
else. Also looking over the patches from bug 1258510 I see a couple places where
BAD_ARGS is returned if the transform matrix is singular. We would want to
return SUCCESS in that case I think, because we drew what we were instructed to
draw.

MozReview-Commit-ID: 5XcDuKQwXTJ

--HG--
extra : rebase_source : ba764df599844c9eb179736f61d6c7f6ee46c9fc
2017-03-16 12:06:36 +08:00
cku e2d44c26bf Bug 1345853 - Part 1. Pass DrawResult from nsSVGPatternFrame::PaintPattern back to nsDisplaySVGGeometry::Paint. r=mstange,tnikkel
I did many change in many files in this patch. But the goal is pretty simple: To
pass the return value of nsSVGPatternFrame::PaintPattern back to the caller
(nsDisplaySVGGeometry). My suggestion is to review this patch right from
nsSVGPatternFrame.cpp.

I made two mistakes in bug 1258510
1. We should not return directly at [1]. RemoveStateBits at l418 will be skip.
2. nsSVGPatternFrame::PaintPattern should return both SourceSurface and draw
result, so that we can update UpdateDrawResult in display item.

All the other changes are to
1. make sure the return value of nsSVGPatternFrame::PaintPattern goes back to
nsDisplaySVGGeometry::Paint correctly.
2. Since the return value of nsSVGPatternFrame::PaintPattern change, we need
modify all existed callers.

I also filed bug 1346124 for handle the returning value of PaintMarkers.

[1] https://hg.mozilla.org/mozilla-central/file/c0700bedb4f7/layout/svg/nsSVGPatternFrame.cpp#l415

MozReview-Commit-ID: Iq9RPQ6Omz0

--HG--
extra : rebase_source : bc338b1a33f1dbf209706577b2455315dfb855e2
2017-03-16 12:17:19 +08:00
cku 37b075adea Bug 1343664 - Part 2. Reftest. r=mstange
MozReview-Commit-ID: GZDKQaLYnUx

--HG--
extra : rebase_source : 0907d2507067f1603f55244fe646be9441aa98ad
2017-03-06 16:04:20 +08:00
cku 62104073dc Bug 1343664 - Part 1. Correct transform matrix. r=mstange
MozReview-Commit-ID: Eg6i4SoSPoe

--HG--
extra : rebase_source : d2a5dea5d614e56e673828eb7bd91f736309b8cc
2017-03-06 15:25:29 +08:00
Kaku Kuo 7f7c37e4b3 Bug 1347836 part 2 - make HTMLMediaElement::GetCurrentImage() return an already_AddRefed<layers::Image>; r=jwwang
MozReview-Commit-ID: FZ4JRdbPUry

--HG--
extra : rebase_source : 9d532e4bb55be8b9d83d120ee62a7b2f5e521efc
2017-03-16 17:07:04 +08:00
Kaku Kuo 97ae833320 Bug 1347836 part 1 - fix comment; r=jwwang
MozReview-Commit-ID: 61ElwSsArw1

--HG--
extra : rebase_source : bf7ffa38145692c47762b0f47c7f2dc943f2c33d
2017-03-16 17:05:10 +08:00
Simon Sapin ba8b4b7ed8 servo: Merge #15996 - Fix "option `Z` is unstable" warning on geckolib with incremental=true (from servo:incremental-unstability); r=Manishearth
`incremental = true` can be set in the `[build]` section of `.servobuild` to enable incremental compilation.

In `./mach build-geckolib`, which uses a stable version of the compiler, this would cause a warning repeated for each invocation of rustc:

```
warning: the option `Z` is unstable and should only be used on the nightly
compiler, but it is currently accepted for backwards compatibility;
this will soon change, see issue #31847 for more details
```

This PR disables incremental compilation for `build-geckolib`, regardless of `.servobuild` settings.

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

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

<!-- 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: 0a0fb61b4838365375b0f7cfc432cce6d475c258

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 482e366b55569c285ec9c30f274a846fd7d307e3
2017-03-16 21:08:45 -07:00
bechen 098e6e6897 Bug 1344604 - part2: Return empty DocumentFragment if the ConvertCueToDOMTree() return null. r=alwu
It is a regression of bug1307710, if something wrong during the ConvertCueToDOMTree() in vtt.jsm, we will get null ptr.

MozReview-Commit-ID: LSQrJIhBzRU

--HG--
extra : rebase_source : b0a2cf675f9288ddc9c264faaffcf97049c6c1c6
2017-03-16 15:25:56 +08:00
bechen 622a99a3ec Bug 1344604 - Return null if there is an incomplete tag in nextToken(). r=alwu
MozReview-Commit-ID: 5mvFhaAx2s5

--HG--
extra : rebase_source : 5ca9f9ae29cbe5bc5a7fdf31489212d252f52656
2017-03-16 15:25:34 +08:00
Thomas Nguyen 7c3117165a Bug 1192940 - Support referrer policy in sendBeacon r=Ehsan
MozReview-Commit-ID: FEyqInOkiT6

--HG--
extra : rebase_source : 573e9b2c9ae906f7b75983c4cc4edcea7cfeff92
2017-03-17 11:53:16 +08:00
Cameron McCormack 9f8808666b Bug 1341102 - Revendor rust dependencies. r=me (CLOSED TREE)
--HG--
extra : amend_source : acddfc66c347a7b66341931b57446bcd0eadf3bb
2017-03-17 13:07:35 +08:00
Cameron McCormack 5467aaa4c2 Bug 1346623 - Part 3: Test. r=bholley
MozReview-Commit-ID: 8LOxAPDEuBW

--HG--
extra : rebase_source : 68d8a70210a346f184fb484fdd4f1d81e673c651
2017-03-16 22:47:05 +08:00
Cameron McCormack d47e6354c6 Bug 1346623 - Part 2: Add an API to get computed style values through an AnonymousContent object. r=bholley
MozReview-Commit-ID: Dbvuk16CjFT

--HG--
extra : rebase_source : 2c40e4cd9ce08d6f2a5feb13293cc151de6deb80
2017-03-16 22:46:43 +08:00
Cameron McCormack f21bcc7ed3 Bug 1346623 - Part 1: Prevent canvas custom content from becoming NAC when reframing the root element. r=bholley
MozReview-Commit-ID: K7jcUuz6KI4

--HG--
extra : rebase_source : 85c2939b020e7d4b401382c0d436f16c5af98b5e
2017-03-16 17:43:44 +08:00
Markus Stange 67727faeea Bug 1329111 - Update devtools users of nsIProfiler.getSharedLibraryInformation. r=gregtatum
This actor message is not used by the devtools themselves, it's only exposed so that
the add-on can use it. See bug 1131397.

MozReview-Commit-ID: F1dm0U4rkEd

--HG--
rename : devtools/server/tests/unit/test_profiler_getsharedlibraryinformation.js => devtools/server/tests/unit/test_profiler_sharedlibraries.js
extra : rebase_source : 52f8836da36b09a8d2091c18817cbc3d8ed51da0
2017-03-14 19:20:21 -04:00
Markus Stange 35e98006bd Bug 1329111 - Make talos profiling symbolication compatible with the new profile format. r=jmaher
This also removes compatibility code for other formats, because since talos is
now in mozilla-central, it will only run on Firefox builds of the same
revision, so we just need to be compatible with the current version of the
format.

MozReview-Commit-ID: 6MT9pw4BVzU
***
make talos only compatible with the current version

MozReview-Commit-ID: I7O58kIObQW

--HG--
extra : rebase_source : 484c477b095d038efcaa15ffb808e486df6193d8
2017-03-13 17:31:39 -04:00
Markus Stange 5c5945bfa0 Bug 1329111 - Change the nsIProfiler shared library information API. r=njn
API before this change:
 - nsIProfiler::getSharedLibraryInformation() returns a string containing a
   JSON array of libraries.
 - The profile format is at version 3.
 - Every profile has a "libs" field that contains the same JSON string as the
   return value of nsIProfiler::getSharedLibraryInformation.
 - The array of libraries is not sorted.
 - Each library has a "name" field that contains:
    - The module's debug name on Windows
    - The full path to the binary on Mac + Linux

API after this change:
 - nsIProfiler::getSharedLibraryInformation() is removed.
 - nsIProfiler has a readonly property called sharedLibraries.
 - The profile format is at version 4.
 - Every profile has a "libs" field that contains the same array as
   nsIProfiler.sharedLibraries, no longer as a JSON string but as a regular
   array.
 - The array of libraries is sorted by start address.
 - Each library has a "name" field that contains the binary file's basename,
   on all platforms.
 - Each library has a "path" field that contains the full path to the binary,
   on all platforms.
 - Each library has a "debugName" field that contains the library's debug
   name, on all platforms. On Windows, the debug name is the filename
   (basename) of the pdb file for that binary. On other platforms, debugName
   is the same as |name|.
 - Each library has a "debugPath" field that contains the absolute path
   library's pdb file on Windows; on non-Windows, debugPath and path are the
   same.
 - Each library has an "arch" field that is either an empty string (Linux +
   Windows) or the library's architecture; it'll differentiate between the
   architectures "x86_64" and "x86_64h". (x86_64h is used for binaries that
   contain instructions that are specific to the Intel Haswell
   microarchitecture.)

MozReview-Commit-ID: 8Nrs4dyHhDS

--HG--
extra : rebase_source : 4039926ae4d776bf53ea71df5fe3f8200d3e2784
extra : source : 4e282aa03422de5b8d51e1aaeb3e53ee547293dd
2017-03-14 18:59:20 -04:00
Markus Stange e552737d0a Bug 1329111 - Use JSONWriter when generating the GetSharedLibraryInfo() JSON. r=njn
MozReview-Commit-ID: LZalkkFreym

--HG--
extra : rebase_source : 71d95c3ff6454d72515c33ea7df742d95e94872b
2017-03-13 17:08:38 -04:00
Markus Stange 5d618f99af Bug 1329111 - Record shared library architecture on Mac. r=glandium,njn
This is interesting information on Mac because some system libraries come in
two 64 bit versions: a regular one, and one that contains Haswell-specific
instructions. The former 'architecture' is called x86_64 and the latter is
called x86_64h (h for Haswell).

We set arch to the empty string on non-Mac platforms. It's not all that
interesting on those platforms because there will be only one architecture
in the binary at the given path, unlike on Mac where you can have fat
binaries with multiple architectures.

MozReview-Commit-ID: Dgnslv0D3Ug

--HG--
extra : rebase_source : cf1fcfc1635d373eaeea35aad2f73b235097c748
2017-03-13 17:51:41 -04:00
Markus Stange 4be87b17a8 Bug 1329111 - Supply SharedLibraryInfo with the absolute module path and debug path on all platforms. r=marco
MozReview-Commit-ID: 9R3ecPxGoMr

--HG--
extra : rebase_source : 3cc2af0e5c2b40f349f9e77e06731188d9af07ea
2017-03-14 18:26:50 -04:00