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

608784 Коммитов

Автор SHA1 Сообщение Дата
David Keeler d2cf0c7ffc bug 1479918 - fix HSTS update script to only access XHR headers after each request has completed r=sfraser
When the HSTS preload script was reworked to use async/await in bug 1436369,
`fetchstatus` would create an asynchronous xml http request and then attempt to
access a response header from it. However, there was nothing to ensure that the
request had completed before this code ran. This patch ensures that the request
has completed before the response header is used.

This patch also replaces a lingering instance of `Ci.nsISSLStatusProvider` that
should have been changed to `Ci.nsITransportSecurityInfo` in bug 1475647.

Finally, this patch removes the old, redundant getHSTSPreloadList.js in
security/manager/tools as well as the unused nsSTSPreloadList.errors file in
security/manager/ssl.

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

--HG--
extra : moz-landing-system : lando
2018-08-13 20:25:21 +00:00
irrationalagent e31593630b Bug 1476393 - Record pwmgr histograms in sync ping r=markh,tcsc
MozReview-Commit-ID: CkZAwlCORtX

--HG--
extra : rebase_source : 3be3237c6a2d5919d839bc77cb1794fec0dcdec6
2018-08-03 09:30:06 -06:00
irrationalagent c9df37f8cd Bug 1476393 - Allow sync ping to contain histograms r=markh,tcsc
MozReview-Commit-ID: KztXiSPUCE5

--HG--
extra : rebase_source : 0bd0236f907721fdc847e56950b84cb0c3407624
2018-08-03 09:16:08 -06:00
Michael Kaply affe168a97 Bug 1481420 - DuckDuckGo doesn't use subdomains. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D2847

--HG--
extra : moz-landing-system : lando
2018-08-13 19:19:44 +00:00
Ciure Andrei 057ea5d560 Backed out 1 changesets (bug 1480450) for mochitest/test_trackingprotection_bug1157081.html failures CLOSED TREE
Backed out changeset 34d3b10c54eb (bug 1480450)
2018-08-13 22:45:37 +03:00
Nan Jiang c9f1c48f1e Bug 1482958 - Add missing events for activity stream UT event telemetry. r=ursula
Differential Revision: https://phabricator.services.mozilla.com/D3237

--HG--
extra : moz-landing-system : lando
2018-08-13 19:09:12 +00:00
Henri Sivonen 22d42c4507 Bug 1482640 - Null out mDecoder in OnStopRequest to avoid asserting when there is more than one OnStopRequest. r=smaug
MozReview-Commit-ID: K25XhiYGzhl

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

--HG--
extra : moz-landing-system : lando
2018-08-13 17:10:06 +00:00
Ting-Yu Lin 8dc290a28d Bug 1460075 - Use 1px as the minimum column width. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D3140

--HG--
extra : moz-landing-system : lando
2018-08-13 17:48:42 +00:00
Mark Hammond e1ec4db2c6 Bug 1467904 - allow addons to be installed if the addon manager's addon cache is outdated. r=lina
MozReview-Commit-ID: Gp1bnQSLaLA

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

--HG--
extra : moz-landing-system : lando
2018-08-13 18:05:53 +00:00
Chris Manchester 2a6ade919e Bug 1478798 - Handle the CLOBBER file optimistically in the Tup backend. r=mshal
MozReview-Commit-ID: DDIqlDwjKil

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

--HG--
extra : moz-landing-system : lando
2018-08-13 17:07:41 +00:00
Francois Marier 47ba3463cd Bug 1480450 - Honor browser.contentblocking.enabled in tracking protection. r=dimi!
Depends on D3131

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

--HG--
extra : moz-landing-system : lando
2018-08-13 14:54:10 +00:00
Francois Marier 8ffdb93d06 Bug 1480450 - Move TP tests to using async/await and promises. r=dimi!
There are no actual changes/additions to these tests.

Depends on D3130

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

--HG--
extra : moz-landing-system : lando
2018-08-13 14:41:18 +00:00
Francois Marier b5aa77a96c Bug 1480450 - Use correct resource url for chrome test. r=dimi!
Differential Revision: https://phabricator.services.mozilla.com/D3130

