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

548704 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey b9fc5a46aa Bug 1359912 - Add -z relro linker flags. r=gps
--HG--
extra : rebase_source : ae42e299d59cc139503c411e663cc81b18ff4177
2017-07-26 07:12:59 +09:00
Mike Conley 6e9f0d9045 Bug 1356271 - add a test to measure how many layout flushes it takes for a simple location bar search. r=florian
MozReview-Commit-ID: GFDvSIn53Zh

--HG--
extra : rebase_source : 5d3938d62b92503a692cdb4476b20e2ed91d999c
extra : source : fdea4300bc5dabf5d1bb2b77a419bac489a56b6d
2017-06-14 15:45:33 -04:00
Mike Conley af3acf6f54 Bug 1356271 - Make it so that it's easier to define repeating reflows for reflow tests. r=florian
MozReview-Commit-ID: 5ZL5RtItbiL

--HG--
extra : rebase_source : bac2ac9f7eb73ef50132a3343956e98dc1308af0
extra : source : 7629e34f7fb6f756c09f0d6735b746a9d1050c5f
2017-07-10 18:07:25 -04:00
Mike Conley ba5af40f6f Bug 1356271 - Clean up comment about reflow test helper now that we're using a better mechanism to dirty the frame tree. r=florian
MozReview-Commit-ID: 6YjhG0fOyjO

--HG--
extra : rebase_source : 675b36cc835c18e4fe104743dd4141495f6134d7
extra : source : 0db5eafa8f0ba0ec86977a05f250f66d61da0b92
2017-07-13 08:41:51 -07:00
Kearwood "Kip" Gilbert b75b2ceec3 Bug 1384459 - Only enable WebVR device enumeration for 64-bit builds r=jgilbert
We wish to enable WebVR only for 64-bit builds before it rides the
trains with 55 in release.

This will serve a few purposes:
- Reduction of test requirements by reduction of configuration matrices.
- Ensuring that the optimal 64-bit builds are used for WebVR sites,
  which are often likely to hit 32-bit address space fragmentation
  limitations resulting in OOMs.
- Act as a rudimentary soft-launch in 55.  56 is expected to bring a
  larger set of users to 64-bit builds.

MozReview-Commit-ID: 207ABcd31dP

--HG--
extra : rebase_source : 5e7ec8d88beb5ecebdf8d5b224b6024d875bd134
2017-07-26 11:28:21 -07:00
Gijs Kruitbosch 91bbc3b4c4 Bug 1384212 - about:home mozilla logo shifts on hover, r=dao
MozReview-Commit-ID: 1voxAxxHDZ6

--HG--
extra : rebase_source : 09caf6df0ac95149ecc0ad3eadce5f94a6dd455b
2017-07-26 21:26:39 +01:00
Dan Mosedale ext:(%3E) d7d5ed0cbd Bug 1384721 - fix pocket network activity during tests, r=Mardak
MozReview-Commit-ID: G9mGNt5imhr

--HG--
extra : rebase_source : 5f94c58b5c34b3670509cf27c9ad635159deca4d
2017-07-26 14:32:42 -07:00
Julian Descottes e7a8569efe Bug 1369801 - move devtools.inspector.enabled to devtools-startup-prefs;r=ochameau
MozReview-Commit-ID: BojshjPhVGe

--HG--
extra : rebase_source : c1d82bfd8bd0108ea3f30c7573a4c4d597b6979f
2017-07-25 22:09:01 +02:00
Julian Descottes b188e49fd4 Bug 1369801 - Fix devtools shim test now that devtools resource path is not registered;r=ochameau
MozReview-Commit-ID: 28ArQzFGZ6H

--HG--
extra : rebase_source : bc127d13f832d1acf4f31fcf3f424e57c4765572
2017-07-25 19:52:34 +02:00
Julian Descottes b5b51ea07e Bug 1369801 - dt-addon: move devtools-startup to devtools shim folder r=ochameau
MozReview-Commit-ID: GNFAyfXHIa9

--HG--
rename : devtools/client/devtools-startup.js => devtools/shim/devtools-startup.js
rename : devtools/client/devtools-startup.manifest => devtools/shim/devtools-startup.manifest
extra : rebase_source : febb74b2dc5777562e36665df52647d7aa486db7
2017-07-20 18:56:39 +02:00
Julian Descottes d2738a7a62 Bug 1369801 - dt-addon: clear extensions.lastAppVersion when creating browser toolbox profile;r=ochameau
This is needed to:
1. force the devtools system addon installation when starting the BT instance of FF
2. avoid the addon update prompt

