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

682583 Коммитов

Автор SHA1 Сообщение Дата
Mihai Alexandru Michis 51b2b2c577 Backed out 2 changesets (bug 1593964) for causing failures in browser_retainedResultsOnFocus.js CLOSED TREE
Backed out changeset 7f2fe5517b7e (bug 1593964)
Backed out changeset 0b744d1bf8e7 (bug 1593964)
2019-12-03 13:56:10 +02:00
Mihai Alexandru Michis 46bdb510e4 Backed out changeset e38ba0703f0f (bug 1595989) for causing a11y failures in autocomplete-input.js CLOSED TREE 2019-12-03 13:49:11 +02:00
David Burns 64fb02c1d2 Bug 1600800: Force device pixels to be 1.0 for wpt reftests r=jgraham
Bug 1600800: Update window height to 1000 for wpt reftests

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

--HG--
extra : moz-landing-system : lando
2019-12-03 11:20:24 +00:00
Michael Ratcliffe 3df43733ed Bug 1599407 - Fix scrolling at narrow widths in the Computed View r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D54753

--HG--
extra : moz-landing-system : lando
2019-11-27 08:41:57 +00:00
shindli 39a2d2b031 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-12-03 13:25:11 +02:00
shindli 4562fd4c3b Backed out 3 changesets (bug 1595218) for causing wrench bustages on central CLOSED TREE a=backout
Backed out changeset 1808b1722f64 (bug 1595218)
Backed out changeset 46fe2af291cf (bug 1595218)
Backed out changeset 11c0576cf3d5 (bug 1595218)
2019-12-03 13:17:59 +02:00
Simon Giesecke 7cee812af2 Bug 1600885 - Remove redundant formatting instructions from C++ coding style. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D55619

--HG--
extra : moz-landing-system : lando
2019-12-03 10:39:45 +00:00
Mark Banner 7e3c42dc55 Bug 1595989 - Make autocomplete widgets respect devtools's 'disable popup auto-hide'. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D54466

