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

546833 Коммитов

Автор SHA1 Сообщение Дата
Ryan Hunt 0a77e754e4 Bug 1379826 - Use static_cast instead of a C style cast in APZ keyboard logs. r=botond
MozReview-Commit-ID: 4ca18ZxQwuL

--HG--
extra : rebase_source : 73b6103697486d9d6b55a5e156abe55b8411ec46
2017-07-10 18:39:04 -04:00
Jason Laster 3bb1881719 Bug 1380867 - Add activeConsole to workerTargets. r=bgrins 2017-07-13 18:55:00 -04:00
Samael Wang fb7d249ae4 Bug 1362903 - Clear gCurrentURL on reftest finishes. r=jmaher
MozReview-Commit-ID: 82jsXh702fj
2017-07-14 11:21:29 +08:00
Mason Chang 4e5fc5862f Bug 1381034 - Delete DISPLAY_ITEM_USAGE_COUNT telemetry probe. r=dvander 2017-07-14 13:13:39 -07:00
Bill McCloskey 3ac14bd693 Bug 1380880 - Use process type to distinguish keyed histograms (r=chutten)
MozReview-Commit-ID: 8pcou7DsU7S
2017-07-14 12:44:54 -07:00
Jonathan Chan 4a6248b9a6 Bug 1355380 - Part 2: Make Servo's rounding of image-orientation values agree with Gecko's, and pass orientations directly as an enum instead of as angles. r=manishearth
Both Servo and Gecko store the specified value of the image-orientation
property as a single-precision float, but Gecko does the conversion to radians
and the computation to identify which quarter-turn the angle is closest to
using doubles.

We add Angle::radians64 to perform the conversion to radians using doubles,
just as Gecko does, and then update image_orientation to perform the
computation the same exact way Gecko does in
nsStyleImageOrientation::CreateAsAngleAndFlip. This lets the previously failing
reftests pass.

We also update Gecko_SetImageOrientation to take an orientation directly
instead of an angle (otherwise we'd be doing the which-quarter-turn-is-closest
computation twice).

Finally this lets us re-enable the reftests for image-orientation previously
marked as fails-if(styloVsGecko||stylo).

MozReview-Commit-ID: 2zMMzQlsYEC

--HG--
extra : rebase_source : 99ed023e940193d4ad735a9ee27e45929a1efda1
2017-07-10 11:32:08 -07:00
Scott Wu 91a827a538 Bug 1374960 - [Form Autofill] Make small refinements for Manage Profiles and Edit Profile dialogs. r=lchang
Small refinements for manage profiles and edit profile dialogs:
- Make street address textarea 3 lines high
- Disable user select highlight for labels and profile lists
- Double clicking a profile should open the edit profile dialog

MozReview-Commit-ID: 5uxYrdnfodn

--HG--
extra : rebase_source : 0a31eded09ad4b845cf3d0e599674238944d2092
2017-07-10 14:45:53 +08:00
Jonathan Chan 016ee566a7 Bug 1355380 - Part 1: Have nsStyleImageOrientation::CreateAsAngleAndFlip handle negative angles correctly. r=manishearth
Previously we just took the input angle mod 2π, which will leave negative input
angles as negative. By checking if the input mod 2π is negative and if so
adding 2π and then taking that mod 2π again we can ensure that we end up with a
an angle in the range [0, 2π].

We only do this if the result of the initial mod is negative because this adds
rounding error that is enough to mess up whether 135 is determined to be closer
to 90 or 180, for example.

We add a test for this as well.

Also fix property_database.js to account for this (we assert that -90deg should
compute to the same value as the initial value, but it should actually compute
to 270deg).

MozReview-Commit-ID: Faf0f7wIEg3

--HG--
extra : rebase_source : 6b2d15f90e541fcb8b6083e15772eee514603e57
2017-07-07 16:03:37 -07:00
Jonathan Chan 944a56812c servo: Merge #17696 - Sync Servo / Gecko image-orientation rounding; pass as enum (from jyc:image-orientation-redux); r=Manishearth
Make Servo's rounding of image-orientation values agree with Gecko's,
and pass orientations directly as an enum instead of as angles.

Depends on a Gecko change to be subsequently landed in m-c.

Were reviewed here: https://reviewboard.mozilla.org/r/155336/

