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

599879 Коммитов

Автор SHA1 Сообщение Дата
Johann Hofmann 3637b98ab3 Bug 1462470 - Part 3 - Show a "reload this page" warning in the control center when trackers are loaded while TP is on. r=Paolo
Part 2 exposed an edge case that would allow the user to have TP enabled but
still have tracking content on a page, bringing our UI into a confused state.

This adds a new element that shows when TP is enabled and no exception is set,
but tracking content is still loaded, and recommends reloading the page.

MozReview-Commit-ID: EYy6xVCjNts

--HG--
extra : rebase_source : 616fe197e8c994448c4eb5f9dfeafd260c2ce084
2018-05-24 13:14:16 +02:00
Johann Hofmann 7895ec735b Bug 1462470 - Part 2 - Alert about trackers when Tracking Protection is off in the identity popup. r=Paolo
This commit changes the tracking protection UI to always be present in the
identity popup (control center) UI. Following the UI spec in
https://mozilla.invisionapp.com/share/RSIY1B8GMC2#/screens/297824891,
we are now warning about trackers even when TP is disabled and alter the
button that shows up in this case to open the TP settings in about:preferences.

MozReview-Commit-ID: 6g8rzWVRaua

--HG--
extra : rebase_source : 328ea44b085626cc0266591cc87b17657af888ad
2018-05-24 13:12:30 +02:00
Johann Hofmann 2339934fea Bug 1462470 - Part 1 - Notify frontend of loaded tracking content in annotation-only mode. r=Ehsan
In order to notify the user that there is tracking content on the page
which could have been blocked by Tracking Protection, we need to mark
the document as having tracking content even when TP is off.

Part 2 will update the desktop frontend to handle this correctly and
show a different message when TP is on vs. off. Fennec should not be
affected by this change since it already prevents loaded state from
showing if TP is disabled:

https://searchfox.org/mozilla-central/rev/dc6d85680539cb7e5fe2843d38a30a0581bfefe1/mobile/android/chrome/content/browser.js#5669
https://searchfox.org/mozilla-central/rev/dc6d85680539cb7e5fe2843d38a30a0581bfefe1/mobile/android/modules/geckoview/GeckoViewProgress.jsm#112

MozReview-Commit-ID: LNF0zABNsx1

--HG--
extra : rebase_source : c06a7ed9a32b9674a9c5a35834d39cf90f60b592
2018-05-24 12:44:42 +02:00
Kartikaya Gupta 447885b8f7 Bug 1467260 - Ensure scrollframe activation is processed by APZ before doing hit-test checks. r=botond
MozReview-Commit-ID: LBn9a9zb6fE

--HG--
extra : rebase_source : a153c9be4473cd0fee8ec59447a754cef754f3b1
2018-06-12 11:32:27 -04:00
Andreea Pavel f93bd1a2dd Backed out changeset 80190d88549c (bug 1468349) for build bustages on a CLOSED TREE 2018-06-12 20:18:58 +03:00
Peter Simonyi 542cefeac8 Bug 1445383 - update ccache stats parser for ccache 3.4 and 3.5 r=froydnj
MozReview-Commit-ID: KTr9RhkJN5B

--HG--
extra : rebase_source : b384a7e79f2e349a29942cf85f52aa306ddaa3c8
2018-06-09 14:55:46 -04:00
Greg V ee92007fde Bug 1468349 - Web Authentication - Add FreeBSD Support
Upstream PR: https://github.com/jcjones/u2f-hid-rs/pull/62

* Extract hidproto module from linux::hidraw
Make the protocol parts independent of Linux code, in preparation for
adding FreeBSD support.

* Add FreeBSD (uhid + devd) support
Tested with a YubiKey 4.

Differential Revision: https://phabricator.services.mozilla.com/D1636
2018-06-12 16:59:10 +00:00
Jed Davis b0a1468c01 Bug 1456911 - Rewrite the fd shuffling to be simpler & handle identity mappings correctly. r=froydnj
This replaces some old Chromium code that tries to minimally disentangle
an arbitrary file descriptor mapping with simpler algorithm, for several
reasons:

1. Do something appropriate when a file descriptor is mapped to the same
fd number in the child; currently they're ignored, which means they'll
be closed if they were close-on-exec.  This implementation duplicates
the fd twice in that case, which seems to be uncommon in practice; this
isn't maximally efficient but avoids special-case code.

2. Make this more generally applicable; the previous design is
specialized for arbitrary code running between fork and exec, but we
also want to use this on OS X with posix_spawn, which exposes a very
limited set of operations.

3. Avoid the use of C++ standard library iterators in async signal safe
code; the Chromium developers mention that this is a potential problem in
some debugging implementations that take locks.

4. In general the algorithm is simpler and should be more "obviously
correct"; more concretely, it should get complete coverage just by being
run normally in a debug build.

As a convenient side benefit, CloseSuperfluousFds now takes an arbitrary
predicate for which fds to leave open, which means it can be used in
other code that needs it without creating a fake fd mapping.

MozReview-Commit-ID: EoiRttrbrKL

--HG--
extra : rebase_source : 336e0ba9f56dc80f7347dc62617b4ad1efea7e7e
2018-04-25 17:44:08 -06:00
Jed Davis 8b7c054c0a Bug 1456911 - Prelude: Fix unified build breakage exposed by the next patch. r=froydnj
This directory has a number of places where files unintentionally depend
on `#include`s and `using` directives and forward declarations in other
files in the same unified build group.  Adding a file shifts the group
boundaries and exposes some of those bugs; this patch fixes them (but
there are others).

MozReview-Commit-ID: AqAOdnXniTn

--HG--
extra : rebase_source : ed6030785d9cc5cc0ea1a46707725472de1c0fa9
2018-05-11 20:25:19 -06:00
Dorel Luca 1802b10697 Merge mozilla-central to autoland. CLOSED TREE
--HG--
extra : amend_source : 42647ecc49ed5af7f47a1302354294b7258a9ce3
2018-06-12 18:00:53 +03:00
Dorel Luca bf7e5ca144 Merge mozilla-central to autoland 2018-06-12 16:18:47 +03:00
Dorel Luca 4d29baefce Backed out 3 changesets (bug 1467143) for permafailing webplatform test on html/semantics/forms/the-label-element/label-attributes.sub.html, bug 1468188. r=backout
Backed out changeset 0154f49c8c47 (bug 1467143)
Backed out changeset cc6299605cfd (bug 1467143)
Backed out changeset f2f9a6d163f3 (bug 1467143)
2018-06-12 15:35:12 +03:00
Coroiu Cristina 4b2243fe17 Merge mozilla-inbound to mozilla-central a=merge 2018-06-12 12:19:21 +03:00
Csoregi Natalia 0300566d26 Backed out changeset 1fc7ea54cf4c (bug 1467249) for jstests check failures. CLOSED TREE 2018-06-12 07:46:24 +03:00
Emilio Cobos Álvarez fea940533b Bug 1468266: Fix servo build and tidy lints. r=me
MozReview-Commit-ID: G1iVniPvdJw
2018-06-11 16:45:26 -07:00
Emilio Cobos Álvarez 17a0e1807b Bug 1468266: Revendor rust dependencies. r=me
MozReview-Commit-ID: 2MFU90eJr47


--HG--
rename : third_party/rust/debug_unreachable/.travis.yml => third_party/rust/new_debug_unreachable/.travis.yml
rename : third_party/rust/debug_unreachable/examples/simple.rs => third_party/rust/new_debug_unreachable/examples/simple.rs
rename : third_party/rust/debug_unreachable/tests/check.rs => third_party/rust/new_debug_unreachable/tests/check.rs
2018-06-11 16:45:09 -07:00
Emilio Cobos Álvarez 8a2c2f0531 Bug 1468266: Import style changes from Servo PR #20935. r=me
MozReview-Commit-ID: EDVRsfTKZUB
2018-06-11 16:44:40 -07:00
Ting-Yu Lin da355c78c8 Bug 1455453 - Coalesce calls to mFrame->StyleDisplay() in FloatInfo constructor. r=dholbert
MozReview-Commit-ID: 2tdsttkO6ig