Another approach is to create a separate user.js pref file to fix 1. However with this
approach there is currently no way to fix 2.

MozReview-Commit-ID: palK2hION0

--HG--
extra : rebase_source : e7a70e68d359fe4a3249a6a5648a52abbde6d851
2017-07-06 02:48:41 +02:00
Julian Descottes 587091f866 Bug 1369801 - dt-addon: use window object in webconsole/net/main to load stylesheets;r=jryans
From console/net/main.js we are calling loadSheet from sdk/stylesheet/utils.
This API needs a real window object to work, but now that devtools are loaded
as a system addon, by default the global object is a sandbox wrapper.

Use the window object which points to the actual Window instead.

MozReview-Commit-ID: LxDNfDiOso3

--HG--
extra : rebase_source : b00465e7e0ef8145b341c495eb27e7f1e703d341
2017-07-12 19:26:33 +02:00
Julian Descottes 540a42dfc9 Bug 1369801 - dt-addon-fennec: skip xpcshell devtools tests on android;r=jryans
MozReview-Commit-ID: 9nkktpNhU0A

--HG--
extra : rebase_source : 99dfd4ae1efa4328b504ffd59b3b6d0205824685
2017-06-22 21:33:15 +02:00
Julian Descottes 8a25ab0476 Bug 1369801 - dt-addon-fennec: package specific version of devtools addon for fennec;r=jryans
MozReview-Commit-ID: 50jh5spnHw6

--HG--
extra : rebase_source : 8b0b8f2f936a6f83166690cd15df642c61114a7e
2017-06-21 19:23:11 +02:00
Julian Descottes 2d21a9f9dd Bug 1369801 - dt-addon-tests: update specificity of selector in firebug-theme.css;r=ochameau
MozReview-Commit-ID: 7o6h5FPOa3I

--HG--
extra : rebase_source : 973f4cfe2fe83366bc9cb217e95264ddebfd3d72
2017-06-19 11:12:46 +02:00
Julian Descottes 26e0ffd71f Bug 1369801 - dt-addon-xpcshell: move child process memory test into separate test suite;r=bgrins
MozReview-Commit-ID: KXGhumyeReL

--HG--
extra : rebase_source : e1fb2505634be876fa274ed4a7bc22a8b6a967cc
2017-07-11 16:16:18 +02:00
Julian Descottes df95b72117 Bug 1369801 - dt-addon-xpcshell: load devtools addon for xpcshell tests;r=bgrins
MozReview-Commit-ID: 4EyclGKca0t

--HG--
extra : rebase_source : 05d41abb69a34f0f5b8241c26684ed53a88b6df5
2017-07-11 12:30:22 +02:00
Julian Descottes 1d362112a9 Bug 1369801 - dt-addon-prefs: move devtools.theme preference to devtools-startup-prefs.js;r=bgrins
MozReview-Commit-ID: GOWh7COmCSx

--HG--
extra : rebase_source : 59713e0a7e5ab514761e3506c6659d6b1d17bb61
2017-07-25 16:45:08 +02:00
Julian Descottes be3db82a6e Bug 1369801 - dt-addon-prefs: move jsonview enabled pref outside of devtools addon;r=ochameau
DevTools preferences are loaded dynamically by calling DevtoolsPreferences.loadPrefs().
We can not preload them when the addon starts, otherwise this will slow down the startup
of Firefox.

But jsonview's converter-observer needs to check preferences to check if jsonview is
enabled very early. Moving devtools.jsonview.enabled to a separate preferences file
that is still processed by firefox fixes the issue.

The downside is that this pref will keep following m-c's release cycle and not the addon's.
But it is so generic it should not be a big issue.


MozReview-Commit-ID: HrD5IVe54Ks

--HG--
extra : rebase_source : 7feb021770c827996e276b60169b08093ecc1ff0
2017-07-21 12:27:35 +02:00
Julian Descottes 346099c99a Bug 1369801 - dt-addon-prefs: load DevTools prefs when starting Loader.jsm;r=ochameau
DevTools should not execute any code on the browser startup. Loading preferences takes
a non negligeable time and should be deferred to the devtools initialization.

