Commit Graph

655544 Commits

Author SHA1 Message Date
Jonathan Watt
640faff91f Bug 1558067. Prevent mozPrintCallback being invoked with the wrong <canvas> element. r=bobowen
Since the Firefox print preview code creates a static clone from the existing
print preview static clone for any print preview settings changes, for enabling
of simplified mode, and for a print from a print preview document,
HTMLCanvasElement::CopyInnerTo may be invoked on an existing static clone.
In that case, the mozPrintCallback's printState.context.canvas would previously
have ended up using the canvas in the previous print preview static clone,
which is wrong, and allow the callback to modify the static clone document.

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

--HG--
extra : rebase_source : ef9b360bac674a22cbc3c505ce30089a9d25bb22
extra : amend_source : f449821674a4b4aa45df924f89eec015cae907a9
2019-05-31 11:01:33 +01:00
Jonathan Watt
79cd40383d Bug 1558057. Remove nsPrintJob::CleanupDocTitleArray. r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D34289

--HG--
extra : rebase_source : 0f65d809f1946fa1f555d24d364d49e294657ffb
extra : amend_source : 08fcb1420e8083573f7d783005eabbb7cc75dfd5
2019-05-30 14:03:36 +01:00
Luca Greco
0da35261b6 Bug 1551490 - Fix browser_reinstall.js with HTML about:addons r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D31496

--HG--
extra : moz-landing-system : lando
2019-06-10 00:03:42 +00:00
Rob Wu
6e4fdcf355 Bug 1551490 - Hide add-on preferences when not allowed in private windows, fix browser_webext_incognito.js r=rpl
Fix browser_webext_incognito.js to work with both XUL and HTML about:addons.

This patch also ensures that (inline) options UI is only shown in HTML
about:addons in private windows if add-ons are allowed access to it.
browser_webext_incognito.js serves as a unit test for this.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 00:03:36 +00:00
Rob Wu
e46b58d180 Bug 1551490 - Fix browser_ext_browserAction_contextMenu.js when HTML about:addons is enabled r=rpl
When HTML `about:addons` is enabled, the "Manage extension" button still
opens the add-on's details page, but without automatically loading the
inline options.

The test assumed that it did and failed. This patch switches to a
different way of detecting that the menu item works as expected.

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

--HG--
extra : moz-landing-system : lando
2019-06-08 12:37:40 +00:00
Rob Wu
17aef30266 Bug 1551490 - Fix browser_webext_icon.js when HTML about:addons is enabled by default r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D34183

--HG--
extra : moz-landing-system : lando
2019-06-07 18:33:52 +00:00
Rob Wu
cda23bce99 Bug 1551490 - Fix tests when abuse reporting is enabled by default r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D34174

--HG--
extra : moz-landing-system : lando
2019-06-09 11:18:56 +00:00
Rob Wu
349969e334 Bug 1551490 - Fix test failures with inline options in HTML about:addons r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D34078

--HG--
extra : moz-landing-system : lando
2019-06-09 11:18:54 +00:00
Luca Greco
f7e77e86fa Bug 1551490 - Disable HTML about:addons on legacy XUL about:addons tests. r=kmag,rpl
Depends on  D31782

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

--HG--
extra : moz-landing-system : lando
2019-06-08 16:03:59 +00:00
Luca Greco
aad3f5c459 Bug 1551490 - Rename browser_bug562797 to browser_history_navigation and run on XUL and HTML about:addons. r=kmag,rpl
Depends on D31780

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

--HG--
rename : toolkit/mozapps/extensions/test/browser/browser_bug562797.js => toolkit/mozapps/extensions/test/browser/browser_history_navigation.js
extra : moz-landing-system : lando
2019-06-09 23:50:18 +00:00
Luca Greco
083817496e Bug 1551490 - Fix browser_dragdrop.js and fold browser_dragdrop_incompat into it. r=kmag
Depends on D31779

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

--HG--
extra : moz-landing-system : lando
2019-05-24 16:07:07 +00:00
Luca Greco
492f0cccbe Bug 1551490 - Fix failures when browser_update_checkForUpdate run with HTML about:addons enabled. r=aswan
Depends on D31778

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

--HG--
extra : moz-landing-system : lando
2019-05-28 22:02:28 +00:00
Luca Greco
e01108444d Bug 1551490 - Fix browser_gmpProvider and run tests on XUL and HTML about:addons. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D31778

--HG--
extra : moz-landing-system : lando
2019-06-08 19:59:55 +00:00
Luca Greco
c93bf0f614 Bug 1551490 - Run browser_CTP_plugins.js on both XUL and HTML about:addons page. r=aswan,rpl
Depends on D31776

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