--HG--
extra : moz-landing-system : lando
2018-08-13 14:34:35 +00:00
Francois Marier 66260f4d22 Bug 1480448 - Honor browser.contentblocking.enabled in Fastblock. r=xeonchen!
Differential Revision: https://phabricator.services.mozilla.com/D3135

--HG--
extra : moz-landing-system : lando
2018-08-13 10:06:37 +00:00
Francois Marier 4308499fee Bug 1482281 - Sync contentblocking pref. r=johannh!
Differential Revision: https://phabricator.services.mozilla.com/D3134

--HG--
extra : moz-landing-system : lando
2018-08-12 15:15:32 +00:00
Dave Townsend ab3f6bd027 Bug 1479316: Pass through link related messages when in responsive design mode. r=jryans
Prior to bug 1453751 responsive design mode relied on the parent process seeing
that no favicon had been loaded and so defaulting to the root favicon for a
site. This would have meant that on some occasions responsive design mode didn't
show the correct favicon for pages that specified their own. This change passes
all the link related messages to the parent so favicons, feeds and searches
should work correctly.

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

--HG--
extra : moz-landing-system : lando
2018-08-09 18:27:05 +00:00
David Keeler f9c800c5c1 bug 1460062 - Enforce Symantec distrust in Firefox 63 r=franziskus
This patch implements the Symantec distrust plan on Nightly only for now.

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

--HG--
extra : moz-landing-system : lando
2018-08-13 14:59:47 +00:00
Oriol Brufau dea5810226 Bug 1474440 - Implement support for the 'onHighlighted' API for multiselect tabs r=mixedpuppy
MozReview-Commit-ID: 8aOmdj0AB3e

--HG--
extra : rebase_source : 5eec0163341b6621103ac4a5e43f8439a19a9c5a
2018-07-28 13:15:55 +02:00
Oriol Brufau f76978b8ec Bug 1474440 - Rename browser_ext_tabs_onHighlighted.js to browser_ext_tabs_events_order.js r=mixedpuppy
Basically it tests in which order various tab events are dispatched, so the old name
didn't make sense, and it will be more suited for a new test specific to onHighlighted.

MozReview-Commit-ID: Kj8GZfHA0Ap

--HG--
rename : browser/components/extensions/test/browser/browser_ext_tabs_onHighlighted.js => browser/components/extensions/test/browser/browser_ext_tabs_events_order.js
extra : rebase_source : 243155e897d08bd70091c6a7ee11b4671a098ef2
2018-08-05 22:08:34 +02:00
Emilio Cobos Álvarez 818db7603f Bug 1478813 - Add cbindgen toolchain job and install via bootstrap. r=ted
And require it for taskcluster build already, because it doesn't harm and lets
me put all the yml changes in the same commit.

I gave up cross-compiling for OSX after a few tries and after realizing it
wasn't enough with cctools and such, but that I also needed the Mac SDK, for
which I don't have permission...

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

--HG--
extra : moz-landing-system : lando
2018-08-13 10:58:22 +00:00
Alex Gaynor 95e22ca165 Bug 1481304 - shutdown connections to the windowserver in content processes; r=haik
They'll be reopened, so there's no security benefit, but this causes Activity
Monitor to not report the processes as 'not responding'.

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

--HG--
extra : moz-landing-system : lando
2018-08-13 14:43:45 +00:00
Peter Simonyi c3ec2fa929 Bug 1469705: allow menus.refresh() without an onShown listener r=mixedpuppy
MozReview-Commit-ID: 3GbQEoSFTW8

--HG--
extra : rebase_source : cfb50b104e14c1e38b319c207164c96c3fa0f55e
2018-07-05 22:06:23 -04:00
Daniel Stenberg 315e5ddcc0 bug 1466462 - TRR: disable EDNS Client Subnet by default r=mcmanus
Set the "network.trr.disable-ECS" pref to false to disable.

MozReview-Commit-ID: GE6L8Vpvuu0

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

--HG--
extra : moz-landing-system : lando
2018-08-13 15:45:15 +00:00
Csoregi Natalia 81732c6774 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-13 18:44:46 +03:00
Csoregi Natalia 2466b82b72 Merge inbound to mozilla-central. a=merge 2018-08-13 18:42:53 +03:00
Daniel Stenberg 11c02fe803 bug 1475781 - revert the doubled DNS cache r=mcmanus
Almost no cache hit improvement was detected.

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

