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

58511 Коммитов

Автор SHA1 Сообщение Дата
Jonathan Kingston d6d3522a16 Bug 1237782 - Remove http override and add appcache pref r=baku
Differential Revision: https://phabricator.services.mozilla.com/D44472

--HG--
extra : moz-landing-system : lando
2019-09-30 00:55:02 +00:00
Matt Howell 201a156b44 Bug 1584613 - Fix detecting web filtering parental control state on Windows 10. r=aklotz
The Windows parental controls API (e.g. IWindowsParentalControls) appears to
have been removed entirely from at least more recent builds of Windows 10. The
interfaces are still defined, but at runtime creating instances of them fails.
This patch enables us to tell if web filtering is enabled for the current user
on Windows 10 without going through that API by directly reading the relevant
registry value.

All methods of nsIParentalControlsService other than parentalControlsEnabled
have been left unimplemented because it isn't obvious how to implement them
in this environment, since no replacement for the old API seems to have been
provided. For example, it appears that loggingEnabled could be implemented
using the same registry key, but the logging mechanism is unlikely to be
compatible with the old one, so reporting that it is enabled may be unsafe.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 22:30:31 +00:00
Kris Maglione 20d33cc9da Bug 1584483: Wait for CSS to load before injecting content scripts. r=zombie
We have several tests which assume that the CSS associated with a content
script will have loaded by the time the script executes. There is nothing
guaranteeing this, though, and they currently mostly pass due to a combination
of luck and successful pre-loading.

This patch fixes the injection logic to always wait for a script's CSS entries
to finish loading before executing its JS, so behavior at least consistently
matches expectations.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 20:58:13 +00:00
Tim Nguyen 84e6dec7eb Bug 1584307 - Convert <xul:textbox> to <html:input> in toolkit/components/printing/content/printPageSetup.xul. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D47377

--HG--
extra : moz-landing-system : lando
2019-09-27 19:32:01 +00:00
Paul Zuehlcke eb3ea96701 Bug 1584549 - Updated hybrid-content documentation permission manager code snippets to use principals. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D47447

--HG--
extra : moz-landing-system : lando
2019-09-27 19:05:36 +00:00
Andrew McCreight 470ee2aab6 Bug 1579835, part 2 - Add mozilla::dom::IsWebRemoteType. r=nika
This is the equivalent to E10SUtils.isWebRemoteType, except for C++.

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

--HG--
extra : moz-landing-system : lando
2019-09-26 21:09:40 +00:00
Andrew McCreight 663c40c506 Bug 1579835, part 1b - Directly pass in remote type to E10SUtils.isWebRemoteType. r=mconley
Now that we only use a single field of the browser that gets passed in
to isWebRemoteType, I think it makes more sense to just pass in the
remote type directly.

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