--HG--
extra : rebase_source : c504042615466bfa5b93aa25fad098ed3dcd1b9b
2018-06-11 22:46:35 +08:00
Dipen Patel e9b298da8e Bug 1463936 - Set default security.pki.name_matching_mode to enforce (3) for all builds. r=jcj
MozReview-Commit-ID: CK3zoKfGfEr

--HG--
extra : rebase_source : fe20f240a66d809177d30043fd9f41682073cd34
2018-06-11 14:52:07 -07:00
Andreas Tolfsen 0be64b42c5 Bug 1467744 - Lazily import globals in Marionette. r=whimboo
Calling Cu.importGlobalProperties immediately defines the import
properties and any prototypes that they require.  Aside from CPU
overhead, this also tends to consume a lot of memory, especially
for objects with complex prototypes.  And it does this once for
every global you call it in.  This is especially a problem for
content processes, since we get this memory overhead in each and
every content process.

This patch moves Marionette to use the new
XPCOMUtils.defineLazyGlobalGetters so that symbols are constructed
only when actually needed.

MozReview-Commit-ID: 3RYWTcdO7FM

--HG--
extra : rebase_source : 0c450c8900e5de5446796b34ae4ab6bdf0fe9118
2018-06-08 13:16:29 +01:00
Ciure Andrei 2bb25fe9c6 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-06-12 00:57:21 +03:00
Ciure Andrei ae7a49e4e3 Merge inbound to mozilla-central. a=merge 2018-06-12 00:54:56 +03:00
Jan de Mooij 677cf4e568 Bug 1467496 - Simplify JSOP_LOOPENTRY handling in IonBuilder. r=bhackett 2018-06-11 10:17:58 -07:00
Mats Palmgren 1587535b76 Bug 1468089 - Add a few convenience methods to simplify consumers that are parameterized on axis. r=jfkthame 2018-06-11 15:12:17 +02:00
Botond Ballo 59adc89262 Bug 1467873 - Fix FrameMetrics::CalculateCompositedRectInCssPixels(). r=kats
- Fix the implementation to return a numerically correct result
  - Change call sites that should have instead been using
    CalculateCompositedSizeInCssPixels(), to do so
  - Rename and document to emphasize that the returned rect is in the
    CSS pixels of the content surrounding the scroll frame

MozReview-Commit-ID: GCPbA1k88rz

--HG--
extra : rebase_source : f5b937936fb84b3ae414d6cf0250add4078a9d53
2018-06-09 16:33:26 -04:00
Margareta Eliza Balazs 7151ed16d0 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-06-11 12:42:05 +03:00
Margareta Eliza Balazs bf81d741ff Merge inbound to mozilla-central. a=merge 2018-06-11 12:36:11 +03:00
Tooru Fujisawa de2a9d4928 Bug 1467403 - Remove the source notes handling for prologue bytecode. r=jandem 2018-06-11 15:09:28 +09:00
Ben Kelly 6301585f22 Bug 1467852 Align LoadInfo::mServiceWorkerTaintingSynthesized handling with other service worker fields. r=valentin 2018-06-10 18:44:38 -07:00
Daniel Holbert 3a149f2017 Bug 1450390 followup 2: regenerate wpt manifests after fixing rel="match" tag.
This commit's changes were autogenerated by this command:
  ./mach web-platform-tests --manifest-update
