Commit Graph

643592 Commits

Author SHA1 Message Date
Dana Keeler
f04ab743ad bug 1529044 - intermediate certificate caching: import on a background thread to not block certificate verification r=mgoodwin
Apparently importing a certificate into the NSS certificate DB is slow enough to
materially impact the time it takes to connect to a site. This patch addresses
this by importing any intermediate certificates we want to cache from verified
connections on a background thread (so the certificate verification thread can
return faster).

Differential Revision: https://phabricator.services.mozilla.com/D24384

--HG--
extra : moz-landing-system : lando
2019-03-25 17:09:37 +00:00
Daosheng Mu
433677bcfa Bug 1522358 - Requery VRDisplayHost from VRManagers instead of using weakptr from the hash table. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D24584

--HG--
extra : moz-landing-system : lando
2019-03-25 17:51:51 +00:00
Valentin Gosu
784b4209b8 Bug 1532395 - Clear the DNS cache before each TRR test r=JuniorHsu
It is likely that the test is flaky because we resolve the same host with a different TRR endpoint and sometimes we use a cached record.
We should clear the DNS cache before each test to ensure that we're actually checking the right thing.

Differential Revision: https://phabricator.services.mozilla.com/D24355

--HG--
extra : moz-landing-system : lando
2019-03-25 17:55:45 +00:00
Ian Moody
99b846b642 Bug 1537776 - dom/ manual ESLint no-throw-literal fixes. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D24370

--HG--
extra : moz-landing-system : lando
2019-03-25 16:49:03 +00:00
Tom Tung
e8cebb55de Bug 1529122 - P2 - Make sure checking initialized if clear all is requested; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D24680

--HG--
extra : moz-landing-system : lando
2019-03-25 17:50:17 +00:00
Tom Tung
df8446efe6 Bug 1529122 - P1 - Remove the origin directory if the requesting client is the only client in the directroy; r=asuth
This patch do:
- Removing the directroy if the requesting client is the only client.
- Avoid unnecessary initialization for a client if it hasn't been initialized.

Differential Revision: https://phabricator.services.mozilla.com/D24371

--HG--
extra : moz-landing-system : lando
2019-03-25 17:49:44 +00:00
Cosmin Sabou
6e3591513f Backed out changeset 69f5724fb0f3 (bug 1524653) for not properly disabling the test. 2019-03-25 19:28:45 +02:00
Calixte Denizet
44a8c68d93 Bug 1519825 - Update grcov to revision 9214a916805838265764f9c69eaed657ea3db021 r=marco
This revision corresponds to grcov 0.4.2

Differential Revision: https://phabricator.services.mozilla.com/D16465

--HG--
extra : moz-landing-system : lando
2019-03-25 17:07:23 +00:00
Ian Moody
fe4fab15e3 Bug 1537776 - dom/ automated ESLint no-throw-literal fixes. r=asuth,mccr8
Result of running:
$ mach eslint -funix dom/ | sed -Ee 's/:.+//' - | xargs sed -E \
    -e 's/throw ((["`])[^"]+\2);/throw new Error(\1);/g' \
    -e 's/throw ((["`])[^"]+\2 \+ [^ ";]+);/throw new Error(\1);/g' \
    -e 's/throw \(/throw new Error(/g' -i

Differential Revision: https://phabricator.services.mozilla.com/D24369

--HG--
extra : moz-landing-system : lando
2019-03-25 16:03:38 +00:00
Cameron McCormack
bc72d9813e Bug 1515551 - Add functionality to SharedMemoryBasic to help map the shared memory at an arbitrary address. r=kmag
This patch adds two things:

1. An optional fixed_address argument to SharedMemoryBasic::Map, which
   is the address to map the shared memory at.

2. A FindFreeAddressSpace function that callers can use to find a
   contiguous block of free address space, which can then be used to
   determine an address to pass in to Map that is likely to be free.