--HG--
extra : moz-landing-system : lando
2019-09-26 22:16:28 +00:00
Andrew McCreight 741763a6d6 Bug 1579835, part 1 - Make E10SUtils.isWebRemoteType use a simpler prefix approach. r=mconley
Nika said that any `web'-prefixed remote type should be valid, so this
function can be simplified. For instance, webLargeAllocation should
return true.

This removes the need for ownerGlobal, so a few wrappers can be
removed.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 22:40:30 +00:00
Tom Tung 4912a256d6 Bug 1561611 - Removing the code for collecting unexpected filenames in origin directories; r=chutten,janv
Differential Revision: https://phabricator.services.mozilla.com/D36021

--HG--
extra : moz-landing-system : lando
2019-09-27 17:16:08 +00:00
dleblanccyr 1e4ab4b953 Bug 1573143 - Adds test for linking issuer name to certificate tab. r=johannh
Depends on D41610

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

--HG--
extra : moz-landing-system : lando
2019-09-27 15:35:53 +00:00
dleblanccyr 5a7f6525d2 Bug 1573143 - Links certificate issuer to its respective tab. r=johannh
Depends on D41979

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

--HG--
extra : moz-landing-system : lando
2019-09-27 15:35:41 +00:00
Anny Gakhokidze f1c694e18f Bug 1582531 - Update fission annotations for skipped tests that are now passing succesfully, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D47347

--HG--
extra : moz-landing-system : lando
2019-09-27 14:25:10 +00:00
Ehsan Akhgari 7ddd78221e Bug 1577298 - Do not stop at the current document when computing the top-level principal for storage partitioning; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D47339

--HG--
rename : toolkit/components/antitracking/test/browser/browser_subResources.js => toolkit/components/antitracking/test/browser/browser_subResourcesPartitioned.js
extra : moz-landing-system : lando
2019-09-27 14:05:13 +00:00
Brian Grinstead 5532d17616 Bug 1583377 - Remove xul:page and replace consumers with xul:window r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D46869

--HG--
extra : moz-landing-system : lando
2019-09-27 13:04:20 +00:00
Bogdan Tara 5c23fc2017 Backed out 2 changesets (bug 1573143) for browser_certViewer.js failures CLOSED TREE
Backed out changeset 8ca11a6e2a3a (bug 1573143)
Backed out changeset 43410a278604 (bug 1573143)
2019-09-27 16:34:04 +03:00
Emilio Cobos Álvarez 69d84b1151 Bug 1582042 - Remove nsIRemoteTab.forceRepaint(). r=mconley
It's useless if the tab is already visible (i.e., has renderLayers=true), per
the previous patches, and that's the only point at which it gets called.

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

--HG--
extra : moz-landing-system : lando
2019-09-26 22:11:50 +00:00
Matthew Noorenberghe c35b2337ec Bug 1584261 - Prolong the life of some migration telemetry histograms and update their metadata. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D47318

--HG--
extra : moz-landing-system : lando
2019-09-27 13:17:56 +00:00
Francesco Lodolo (:flod) b54e3ba68d Bug 1583177 - Add ca-valencia, trs to languageNames.ftl and language.properties r=m_kato,fluent-reviewers,Pike
Differential Revision: https://phabricator.services.mozilla.com/D46772

--HG--
extra : moz-landing-system : lando
2019-09-27 12:10:19 +00:00
dleblanccyr 39ad146eb2 Bug 1573143 - Adds test for linking issuer name to certificate tab. r=johannh
Depends on D41610

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

--HG--
extra : moz-landing-system : lando
2019-09-27 10:47:45 +00:00
dleblanccyr 5ec053f277 Bug 1573143 - Links certificate issuer to its respective tab. r=johannh
Depends on D41979

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

--HG--
extra : moz-landing-system : lando
2019-09-27 10:47:26 +00:00
Coroiu Cristina c094fff9aa Backed out changeset ea2c69779571 (bug 1577381) for a11y failures at accessible/tests/mochitest/attributes/test_obj_group.xul on a CLOSED TREE 2019-09-27 08:00:39 +03:00
Martin Thomson 336d7bb418 Bug 1579285 - Offer to enable TLS 1.0 on neterror page r=johannh
As we roll out the TLS 1.0 and 1.1 deprecation, sites that don't support TLS 1.2
will show the neterror page.  This adds a box to that page that shows in this
specific case.  That box explains what is going on and gives an option to
re-enable TLS 1.0.

As mentioned, this will show alongside an option to reset TLS-related
preferences if any overrides are active.

Hitting the button will set the new pref to 'true' and reload the page.

Once the override is engaged, the option won't show, but that option to reset
preferences will show (as this is a TLS-related preference).

The intent is to remove this affordance in March 2020 as we formally move to
having TLS 1.2 the minimum version.  All going to plan, this will only affect
prerelease channels, though anyone who has tweaked security.tls.version.* could
also see this.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 01:26:06 +00:00
James Teh 1adf6ac726 Bug 1577381: Correct accessibility exposure for optgroups in content select dropdowns. r=eeejay,NeilDeakin
For remote content documents, select dropdowns (for <select size="1">) are rendered in the parent process using a XUL menupopup.
This means that the accessibility code for HTML selects doesn't apply.

In the menupopup, the optgroup is a sibling of its contained options.
For accessibility, we want to preserve the hierarchy such that the options are inside the optgroup.
We do this using aria-owns on the optgroup item.

This required some tweaks to XULMenuitemAccessible, as it couldn't previously handle grouping Accessibles between the menupopup and its items.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 02:50:59 +00:00
Coroiu Cristina 735d79f681 Backed out 4 changesets (bug 1579285, bug 1579270) for browser-chrome failures at browser/base/content/test/siteIdentity/browser_deprecatedTLSVersions.js on a CLOSED TREE
Backed out changeset 36d7cc55bd16 (bug 1579285)
Backed out changeset 26e3ed3c1592 (bug 1579285)
Backed out changeset 913652258fe6 (bug 1579285)
Backed out changeset 0781e60dd54c (bug 1579270)
2019-09-27 04:19:59 +03:00
Martin Thomson cd23d1b0d9 Bug 1579285 - Offer to enable TLS 1.0 on neterror page r=johannh
As we roll out the TLS 1.0 and 1.1 deprecation, sites that don't support TLS 1.2
will show the neterror page.  This adds a box to that page that shows in this
specific case.  That box explains what is going on and gives an option to
re-enable TLS 1.0.

As mentioned, this will show alongside an option to reset TLS-related
preferences if any overrides are active.

Hitting the button will set the new pref to 'true' and reload the page.

Once the override is engaged, the option won't show, but that option to reset
preferences will show (as this is a TLS-related preference).

The intent is to remove this affordance in March 2020 as we formally move to
having TLS 1.2 the minimum version.  All going to plan, this will only affect
prerelease channels, though anyone who has tweaked security.tls.version.* could
also see this.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 00:18:11 +00:00
Alexander Surkov b56e085e0c Bug 1584218 - form autofill and HTML:select don't respect ui.popup.disable_autohide preference r=emilio,MattN
Differential Revision: https://phabricator.services.mozilla.com/D47322

--HG--
extra : moz-landing-system : lando
2019-09-26 22:07:07 +00:00
Gijs Kruitbosch f40417788d Bug 1583837 - allow more significant increases in font size / zoom in reader mode, more quickly, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D47327

--HG--
extra : moz-landing-system : lando
2019-09-26 21:12:33 +00:00
Kris Maglione e57df5ef8b Bug 1583386: Part 2 - Enable DocumentChannel in mochitest Fission runs. r=mattwoodrow,ahal
Differential Revision: https://phabricator.services.mozilla.com/D47009

--HG--
extra : moz-landing-system : lando
2019-09-26 20:02:44 +00:00
Coroiu Cristina 3b27110d58 Backed out changeset f3c1becf9396 (bug 1237782) for browser-chrome failures at dom/tests/mochitest/ajax/offline/browser_disableAppcache.js on a CLOSED TREE 2019-09-26 23:05:07 +03:00
Jonathan Kingston 495916342a Bug 1237782 - Remove http override and add appcache pref r=baku
Differential Revision: https://phabricator.services.mozilla.com/D44472

--HG--
extra : moz-landing-system : lando
2019-09-26 19:03:04 +00:00
Carolina 5f207f00a6 Bug 1580923 - Fixes problem when opening a certificate from downloadcert.xul.r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D46054

--HG--
extra : moz-landing-system : lando
2019-09-26 16:13:32 +00:00
Mark Striemer 183114d38d Bug 1579559 - Remove about:addons link for system add-ons in about:performance r=florian
Differential Revision: https://phabricator.services.mozilla.com/D45704

--HG--
extra : moz-landing-system : lando
2019-09-26 15:17:11 +00:00
Michael Cooper eee1edd088 Bug 1555176 - Add enrollmentIds to all Normandy telemetry. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D47149

--HG--
extra : moz-landing-system : lando
2019-09-26 17:35:15 +00:00
Sean Feng 660aac23aa Bug 1467970 - Unsupport cross docGroup adoption r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D43135

--HG--
extra : moz-landing-system : lando
2019-09-14 00:09:44 +00:00
Christoph Kerschbaumer 30285b4a58 Bug 1499354: Add object-src 'none' to the CSP of all about: pages. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D46950

--HG--
extra : moz-landing-system : lando
2019-09-26 16:22:41 +00:00
Rob Wu 43a807dc30 Bug 1474041 - Wait for browser.windows.create instead of onCreated r=rpl
The browser.windows.onCreated event is triggered before
browser.windows.create returns. Waiting until browser.windows.create has
resolved may resolve the memory leak from bug 1474041.

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

--HG--
extra : moz-landing-system : lando
2019-09-26 11:54:07 +00:00
Emilio Cobos Álvarez 06edb6f970 Bug 1583941 - Use a per-window event to handle dark mode changes in LightweightThemeConsumer.jsm. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D47241

--HG--
extra : moz-landing-system : lando
2019-09-26 13:21:40 +00:00
Michael Kaply 42b53c41d1 Bug 1560808 - Don't activate policy engine if there are no policies. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D46973

--HG--
extra : moz-landing-system : lando
2019-09-26 12:35:34 +00:00
Sebastian Streich 2fbc46096e Bug 1580782 - Remove JS Callsites for Principal->GetURI->Schemeis r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D45685

--HG--
extra : moz-landing-system : lando
2019-09-26 10:47:33 +00:00
Sebastian Streich 88670a47e9 Bug 1580782 - Change Callsites to use nsIPrincipal->SchemeIs r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D45654

--HG--
extra : moz-landing-system : lando
2019-09-26 10:47:16 +00:00
Victor Porof b0783dc7ee Bug 1583439 - Update lmdb-rkv-sys, lmdb-rkv and rkv crates to their latest versions, r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D46899

--HG--
extra : moz-landing-system : lando
2019-09-26 11:52:13 +00:00
arthur.iakab cfa5759aae Bug 1580733 - Fixed Es lint failure on PictureInPicture.jsm CLOSED TREE 2019-09-26 12:04:43 +03:00
Martin Stransky 11b80b3ccf Bug 1580733 - Don't use dialog for PIP window on Linux, r=JSON_voorhees
Dialog window on Linux/Gtk adds extra border/titlebar to PIP window
so don't use it there.

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

--HG--
extra : moz-landing-system : lando
2019-09-26 08:22:33 +00:00
Johann Hofmann 9efd735d31 Bug 1564248 - Re-add contentblocking.exceptions and extend the measurement to 75. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D47073

--HG--
extra : moz-landing-system : lando
2019-09-26 08:09:17 +00:00
Nils Maier 78d77f92c9 Bug 1296365 - Show extension name instead of URI in popup windows r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D45213

--HG--
extra : moz-landing-system : lando
2019-09-26 04:13:27 +00:00
alwu 775a71fa2d Bug 1578615 - part9 : refactor browser_delay_autoplay_media.js r=chunmin
Modify test and some description naming from "block autoplay" to "delay autoplay" and split the blocking autoplay test to new independent task.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 02:12:15 +00:00
alwu 277e7b4e5c Bug 1578615 - part8 : add test case for delaying media with autoplay keyword. r=chunmin
Current test cases are all about calling `video.play()`, we don't have test case for media with autoplay keyword.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 20:02:18 +00:00
alwu 8d0e5dc6b1 Bug 1578615 - part7 : rename tests 'browser_block_*' to 'browser_delay_autoplay_*'. r=chunmin
As the things we do in those tests are not really "block" autoplay, which is not to allow autoplay starts, what we do is actually delaying them until tab goes to foreground or user clicking `play tab` icon on the tab.

In order to distinguish them from the real blocking-autoplay, and reflect what we really do in those tests, rename all of them with prefix "browser_delay_autoplay_*".

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

--HG--
rename : toolkit/content/tests/browser/browser_block_autoplay_media.js => toolkit/content/tests/browser/browser_delay_autoplay_media.js
rename : toolkit/content/tests/browser/browser_block_autoplay_media_pausedAfterPlay.js => toolkit/content/tests/browser/browser_delay_autoplay_media_pausedAfterPlay.js
rename : toolkit/content/tests/browser/browser_block_multipleMedia.js => toolkit/content/tests/browser/browser_delay_autoplay_multipleMedia.js
rename : toolkit/content/tests/browser/browser_block_notInTreeAudio.js => toolkit/content/tests/browser/browser_delay_autoplay_notInTreeAudio.js
rename : toolkit/content/tests/browser/browser_block_autoplay_playAfterTabVisible.js => toolkit/content/tests/browser/browser_delay_autoplay_playAfterTabVisible.js
rename : toolkit/content/tests/browser/browser_block_playMediaInMuteTab.js => toolkit/content/tests/browser/browser_delay_autoplay_playMediaInMuteTab.js
rename : toolkit/content/tests/browser/browser_block_plugIn.js => toolkit/content/tests/browser/browser_delay_autoplay_plugIn.js
rename : toolkit/content/tests/browser/browser_block_silentAudioTrack_media.js => toolkit/content/tests/browser/browser_delay_autoplay_silentAudioTrack_media.js
rename : toolkit/content/tests/browser/browser_block_webAudio.js => toolkit/content/tests/browser/browser_delay_autoplay_webAudio.js
extra : moz-landing-system : lando
2019-09-25 18:14:42 +00:00
alwu 9668f169c4 Bug 1578615 - part6 : modify tests. r=chunmin
We could simply check `TabBlockEvent` to know whether we starts delaying media playback or not. We don't need to check media element's `computedSuspended`. Because `computedSuspended` is something, which was designed to get the internal suspended state of `AudioChannelWrapper`, in our case, as the delaying autoplay is not related to `AudioChannelWrapper` anymore, so the state we got actually couldn't reflect anything.

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

--HG--
extra : moz-landing-system : lando
2019-09-26 02:53:52 +00:00
Tim Nguyen 2a5148d030 Bug 1567785 - Convert XUL textbox to HTML input in toolkit/components/prompts/content/. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D38823

--HG--
extra : moz-landing-system : lando
2019-09-26 03:19:36 +00:00