2018-06-10 15:11:23 -07:00
Noemi Erli ad2118e866 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-06-11 00:40:00 +03:00
Daniel Holbert 2eecfcbe24 Bug 1450390 followup: Fix incorrect rel="match" tag in reftest flexbox-abspos-child-002.html. (test-only) 2018-06-10 14:17:06 -07:00
Andreea Pavel fddd0eb3b3 Backed out changeset 938588f3dea7 (bug 1465433) for failing workers/modules/dedicated-worker-import-csp.html 2018-06-10 15:25:39 +03:00
Andreea Pavel fb9ae65849 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-06-10 12:51:28 +03:00
Andreea Pavel e6a0a192ea Merge mozilla-inbound to mozilla-central. a=merge 2018-06-10 12:47:04 +03:00
Joel Maher 50b91c0a14 Bug 1405428 - skip-if = verify on mochitests which do not pass test-verify. r=gbrown 2018-06-10 05:01:47 -04:00
moz-wptsync-bot 9cee7eb11b Bug 1467143 - [wpt-sync] Update web-platform-tests to 75c1b7437dfc0d505520de95df4a96cb16c9afcc, a=testonly
wpt-head: 75c1b7437dfc0d505520de95df4a96cb16c9afcc
wpt-type: landing
MozReview-Commit-ID: 43gQgkx7gwV
2018-06-10 09:32:56 +01:00
moz-wptsync-bot 0bbaf25f97 Bug 1465977 [wpt PR 11284] - Update wpt metadata, a=testonly
wpt-pr: 11284
wpt-type: metadata
2018-06-10 09:32:53 +01:00
Manuel Rego Casasnovas 76831cf9ca Bug 1465977 [wpt PR 11284] - [css-contain] Disable size containment for certain elements, a=testonly
Automatic update from web-platform-tests[css-contain] Disable size containment for certain elements