For all devtools entry points, Loader.jsm is always loaded first, so it is safe to
load the preferences here.

MozReview-Commit-ID: Hg4VBj2LqPo

--HG--
extra : rebase_source : 86bfef7e13ecf52b9b8c761fbf7352af42a6bced
2017-07-21 16:05:19 +02:00
Julian Descottes b001b4a3ea Bug 1369801 - dt-addon: simplify devtools addon bootstrap and extract prefs loading;r=ochameau
MozReview-Commit-ID: 13SxWssW0Xr

--HG--
extra : rebase_source : c443ebb6b65f8b340255978062e113cc95ebaee9
2017-07-20 18:31:46 +02:00
Julian Descottes 5a907e49b4 Bug 1369801 - dt-addon-build: additional build fixes for system addon;r=ochameau
In this patch:
- register webide properly
- register localization
- add processing indicator in jar.mn for pref files (details below)

The preferences files still contain processing instructions, that we manually interpret when loading
prefs. Keeping the * processing indicator will avoid triggering warnings in tests scanning
javascript files for issues such as browser_parsable_script.js

MozReview-Commit-ID: 8WYUvbtMNn5

--HG--
extra : rebase_source : 18b13c0d6d1065e141650edb5a3a0b1e7b09a5f8
2017-07-11 14:35:44 +02:00
Alexandre Poirot 7f5d400ac4 Bug 1369801 - DevTools as system add-on;r=jdescottes
MozReview-Commit-ID: EUjkQtEUy4V

--HG--
extra : rebase_source : 1d3920a73e082cb3efd9ceb3af6104fb54951b9b
2017-05-30 17:34:38 +02:00
Brian Grinstead 9c23cdfee2 Bug 1382833 - Add regression test for CPOWs in the Browser Console;r=jimb
MozReview-Commit-ID: 6OEnLdOpg4Q

--HG--
extra : rebase_source : 16229930e92c2ab69f6dc46a634551e3a962f57d
2017-07-26 11:22:59 -07:00
Brian Grinstead 46cc553a7c Bug 1382833 - Don't throw when dealing with CPOWs in the Object Actor;r=jimb
MozReview-Commit-ID: CaIS2IpaQme

--HG--
extra : rebase_source : 75b4fe1abd460978039d7f1085d56e64b9dd2765
2017-07-26 11:22:56 -07:00
Brian Grinstead 23bebfb386 Bug 1381630 - Enable the new console frontend by default in dev edition;r=nchevobbe
MozReview-Commit-ID: BgzsHk9qSix

--HG--
extra : rebase_source : 472928f7495ed2c0970db99dc5ef409acf9a2274
2017-07-26 09:41:42 -07:00
Ralph Giles d325f08743 Bug 1384363 - Update builders to rust 1.19.0 for linux64-fuzzing. r=mshal
Missed this in the update in bug 1382743. Thanks to glandium
for pointing out the oversight.

MozReview-Commit-ID: 6P4qnBCNEGy

--HG--
extra : rebase_source : d4b540d27ffaaa2edf5554a641dfc99fc93e9b92
2017-07-25 17:42:33 -07:00
Ralph Giles cae386b85a Bug 1384363 - Add the fuzzing tooltool manifest to the rust update list. r=mshal
MozReview-Commit-ID: Hv0bjfBvKfW

--HG--
extra : rebase_source : 086bdea971436d42ccb632d4fab42c497f554446
2017-07-25 17:41:58 -07:00
Boris Zbarsky 0b073f9efb servo: Merge #17875 - Add support for having two separate parent styles. Fixes gecko bug 1382806 (from bzbarsky:first-line-dual-inheritance); r=emilio
<!-- Please describe your changes on the following line: -->

This is needed for ::first-line support.  See https://drafts.csswg.org/css-pseudo-4/#first-line-inheritance

This PR doesn't quite implement what the CSS spec draft says right now.  It implements what Gecko does, which is what an earlier draft said.

---
<!-- 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 https://bugzilla.mozilla.org/show_bug.cgi?id=1382806

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because servo doesn't support ::first-line yet

<!-- 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: 020188fdd77f0f0f2848e21eb9bcc28362d98506

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : fb65e4b9bd1efb55d0a2a11efd05611ac6d734eb
2017-07-26 15:21:37 -05:00
Daniel Holbert 7b2a0e9d5a Bug 1384669: Reduce refcount churn in BidiParagraphData by using non-refcounted pointer hash keys. r=jfkthame
We don't need to bother with refcounting for these pointers, because they're
pointing to DOM elements, and the DOM is basically immutable during reflow.
And BidiParagraphData is a stack-only class which only lives for a short period
of reflow - so it can assume these pointers' targets will stick around for its
whole life.