--HG--
extra : moz-landing-system : lando
2018-08-13 14:41:42 +00:00
Csoregi Natalia 32cdffd7a4 Backed out changeset 6b4359d502be (bug 1482466) for test_TelemetrySession_activeTicks.js failures. CLOSED TREE 2018-08-13 18:15:40 +03:00
Bogdan Tara af579cb55e Backed out changeset bc15796e6fa7 (bug 1478644) static analysis failures on win2012 2018-08-13 17:57:18 +03:00
Jay Lim 7d50ddd963 Bug 1482422 - Use UTF-8 character set instead of ASCII when reading Activity Stream scripts with `mozJSSubScriptLoader`. r=mconley
The default character set that is used to read sub-scripts using
`mozJSSubScriptLoader` is ASCII. Scripts for Activity Stream contains strings
which are encoded in UTF-8, and therefore, reading them in ASCII will display
the strings incorrectly.

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

--HG--
extra : moz-landing-system : lando
2018-08-13 14:08:16 +00:00
Chris H-C 81200add33 bug 1482466 - Ensure subsession activeTicks are correct in simpleMeasurements r=Dexter
Differential Revision: https://phabricator.services.mozilla.com/D3128

--HG--
extra : moz-landing-system : lando
2018-08-13 13:58:40 +00:00
Rob Wu f0b033f907 Bug 1481179 - Stop extensions from changing the icon in the top-level menu r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D3198

--HG--
extra : moz-landing-system : lando
2018-08-13 13:25:50 +00:00
Hiroyuki Ikezoe dcd6231961 Bug 1482753 - Introduce two macros to implement HAL observers handy. r=gsvelto
If `ScreenConfiguration` were `ScreenInformation` we could integrate
notification functions into the macros too.

Differential Revision: https://phabricator.services.mozilla.com/D3182
2018-08-13 10:57:50 +09:00
Hiroyuki Ikezoe 2e21aec705 Bug 1482753 - Move power/Types.h into hal/ and WakeLockObserver into hal namespace. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D3181

--HG--
rename : dom/power/Types.h => hal/HalWakeLockInformation.h
2018-08-13 10:57:50 +09:00
Hiroyuki Ikezoe 330f831cb7 Bug 1482753 - Move battery/Types.h into hal/ and BatteryObserver into hal namespace. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D3180

--HG--
rename : dom/battery/Types.h => hal/HalBatteryInformation.h
2018-08-13 10:57:50 +09:00
Hiroyuki Ikezoe ce58f0c053 Bug 1482753 - Move network/Types.h into hal/ and NetworkObserver into hal namespace. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D3179

--HG--
rename : dom/network/Types.h => hal/HalNetworkInformation.h
2018-08-13 10:57:50 +09:00
Hiroyuki Ikezoe 0381486a5f Bug 1481699 - Send host:kill command through TCP socket instead of spawning a new adb process with 'kill-server'. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D3170
2018-08-13 06:12:55 +09:00
Hiroyuki Ikezoe db4c3c99a6 Bug 1481699 - Do not process any further data after we started shutting down the ADB server. r=jdescottes
In the genuine adb binary, when it received 'host:kill' command, it exits the
server process soon [1].  Whereas, in our mock adb.py which is based on
SocketServer.TCPServer in python, when we call
SocketServer.TCPServer.shutdown() in the case of 'kill-server' command, the
server process doesn't exit soon since the shutdown() function just sets a
flag [2] and serve_forever() polls it [3] every |poll_interval| seconds,
|poll_interval| is 0.5 seconds by default.  Thus it's possible that new incoming
requests are processed during polling.

This is the real cause of the race condition that the adb server still keeps
alive when 'adb kill-server' finished.  So we don't need to the workaround
for the race condition.

[1] 4039051d6d/adb/adb.cpp (1049)
[2] 65b5ef02ec/Lib/socketserver.py (L248)
[3] https://docs.python.org/2/library/socketserver.html#SocketServer.BaseServer.serve_forever

Differential Revision: https://phabricator.services.mozilla.com/D3169
2018-08-13 06:08:34 +09:00
Hiroyuki Ikezoe 720a215841 Bug 1481699 - Send back 'OKAY' to the client when the adb server received 'kill-server' command. r=jdescottes
Because the genuine adb binary does it [1].  And doing it before shutdown
thread is created to make sure it's sent to the client.