Text from the spec
(https://drafts.csswg.org/css-contain/#containment-size):
  "... if the element is an internal table element, or if the element
  is an internal ruby element, or if the element’s principal box
  is a non-atomic inline-level box, size containment has no effect."

The patch disables "contain: size" for internal table elements,
internal ruby elements and non-atomic inline-level boxes.

BUG=843329
TEST=external/wpt/css/css-contain/contain-size-005.html
TEST=external/wpt/css/css-contain/contain-size-006.html
TEST=external/wpt/css/css-contain/contain-size-007.html
TEST=external/wpt/css/css-contain/contain-size-008.html
TEST=external/wpt/css/css-contain/contain-size-009.html
TEST=external/wpt/css/css-contain/contain-size-010.html
TEST=external/wpt/css/css-contain/contain-size-011.html
TEST=external/wpt/css/css-contain/contain-size-012.html

Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng
Change-Id: Ie3264b5c76eb04ec97064b3da8706d840924597f
Reviewed-on: https://chromium-review.googlesource.com/1080799
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Commit-Queue: Manuel Rego Casasnovas <rego@igalia.com>
Cr-Commit-Position: refs/heads/master@{#563586}

--

wpt-commits: e2fe8bbd62a081282326d64dc2e80035799bc9fa
wpt-pr: 11284
2018-06-10 09:32:51 +01:00
moz-wptsync-bot 8e55b84f15 Bug 1466014 [wpt PR 11286] - Update wpt metadata, a=testonly
wpt-pr: 11286
wpt-type: metadata
2018-06-10 09:32:48 +01:00
Chris Nardi dd92d138ab Bug 1466014 [wpt PR 11286] - Check if a type is a sequence through idlType.generic, a=testonly
Automatic update from web-platform-testsCheck if a type is a sequence through idlType.generic

idlType.sequence was removed in https://github.com/w3c/webidl2.js/pull/175, as the same check can be achieved through `idlType.generic === "sequence"`. Move to this more updated syntax so that updating webidl2.js will require less work the next time we do it.

--

wpt-commits: b1a1415cdf23bb3dc5c2f2ccb58a7abe87b93961
wpt-pr: 11286
2018-06-10 09:32:46 +01:00
Yoav Weiss dd063563bd Bug 1466048 [wpt PR 11289] - Add Priority Hints OWNERS, a=testonly
Automatic update from web-platform-testsMerge pull request #11289 from web-platform-tests/domfarolino/priority-hints-owners

Add Priority Hints OWNERS
--

wpt-commits: 1506a167a84789048325e67dae9c9a3569e9b67b
wpt-pr: 11289
2018-06-10 09:32:44 +01:00
Anne van Kesteren 7354db48e3 Bug 1466039 [wpt PR 11288] - URL: correct instructions for testing URL's base argument, a=testonly
Automatic update from web-platform-testsURL: correct instructions for testing URL's base argument

Fixes #11287.

--

wpt-commits: bcee33ab33907cc2f21d78562603ecccde9814f9
wpt-pr: 11288
2018-06-10 09:32:41 +01:00
moz-wptsync-bot 064e37cd9d Bug 1465701 [wpt PR 11263] - Update wpt metadata, a=testonly
wpt-pr: 11263
wpt-type: metadata
2018-06-10 09:32:38 +01:00
Dominic Farolino 485e198e98 Bug 1465701 [wpt PR 11263] - Add Priority Hints support to link and img elements, a=testonly
Automatic update from web-platform-testsAdd Priority Hints support to link and img elements

This adds Priority Hints support to link and img elements under a
runtime-enabled flag. The support for link elements do not extend
<link rel=modulepreload>s due to the nature of module script fetching.
Support for this as well as script elements in general will come at a
later time due to the significant changes to the module script loading
infrastructure.

Intent to Implement: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/65lfM2f0eeM

R=kinuko@chromium.org, kouhei@chromium.org, yhirano@chromium.org, yoav@yoav.ws

Bug: 821464
Change-Id: I5ab0a114ee2b2fce9f0df6c4c5e1f7a487980d0a
Reviewed-on: https://chromium-review.googlesource.com/1067245
Commit-Queue: Dominic Farolino <domfarolino@gmail.com>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Yoav Weiss <yoav@yoav.ws>
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#563550}

--

wpt-commits: 5aa06e74524c68cf1135dd918699f527449b25c2
wpt-pr: 11263
2018-06-10 09:32:37 +01:00
moz-wptsync-bot 328e0196f1 Bug 1465815 [wpt PR 11276] - Update wpt metadata, a=testonly
wpt-pr: 11276
wpt-type: metadata
2018-06-10 09:32:34 +01:00
Simon Pieters 01c657f957 Bug 1465815 [wpt PR 11276] - [web-animations] Fix timeout/0 tests in unsupporting browsers, a=testonly
Automatic update from web-platform-tests[web-animations] Fix timeout/0 tests in unsupporting browsers

Part of #11269.

--

wpt-commits: ee6c9d315b05a2afe40a13cbf26d3126d52c34a0
wpt-pr: 11276
2018-06-10 09:32:32 +01:00
moz-wptsync-bot a05424c391 Bug 1465764 [wpt PR 11271] - Update wpt metadata, a=testonly
wpt-pr: 11271
wpt-type: metadata
2018-06-10 09:32:30 +01:00
Simon Pieters e7d5ca782f Bug 1465764 [wpt PR 11271] - Avoid uncaught exception in iframe if WebNFC is not supported, a=testonly
Automatic update from web-platform-testsAvoid uncaught exception in iframe if WebNFC is not supported (#11271)

Part of #11269.
--

wpt-commits: dcdd59c1c0902c1a3fa79ab4ead6321f26ddc4bd
wpt-pr: 11271
2018-06-10 09:32:28 +01:00
Hiroki Nakagawa 769d97acf1 Bug 1465433 [wpt PR 11248] - Worker: Add CSP tests for ES Modules on dedicated workers, a=testonly
Automatic update from web-platform-testsWorker: Add CSP tests for ES Modules on dedicated workers

Bug: 680046
Change-Id: I066d4b7750bbec00397466daac48e9d0a2ba70c0
Reviewed-on: https://chromium-review.googlesource.com/1078947
Commit-Queue: Hiroki Nakagawa <nhiroki@chromium.org>
Reviewed-by: Matt Falkenhagen <falken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#563531}

--

wpt-commits: 5679faa7a5a475724abb5bb0a3d377c4a961cbee
wpt-pr: 11248
2018-06-10 09:32:25 +01:00