Commit Graph

539176 Commits

Author SHA1 Message Date
Xidorn Quan
57b78a2dbd Bug 1341102 - Revendor rust dependencies on a CLOSED TREE.
MozReview-Commit-ID: 6MPTaW3uQN

--HG--
extra : amend_source : 2424a2ce2527129ad92526b548a96fb3564cbda5
2017-06-01 09:12:44 +10:00
Johann Hofmann
e8499275d3 Bug 1367089 - Remove automation clue window attribute in mozscreenshots. r=MattN
MozReview-Commit-ID: 6SvAsI1oKFM

--HG--
extra : rebase_source : 31be6a380395646db66e2a13b96f9065fe3f2729
2017-05-24 15:14:37 +02:00
Mike Conley
84d63bfc89 Bug 1367596 - Don't show blank for tabs that haven't presented if they've loaded a non-blank page and are not busy. r=billm"
MozReview-Commit-ID: 3HFG2uzlQRe

--HG--
extra : rebase_source : e08340aa015c2f5ef6b340184ee037afa6d12744
2017-05-29 02:21:26 -04:00
Alex Gaynor
72607ee000 Bug 1358223 - Part 2 - In telemetry send the effective sandbox level instead of the raw value r=Dexter
This gives us the most actionable piece of information from the perspective of correlating between how the sandbox is configured and behavior we see.

MozReview-Commit-ID: EWWQrDHns1R

--HG--
extra : rebase_source : 3890c6ebff512c94ee51539048cbb9ebd9aef360
2017-05-12 17:05:53 -04:00
Alex Gaynor
d27dc0ba0b Bug 1358223 - Part 1 - On Windows and macOS hardcode the minimum content sandbox level at 1. r=bobowen,haik,jimm
If the "security.sandbox.content.level" preference is set to a value less than
1, all consumers will automatically treat it as if it were level 1. On Linux and
Nightly builds, setting the sandbox level to 0 is still allowed, for now.

MozReview-Commit-ID: 9QNTCkdbTfm

--HG--
extra : rebase_source : cd5a853c46a5cd334504b339bef8df30a3cabe51
2017-05-12 17:04:42 -04:00
Gijs Kruitbosch
04fd5e2765 Bug 1354155 - fix pocket button's checks for whether it is the mainview in a panelmultiview, r=mikedeboer
MozReview-Commit-ID: 6kLNAtOmCjn

--HG--
extra : rebase_source : a1428cab9a46cfac52162c3544dcf11761f4b87c
2017-05-30 16:29:45 +01:00
Gijs Kruitbosch
2fcb1b8c9a Bug 1354155 - create library button with initial history and synced tabs views, r=bgrins
MozReview-Commit-ID: J65DnluTXdA

--HG--
extra : rebase_source : f40fb4dd438092a4e0e1b3c3ff227875559b5673
2017-05-25 15:15:21 +01:00
Gijs Kruitbosch
97ff0dc3a1 Bug 1354155 - use photon panelmultiview for individual subviews, r=mikedeboer
MozReview-Commit-ID: 9iEHcGDLbJt

--HG--
extra : rebase_source : f4fca8bac9565ea75c3f528ffd85c702935ce86f
2017-05-30 16:30:25 +01:00
Botond Ballo
6e273c8fd1 Bug 1365333 - Avoid quadratic performance in nsDisplayLayerEventRegions::AddFrame() when the maybe-hit region has many rects. r=tnikkel
MozReview-Commit-ID: 99QrhFpHw15

--HG--
extra : rebase_source : 07201ca9b9728e9b1fa77755614ce8cd95753430
2017-05-31 14:42:59 -04:00
Imanol Fernandez
0a31d50d11 servo: Merge #17008 - Make armv7-linux-androideabi default target on Android (from MortimerGoro:android_default_armv7); r=larsberg
<!-- Please describe your changes on the following line: -->

See https://github.com/servo/servo/issues/11921

After fixing problematic dependencies this is the last step to support armv7-linux-androideabi target on Android:

- Updates skia dependency to fix a linker error. See https://github.com/servo/skia/pull/136
- Fixes specifying android targets on `./mach package` and `./mach install` steps:
  -`./mach package --release --target=arm-linux-androideabi`
  -`./mach package --release --target=armv7-linux-androideabi`
  -`./mach package --release --target=aarch64-linux-android`
- Make `armv7-linux-androideabi`default when `--android` param is used in build, package or install commands

---
<!-- 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 #11921 (github issue number if applicable).

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : aac3cdcf833b6cd64b5f81d27ae213d7272fe08d
2017-05-31 16:29:19 -05:00
Cameron McCormack
4d159e00f6 servo: Merge #17105 - Update rayon to 0.7.1 (from heycam:rayonup); r=nox
To take advantage of nikomatsakis/rayon#348.