Patches in bug 1474793 will use these to place the User Agent style
sheets in a shared memory buffer in the parent process at an address
that is also likely to be free in content processes.

Differential Revision: https://phabricator.services.mozilla.com/D15057

--HG--
extra : moz-landing-system : lando
2019-03-22 00:11:51 +00:00
Andreea Pavel
f03ec4810c Backed out 3 changesets (bug 1529232) for failing xpcshell at test_EcosystemTelemetry.js on a CLOSED TREE
Backed out changeset 1a0669e032ff (bug 1529232)
Backed out changeset 3c600bf98e37 (bug 1529232)
Backed out changeset 9c9c6c36db7b (bug 1529232)
2019-03-25 05:59:37 +02:00
Botond Ballo
c1ca1c7e5f Bug 1536755 - Fix eslint trailing-comma failures. r=apavel
Differential Revision: https://phabricator.services.mozilla.com/D24660

--HG--
extra : moz-landing-system : lando
2019-03-25 03:37:00 +00:00
Daisuke Akatsuka
aee3333051 Bug 1536682: Add a test for special CSS color. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D24127

--HG--
extra : moz-landing-system : lando
2019-03-25 03:03:34 +00:00
Daisuke Akatsuka
2d87871070 Bug 1536682: Handle special CSS color within animation inspector. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D24125

--HG--
extra : moz-landing-system : lando
2019-03-25 03:06:43 +00:00
Brad Werth
65d87a00fb Bug 1536755 Part 2: Add a test of meta viewport fixed width and zoom. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D24456

--HG--
rename : devtools/client/responsive.html/test/browser/browser_viewport_resizing.js => devtools/client/responsive.html/test/browser/browser_viewport_resizing_fixed_width.js
extra : moz-landing-system : lando
2019-03-22 21:01:48 +00:00
Brad Werth
5a6a418623 Bug 1536755 Part 1: Enforce viewport zoom constraints when the content size changes. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D24424

--HG--
extra : moz-landing-system : lando
2019-03-22 21:01:26 +00:00
Hiroyuki Ikezoe
01e23b1896 Bug 1518802 - Treat background-color animation as non-opaque even if the alpha channel is 1.0 at the moment. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D24656

--HG--
extra : moz-landing-system : lando
2019-03-24 22:41:02 +00:00
Paul Bone
4344ae1074 Bug 1528159 - Fix the nursery size to make a test more reliable r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D22288

--HG--
extra : moz-landing-system : lando
2019-03-22 05:17:15 +00:00
Andreea Pavel
a6256fd6b5 Bug 1524653 - disabled test for multiple failures r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D24655

--HG--
extra : moz-landing-system : lando
2019-03-24 21:46:23 +00:00
Jan-Erik Rediger
4d1ec1c8b4 Bug 1529232 - Add browser.engagement.total_uri_count scalar to ecosystem telemetry r=gfritzsche
Depends on D23293

Differential Revision: https://phabricator.services.mozilla.com/D23294

--HG--
extra : moz-landing-system : lando
2019-03-24 17:24:09 +00:00
Jan-Erik Rediger
bbef3a6b93 Bug 1529232 - Enable Ecosystem Telemetry on Nightly r=gfritzsche
Depends on D21521

Differential Revision: https://phabricator.services.mozilla.com/D23293

--HG--
extra : moz-landing-system : lando
2019-03-24 17:24:07 +00:00
Jan-Erik Rediger
7f6228a43d Bug 1529232 - Implement pre-account ping r=chutten,gfritzsche,markh
It's missing some details and is disabled by default (gated by the
`toolkit.telemetry.ecosystemping.enabled` preference)

Differential Revision: https://phabricator.services.mozilla.com/D21521

--HG--
extra : moz-landing-system : lando
2019-03-24 17:24:05 +00:00
Daniel Varga
b929b1b42d Bug 1473859 - Disable css-valuesandunits/unit-vh-vw-overflow-auto-ref.html on linux for frequent failures r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D24646

