Commit Graph

667313 Commits

Author SHA1 Message Date
Razvan Caliman
9266f1b83d Bug 1547224 - Enable inactive CSS detection for all releases. r=gl
As discussed with @mbalfanz, we want to flip the pref so Inactive CSS is enabled and rides the trains.
This will enable the feature on Firefox 70 Beta/DevEdition allowing us to collect early user feedback and issues.

If all goes well during Beta/DevEdition, the feature will ride the trains to Release.
If there is a major blocker, we will uplift a patch to disable the pref so it doesn't proceed to Release.

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

--HG--
extra : moz-landing-system : lando
2019-08-23 16:41:10 +00:00
Jon Coppeard
e6728a8a36 Bug 1575895 - Don't start GC slices due to malloc allocation if we're already collecting the zone r=sfink
At some point we can think about triggering incremental slices here the way we do for the GC heap allocations but for now it's simplest to just not trigger any more slices if we're already allocating.

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

--HG--
extra : moz-landing-system : lando
2019-08-23 16:03:08 +00:00
Michael Kaply
146731f270 Bug 1575273 - Add cryptomining and fingerprinting to tracking protection policies. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D42942

--HG--
extra : moz-landing-system : lando
2019-08-23 16:04:18 +00:00
Jon Coppeard
7766340a8a Bug 1575794 - Fix INCREMENTAL_TOO_SLOW trigger to check the non-incremental threshold r=sfink
I missed changing this when I changed the threshold to be the incremental trigger rather than the non-incremental one. I'm not entirely sure we need this chech at all - I think it will only happen in the case where we've requested a non-incremental GC but the interrupt hasn't caused one to run yet.

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

--HG--
extra : moz-landing-system : lando
2019-08-23 16:02:46 +00:00
Jonathan Kew
39041986c7 Bug 1575908 - Remove spurious code trying to reinitialize a propertyProvider. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D43261

--HG--
extra : moz-landing-system : lando
2019-08-23 15:49:28 +00:00
Andrew Swan
d697e6aa9a Bug 1567258 - Convert fxmonitor to a built-in component r=nhnt11,flod
Differential Revision: https://phabricator.services.mozilla.com/D40666

--HG--
rename : browser/extensions/fxmonitor/privileged/api.js => browser/components/fxmonitor/FirefoxMonitor.jsm
rename : browser/extensions/fxmonitor/privileged/FirefoxMonitor.css => browser/components/fxmonitor/content/FirefoxMonitor.css
rename : browser/extensions/fxmonitor/assets/monitor32.svg => browser/components/fxmonitor/content/monitor32.svg
rename : browser/extensions/fxmonitor/moz.build => browser/components/fxmonitor/moz.build
rename : browser/extensions/fxmonitor/test/browser/browser.ini => browser/components/fxmonitor/test/browser/browser.ini
rename : browser/extensions/fxmonitor/test/browser/browser_fxmonitor_doorhanger.js => browser/components/fxmonitor/test/browser/browser_fxmonitor_doorhanger.js
rename : browser/extensions/fxmonitor/locales/en-US/fxmonitor.properties => browser/locales/en-US/chrome/browser/fxmonitor.properties
extra : moz-landing-system : lando
2019-08-23 14:27:55 +00:00
Csoregi Natalia
31eced3689 Merge mozilla-central to autoland. CLOSED TREE 2019-08-23 18:41:20 +03:00
Ted Campbell
41dfa283b7 Bug 1575077 - Return UniqueChars from FormatIntroducedName r=jandem
This was already transferring ownership to caller so use appropriate
types instead.

Depends on D43182

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

--HG--
extra : moz-landing-system : lando
2019-08-23 13:39:55 +00:00
Ted Campbell
2126101005 Bug 1575077 - Factor out NoteContentParse calls in XDR r=jandem
Move this record/replay-specific code out of the ScriptSource XDR code.

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

--HG--
extra : moz-landing-system : lando
2019-08-23 13:38:09 +00:00
Belén Albeza
bb1e089f66 Bug 1575823 - Enable support for l10n.getString in tests r=Ola
- This creates a mock for fluent-l10n module, so we can use `l10n.getString()` in our code and test for it.
- This patch also removes unused files `test/fixtures/l10n.js` and `test/fixtures/PluralForm.js`

In order to double check the mock works, these two lines can be added to any test:

```
const { l10n } = require("devtools/client/application/src/modules/l10n");
expect(l10n.getString("foo")).toBe("foo");
```

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

--HG--
rename : devtools/client/application/test/components/fixtures/l10n.js => devtools/client/application/test/components/fixtures/fluent-l10n.js
extra : moz-landing-system : lando
2019-08-23 09:53:19 +00:00
Jorg K
239c40f903 Bug 1575183 - Skip two subtests of test_extension_storage_actor.js when run in non-oop extension mode. r=rpl 2019-08-23 09:37:03 +02:00
Will Hawkins
9e72ec1f8d Bug 1551313: Insert profiler markers when preferences are accessed. r=squib,gregtatum
Reviewers: squib, mstange, gregtatum

Reviewed By: squib, gregtatum

Subscribers: julienw, Fallen, reviewbot, mixedpuppy, mstange

Bug #: 1551313

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

--HG--
extra : rebase_source : e7e0b41b2a4c6f7228f3d6c19ede1fe2e4e42343
extra : histedit_source : 55daf5b19e4f262f522339b5b00ee31130abbf1b
2019-08-23 13:12:51 +03:00
Csoregi Natalia
584570ec40 Merge mozilla-central to mozilla-inbound. CLOSED TREE 2019-08-23 12:57:41 +03:00
Masayuki Nakano
7002a0f988 Bug 1574852 - part 25: Move HTMLEditRules::GetChildNodesForOperation() to HTMLEditor r=m_kato
It just collects all children of given node so that it can be a static method
in `HTMLEditor`.

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

--HG--
extra : moz-landing-system : lando
2019-08-23 07:34:38 +00:00
Brian Hackett
8d4c428010 Bug 1575058 - Fix assorted bugs with showing errors in the console while replaying, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D42704

--HG--
extra : moz-landing-system : lando
2019-08-24 23:54:33 +00:00
Cosmin Sabou
8a4a4f0f3a Bug 1564700 - Disable test_bug949946.html for causing crashes on Android. r=intermittent-reviewers,gbrown
Differential Revision: https://phabricator.services.mozilla.com/D43345

--HG--
extra : moz-landing-system : lando
2019-08-24 23:04:49 +00:00
Brian Hackett
611fa8b9db Bug 1575056 - Control record/replay logging with preference, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D42556

--HG--
extra : moz-landing-system : lando
2019-08-24 23:34:11 +00:00
Dorel Luca
6d8773b614 Merge mozilla-central to autoland 2019-08-25 00:55:57 +03:00
Nihanth Subramanya
672d4a71ca Bug 1570609 - [Protections Panel] Update toggle switch styling when turned off. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D43339

--HG--
extra : moz-landing-system : lando
2019-08-24 19:43:33 +00:00
Nihanth Subramanya
001265b3c9 Bug 1574113 - [Protections Panel] Update info button fill-opacity and hover/checked background. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D43338

--HG--
extra : moz-landing-system : lando
2019-08-24 19:36:42 +00:00
Nihanth Subramanya
05165a0bf7 Bug 1575346 - Add offset for info message when setting subview max-height. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D43337

--HG--
extra : moz-landing-system : lando
2019-08-24 19:28:06 +00:00
Tim Huang
7717d849d2 Bug 1575788 - Fix the issue that the TP state been applied wrongly if quickly change tabs after toggling the TP switch for protections panel. r=nhnt11
This patch fixes the issue by updating the allow list as soon as the
switch been toggled. And the reload still happens after the 500ms delay.
We cache the target tab in order to reload the correct tab in case tabs
change and reload the target tab after the delay. In additon, we won't
reload the tab if is has been closed since it is totally unnecessary.

We also add a test for this.

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

--HG--
extra : moz-landing-system : lando
2019-08-24 19:24:24 +00:00
Masayuki Nakano
6b6f24ee0f Bug 1574852 - part 24: Move HTMLEditRules::GetNodesFromPoint() to HTMLEditor r=m_kato
It's called only from `HTMLEditRules::MoveBlock()`.  Even though it has 4
patters to call different methods, we need only one of them.  Therefore,
this patch moves it into `HTMLEditor.h` as
`SplitInlinesAndCollectEditTargetNodesInOneHardLine()`.

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