<!-- 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: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./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 _____

<!-- 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: 3337fccd991fcf9e935b1ada55621be474ffb6e6

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ac84159cdc8e6d65c87916de46594de7c0490318
2017-05-31 15:20:22 -05:00
Ryan VanderMeulen
de8387b1ec Backed out changeset 6a894530a99b (bug 1355764) for Win7 browser_roundedWindow_newWindow.js failures on a CLOSED TREE. 2017-05-31 18:05:10 -04:00
Ryan VanderMeulen
f805581511 Backed out changeset 4b82f58570e4 (bug 1368208) for 508816-1.xul failures on a CLOSED TREE. 2017-05-31 17:39:30 -04:00
Sebastian Hengst
07bad56b33 Backed out changeset afc25136f9ae (bug 1363505) for frequently failing own test browser_tabclose_grow_reflows.js and browser_roundedWindow_newWindow.js. r=backout on a CLOSED TREE 2017-05-31 23:00:50 +02:00
Sebastian Hengst
ff36251454 Backed out changeset b6447762b05a (bug 1363505) 2017-05-31 22:59:49 +02:00
Sebastian Hengst
c0ee2afc07 Backed out changeset b0c79c15c6ff (bug 1363505) 2017-05-31 22:59:44 +02:00
Sebastian Hengst
9768267be1 Backed out changeset bf392a1d0c5a (bug 1368560) for failing xpcshell's test_ext_storage_sync.js and test_ext_storage_sync_crypto.js on Linux. r=backout on a CLOSED TREE 2017-05-31 22:53:16 +02:00
Sebastian Hengst
a9f8675d96 Backed out changeset c2d00a8b897b (bug 1368560) 2017-05-31 22:52:14 +02:00
Fernando Jimenez Moreno
e85ff5cb1b Bug 1365674 - stylo: Simulate compute value failure for dom/animation mochitests. r=hiro
MozReview-Commit-ID: 8flMLuW2vZP

--HG--
extra : rebase_source : 572ddece88644de63930468f532c31d37167f017
2017-05-30 10:24:08 +02:00
Servo VCS Sync
4769a3ac14 No bug - Revendor rust dependencies 2017-05-31 19:46:31 +00:00
Gregory Szorc
cf1ffbce1d Bug 1369156 - Remove accidentally committed Cargo.toml.orig; r=me
This is due to a bug in Servo VCS Sync.

MozReview-Commit-ID: 8xAl0DKwATt

--HG--
extra : rebase_source : 1019d56f880f69ef1ab9a8f5517c3f653a0d9595
2017-05-31 12:44:33 -07:00
Dão Gottwald
2f2e121480 Bug 1368208 - Don't flush layout to determine whether scrollbox scroll buttons should be enabled/disabled. r=mconley
MozReview-Commit-ID: 1LG3GDBFArv

--HG--
extra : rebase_source : a8edf7c3d32d72f39f983f7f9f64c3d31a786031
2017-05-31 21:34:41 +02:00
Chris H-C
5659dfb700 bug 1367110 - Collect Telemetry for different TelemetrySend failures r=bsmedberg,Dexter data-r=bsmedberg
Expires in 61 for now until we can show its usefulness.

MozReview-Commit-ID: IpfEnmnuKgr

--HG--
extra : rebase_source : b5b45cda2f90aee6a52fccc073d4c4ff5e381c5e
2017-05-24 10:14:41 -04:00
Chris H-C
b92d148caa Bug 1367110 - Expose XHRMT's ErrorCode to chrome JS. r=baku
This is presently only relevant for XHRMT, so XHRWorker will just report that
everything's a-ok for now.

As noted inline, the permanence of this measure is to be evaluated in
Firefox 60 in bug 1368540.

MozReview-Commit-ID: 6gkTyZO388g

--HG--
extra : rebase_source : d85ec4181c9bd935f8e419d8d450fd17eb5e1837
2017-05-24 08:52:15 -04:00
Chris H-C
83e4d76955 Bug 1367110 - Make XHRMainThread's mErrorLoad more descriptive. r=baku
There are at least four ways XHRMT can error on load.

Let's be specific about it.

MozReview-Commit-ID: EOml2fcd1XD

--HG--
extra : rebase_source : 7f484f04e2dd6f219911408e7af152f85d4776a9
2017-05-24 08:44:38 -04:00
Sebastian Hengst
fd03aa5bc8 Backed out changeset 4e283b54baa6 (bug 1358223) for build bustage on Android at dom/ipc/ContentChild.cpp:21. r=backout 2017-05-31 21:34:13 +02:00
Sebastian Hengst
9b2d60a711 Backed out changeset 852ffb5b89bf (bug 1358223) 2017-05-31 21:33:33 +02:00
Valentin Gosu
7570e7cd65 Bug 1356097 - Update description for HTTP_SUB* and HTTP_PAGE* probes r=mcmanus
MozReview-Commit-ID: 2lGlLamFERD