--HG--
extra : moz-landing-system : lando
2019-03-24 21:45:02 +00:00
Daniel Varga
0f5433e862 Bug 1535847 - /html/semantics/embedded-content/media-elements/track/track-element/track-cue-rendering-empty-cue.html on linux for frequent failures r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D24652

--HG--
extra : moz-landing-system : lando
2019-03-24 21:47:44 +00:00
Daniel Varga
700eee209a Bug 1536664 - toolkit/components/antitracking/test/browser/browser_blockingServiceWorkersStorageAccessAPI.js on linux, windows and osx for frequent failures r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D24647

--HG--
extra : moz-landing-system : lando
2019-03-24 21:47:42 +00:00
Coroiu Cristina
3b71c83e52 Bug 1475120 - disable wrapper.html?badpalettesize.bmp on all platforms r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D24648

--HG--
extra : moz-landing-system : lando
2019-03-24 21:45:40 +00:00
Ciure Andrei
1f61ac1e73 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-03-24 23:46:20 +02:00
Ciure Andrei
baf4fbcc06 Merge inbound to mozilla-central. a=merge 2019-03-24 23:45:00 +02:00
Ashley Hauck
388d090f32 Bug 1537980 - Make CallNode::callOp const. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D24535

--HG--
extra : moz-landing-system : lando
2019-03-24 12:13:47 +00:00
Sebastian Hengst
97bed0502b Bug 1381449 - disabled mediasource-endofstream.html on linux r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D24533

--HG--
extra : moz-landing-system : lando
2019-03-24 13:56:14 +00:00
Honza Bambas
5d737c4b15 Bug 1538535 - backout bug 1527712 2019-03-24 11:51:36 +01:00
Csoregi Natalia
56705678f5 Backed out changeset 54cb3fe39194 (bug 1536362) for spidermonkey bustage. 2019-03-24 07:43:42 +02:00
Edwin Gao
9bfb259a16 Bug 1536362, 1536363, 1536365, 1536355, 1537997, 1537993, 1538001, 1538005, 1538009, 1538012, 1538017, 1538022, 1534717 - add conditions to reftests, crashtests and wpt reftets that experience issues on windows10-aarch64 r=jmaher,gbrown
Disable or change the expected outcomes of:

- reftests
- jsreftests
- crashtest
- web-platform-reftests

Differential Revision: https://phabricator.services.mozilla.com/D24295

--HG--
extra : moz-landing-system : lando
2019-03-24 05:17:07 +00:00
Francesco Lodolo (:flod)
dab7b7d823 Bug 1538065 - Update name for Wikipedia (ast) searchplugin r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D24479

--HG--
extra : moz-landing-system : lando
2019-03-24 00:24:44 +00:00
Edwin Gao
d5df057c37 Bug 1538359, 1538331, 1538360 - disable mochitest-media tests that fail intermittently or permanently on windows10-aarch64 r=jmaher
Disabled the following for windows10-aarch64:
- test_getUserMedia_audioCapture
- test_AudioChange_mp4.html
- test_bug1255618.html
- test_singleSourceDest
- test_mediaElementAudioSourceNodeFidelity
- test_maxChannelCount
- test_abort
- test_audio_capture_error
- test_call_start_from_end_handler
- test_recognition_service_error
- test_success_without_recognition_service
- test_ExperimentalAsync
- test_peerConnection_restartIceNoBundle.html

All of these tests tend to fail on the first run of the push, then pass on the retry run.

Differential Revision: https://phabricator.services.mozilla.com/D24569