<!-- 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 [Bugzilla Bug 1355380](https://bugzilla.mozilla.org/show_bug.cgi?id=1355380) (github issue number if applicable).

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

<!-- 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: 3fb309c7554e1a2ee2917348da8572e9b6d98c98

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 27b98eb71173b396b0cbe4aa13a8002b3cfa8736
2017-07-14 18:54:45 -07:00
Josh Matthews ff5ac37188 servo: Merge #17738 - Don't retrieve the CSS source when a parse error is reported (from jdm:no-css-text); r=bholley
Per https://bugzilla.mozilla.org/show_bug.cgi?id=1381045 retrieving the CSS source is an unnecessary performance hit for Stylo.

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes do not require tests because they are tested by Gecko.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6089e9ba19d02e60ef9190c587cb2275d5a3d96c
2017-07-14 17:53:12 -07:00
Nazım Can Altınova 53247946bc Bug 1341802 - Update test expectations after servo/servo#17737 r=me 2017-07-14 18:10:12 -07:00
Nazım Can Altınova 190ffe6d00 servo: Merge #17737 - Convert TrackList's `values` field to store only TrackSize (from canaltinova:same-grid-but-better); r=Manishearth,wafflespeanut
It was storing both TrackSize and TrackRepeat before and TrackRepeat have to be
converted into sequence of TrackSize during serialization. Instead of doing this
in serialization process(which is hard and hacky), we converted to do this in
parsing process. We were doing this conversion in the ComputedValue conversion.
So we only had to move this process to parsing.

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

Source-Repo: https://github.com/servo/servo
Source-Revision: 124a23b207d645d994eddc27efd409c22dc0aa28

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 84c1504441a37d5fd8a9acbe9c9b1cae2cae56b6
2017-07-14 16:50:04 -07:00
Wes Kocher ee45f814bb Merge m-c to autoland, a=merge
MozReview-Commit-ID: GOb2bgdUd36
2017-07-14 17:27:36 -07:00
Haik Aftandilian 88b1e4c7ca Bug 1380132 - Part 3 - Use env variable MOZ_DEVELOPER_OBJ_DIR to whitelist object dir in content sandbox. r=Alex_Gaynor
On developer builds, use $MOZ_DEVELOPER_OBJ_DIR to whitelist the object dir in the content sandbox so that symlinks to the object dir from .app/ files can be loaded.

MozReview-Commit-ID: J4YdpxgbD8i

--HG--
extra : rebase_source : 19e369fe9ae29418d9d79e1fb83246474d858f34
2017-07-14 16:32:53 -07:00
Haik Aftandilian ce8f59e85d Bug 1380132 - Part 2 - Set MOZ_DEVELOPER_OBJ_DIR before launching Firefox. r=gps
MozReview-Commit-ID: CvSUt2KueHr

--HG--
extra : rebase_source : 7d621a1dc7ced33a2c00e906970401e152a70189
2017-07-12 17:01:56 -07:00
Haik Aftandilian 396e7d4ffc Bug 1380132 - Part 1 - Normalize() .app paths used in sandbox profiles. r=Alex_Gaynor
MozReview-Commit-ID: GjQk5ahpzrj

--HG--
extra : rebase_source : 5995030b43f49f9dca6911adb93b887fc7661b0e
2017-07-11 17:03:23 -07:00
Jonathan Guillotte-Blouin dc5584a055 Bug 1381141 - Implement PaymentRequest UI stubs. r=MattN
MozReview-Commit-ID: o8gtrkOE2p

--HG--
rename : toolkit/components/satchel/.eslintrc.js => toolkit/components/payments/.eslintrc.js
extra : rebase_source : 2f1a916d0f2638efd344cdbe177216fe29fbfe8f
2017-07-14 14:28:50 -07:00
Mike Hommey 2a24da6832 Bug 1380964 - Get and upload useful sccache logs. r=gps
When investigating why a particular build got a particularly high number
of cache misses, it is useful to know exactly *what* had cache misses,
and you can't get the missing information after the fact.

We used to have some stats stored in a log file uploaded as artifact
with the old python sccache per bug 1005495 (and before that inline in
the build log), and we actually still have remains of that in the form
of a EXTRA_UPLOAD_FILES in build/mozconfig.cache.

Let's reuse that, and get some useful logs from sccache. Ideally sccache
would give better logs, but those are sufficient for now. We'll figure
things out eventually. https://github.com/mozilla/sccache/issues/151

--HG--
extra : rebase_source : a2e7093697a5b720ab28f155560211d6c0a4347e
2017-07-14 09:46:38 +09:00
Andrew McCreight 67b9f69717 Bug 1379786, part 5 - Call GetIsSystemPrincipal() rather than keeping alive some refs to the sec man in XUL template code. r=mrbkap
MozReview-Commit-ID: C2sPzrhdsrT

--HG--
extra : rebase_source : 19ba90c1850717d24530e91f291300f3c01eb9bf
2017-07-10 15:12:51 -07:00
Andrew McCreight bf7fff95f0 Bug 1379786, part 4 - Use GetIsSystemPrincipal() method instead of going through secman in CHECK_PRINCIPAL_AND_DATA. r=mrbkap
MozReview-Commit-ID: INBsjjxbXZz

--HG--
extra : rebase_source : fd6d491d01acc70be1bf51e25ec31bbcde81344a
2017-07-10 15:00:03 -07:00
Andrew McCreight 7d840ff35e Bug 1379786, part 3 - Remove sSecurityManager from nsJSEnvironment.cpp. r=mrbkap
MozReview-Commit-ID: G04P7k1Dxki

--HG--
extra : rebase_source : c8f0617ca4d89c8300ed12d89e7f02dd55a26e24
2017-07-10 14:17:24 -07:00
Andrew McCreight cf00cf911b Bug 1379786, part 2 - Use nsContentUtils::GetSystemPrincipal in various places. r=mrbkap
MozReview-Commit-ID: KPXAqKeX4gI

--HG--
extra : rebase_source : 44fd734e7c5bbaba48bb25b882acc74cf0b81fb5
2017-07-10 14:24:54 -07:00
Andrew McCreight 5de8ffcbf5 Bug 1379786, part 1 - Remove dead code related to the security manager. r=mrbkap
Also, one unused include of nsIProgrammingLanguage, which is unrelated.

MozReview-Commit-ID: LJf2NSwmaYG

--HG--
extra : rebase_source : 63dfca9185535dbfa695cf2f383d81a14ce423c0
2017-07-07 15:59:29 -07:00
Blake Kaplan bb284dfc84 Bug 1372824 - Work around race conditions on startup enabling e10s. r=Felipe
There are two race conditions that happen on startup because we read an
install.rdf with a DOM parser before addons have a chance to run. The current
code caches the first value that it computes, meaning that if it runs before
e10srollout does, it will cache the default values for its channel (off on
Beta and Release). This patch fixes the races by never caching the value of
the MultiprocessBlockPolicy (which is fine, it's only ever called in two
places) and by letting e10srollout tell BrowserTabsRemote to update its cached
value.

MozReview-Commit-ID: HsUIrPzqwl0

--HG--
extra : rebase_source : f3d12f43e8c7150d60e94f186de8b68188736dc4
2017-07-13 12:16:42 -07:00
Felipe Gomes fd8c256160 Bug 1379175 - Add a blue badge to the plugin icon in the URL bar when there are plugins to be activated. r=Felipe
MozReview-Commit-ID: 5tlQhEF5D62

--HG--
extra : rebase_source : b0c0717edaf5ad4958172a4840fc7349c0091af8
2017-07-14 18:34:42 -03:00
Ian Bicking 1a8107d0f7 Bug 1380817 - Export Screenshots 10.5.0 to Firefox; r=mossop
MozReview-Commit-ID: 69IGWL0YZhk

--HG--
rename : browser/extensions/screenshots/webextension/icons/icon-highlight-32.svg => browser/extensions/screenshots/webextension/icons/icon-highlight-32-v2.svg
extra : rebase_source : e7dd8594893c185ee24722e2838f2f8c06bd228b
2017-07-14 13:05:56 -04:00
J.C. Jones de0d023921 Bug 1380421 - Update test to handle origin RP IDs, too (2/2) r=keeler
This adjusts tests to also check origin-based RP IDs, for interop
purposes. When we officially move up to WD-06, we'll want to remove these.


MozReview-Commit-ID: FJRg7vxZIcN

--HG--
extra : rebase_source : 6b89ef1ec5f8f6312bc00740b171540dd2a111cf
2017-07-14 13:49:45 -07:00
J.C. Jones b7eeb68241 Bug 1380421 - Handle URIs for RP IDs (1/2) r=keeler
A recent fixup commit [1] changed "RP ID" fields in WebAuthn to be domain
strings rather than origins, which matches the current editor's draft of
Web Authentication. Unfortunately, this is contrary to the interop WD-05,
which requires they be origins.

We should be tolerant of origins for now, and in the follow-on Bug 1381126
we'll remove this tolerance once we get past initial WD-05 interop.

[1] https://hg.mozilla.org/mozilla-central/rev/e173fd86d931

MozReview-Commit-ID: Cz2KaHvOIHz

--HG--
extra : rebase_source : eafac0cbab324c566a7ae64004f85258ca3ba805
2017-07-14 13:44:00 -07:00
David Keeler bfdf3c3c7c bug 1375709 - avoid deadlock when shutting down NSS r=Cykesiopka,ttaubert
The deadlock fix attempted in bug 1273475 was incomplete. This should prevent
the issue by preventing nsNSSShutDownPreventionLocks from attempting to
increment the NSS activity state count when shutdown is in progress (this is
acceptible because when code that creates any nsNSSShutDownPreventionLocks then
checks isAlreadyShutDown(), it will return true because sInShutdown is true,
thus preventing that code from unsafely using NSS resources and functions).

MozReview-Commit-ID: 4o5DGbU2TCq

--HG--
extra : rebase_source : 4a611a3ad615277f9b2191919109108dd1dfde46
2017-07-10 16:25:51 -07:00
Kit Cambridge 3da5c62b82 Bug 1380740 - Remove remaining visit title fallbacks for untitled bookmarks. r=mak
MozReview-Commit-ID: 1f4HMWzxXat

--HG--
extra : rebase_source : cba8855f18a12aa48ff9cd0b10036297738237b2
2017-07-13 19:08:40 -07:00
Brian Grinstead 6bd6cffded Bug 1380827 - Use .client instead of ._client in the debugger panel to fix worker loading;r=jlast
MozReview-Commit-ID: IVGx1X9FoQT

--HG--
extra : rebase_source : 85d1a6b93cd48e2d8c33b6fcda887895a1198e07
2017-07-13 14:47:21 -07:00
Kartikaya Gupta d4d1449ac5 Bug 1381093 - Fix typo in variable declaration. r=dbaron
MozReview-Commit-ID: 7bR9NEFF5pN

--HG--
extra : rebase_source : 143527bfd652c7c3b37609d938dbdf5629494ec8
2017-07-14 15:01:18 -04:00
Dão Gottwald a68ee92a1d Bug 1379245 - Reduce browser.slowStartup.timeThreshold to 30 seconds. r=dolske
MozReview-Commit-ID: LOpGanTIIpm
2017-07-07 20:31:15 +02:00
Tom Schuster 88c2b80407 Bug 1344483 - Nop jsop_toid for string/symbol. r=jandem 2017-07-15 18:04:43 +02:00
Patrick Brosset b0fff8f7b1 Bug 1378306 - Force update in grid-inspector's reflow handler when nodes have been removed; r=gl
MozReview-Commit-ID: 45fHGmuKhkD
2017-07-13 14:29:53 +02:00
Sebastian Hengst ea10928fd7 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-07-15 16:36:54 +02:00
Andrew Osmond 7d1a4b1e31 Bug 1377869 - Ensure that CompositorManagerChild will be reinitialized if the GPU process reuses its PID. r=dvander 2017-07-15 09:13:18 -04:00
Andrew Osmond b306aa3fb2 Bug 1380716 - Reinitialize ImageContainer::mImageClient if its parent ImageBridgeChild was also reinitialized. r=sotaro 2017-07-15 07:52:02 -04:00
Jan de Mooij 2be2d91c31 Bug 1375505 part 9 - Optimize for-in/JSOP_ITER with a Baseline/Ion IC. r=evilpie 2017-07-15 13:22:34 +02:00
gasolin f324b86e29 Bug 1374717 - show alternative message when firefox already the default browser;r=flod,mossop
the call-to-action button will disabled when user click the button, to prevent open settings panel several times
the call-to-action button will be replaced to alternative text when Firefox is already the default browser

MozReview-Commit-ID: LFeTuDnQEFA

--HG--
extra : rebase_source : 93090d1d5994534e370c31b279e23ec78b43cf8a
2017-07-06 16:14:59 +08:00
bechen 893ccc3da4 Bug 1372854 - Enable test_seek_nosrc.html on Android. r=alwu
MozReview-Commit-ID: 7YmInfSB6K2

--HG--
extra : rebase_source : d2ee043e9109d6ff3985ec8dbf49ca07d38249c9
2017-07-12 15:44:56 +08:00
Thomas Wisniewski 941e4787b2 Bug 1348911 - Add lastAccessed to tabs.Tab; r=mixedpuppy,zombie
MozReview-Commit-ID: 4ulhseGDQ4P

--HG--
extra : rebase_source : 12037d094ffe72b347436759b7011516b145fa92
2017-07-07 20:17:23 -04:00
Michael Kaply 448e2115e8 Bug 1380846 - Add coccoc to Vietnamese desktop build. r=flod
MozReview-Commit-ID: JP4Pt9BeOOn

--HG--
extra : rebase_source : b1614d5f1dbad1d8f7222690afba30bfabf3719c
2017-07-14 12:46:05 -05:00
Josh Matthews 3e06aadbea servo: Merge #17739 - Suppress CSS parser errors for vendor-prefixed properties (from jdm:no-vendor-prefixed-errors); r=emilio
This matches the behaviour of Gecko's CSS parser.

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #17736
- [X] There are tests for these changes

Source-Repo: https://github.com/servo/servo
Source-Revision: 38f4ae80c4b456b89ee33543c8c6699501696c9c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 1a1909fa1db0e97b0997462f48b23827f84394f0
2017-07-17 07:10:11 -07:00
Benjamin Smedberg c2b9935278 Bug 1379254 - Add a @note to the documentation of MOZ_CRASH_UNSAFE_* to make clear data collection risk and requirements, r=erahm
MozReview-Commit-ID: KssgssWHTUX

--HG--
extra : rebase_source : 1daa52ebe00e594534f06463e45f98e50ab8a49a
2017-07-07 14:44:26 -04:00
Mark Banner e3138a222a Bug 1292426 - Rewrite browser_visituri_privatebrowsing_perwindowpb.js to use modern async facilities and ensure we await on the final check to avoid intermittents. r=mak
MozReview-Commit-ID: G2znd7sq5x5

--HG--
extra : rebase_source : b9c47527e4f7e3ad16a0dc5dfde6a85ed7c146f7
2017-07-17 12:31:12 +01:00
Simon Sapin acff27961b servo: Merge #17727 - Upgrade to rustc 1.20.0-nightly (ab91c70cc 2017-07-14), use non-"alt" std (from servo:rustup); r=nox
<s>Possibly</s> fixes https://github.com/servo/servo/pull/17604

Source-Repo: https://github.com/servo/servo
Source-Revision: 9d30e5b4e0fe9ccdfcd47d5134b5fbfba2e68096

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : a3b91220837ef27717c62df0b8ff56a4e94b9b87
2017-07-17 05:06:01 -07:00
Mike Conley 6a18a2d759 Bug 1363361 - Update expected reflows on window open now that we're using nsIDOMWindowUtils to dirty the frame tree. r=florian
MozReview-Commit-ID: 13NQn1618mR

--HG--
extra : rebase_source : ab36a672131844d09c110e2ff27e1fc20e0f91e1
2017-07-05 13:57:57 -07:00
Marco Bonardo 3b84e3b5df Bug 1359899 - Add a way to control the awesomebar contents mixup through prefs. r=Paolo
Allows to set browser.urlbar.maxHistoricalSearchSuggestions to fetch a given number of
historical search suggestions.
Allots to set browser.urlbar.matchBuckets to change the location bar mixup of results.
The system is based on an array of buckets, each bucket is an array containing the type
of the match accepted by the bucket (MATCHTYPE) and the number of available slots in the bucket.
At every new match insertion, addMatch() loops all the buckets to find the first
compatible and available slot.

Note that the pref format may change in the future, we plan to add an id to each bucket and
frecency may change from an absolute to a relative value.

MozReview-Commit-ID: 5j7esakF5bu

--HG--
extra : rebase_source : e6470d1fe0015664935628bef069a7684052c0d5
2017-07-05 14:35:54 +02:00
Johann Hofmann 0b426cee1f Bug 1379122 - Fix UI density menuitem font color on Linux. r=dao
MozReview-Commit-ID: G3CULzSXZzz

--HG--
extra : rebase_source : 101f1b91c6c96d23416c8835188e5387de0289e6
2017-07-13 14:28:10 +02:00