MozReview-Commit-ID: J3SfRYoRweX

--HG--
extra : rebase_source : 9ebab968fdb1e4cc30033ab0744d883a9b0d820e
2017-07-26 12:47:53 -07:00
Mike Hommey e1dcb01130 Bug 635961 - Don't disable elfhack when the linker creates GNU_RELRO segments. r=froydnj
--HG--
extra : rebase_source : e739cd796f19fb770c6502806873282da9de5264
2017-07-11 08:10:50 +09:00
Mike Hommey 43b0a30fd0 Bug 635961 - Allow elfhack to relocate data under the GNU_RELRO segment. r=froydnj
--HG--
extra : rebase_source : 873898d5929414b754bf592ab4d60574700b646a
2017-07-11 07:41:07 +09:00
Alex Gaynor 3229d39dba Bug 1384677 - remove com.apple.cookied access from content processes; r=haik
MozReview-Commit-ID: 5mI4VXf7J8Q

--HG--
extra : rebase_source : 8514a3e7e73059964b29e240d7979b3a2758bb69
2017-07-25 11:03:43 -04:00
Tom Prince 9761c4f2bf Bug 1384273 - Get lint root dir from mach; r=ahal
MozReview-Commit-ID: I6L6a9Sim49

--HG--
extra : rebase_source : 5ee0fe805c417b192f7408ea5cbcee73c902c593
2017-07-22 01:28:34 -06:00
Alexandre Poirot d84a56121d Bug 1353656 - Remove WebIDE build step for local apps. r=jryans
MozReview-Commit-ID: 2YA2tBynD7g

--HG--
extra : rebase_source : 10ef9ff454e52fccbb089d60bed39f4b57f349c6
2017-07-24 18:50:26 +02:00
Alexandre Poirot 5ef02128e0 Bug 1353656 - Use SubProcess.jsm from WebIDE instead of SDK equivalent. r=jryans
MozReview-Commit-ID: Lu0Ptuhopxh

--HG--
extra : rebase_source : fefa75b9b74f20d795c63a5b3fbdf18da2f5f9b3
2017-07-24 19:23:09 +02:00
Kartikaya Gupta 37b78eda1b Bug 1384233 - Update documentation for the %I format specifier in Printf.h. r=froydnj
MozReview-Commit-ID: 5bxCGKYrXFI

--HG--
extra : rebase_source : de32c96981abd05f72cd408d9489d2a83adcc1cb
2017-07-26 16:22:58 -04:00
Kartikaya Gupta ba4b3b9101 Bug 1384233 - Remove SizePrintfMacros.h. r=froydnj
We have a minimum requirement of VS 2015 for Windows builds, which supports
the z length modifier for format specifiers. So we don't need SizePrintfMacros.h
any more, and can just use %zu and friends directly everywhere.

MozReview-Commit-ID: 6s78RvPFMzv

--HG--
extra : rebase_source : 009ea39eb4dac1c927aa03e4f97d8ab673de8a0e
2017-07-26 16:03:57 -04:00
Nazım Can Altınova 55615eae32 servo: Merge #17877 - Cleanup @font-face rule constructor (from canaltinova:font-face-refactoring); r=jdm
Passing SourceLocation into constructor instead of assigning
immediately after construction cleans up the code and helps to
prevent leaving an invalid SourceLocation in the future.