--HG--
extra : moz-landing-system : lando
2019-12-03 11:07:51 +00:00
Glenn Watson d4cbe654cd Bug 1599965 - Improve how dirty image detection works in webrender. r=nical
* The existing code to detect if an image is dirty fails in some
   cases. For external images, they were not being added to the
   list of dirty images when update was called. Further, since
   the dirty image keys hash set was cleared each frame, it was
   possible for an image to become dirty, but this detection to be
   missed if it is not queried until a subsequent frame (due to
   it being off-screen.

   Instead, each image template has a generation identifier that
   is incremented whenever an image template is updated. The picture
   caching code stores the generation of the image key when it was
   rasterized, and compares that to the current image key generation
   when comparing dependencies. This fixes both cases above.

 * Remove the is_cacheable logic that was previously used to
   invalidate picture cache tiles for external images. This would
   result in picture cache images that intersect with videos being
   invalidated every frame unconditionally. However, this code path
   is no longer required, due to the change above. By relying on
   the true image dirty check, we can skip invalidating tiles
   affected by video if the video frame has not advanced (e.g. it
   is paused, or advancing at a lower frame rate than we are
   currently compositing at).

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

--HG--
extra : source : 93ccc760c4dd69f63d6ac171ace357b0dd31412a
2019-12-02 18:59:07 +00:00
Glenn Watson 9f1e486cd1 Bug 1599656 - Part 2 - Remove active image key code. r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D54865

--HG--
extra : source : 4351a57052fa1b7bdbd6a8899dd900bb3325a07d
2019-12-02 18:59:05 +00:00
Glenn Watson 34abe00eb2 Bug 1599656 - Part 1 - Skip composites where possible, if frame is a no-op. r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D54864

--HG--
extra : source : 86427d3d06009b523b5e34c5994e468571a41fcc
2019-12-02 18:58:57 +00:00
shindli ebe11416a7 Backed out 2 changesets (bug 1599656) for causing wrench bustage on central CLOSED TREE a=backout
Backed out changeset 4351a57052fa (bug 1599656)
Backed out changeset 86427d3d0600 (bug 1599656)
2019-12-03 12:59:47 +02:00
shindli 22b8a7ee64 Backed out changeset 93ccc760c4dd (bug 1599965) for causing wrench bustage on central CLOSED TREE a=backout 2019-12-03 12:33:49 +02:00
shindli 8bc2475224 Merge autoland to mozilla-central. a=merge 2019-12-03 11:47:34 +02:00
Razvan Caliman ebcd20cc7b Bug 1598317 - Add tests for Changes panel export options. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D55072

--HG--
extra : moz-landing-system : lando
2019-12-02 16:30:00 +00:00
Henri Sivonen 8f73b57bca Bug 1600561 - Handle eCompositionCommitAsIs in ContentCacheInParent::OnCompositionEvent. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D55417

--HG--
extra : moz-landing-system : lando
2019-12-02 15:27:29 +00:00
Thomas Nguyen e93180d18b Bug 1598470 - Reduce number of supported features in Feature Policy r=baku
Differential Revision: https://phabricator.services.mozilla.com/D54200

--HG--
extra : moz-landing-system : lando
2019-12-02 16:31:09 +00:00
Thomas Nguyen 18482671c9 Bug 1595720 - Disable fullscreen in third party by default r=baku
Differential Revision: https://phabricator.services.mozilla.com/D54194

--HG--
extra : moz-landing-system : lando
2019-12-02 16:01:09 +00:00
Edgar Chen fa196a13e6 Bug 1600608 - Remove duplicated declaration of JS_IsArrayBufferViewObject; r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D55447

--HG--
extra : moz-landing-system : lando
2019-12-02 22:34:46 +00:00
Drew Willcoxon 70d3caf1ee Bug 1599360 - Use AppUpdater.jsm in aboutDialog-appUpdater.js when preffed on, and use the current implementation when preffed off r=rstrong
Summary of changes:

* Copy aboutDialog-appUpdater.js to a new aboutDialog-appUpdater-legacy.js file
* Update aboutDialog-appUpdater.js: Rewrite it to use the new AppUpdater.jsm when the `browser.aboutDialogNewAppUpdater` pref is true, and load aboutDialog-appUpdater-legacy.js otherwise
* In toolkit/mozapps/update/tests/browser, add new browser.legacy.ini and browser.legacy.bits.ini files that do not set `browser.aboutDialogNewAppUpdater` to true, so that the old implementation is still tested
* Update browser.ini and browser.bits.ini files to set `browser.aboutDialogNewAppUpdater` to true so that the new implementation is tested

If all this is OK, I'll file another bug for removing the legacy stuff once we merge.

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

--HG--
rename : browser/base/content/aboutDialog-appUpdater.js => browser/base/content/aboutDialog-appUpdater-legacy.js
rename : toolkit/mozapps/update/tests/browser/browser.bits.ini => toolkit/mozapps/update/tests/browser/browser.legacy.bits.ini
rename : toolkit/mozapps/update/tests/browser/browser.ini => toolkit/mozapps/update/tests/browser/browser.legacy.ini
extra : moz-landing-system : lando
2019-12-03 06:01:32 +00:00
Drew Willcoxon b0910d87b8 Bug 1599360 - Factor out appUpdater from aboutDialog-appUpdater.js into a jsm module r=rstrong
Differential Revision: https://phabricator.services.mozilla.com/D54677

--HG--
rename : browser/base/content/aboutDialog-appUpdater.js => browser/modules/AppUpdater.jsm
extra : moz-landing-system : lando
2019-12-03 06:01:32 +00:00
Razvan Caliman e6420217d8 Bug 1598317 - Refactor Changes panel context menu. r=pbro
Make `ChangesContextMenu` directly extend `Menu` instead of wrapping it so external objects and tests can listen to its events.

Reduce `ChangesContextMenu`'s knowledge about the outside world (like `ChangesView`) by providing it in the constructor with the callbacks necessary for each context menu item.

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

--HG--
extra : moz-landing-system : lando
2019-12-02 14:41:26 +00:00
Emilio Cobos Álvarez 3b3de3f3e7 Bug 1590280 - Allow to use the sheet cache to avoid parsing as long as CSSOM hasn't mutated the stylesheet. r=heycam
We need to ensure we have a unique inner so that ruleLists and such have the
right pointer identity (we could do better, really, but it's harder).

But as long as the CSSOM hasn't modified them there should be no reason not to
use the cache. We can do a deep clone synchronously instead of refetching /
reparsing.

This is important because, as of right now, just using the inspector makes the
stylesheets unique, which is unfortunate.

We'll still have the modified rule bit for sheets with @import, because our
notification system for @import is silly, and on parents of imported sheets.

Fixing those are future improvements, but I see no reason not to land this.

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

--HG--
extra : moz-landing-system : lando
2019-12-03 11:04:03 +00:00
shindli 09a0733c5b Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-12-03 13:04:20 +02:00
Emilio Cobos Álvarez 7683b3d41e Bug 1600624 - Make the StyleSheet children setup simpler. r=heycam
Using an array is much better to reason about than a manually linked list, and
allows us to preserve @import order.

Added a test for a bug that we happened not to have, but that it's not covered
by existing WPT tests.

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

--HG--
extra : moz-landing-system : lando
2019-12-03 10:49:23 +00:00
Emilio Cobos Álvarez 912559b8d2 Bug 1600624 - Fix import rules to properly unlink their stylesheet from its parent. r=heycam
Test is hopefully self-explanatory. The children setup here is a bit bogus as
noted here and other comments, will file a followup to clean it up.

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

--HG--
extra : moz-landing-system : lando
2019-12-03 10:43:57 +00:00
Mike de Boer 5ccf884103 Bug 1461242 - Adding a TabState flush would be cheating, so add a wait to allow some time for the cache to be populated. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D46290

--HG--
extra : moz-landing-system : lando
2019-12-03 10:46:01 +00:00
Marco Bonardo fa450bc146 Bug 1593964 - part 2 - Retain results on tab switch/deactivate, requery on reopen. r=dao
Rather than clearing results on tab switch or deactivate, let's keep them, and
clean them on input change. On reopening the view run the query again, so results
are up to date and autofill works, but flickering is reduced.

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

--HG--
extra : moz-landing-system : lando
2019-12-03 10:40:09 +00:00
Ted Campbell fe7d53a432 Bug 1566466 - Clean up relazification conditions. r=jandem a=backout-reversal DONTBUILD
Move the relazification decisions to JSScript since the check is made after
delazification happens. The JSScript::isRelazifiable check inspects
characteristics of the script itself, while JSScript::canRelazify includes
additional checks for runtime conditions outside the script.

Depends on D55362

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

--HG--
extra : source : 14f33b78f0eb5e32fd3e9c116f21a23ab7221f26
extra : amend_source : b589a2468c961591d1ada333857118e9e3a26e64
2019-12-02 14:32:16 +00:00
Ted Campbell fdccc607b8 Bug 1600439 - Move the PrivateScriptData pointer to js::BaseScript. r=jandem
Now that both LazyScript and JSScript have the same pointer field, we can
move to the BaseScript class. The inner-function pointers in the gcthings
array will have the same meaning for both LazyScript and JSScript, but the
other members of gcthings may have different interpretations.

This adds poisoning of the PrivateScriptData in the LazyScript case for
consistency.

Depends on D55361

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

--HG--
extra : source : 617ce539db705444da7589ecba02e4060d825a2e
2019-12-02 14:32:00 +00:00
Ted Campbell c908220bd0 Bug 1600439 - Move js::PrivateScriptData before js::BaseScript. r=jandem
Reorder the classes in JSScript.h so that we can use PrivateScriptData from
within BaseScript.

Depends on D55360

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

--HG--
extra : source : 47f84263339e71dcca4b8cf03179f5722b7503fd
2019-12-02 14:30:04 +00:00
Ted Campbell a907068223 Bug 1600439 - Replace LazyScriptData with PrivateScriptData. r=jandem
It it straight-foward for users of LazyScriptData to support a single array
for closedOverBindings and innerFunctions. As a result, we can use
PrivateScriptData as the implementation and eliminate the LazyScriptData type
altogether.

Depends on D55035

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

--HG--
extra : source : 07471e96b2d8fdec534ee3c03432d1fe21095599
2019-12-02 14:31:42 +00:00
Ted Campbell 7d45fc3815 Bug 1591598 - Move 'warmUpData_' field to js::BaseScript. r=jandem
Unify the JSScript::warmUpData_ and LazyScript::enclosingLazyScriptOrScope_
fields into BaseScript. As a script progresses from lazy up to being JIT-ed
it the type stored in this field will change. If a script is in a compiled
state, the enclosingLazyScriptOrScope_ value can always be reconstructed
during relazification.

Depends on D55034

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

--HG--
extra : source : 5163670bfede45831e1d2eb246eceeaa774d2631
2019-12-02 14:29:48 +00:00
Ted Campbell 1c030470f8 Bug 1591598 - Support storing LazyScript/Scope in ScriptWarmUpData. r=jandem,jonco
Allow storing manually-barriered GC pointers in ScriptWarmUpData. This
updates the 'trace' method as needed. When switching types, the user must
first 'clear' the old type and then 'init' the new type. We continue to use
WarmUpCount(0) as the default safe state.

Depends on D55033

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

--HG--
extra : source : 5ea098cc9ef02f4391d2ed8c8f0a64625a9042fa
2019-12-02 14:31:04 +00:00
Ted Campbell 3d88259ec4 Bug 1591598 - Move js::ScriptWarmUpData before js::BaseScript. r=jandem
Prepare to move the warmUpData field to BaseScript by first moving the type
definition earlier in the file.

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

--HG--
extra : source : 42ca239ee6a65d3f28f1990da62db7efe2c19bd8
2019-12-02 14:29:36 +00:00
Coroiu Cristina e0ae4125a2 Backed out 7 changesets (bug 1600439, bug 1566466, bug 1591598) for raptor crashes on a CLOSED TREE
Backed out changeset 14f33b78f0eb (bug 1566466)
Backed out changeset 617ce539db70 (bug 1600439)
Backed out changeset 47f84263339e (bug 1600439)
Backed out changeset 07471e96b2d8 (bug 1600439)
Backed out changeset 5163670bfede (bug 1591598)
Backed out changeset 5ea098cc9ef0 (bug 1591598)
Backed out changeset 42ca239ee6a6 (bug 1591598)

--HG--
extra : source : 4cb3934b76b14f04d8f8cd781f14a56693312f40
2019-12-02 21:27:55 +02:00
Noemi Erli 79b3b21bb6 Merge autoland to mozilla-central. a=merge 2019-12-02 20:41:12 +02:00
Mihai Alexandru Michis d12cf9f2ad Backed out changeset 9dea219937cd (bug 1560664) for causing valgrid bustages. CLOSED TREE
--HG--
extra : rebase_source : 60fba62a9241bec3aadc84260c2b9dacb89cf1ff
2019-12-02 16:59:55 +02:00
Jon Coppeard ad4b558a2e Bug 1600070 - Update test262 tests r=jandem
The result of running test262-update.py.

Depends on D55121

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

--HG--
extra : moz-landing-system : lando
2019-12-02 12:36:13 +00:00
Jon Coppeard a32d49f115 Bug 1600070 - Enable test262 FinalizationGroup tests on infra r=jandem
This adds the shell option for all the FinalizationGroup tests and updates the test262 update script. We still need to run the update script so that the tests do feature detection.

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

--HG--
extra : moz-landing-system : lando
2019-12-02 12:36:13 +00:00
ffxbld 2eb3b6566d Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2019-12-02 11:59:11 +00:00
ffxbld 548007e681 No bug - Tagging mozilla-central 6d3a96d7f2f44e941ef6b61bfa10eed0389b142f with FIREFOX_NIGHTLY_72_END a=release DONTBUILD CLOSED TREE 2019-12-02 11:57:37 +00:00
Jon Coppeard 5718264798 Bug 1598683 - Add a way to enable conditional features in test262 shell tests r=jandem
The patch adds a new option that can be used from jstests.list to pass additional shell command line options. With feature detection (skip-if) this allows us to have tests running on infra for experimental features that are not yet supported in the browser.

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

--HG--
extra : moz-landing-system : lando
2019-12-02 11:24:35 +00:00
Mihai Alexandru Michis 3f8e4cc2e1 Backed out 3 changesets (bug 1600314) for causing bc and dt failures regarding manifest filters. CLOSED TREE
Backed out changeset 4c4e74df38bd (bug 1600314)
Backed out changeset 3c4063b93ce7 (bug 1600314)
Backed out changeset d28d71c964c7 (bug 1600314)
2019-12-02 16:44:35 +02:00
Jonathan Watt ce8382d606 Bug 1594391. Move PrintingChild.jsm print telemetry logging to the parent process. r=Gijs,chutten
Differential Revision: https://phabricator.services.mozilla.com/D51992

--HG--
extra : moz-landing-system : lando
2019-12-02 14:35:36 +00:00
Dimi Lee 97ee7956bf Bug 1599379 - Create a DBService instance in GetWorker API when it doesn't exist. r=baku
There are two places using DBService during a page load at startup:
1. nsChannelClassifier::Start, used by Phishing Protection
2. AsyncChannelClassifier::CheckChannel, used by Tracking Protection

Tracking protection checks happen before establishing a network connection, so it happens
prior to phishing protection checkes. When we load a page at
startup, ::CheckChannel API is called, but DBService is not yet created.

This patch fixes this issue by creating a DBService instance when
::GetWorker API is called without a DBService instance.

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

--HG--
extra : moz-landing-system : lando
2019-12-02 14:37:25 +00:00
André Bargull b0a4cb0d30 Bug 1474914: Skip elementsRangeWriteBarrierPost for nursery objects. r=jonco
`StoreBuffer::putSlot` when called with a nursery object as its `obj` parameter
is a no-op, because `StoreBuffer::put` is a no-op when `Edge::maybeInRememberedSet`
return false, which, in the case of `SlotsEdge`, happens when `SlotsEdge::object()`
is in the nursery. This enables us to skip the linear traversal of the elements
array in `elementsRangeWriteBarrierPost` when the current object is in the nursery.

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

--HG--
extra : moz-landing-system : lando
2019-12-02 12:50:30 +00:00
Ted Campbell dd2de5a33d Bug 1566466 - Clean up relazification conditions. r=jandem
Move the relazification decisions to JSScript since the check is made after
delazification happens. The JSScript::isRelazifiable check inspects
characteristics of the script itself, while JSScript::canRelazify includes
additional checks for runtime conditions outside the script.

Depends on D55362

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

--HG--
extra : moz-landing-system : lando
2019-12-02 14:32:16 +00:00
Ted Campbell 932d0d59fe Bug 1600439 - Move the PrivateScriptData pointer to js::BaseScript. r=jandem
Now that both LazyScript and JSScript have the same pointer field, we can
move to the BaseScript class. The inner-function pointers in the gcthings
array will have the same meaning for both LazyScript and JSScript, but the
other members of gcthings may have different interpretations.

This adds poisoning of the PrivateScriptData in the LazyScript case for
consistency.

Depends on D55361

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

--HG--
extra : moz-landing-system : lando
2019-12-02 14:32:00 +00:00
Ted Campbell 05dd0bca38 Bug 1600439 - Move js::PrivateScriptData before js::BaseScript. r=jandem
Reorder the classes in JSScript.h so that we can use PrivateScriptData from
within BaseScript.

Depends on D55360

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

--HG--
extra : moz-landing-system : lando
2019-12-02 14:30:04 +00:00