[1] 4039051d6d/adb/adb.cpp (1055)

Differential Revision: https://phabricator.services.mozilla.com/D3168
2018-08-13 06:08:34 +09:00
Hiroyuki Ikezoe 2a0f871277 Bug 1481699 - Rename ADBServer to ADBRequestHandler. r=jdescottes
Since it's actually a child of SocketServer.BaseRequestHandler.

Differential Revision: https://phabricator.services.mozilla.com/D3167
2018-08-13 06:08:33 +09:00
Julian Descottes 4ee534cfd7 Bug 1482054 - Allow to add and remove network locations in Connect Page;r=daisuke
Tags: #secure-revision

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

--HG--
extra : rebase_source : d27bb72917e51d27d8962ad73fcab68b3ef011c2
extra : intermediate-source : c1f6b6006ff78e8810de6a0d1bb702d6e97842d7
extra : source : 155c202de099e91847a5eb691e602ae37e6ed905
2018-08-09 18:47:57 +02:00
Julian Descottes 5bc33348c5 Bug 1482054 - List existing network locations in Connect Page;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D3098

--HG--
extra : rebase_source : 0d3111d004ea0a87ae562918aa153a7fa7c00587
2018-08-10 09:49:49 +02:00
Julian Descottes 7582837622 Bug 1482054 - Add icon for network section of connect page;r=daisuke
This icon is copied from the common globe icon, except that it supports
context-fill.

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

--HG--
extra : rebase_source : fb33161d0dead6a42566cdd3c95df8216a607811
2018-08-10 09:40:58 +02:00
Julian Descottes 2726db3e53 Bug 1482054 - Create module to manage network locations;r=daisuke
This patch introduces a new preference:
  devtools.aboutdebugging.network-locations

- this preference is a string pref, that should be a stringified
  JavaScript array.
- the default value is "[]".
- the module supports getting, adding, removing and observing
  network locations.

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

--HG--
extra : rebase_source : c167a689bccda547f12b4970775c2e7feab49553
2018-08-10 09:38:55 +02:00
Julian Descottes 7dec286e7b Bug 1482054 - Move .button and .ellipsis-text to aboutdebugging.css;r=daisuke
In order to reuse the button and ellipsis styles in the Connect page,
I would like to move the corresponding styles to a common stylesheet.

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

--HG--
extra : rebase_source : 4a2eef73edf9b648776dbb3c6ba094160f4e99e8
2018-08-10 09:29:57 +02:00
Julian Descottes 584cd0dd8c Bug 1482054 - Fix classname for ConnectPage;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D3094

--HG--
extra : rebase_source : 2248a07635cd558db4c228b2d755eaec186483be
2018-08-09 12:07:01 +02:00
Julian Descottes 2919fa351b Bug 1482054 - Sort rules in ConnectPage.css alphabetically;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D3093

--HG--
extra : rebase_source : 48624699ae83791bf35d17316e53d6f7030683ce
2018-08-09 11:31:44 +02:00
Julian Descottes ff68c6ddd7 Bug 1482054 - Group aboutdebugging constants together;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D3092

--HG--
extra : rebase_source : bc159e987ab3d1957c41187e8d6c9689a3f4cd8d
2018-08-10 08:00:40 +02:00
Bogdan Tara e72c851d67 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-13 13:00:51 +03:00
"Emilio Cobos Álvarez" f3d30ca484 Bug 1472020 - Make AccessibleCaret a bit saner. r=bz,TYLin
Avoid processing anon content in nsCanvasFrame, then getting more anon content
via AccessibleCaretEventHub::Init. Instead call Init before creating the custom
content container. We could also throw a script runner at it I guess, but this
prevents the reentrancy issue.

Avoid cloning nodes during layout, just use the same node (already cloned in
InsertAnonymousContent) instead.

The RemoveChild in GetAnonymousContent to handle the reframes instead of cloning
around is a bit hacky, but I don't think it's really worth extending
PostDestroyData for this special case.

Differential Revision: https://phabricator.services.mozilla.com/D1889
2018-08-13 11:56:48 +02:00
Bogdan Tara 8374f362e7 Merge inbound to mozilla-central. a=merge 2018-08-13 12:56:44 +03:00