- [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 just a cleanup.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : aa56fb4a8ca1dfb75cda8cef889ee78e7cd5a169
2017-07-26 14:13:02 -05:00
Robert Helmer 9b9d9a6041 Bug 1383338 - fetch and run shield studies soon after UI startup r=Gijs,mythmon
MozReview-Commit-ID: CWRQmwKplII

--HG--
extra : rebase_source : f5b48844e7df8e8998831334a7d20c04ed7313b5
2017-07-26 10:10:47 -07:00
Kartikaya Gupta 1220276afe Bug 1384181 - Add utility dump functions for debugging. r=jrmuizel
MozReview-Commit-ID: 5YJLGhnMkwG

--HG--
extra : rebase_source : b705d1db828b14d5829ee88aa3b0cebfef0e0b6f
2017-07-26 14:47:49 -04:00
Kartikaya Gupta 5da102e5d4 Bug 1384181 - Build WebRenderLayerScrollData instances for remote layer trees. r=jrmuizel
This adds handling for nsDisplayRemote frames, so that we create a
WebRenderLayerScrollData item for each nsDisplayRemote frame that we
encounter. This is the equivalent of a "ref layer" in a normal layer
tree, and allows the APZ side to glue together the scroll data from
different processes into a full tree.

MozReview-Commit-ID: 3lgsqtCKQya

--HG--
extra : rebase_source : eb93be1ef415349e00c09d7274d49fcf7992d197
2017-07-26 14:47:48 -04:00
Kartikaya Gupta 7a6592bf98 Bug 1384181 - Ensure that the WebRenderScrollData has a single root layer node. r=jrmuizel
The semantics of the WebRenderScrollData structure is that the per-layer
structures form a tree with a single root node. When we build the data
structure from the display list, we are generating (for now) a flat
list. Therefore we need to synthesize a root node in order to make stuff
work as intended.

MozReview-Commit-ID: IDXyziBO7pk

--HG--
extra : rebase_source : 99486a4c5b5e9938c4b7bbaa3f710d25e73d4401
2017-07-26 14:47:48 -04:00
Kartikaya Gupta 1766bdd4ab Bug 1384181 - Reorganize the WebRenderScrollData code to work with layers-free transactions. r=jrmuizel
Until now WebRenderScrollData was only used with "layers" WR
transactions, but we want to use it with layers-free transactions as
well. As such, we need to allow collecting information from display items
instead of layers. This restructures the code a little bit to allow
that. This patch should not have any functional effect on the "layers"
codepath, but on the "layers-free" codepath it is now actually
populating some rudimentary data into the WebRenderScrollData before
sending it across. This will be fleshed out in future patches.

MozReview-Commit-ID: BROqpsHPRND

--HG--
extra : rebase_source : 8510c52895e6be5cb546b42b02d56ec067de0623
2017-07-26 14:47:48 -04:00
Gijs Kruitbosch d9b4a7ab85 Bug 1381155 - mark page action panel as tabspecific, r=adw
MozReview-Commit-ID: L7Rik5RC28D

--HG--
extra : rebase_source : e11ee42ff75ddc2e8bfa6ba532edbae9bdd15390
2017-07-26 18:00:38 +01:00
Michael Froman 383b62aa93 Bug 1383137 - disable failing sub-test in RTCPeerConnection-generateCertificate.html r=ng
MozReview-Commit-ID: 7UjM5zHwAjH

--HG--
extra : rebase_source : 771c105c545b1efcba55b7792e775307653f9580
2017-07-26 10:47:12 -05:00
Michael Froman 06dc749bb0 Bug 1382972 - disable wpt test RTCPeerConnection-addIceCandidate.html r=ng
This test (plus a couple others) were imported from upstream before they
were fully baked.

MozReview-Commit-ID: GDiFsZ8g229

--HG--
extra : rebase_source : 90e514fe100f7de89da0d34afe96262b6880838e
2017-07-25 14:41:11 -05:00
Michael Froman c42e25dd3a Bug 1383069 - disable wpt test RTCPeerConnection-setLocalDescription.html r=ng
This test (plus a couple others) were imported from upstream before they
were fully baked.

MozReview-Commit-ID: 7pi5DBZkPVs

--HG--
extra : rebase_source : a326b4560152a21f47561b5a2e87cdf491fafe58
2017-07-26 12:50:45 -05:00
Dustin J. Mitchell 19f75a179d Bug 1384629: omit schema={} for run-missing-tests; r=bstack
MozReview-Commit-ID: EtBqyvOzFs2

--HG--
extra : rebase_source : 04b73c34c65a9f2d97e2c02db53102a614fc0dd4
2017-07-26 16:11:56 +00:00
Botond Ballo 95d3464484 Bug 1383912 - Ensure we always get a composite for the latest async scroll offset. r=kats
This fixes a regression with apz.frame_delay.enabled=true introduced in
bug 1375949.

MozReview-Commit-ID: AIcGA7c2Co0

--HG--
extra : rebase_source : b118a97674cadef1359e7658539e4e0e9cb785b8
2017-07-24 17:51:15 -04:00