--HG--
extra : moz-landing-system : lando
2019-03-23 09:51:09 +00:00
Edwin Gao
1584ba74a9 Bug 1536906, 1536909, 1536917, 1536916, 1536919, 1536922, 1536925, 1536931, 1538283, 1538303 - disable or change expected outcome of web-platform-tests that are causing problems on windows10-aarch64 r=jmaher,gbrown
Disable or change the expected outcome on a variety of `wpt` tests:
- /beacon/beacon-redirect.window.html
- encrypted-media-report-only.https.html
- RTCDTMFSender-ontonechange.https.html
- RTCDataChannel-send.html
- RTCPeerConnection-getStats.https.html
- RTCPeerConnection-remote-track-mute.https.html
- RTCPeerConnection-setRemoteDescription-tracks.https.html
- RTCRtpTransceiver.https.html
- RTCPeerConnection-iceConnectionState.https.html
- testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/
- signed-exchange/reporting/sxg-reporting

Differential Revision: https://phabricator.services.mozilla.com/D24540

--HG--
extra : moz-landing-system : lando
2019-03-23 09:49:07 +00:00
Csoregi Natalia
f6b80050f4 Backed out 2 changesets (bug 1147563) for permafails on test_basic_form_autocomplete.html.
Backed out changeset 5e0ac9f08356 (bug 1147563)
Backed out changeset b2f2db06d094 (bug 1147563)
2019-03-24 02:37:46 +02:00
Dale Harvey
dcb0f70ac2 Bug 1534219 - Only clear globally blocked permission on navigation. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D23844

--HG--
extra : moz-landing-system : lando
2019-03-22 10:57:16 +00:00
Kartikaya Gupta
6b4891ea03 Bug 1538538 - Minor tweak for consistency. r=dthayer
This has no functional effect but makes it consistent with other similar
sites.

Depends on D24650

Differential Revision: https://phabricator.services.mozilla.com/D24651

--HG--
extra : moz-landing-system : lando
2019-03-24 20:52:46 +00:00
Kartikaya Gupta
be36538530 Bug 1538538 - Guard against null pointer dereference. r=dthayer
Differential Revision: https://phabricator.services.mozilla.com/D24650

--HG--
extra : moz-landing-system : lando
2019-03-24 20:47:31 +00:00
sakshaat
d781937a67 Bug 1517483 - Get rid of nsIScriptSecurityManager::IsSystemPrincipal r=bzbarsky
Replaced instances of callers in both C++ and JS files to query the state from the principal directly.

Differential Revision: https://phabricator.services.mozilla.com/D22532

--HG--
extra : moz-landing-system : lando
2019-03-24 20:36:25 +00:00
Ian Moody
3e2a03dd32 Bug 1536659 - docshell/ manual ESLint no-throw-literal fixes. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D24368

--HG--
extra : moz-landing-system : lando
2019-03-21 22:40:36 +00:00
Ian Moody
b6cbc669dc Bug 1536659 - docshell/ automated ESLint no-throw-literal fixes. r=nika
Result of running:
$ mach eslint -funix docshell/ | sed -Ee 's/:.+//' - | xargs sed -E \
    -e 's/throw ((["`])[^"]+\2);/throw new Error(\1);/g' \
    -e 's/throw ((["`])[^"]+\2 \+ [^ ";]+);/throw new Error(\1);/g' \
    -e 's/throw \(/throw new Error(/g' -i

Differential Revision: https://phabricator.services.mozilla.com/D24367

--HG--
extra : moz-landing-system : lando
2019-03-21 16:53:45 +00:00
Randall Barker
4b64fa649d Bug 1500719 - Ensure toolbar is hidden when going fullscreen r=botond
Differential Revision: https://phabricator.services.mozilla.com/D24348

--HG--
extra : moz-landing-system : lando
2019-03-21 23:39:59 +00:00
Randall Barker
c98140dbeb Bug 1537964 - Call bindService() with BIND_IMPORTANT r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D24418

--HG--
extra : moz-landing-system : lando
2019-03-25 14:29:54 +00:00
Alex Chronopoulos
22dbeb3470 Bug 1538474 - Enable dav1d in RDD process. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D24726