--HG--
extra : moz-landing-system : lando
2019-06-07 18:40:13 +00:00
Luca Greco
78afc2d288 Bug 1551490 - Fix enterprise policy test failures when HTML about:addons is enabled by default. r=mkaply,rpl
Differential Revision: https://phabricator.services.mozilla.com/D31776

--HG--
extra : moz-landing-system : lando
2019-06-07 15:56:08 +00:00
Emilio Cobos Álvarez
95bca607dd Bug 1487216 - Measure memory usage of RDL. r=mattwoodrow,miko
For now I added everything to the same bucket, but I wrote this so it should be
easy to add more buckets as needed (either to mArenaSizes, or more specific ones
like the style system has). But this is probably enough for now.

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

--HG--
extra : moz-landing-system : lando
2019-06-09 22:58:24 +00:00
Brindusan Cristian
e97b017e63 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-06-10 00:47:15 +03:00
Brindusan Cristian
1d5124f5f9 Merge inbound to mozilla-central. a=merge 2019-06-10 00:43:09 +03:00
Joseph Jalbert
36994eb6d0 Bug 1542351: Allow 'edge' and non-gecko browser specific settings in the extensions schema manifest r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D32819

--HG--
extra : moz-landing-system : lando
2019-06-09 15:38:20 +00:00
Sylvestre Ledru
d6cc5ee003 Bug 1558054 - Fix warning "type qualifiers ignored on cast result type" r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D34286

--HG--
extra : moz-landing-system : lando
2019-06-09 15:34:20 +00:00
Jan Varga
a83ea6ffbc Bug 1557997 - IDB: Add more IsShuttingDown checks to database maintenance; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D34283
2019-06-09 09:20:49 +02:00
Boris Zbarsky
5eb248348f Bug 1557847. Stop using [array] in nsIClipboard. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D34243

--HG--
extra : moz-landing-system : lando
2019-06-09 01:06:39 +00:00
Emilio Cobos Álvarez
351d40e7c3 Bug 1557430 - Add memory reporters for SVG mapped attribute declarations. r=njn,heycam
These are owned by the element and not referenced from the stylesheets.