--HG--
extra : rebase_source : badc81c50ff3ef2f45e2555c64528ad5be1e781d
2017-05-29 22:16:11 +02:00
Valentin Gosu
7b6dbd12fb Bug 1356097 - Improve correctness of HTTP_PAGE_* telemetry r=mcmanus
When the last request is removed from the load group, we report telemetry for the default load request. This was done without checking if the request was successful, which may cause us to report telemetry for failed requests as well.
Also, the NullHttpChannel had its timingEnabled attribute set to true, which could lead us to report invalid telemetry

MozReview-Commit-ID: 5w7rd2V17Xd

--HG--
extra : rebase_source : 60785ebc38da8880aa6ded668fed8af81c3d60e9
2017-05-29 22:15:37 +02:00
Valentin Gosu
a1c45c3558 Bug 1368549 - Remove MOZ_WIDGET_GONK from netwerk/* r=mcmanus
MozReview-Commit-ID: J2njLbNwlco

--HG--
extra : rebase_source : ccb35cb5845024c1bf7b448ebcec451bab264e8b
2017-05-29 22:09:04 +02:00
Fernando Jiménez Moreno
496ad5dd9e servo: Merge #17093 - Stylo - Bug 1365674: Simulate compute value failure for tests (from ferjm:bug1365674.simulate.compute.value.failure); r=hiikezoe
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

https://bugzilla.mozilla.org/show_bug.cgi?id=1365674

Source-Repo: https://github.com/servo/servo
Source-Revision: 71eb672923365095c45cbd15ee0746eae3908cb6

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : a49f3946d100f3988281242c50faa2d37589da46
2017-05-31 12:03:50 -05:00
Andrew Halberstadt
aa851b1cb9 Bug 1343659 - [mozharness] Flag rust kernel panics as an ERROR, r=kats
MozReview-Commit-ID: EaKdP3ru3K1

--HG--
extra : rebase_source : 7da27c299e6d1a6a2d58a340453cef5989590c3b
2017-05-29 16:49:26 -04:00
Alex Gaynor
2d122f876c Bug 1358223 - Part 2 - In telemetry send the effective sandbox level instead of the raw value r=Dexter
This gives us the most actionable piece of information from the perspective of correlating between how the sandbox is configured and behavior we see.

MozReview-Commit-ID: EWWQrDHns1R

--HG--
extra : rebase_source : 5574cae461d0bcab8ac058c032e76436318e5b0e
2017-05-12 17:05:53 -04:00
Alex Gaynor
39f34ea898 Bug 1358223 - Part 1 - On Windows and macOS hardcode the minimum content sandbox level at 1. r=bobowen,haik,jimm
If the "security.sandbox.content.level" preference is set to a value less than
1, all consumers will automatically treat it as if it were level 1. On Linux and
Nightly builds, setting the sandbox level to 0 is still allowed, for now.

MozReview-Commit-ID: 9QNTCkdbTfm

--HG--
extra : rebase_source : 1a26ffc5b9f80e6df4c37c23f506e907ba44053a
2017-05-12 17:04:42 -04:00
Alex Gaynor
1bc2391571 Bug 1358227 - Removed the MOZ_ALLOW_WEAKER_SANDBOX environment variable; r=jimm
The Flash sandbox (which is the only thing this variable is used for) is stable
at this point, and for testing purposes we still have MOZ_DISABLE_NPAPI_SANDBOX.

MozReview-Commit-ID: 6sxb1tx7oA9

--HG--
extra : rebase_source : d960c5a7afb04b90f098516f955b5fd00628b6a8
2017-05-31 12:28:06 -04:00
Kearwood Gilbert
eb3becc0b0 Bug 1362213 - Implement chrome-only API to manage VR sessions r=daoshengmu,kanru,smaug
- Added new chrome-only webidl methods to be used by browser UI and WebExtensions
- Implemented bitmasked group visibility for VR sessions to enable switching
  between chrome and regular content presentations.
- Implemented throttling mechanism to avoid runaway, unthrottled render loops
  for VR sessions that are hidden by group visibility bitmasks or due to
  lower level platform VR events, such as during the Oculus
  "Health and Safety Warning".
- Simplified the PVRManager IPC protocol while extending it to support
  VR session groups and later WebVR content performance profiling API's.
- Removed the last WebVR related sync IPC call.


MozReview-Commit-ID: BMEIPyYeEbq

--HG--
extra : rebase_source : 47d3682cad3d913504175b7d4c3e9d992236f097
2017-05-08 16:01:36 -07:00
Alex Gaynor
1532472698 Bug 1368771 - Added a test which verifies that on macOS /Volumes isn't readable at sandbox level 3 r=haik
r?haik

MozReview-Commit-ID: HPW4luz5n0M

--HG--
extra : rebase_source : c224b56de4b705758e2ab7820af02a4ef41d4040
2017-05-30 13:52:57 -04:00
Shane Caraveo
10f02b0e9a Bug 1366862 add object_subrequest to types, r=aswan
MozReview-Commit-ID: GIjIycOUNAo

--HG--
extra : rebase_source : f8f61b43362b65ce8e6d40aab8be2b7987621bf0
2017-05-29 10:37:18 -07:00
Botond Ballo
0516c1004c Bug 1211610 - Let async scrollbar dragging ride the trains. r=kats
MozReview-Commit-ID: KGF4aGxAfl9

--HG--
extra : rebase_source : c7aed09ada7a84eef3a9d4d8d1aff5f2cd9529a9
2017-05-29 11:53:20 -04:00
Sebastian Hengst
08fa09ee69 Backed out changeset 9983ac05d7d1 (bug 1367110) for eslint failures in TelemetrySend.jsm (must use doublequotes). r=backout 2017-05-31 21:02:59 +02:00
Sebastian Hengst
0c1ac2aec4 Backed out changeset 1b93ec532890 (bug 1367110) 2017-05-31 21:02:11 +02:00
Sebastian Hengst
a75ed61088 Backed out changeset 244e7cfea731 (bug 1367110) 2017-05-31 21:02:07 +02:00
Mike de Boer
492d7fe6e7 Bug 1368734 - Part 2 - Add a Quit button to the Photon app menu on Windows and Linux. r=Gijs
MozReview-Commit-ID: L9GoCWcJrfL

--HG--
extra : rebase_source : 778af49079520957656b072daf18fa721da82694
2017-05-31 19:22:04 +02:00
Mike de Boer
bdf8d3e285 Bug 1368734 - Part 1 - re-assign the keyboard shortcut for the devtools Network Monitor to the Quit Application command and use 'E' instead. r=bgrins,Gijs
MozReview-Commit-ID: BkTSn6IbCBS

--HG--
extra : rebase_source : 2ea1ee84b59a2c22cd25028e5ea78a2aa9d543fa
2017-05-31 19:21:58 +02:00
Andrzej Hunt
657c2807d0 Bug 1366352 - Post: check anchor is set before trying to show GeckoPopupMenu r=nechen
This means we'll at least see a sensible exception, instead of an NPE when
no anchor is set. That makes it easier to debug cases where no anchor was
set (see e.g. the main commit from this bug).

MozReview-Commit-ID: CzsZaHvnZ6y

--HG--
extra : rebase_source : 2aaf737b49367d9e70fc62a1226e038c79f573e3
2017-05-19 12:17:25 -07:00
Andrzej Hunt
f9367a3210 Bug 1366352 - Ensure anchor is always set before trying to show tabs tray menu r=nechen
MozReview-Commit-ID: 18KLMDlJUQe

--HG--
extra : rebase_source : e71a00ee58dacc23c97c904277b2b0d042da301d
2017-05-19 12:16:12 -07:00
Edouard Oger
275b48a53e Bug 1368560 part 2 - Move Svc.Crypto to Weave.Crypto. r=markh
MozReview-Commit-ID: 74IFsVjZSgz

--HG--
extra : rebase_source : 29833856a9cca178a2b508b6401cdb6bd8ca1bb9
2017-05-29 13:24:01 -04:00
Edouard Oger
198e8ab1d1 Bug 1368560 part 1 - Remove un-used legacy crypto methods. r=markh
MozReview-Commit-ID: JbzweOMFLpR

--HG--
extra : rebase_source : f7cece36dce26c96a740aede6c696deb08345a90
2017-05-29 17:27:13 -04:00
Botond Ballo
0a4092443d Bug 1368315 - Avoid calling SetContentResponse() on an already-consumed drag block. r=kats
MozReview-Commit-ID: LnObFmoB3Bi

--HG--
extra : rebase_source : f7db4d059ac94789da8837c5d7057c0114dc8e22
2017-05-29 11:21:15 -04:00
Jean-Yves Avenard
7ac281a2f6 Bug 1368856: initialize variable. r=rillian
There's no way to verify locally the while loop will execute and set the return value, so we get an uninitialized variable warning.

Initialize it at declaration time to failure, relying on the later code to override with success.

Actually, it doesn't matter what we initialize it to, since the while loop will never terminal if GetNextPacket somehow returns success without pushing a new packet onto the sample array. But this silences the warning.

MozReview-Commit-ID: 20rh1OGpR1E

--HG--
extra : rebase_source : 599a6d1bf0d38077bddfcec975e514eb8e5ee67e
2017-05-31 09:53:03 +02:00