--HG--
extra : moz-landing-system : lando
2019-03-25 16:41:48 +00:00
Michael Ratcliffe
639bed7bb2 Bug 1509620 - Computed style inspector CSS cascade calculation is wrong r=ladybenko
### Try

https://treeherder.mozilla.org/#/jobs?repo=try&revision=f1bad5e5282812225da95c0ea9e2ef173640b5da

### Summary

!!Comparing numerous complex websites such as github, facebook, cnn etc. the cascade now matchers that of Chrome so we are in a much better place.!!

According to https://www.w3.org/TR/css-cascade-3/#cascading (which platform follows now) and https://www.w3.org/TR/css-cascade-4/#cascading we should now be doing this (descending order):

  - Transition declarations
  - User-Agent & !important
  - User & !important
  - Author & !important
  - CSS Animations, @keyframes
  - Author, normal weight
  - User, normal weight
  - User-Agent, normal weight
  - specificity
  - Sheet Index
  - Rule Line
  - Rule Column

We are only dealing with CSS selectors here so we can safely drop Transition declarations and CSS Animations because their presence here is irrelevant when it comes to the CSS cascade information we display in the computed view.

This leaves us with:

  - User-Agent & !important
  - User & !important
  - Author & !important
  - Author, normal weight
  - User, normal weight
  - User-Agent, normal weight
  - specificity
  - Sheet Index
  - Rule Line
  - Rule Column

### Changes

- References to content stylesheets have been changed to author stylesheet to closely match the technical terms author, user and agent stylesheets.
- Simplified and modernized a bunch of for loops to make the code easier to understand.
- Previous to these changes all matching parent rules were classed as equal e.g. color on the body tag was equal to color on a node's immediate container. We now use the `distance` variable to tell how close a rule is to the current node. This is the highest qualifier in our cascade calculation.
- The `_agentSheet`, `_authorSheet` and `_userSheet` properties are now used to obtain a sheets origin.
- `elementStyle` was renamed to `inlineStyle` in order to correctly identify the rule's origin.
- We used to sort the matchedSelectors to move rules with `STATUS.MATCHED` above `STATUS.PARENT_MATCH` but this is unnecessary now that we have the `distance` property so we no longer do this.
- The `compareTo()` method has been updated to match https://www.w3.org/TR/css-cascade-3/#cascading (which platform follows now) and https://www.w3.org/TR/css-cascade-4/#cascading. It has also been simplified and made far less prone to error.

Differential Revision: https://phabricator.services.mozilla.com/D23711

--HG--
extra : moz-landing-system : lando
2019-03-25 16:32:19 +00:00
Nicolas B. Pierron
59aaa3ef97 Bug 1532599 - Branch Pruning: Flag all Phi loops as used. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D23331

--HG--
extra : moz-landing-system : lando
2019-03-21 19:38:09 +00:00
Luke Wagner
4f1f0dbca7 Bug 1536905 - Baldr: do instantiation in a separate task from the getting of imports (r=lth)
Having this OffThreadPromiseTask in place may also be useful one day if we want
to do any non-trivial instantiation-time codegen (say of Web IDL Bindings stubs...).

Differential Revision: https://phabricator.services.mozilla.com/D24243

--HG--
extra : rebase_source : 7a1dc29de10004e1d6c1f82ee48da3eb0321eb5f
2019-03-20 13:45:04 -05:00
Luke Wagner
32ae9f2564 Bug 1536905 - Baldr: factor out ImportValues struct (r=lth)
This patch is also pure refactoring, replacing the N Rooted<GCVector>s with
one ImportValues struct that can be Rooted once and then passed around. This
reduces existing duplication and also simplifies the next patch.

Differential Revision: https://phabricator.services.mozilla.com/D24242

--HG--
extra : rebase_source : bd5397286ee0981486ffffdd4724c41811e3479a
2019-03-20 13:45:00 -05:00