--HG--
extra : moz-landing-system : lando
2019-08-23 07:33:50 +00:00
Masayuki Nakano
6a2026a28d Bug 1574852 - part 23: Move HTMLEditRules::GetNodesFromSelection() to HTMLEditor r=m_kato
`HTMLEditRules::GetNodesFromSelection()` has a patch to call
`HTMLEditor::GetSelectionRangesExtendedToIncludeAdjuscentWhiteSpaces()`.
However, nobody uses this path so that we can get rid of this path.
Then, it becomes just calling `SplitInlinesAndCollectEditTargetNodes()` or
`CollectEditTargetNodes()` with result of
`GetSelectionRangesExtendedToHardLineStartAndEnd()`.  Therefore, we can split
it to `SplitInlinesAndCollectEditTargetNodesInExtendedSelectionRanges()` and
`CollectEditTargetNodesInExtendedSelectionRanges()`.  Then, we can mark
only the former as `MOZ_CAN_RUN_SCRIPT`.

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

--HG--
extra : moz-landing-system : lando
2019-08-23 07:04:15 +00:00
Jeff Walden
c0dc1f2142 Bug 1575947 - AtomizeUTF8OrWTF8Chars should look up non-ASCII, Latin-1 single-code-point static strings itself. (Static strings are not recorded as permanent atoms or in the normal atom table, so it's always necessary to specially look them up.)... r=jonco
...r=jonco

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

--HG--
extra : moz-landing-system : lando
2019-08-24 03:05:54 +00:00
Csoregi Natalia
77448b7aee Bug 1554808 - Disabled test_streams_element_capture.html on all platforms. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D43235

--HG--
extra : moz-landing-system : lando
2019-08-23 17:56:52 +00:00
Ed Lee
52996d5c83 Bug 1576284 - Add Firefox wordmark, protection template and bug fixes to New Tab Page r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D43310

--HG--
extra : moz-landing-system : lando
2019-08-24 00:54:23 +00:00
Noemi Erli
b8540ff399 Backed out changeset 610592f70d74 (bug 1575091) for failing in test_autocomplete_new_password.html 2019-08-24 03:55:48 +03:00
sotaro
dfe58e6580 Bug 1576073 - Clean up WebRenderImageHost a bit r=nical
Differential Revision: https://phabricator.services.mozilla.com/D43207

--HG--
extra : moz-landing-system : lando
2019-08-23 12:34:36 +00:00
Masayuki Nakano
dd792e1d82 Bug 1574852 - part 22: Move HTMLEditRules::GetPromotedRanges() to HTMLEditor r=m_kato
`HTMLEditRules::GetPromotedRanges()` does 2 things.  Calling
`CreateRangeIncludingAdjuscentWhiteSpaces()` or
`CreateRangeExtendedToHardLineStartAndEnd()` with each range of `Selection`.
The difference is considered with current edit sub-action.  Therefore, we cal
split it to `GetSelectionRangesExtendedToIncludeAdjuscentWhiteSpaces()` and
`GetSelectionRangesExtendedToHardLineStartAndEnd()`.  Then, we got clearer code
at each caller.

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

--HG--
extra : moz-landing-system : lando
2019-08-23 06:55:34 +00:00
Jonathan Watt
4562fab69f Bug 1559841. Make the 'load' event wait for OOP-iframes to load. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D41953

--HG--
extra : moz-landing-system : lando
2019-08-24 00:03:54 +00:00
mcrawford@mozilla.com
952fb540fc Bug 1574873 - The Mobile Promotion is wrongly displayed on “about:logins” page when you are not signed in to Sync r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D43276

--HG--
extra : moz-landing-system : lando
2019-08-23 23:10:48 +00:00
Coroiu Cristina
8f03284186 Backed out changeset 5a6df778cbae (bug 1575369) becasuse fix already landed 2019-08-24 02:52:42 +03:00
Mike Hommey
9fb1027270 Bug 1576079 - Only build binast when building Spidermonkey standalone. r=nalexander
Bug 1454613 enabled binast (binsource back then) so that automation
would catch trivial build errors. The caveat is that it incurs build
times for everyone, while the tool is not even used during the build:
the result of running it is checked into the tree.

Ideally, it would be built in entirely separate tasks, but the overhead
of setting up a task (checking out the repository, downloading
toolchains, etc.) is actually large enough that it's overkill to build
completely separately.

However, it makes sense to limit to spidermonkey standalone builds.

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

--HG--
extra : moz-landing-system : lando
2019-08-23 23:48:05 +00:00
Mike Hommey
d9320a4077 Bug 1576003 - Update workspace hack to avoid multiple builds of cranelift. r=nalexander
The discrepancy of features used for syn between jsrust and gkrust
triggered syn and its reverse dependencies up to cranelift to be
built once for jsrust and once for gkrust, while they are time consuming
to build.

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

--HG--
extra : moz-landing-system : lando
2019-08-23 17:01:40 +00:00
Mike Hommey
aff45da04a Bug 1576097 - Remove mozbuild.util.encode again. r=nalexander
This time, existing config.status trying to import it will throw an exception
that will trigger a re-configure.

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

--HG--
extra : moz-landing-system : lando
2019-08-23 16:43:58 +00:00
Mike Hommey
9f1da4f63d Bug 1576097 - Deal with config.status breakage more gracefully. r=nalexander
As seen in bug 1575774/1575959, things can go badly when config.status
doesn't match expectations, especially when most mach commands try to
read it, starting with mach clobber, which is supposed to be the one
commant to get away from most problems.

The idea here is to throw a recognizable exception so that callers can
react accordingly. While not obvious from the patch, the result is that
running e.g. mach build with a broken config.status will automatically
run configure (because the relevant caller actually handles the rethrown
exception that way).

There are other calls to from_config_status in the mozbuild reader, but
that can't be reached before MozbuildObject.config_environment.

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

--HG--
extra : moz-landing-system : lando
2019-08-23 22:26:02 +00:00
Noemi Erli
e9426c83aa Backed out changeset ffda592c113d (bug 1573924) for failures in browser_sessionRestore.js 2019-08-24 02:43:14 +03:00
Mats Palmgren
a9c174c337 Bug 1572923 - Add default size for vertical range input ::-moz-range-track pseudo. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D43292

--HG--
extra : moz-landing-system : lando
2019-08-23 21:54:43 +00:00
Stephen Donner
3e05e8ace5 Bug 1554328: Fix minor typos in Raptor's control_server.py r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D43278

--HG--
extra : moz-landing-system : lando
2019-08-23 22:17:12 +00:00
Masayuki Nakano
620c07b2bb Bug 1574852 - part 21: Move HTMLEditRules::PromoteRange() to HTMLEditor r=m_kato
The method name is really unclear what's done.  The method does 3 things.
One is try to select a `<br>` element in empty block if given range is
collapsed in the block.  This is moved as
`HTMLEditor::SelectBRElementIfCollapsedInEmptyBlock()`.  Next, it extends the
given range to include adjuscent whitespaces only when edit sub-action is
inserting or deleting text.  This is moved as
`HTMLEditor::CreateRangeIncludingAdjuscentWhiteSpaces()`.  Finally, when
handling the other edit sub-actions, extends the given range to start/end
of line at both edges.  This is moved as
`HTMLEditor::CreateRangeExtendedToHardLineStartAndEnd()`.

And also this patch makes each caller of `PromoteRange()` to check edit
sub-action by themselves.  Unfortunately, this duplicates same logic to
multiple places, but makes what they do clearer.  I think that the duplication
issue should be fixed later if necessary.  Instead, we should shine the
blackbox of `HTMLEditRules` right now.

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

--HG--
extra : moz-landing-system : lando
2019-08-23 06:32:27 +00:00
Sam Foster
aa002bee0a Bug 1575091 - Update _generatedPasswordsByPrincipalOrigin for auto-saved, generated-password login changes. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D43122

--HG--
extra : moz-landing-system : lando
2019-08-23 22:16:54 +00:00
Kearwood "Kip" Gilbert
291ee2b5f1 Bug 1574682 - Implement VREventObserver::NotifyEnumerationCompleted r=imanol
Differential Revision: https://phabricator.services.mozilla.com/D43202

--HG--
extra : moz-landing-system : lando
2019-08-23 06:30:56 +00:00
Jared Wein
21217d8174 Bug 1573924 - Load logins on domcontentloaded or pageshow, whichever is fired first to handle sessionrestore properly. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D43304

--HG--
extra : moz-landing-system : lando
2019-08-23 22:23:42 +00:00
J.C. Jones
73f0968aaa Bug 1564499 - land NSS NSS_3_46_BETA1 UPGRADE_NSS_RELEASE, r=kjacobs
2019-08-23  Kevin Jacobs  <kjacobs@mozilla.com>

	* tests/common/cleanup.sh:
	Bug 1560593 - Check that BUILD_OPT is defined before testing its
	value. r=jcj

	[44aa330de2aa] [NSS_3_46_BETA1]

	* cmd/strsclnt/strsclnt.c:
	Bug 1575968 - Add strsclnt option to enforce the use of either IPv4
	or IPv6 r=jcj

	[da284d8993ea]

2019-08-23  Marcus Burghardt  <mburghardt@mozilla.com>

	* gtests/softoken_gtest/softoken_gtest.cc:
	Bug 1573942 - Gtest for pkcs11.txt with different breaking line
	formats. r=kjacobs

	[d07a07eb0e40]

2019-08-21  Kevin Jacobs  <kjacobs@mozilla.com>

	* lib/util/utilmod.c:
	Bug 1564284: Added check for CR + LF, r=marcusburghardt,kjacobs

	Looks good and it was already tested locally with this gtest patch:

	[d1d2e1e320cd]

2019-08-22  Martin Thomson  <mt@lowentropy.net>

	* lib/ssl/ssl3con.c:
	Bug 1528666 - Formatting, a=bustage
	[60eeac76c8ec]

2019-08-20  Martin Thomson  <martin.thomson@gmail.com>

	* gtests/ssl_gtest/ssl_0rtt_unittest.cc,
	gtests/ssl_gtest/ssl_resumption_unittest.cc, lib/ssl/ssl3con.c:
	Bug 1528666 - Correct resumption validation checks, r=jcj

	We allowed cross-suite resumption before, but it didn't work. This
	enables that for clients.

	As a secondary minor tweak, clients will no longer validate the
	availability of a cipher suite based on their configured version
	range when attempting resumption. Instead, they will check whether
	the suite works for the version in the session that they are
	attempting to resume. In theory, this doesn't change anything
	because the previous session should not have selected an
	incompatible combination of version and cipher suite, but it's worth
	being extra precise.

	[cab2c8905214]

2019-08-22  Martin Thomson  <mt@lowentropy.net>

	* gtests/ssl_gtest/ssl_auth_unittest.cc,
	gtests/ssl_gtest/ssl_resumption_unittest.cc, lib/ssl/ssl3con.c:
	Bug 1568803 - More tests for client certificate authentication,
	r=kjacobs

	These were previously disabled because of difficulties (at the time)
	in writing these tests for TLS 1.3. The framework, and my
	understanding of it, has since improved, so these tests can be
	restored and expanded. This exposed a minor correctness issue that
	is also corrected.

	[95f97d31c313]

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

--HG--
extra : moz-landing-system : lando
2019-08-23 22:45:47 +00:00
Ehsan Akhgari
ac2216050d Bug 1576038 - Increase the running timeout for browser_blockingCookies.js
Differential Revision: https://phabricator.services.mozilla.com/D43303

--HG--
extra : moz-landing-system : lando
2019-08-23 22:05:51 +00:00
Coroiu Cristina
870afbd95e Bug 1575369 - disabled browser/test-oop-extensions/browser_ext_sidebarAction_incognito.js on mac r=me on a CLOSED TREE
--HG--
extra : rebase_source : 0358a3118afa1cde585cba08df9c9626e088cbdd
2019-08-24 01:10:22 +03:00
Noemi Erli
15323a790b Backed out 3 changesets (bug 1343678) for breaking Android web platform tests CLOSED TREE
Backed out changeset c22a725950f0 (bug 1343678)
Backed out changeset 0bef62794abb (bug 1343678)
Backed out changeset 37c92bba3e1c (bug 1343678)
2019-08-24 01:13:36 +03:00
Matthew Noorenberghe
fd8f8ab235 Bug 1569581 - Add unit tests for isOriginMatching with null/javascript: origins. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D43174

--HG--
extra : moz-landing-system : lando
2019-08-23 21:53:29 +00:00
Matthew Noorenberghe
b98435a39b Bug 1569581 - Show HTTP Auth realm in about:logins and autocomplete. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D43169

--HG--
extra : moz-landing-system : lando
2019-08-23 21:53:17 +00:00