They're referenced from the rule tree, but the rule nodes don't measure their
style source (since they're non-owning).

So unconditionally reporting them even though it's a refcounted object is ok.

While at it, remove some other fields from the old style system that are no
longer used.

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

--HG--
extra : moz-landing-system : lando
2019-06-08 18:58:57 +00:00
Csoregi Natalia
ee806041c6 Merge inbound to mozilla-central. a=merge 2019-06-09 12:06:26 +03:00
Masatoshi Kimura
d729945e0b Bug 1557930 - Stop using ACString parameters in mozILocaleService and tests. r=zbraniecki
* `negotiateLanguages` should not silently truncate non-Latin1 chars.
* `setCharPref` will silently truncate non-Latin1 chars.
* Fixed JS extra warnings while I am here.

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

--HG--
extra : moz-landing-system : lando
2019-06-08 17:21:58 +00:00
Cosmin Sabou
cca5f7e799 Bug 1557481 - Update metadata because of frequent failures on windows opt. a=test-only
--HG--
extra : rebase_source : 1ee76e00a134d65066d0dfc4d2b886505b4a0817
2019-06-09 01:40:38 +03:00
Matt Woodrow
ff1b844924 Bug 1554832 - Only force a default background color for the cross-process root content document. r=rhunt
Depends on D34099

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

--HG--
extra : moz-landing-system : lando
2019-06-07 15:24:59 +00:00
Matt Woodrow
93d89e035e Bug 1554832 - Check only for in process content documents in AssumeAllFramesVisible. r=tnikkel
Depends on D34098

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

--HG--
extra : moz-landing-system : lando
2019-06-07 06:59:02 +00:00
Matt Woodrow
bf2de70741 Bug 1554832 - Add versions of nsPresContext::IsRootContentDocument to specify whether you want to consider OOP parent documents. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D34098

--HG--
extra : moz-landing-system : lando
2019-06-07 15:24:47 +00:00
Tim Nguyen
158bdfb07c Bug 1558030 - Apply a default background to the searchbar. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D34290

--HG--
extra : moz-landing-system : lando
2019-06-09 19:34:47 +00:00
Philip Chimento
a37c59af38 Bug 1556210 - Don't use TimeDuration in static initializer. r=jonco
On Darwin this would cause a race between two static initializers.

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

--HG--
extra : moz-landing-system : lando
2019-06-03 12:01:29 +00:00
Micah Tigley
246762bd09 Bug 1556533 - Fix RDM simulating orientationchange event when the page is refreshed. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D33734

--HG--
extra : moz-landing-system : lando
2019-06-08 21:35:42 +00:00
Cosmin Sabou
fc860d4bca Bug 1555662 - Follow-up: change 'l10n-registry.js' to 'l10n-registry.manifest'. r=John-Galt,gandalf
--HG--
extra : amend_source : 48cb36ee88ba34cf1ce0d137fe06a31e13035e36
2019-06-09 00:34:53 +03:00
Jonathan Kew
a2f7229746 Bug 1553874 - Add crashtest. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D34246

--HG--
extra : moz-landing-system : lando
2019-06-08 18:42:30 +00:00
Boris Zbarsky
bb35ab7a20 Bug 1557963. Stop using [array] in nsIUpdateService. r=rstrong
Differential Revision: https://phabricator.services.mozilla.com/D34278

--HG--
extra : moz-landing-system : lando
2019-06-08 19:04:47 +00:00
Gijs Kruitbosch
5431ebd7d7 Bug 1550637 - fix tooltip hiding when navigating or switching tabs in e10s, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D34275

--HG--
extra : moz-landing-system : lando
2019-06-08 18:31:36 +00:00
Magnus Melin
e5b2ccb6ee Bug 1557286 - should preventDefault the event after showing an input field contextmenu to avoid other context menus showing. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D33935

--HG--
extra : moz-landing-system : lando
2019-06-08 18:27:02 +00:00
Botond Ballo
1eb526e657 Bug 1553045 - Place the fallback scroll metadata onto the async zoom container layer if there is one. r=kats
This preserves the APZ invariant that if there is an async zoom container,
then the RCD-RSF scroll metadata is on the same layer or descendant layers.

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

--HG--
extra : moz-landing-system : lando
2019-06-08 17:49:38 +00:00
Botond Ballo
ac9bcfca03 Bug 1553045 - Have APZ support the RCD-RSF scroll metadata being on the async zoom container layer. r=kats
This mostly already works, e.g. AsyncCompositionManager will apply both parts
of the transform independently, just a check in APZCTreeManager::
ComputeTransformForNode() needed to be adjusted.

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

--HG--
extra : moz-landing-system : lando
2019-06-08 17:49:30 +00:00
Boris Zbarsky
4fcc4016bd Bug 1557905. Stop using [array] in nsIFontEnumerator. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D34265

--HG--
extra : moz-landing-system : lando
2019-06-08 08:50:47 +00:00
Michael Froman
7209af0ada Bug 1557827 - pass mDiscardPadding from MediaRawData to remote decoder. r=jya
Opus decoding on RDD will fail dom/media/webaudio/test/test_decodeOpusTail.html.

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

--HG--
extra : moz-landing-system : lando
2019-06-08 14:14:53 +00:00
Jan de Mooij
dc18804805 Bug 1556646 part 2 - Rename JS_POSIX_NSPR to JS_WITHOUT_NSPR and remove --enable-posix-nspr-emulation configure flag. r=sfink,glandium
Stand-alone JS builds now default to without-NSPR on all platforms.

Note that the JS shell builds we do in automation pass --enable-nspr-build so they shouldn't be affected by
the JS shell changes.

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

--HG--
extra : moz-landing-system : lando
2019-06-08 09:10:59 +00:00
Jan de Mooij
a64075b5ab Bug 1556646 part 1 - Remove PosixNSPR remnants. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D33932

--HG--
extra : moz-landing-system : lando
2019-06-07 15:47:00 +00:00
Gerald Squelart
2d395c494d Bug 1557841 - Using renamed GetDebugPath in EHABIStackWalk.cpp - r=njn
Differential Revision: https://phabricator.services.mozilla.com/D34252

--HG--
extra : moz-landing-system : lando
2019-06-08 04:06:21 +00:00
Nicklas Boman
f293246462 Bug 1519365 - Update object property names that get passed to loadURIOptions to match the names in loadURIOptions r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D31729

--HG--
extra : moz-landing-system : lando
2019-06-08 11:04:27 +00:00
Narcis Beleuzu
bba1aa3876 Merge mozilla-central to autoland. CLOSED TREE 2019-06-08 12:47:41 +03:00
Narcis Beleuzu
e360889d62 Merge inbound to mozilla-central. a=merge 2019-06-08 12:41:03 +03:00
Andreea Pavel
730f3f1efa Backed out 2 changesets (bug 1555662) multiple bc failures e.g. browser_panelUINotifications_multiWindow.js on a CLOSED TREE
Backed out changeset ae0882a6f64a (bug 1555662)
Backed out changeset 9b1b87784a6f (bug 1555662)
2019-06-08 03:31:17 +03:00
Andreea Pavel
be8859648b Bug 1555662 - follow-up linting fix 2019-06-08 02:59:40 +03:00
Andreea Pavel
01ee805788 Backed out changeset ef74cdc4c8a4 (bug 1557193) for SM CompressSourceSync crashes on a CLOSED TREE 2019-06-08 02:55:54 +03:00