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

666350 Коммитов

Автор SHA1 Сообщение Дата
Markus Stange a829cf1409 Bug 1573343 - Apply the translation in CreateRenderTargetForWindow instead of in BeginFrame. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D41674

--HG--
extra : moz-landing-system : lando
2019-08-19 22:39:12 +00:00
Markus Stange 19c25b1d89 Bug 1573343 - Move draw target clearing out of GetBackBufferDrawTarget. r=mattwoodrow
On Windows, where the DrawTarget is rewrapped in a Cairo/pixman DrawTarget,
this will now cause Cairo/pixman to be used for the clear.

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

--HG--
extra : moz-landing-system : lando
2019-08-19 22:39:00 +00:00
Markus Stange 2dbe70d234 Bug 1573343 - Reset the transform in a better place. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D41672

--HG--
extra : moz-landing-system : lando
2019-08-19 22:38:35 +00:00
Markus Stange f182a073c1 Bug 1573343 - Always create the back buffer sized to the widget's client size. r=mattwoodrow
This should be equivalent to what we had before but clearer.
Before this patch, we would reallocate the back buffer if
 - the back buffer was larger than the client size (meaning the window had shrunk) or
 - the invalid region didn't fit in the back buffer.
Whenever the window is resized, we have a frame where the invalid region covers
the entire window, and thus size would be equal clientSize in that frame.
So effectively, the back buffer size was always kept in sync with the client size.

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

--HG--
extra : moz-landing-system : lando
2019-08-19 22:38:28 +00:00
Ehsan Akhgari c771ae8334 Bug 1572240 - Part 6: Remove nsIPermissionManager.testPermissionOriginNoSuffix; r=baku
This is now dead code which will be kept alive by the vtable,
and introduces needless overhead inside the permission manager.

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

--HG--
extra : moz-landing-system : lando
2019-08-19 14:38:47 +00:00
Ehsan Akhgari 05feeeb79b Bug 1572240 - Part 5: Use the principal-based version of the permission manager APIs in Gecko when checking the content blocking allow list; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D42206

--HG--
extra : moz-landing-system : lando
2019-08-19 14:38:45 +00:00
Ehsan Akhgari 68aa0ff3f4 Bug 1572240 - Part 4: Stop minting new URIs and principals in ContentBlockingAllowList._basePrincipalForAntiTrackingCommon; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D42205

--HG--
extra : moz-landing-system : lando
2019-08-19 14:38:38 +00:00
Ehsan Akhgari 575c480fc5 Bug 1572240 - Part 3: Introduce nsIHttpChannelInternal.contentBlockingAllowListPrincipal; r=michal
Differential Revision: https://phabricator.services.mozilla.com/D42204

--HG--
extra : moz-landing-system : lando
2019-08-19 19:38:50 +00:00
Ehsan Akhgari e06a6e7ca6 Bug 1572240 - Part 2: Introduce nsIBrowser.contentBlockingAllowListPrincipal; r=baku
This patch also includes some spot fixes for the storage principal
support on the XUL browser element.

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

--HG--
extra : moz-landing-system : lando
2019-08-19 14:38:34 +00:00
Ehsan Akhgari 7b2ff7275b Bug 1572240 - Part 1: Introduce Document.contentBlockingAllowListPrincipal; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D42202

--HG--
extra : moz-landing-system : lando
2019-08-19 14:38:32 +00:00
Geoff Lankow b1ff557a85 Bug 1572819 - Enable toolkit/mozapps/extensions/test/xpcshell/test_system_update_enterprisepolicy.js for Thunderbird; r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D42083

--HG--
extra : moz-landing-system : lando
2019-08-19 16:44:10 +00:00
Toshihito Kikuchi d5a7d77f4f Bug 1573051 - Use both SHParseDisplayName and CreateUri to validate a uri. r=aklotz
For launching with an external protocol handler on Windows, we validate a uri
before sending it to `ShellExecute`, by converting a string into `PIDL` using
`SHParseDisplayName` and extract a string back from PIDL using
`IShellFolder::GetDisplayNameOf`.  The problem was that if a fragment, a
string following a hash mark (#), is always dropped after this validation.
This is caused by the intended design of Windows.

A proposed fix is to use `CreateUri` for validation, which is used behind
`IShellFolder::GetDisplayNameOf`.  However, we also keep `SHParseDisplayName`
because there are cases where `CreateUri` succeeds while `SHParseDisplayName`
fails such as a non-existent `file:` uri and we want to keep the same
validation result for those cases.

Adding `CreateUri` broke MinGW build because of our toolkit issue.  We use
dynamic linking for MinGW build in the meantime.

This patch adds a new unittest to make sure the new validation logic
behaves the same as the old one except the fragment issue.

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

--HG--
extra : moz-landing-system : lando
2019-08-19 22:10:32 +00:00
Rob Wood f0e1ae6b1f Bug 1574943 - Temporarily move geckoview cold page-load tests to tier2 and run on central/try only r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D42524

--HG--
extra : moz-landing-system : lando
2019-08-19 16:01:33 +00:00
Oana Pop Rus a69647eae6 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-08-20 01:12:17 +03:00
mcrawford@mozilla.com dc79ef2f04 Bug 1574876 - The "Lockwise" favicon is no longer displayed on the "Logins & Passwords" tab r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D42568

--HG--
extra : moz-landing-system : lando
2019-08-19 21:59:31 +00:00
Oana Pop Rus be1b48a1bc Merge inbound to mozilla-central. a=merge 2019-08-20 00:56:07 +03:00
Abdoulaye O. Ly 55e51c578b Bug 1562990 - Remove 'audioMuted' and 'audioVolume' properties from nsIDOMWindowUtils. r=NeilDeakin,alwu,farre
While working on porting the (audio-playback indicators) bug 1562990 to fission, we saw the potential to delete some methods in nsIDOMWindowUtils because they were not used anymore in our codebase except in a couple of tests files. So now, we should only mute/unmute or change the volume in the parent process. As such, interfaces are added in SpecialPowers to change media muted or volume state from content processes.

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

--HG--
extra : moz-landing-system : lando
2019-08-19 21:17:21 +00:00
Abdoulaye O. Ly 5ce82c5c12 Bug 1562990 - [Fission] Make AudioPlayback work with JSWindowActor. r=NeilDeakin,farre
Differential Revision: https://phabricator.services.mozilla.com/D36648

--HG--
extra : moz-landing-system : lando
2019-08-19 21:17:21 +00:00
Cosmin Sabou f6584dfc70 Backed out changeset 2bd128c84b4e (bug 1574567) for causing assertion failures on ServiceWorkerManagerService.cpp. 2019-08-19 22:00:28 +03:00
Ciure Andrei ef0a5be862 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-08-19 19:14:34 +03:00
Ciure Andrei a3f5e3f5fd Merge autoland to mozilla-central. a=merge 2019-08-19 19:08:52 +03:00
Andreas Tolfsen 49c3240976 bug 1574893: geckodriver: fix broken link in docs; r=me a=doc
MANUAL PUSH: doc change
DONTBUILD
2019-08-19 16:07:46 +01:00
Andreas Tolfsen 6a975b377b bug 1574945: geckodriver: correct binary capability docs for macOS; r=me a=doc
MANUAL PUSH: doc change
DONTBUILD
2019-08-19 16:05:07 +01:00
Razvan Maries 3be1d4cc62 Backed out changeset 2b1ffc8004d5 (bug 1035892) for causing bug 1574515. a=backout 2019-08-19 18:04:05 +03:00
Emilio Cobos Álvarez bfcf9b881b Bug 1574544 - Remove now-unnecessary condition that makes the frame constructor get confused with editor anonymous nodes. r=mats
This condition was needed when FindInsertionPrevSibling and co didn't understand
display: contents.

Editor is pretty broken (and calls into PresShell::ContentRemoved directly, and
incorrectly, using anonymous nodes).

In this case we were taking the XBL path because of display: contents, which
means that we tried to seek to the editor anonymous node, and crash (since it's
not an explicit kid).

Editor needs to get fixed, but this is technically more correct and fixes the
crash, so we may as well take it in the interim.

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

--HG--
extra : moz-landing-system : lando
2019-08-19 12:16:28 +00:00
Mihai Alexandru Michis 428cf94f4d Merge inbound to mozilla-central. a=merge 2019-08-19 12:52:31 +03:00
monikamaheshwari 4be649015b Bug 1553458 remove in-content-text-color r=remote-debugging-reviewers,daisuke
Differential Revision: https://phabricator.services.mozilla.com/D40591

--HG--
extra : moz-landing-system : lando
2019-08-19 06:10:53 +00:00
James Teh bda9b87fdb Bug 1574428: IAccessible2_2::relationTargetsOfType: Support 0 for all targets and fix off-by-one error. r=MarcoZ
1. As per the spec, if maxTargets is 0, return all targets.
2. Where maxTargets > 0, fix the loop condition so it doesn't incorrectly fetch one more target than requested.

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

--HG--
extra : moz-landing-system : lando
2019-08-19 05:58:49 +00:00
Noemi Erli 6de5c10021 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-08-19 00:54:45 +03:00
Jeff Muizelaar 0815909698 Bug 1571969. Stop running all the QR tests as virtual-with-gpu. r=jmaher
This uses the layers.d3d11.enable-blacklist pref to allow running WebRender on WARP.

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

--HG--
extra : moz-landing-system : lando
2019-08-18 12:59:49 +00:00
Daniel Varga 3dc6372b53 Merge mozilla-central to mozilla-inbound. a=merge 2019-08-18 12:55:28 +03:00
Narcis Beleuzu 1ef71e5fc2 Merge mozilla-central to inbound 2019-08-18 00:53:23 +03:00
Emilio Cobos Álvarez 0062466104 Bug 1562425 - Ensure to bind ShadowRoot before explicit kids, so that slot directionality is up-to-date. r=smaug
When we're slotted, we inherit our directionality from the slot element. But
when binding an ltr subtree into an rtl subtree, we used to bind the explicit
kids first, then the shadow root kids (which includes the slots to which
explicit kids may have been assigned).

So the explicit kids looked at the slot directionality before it was recomputed,
and thus ended up with ltr rather than rtl directionality.

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

--HG--
extra : moz-landing-system : lando
2019-08-17 20:26:56 +00:00
Simon Sapin ba9227ad31 Bug 1568540 - ./mach vendor rust r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D42365

--HG--
rename : third_party/rust/input_buffer/LICENSE-APACHE => third_party/rust/percent-encoding/LICENSE-APACHE
extra : moz-landing-system : lando
2019-08-17 16:29:07 +00:00
Simon Sapin c65755ac41 Bug 1568540 - Update the url crate to 2.0 r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D42364

--HG--
extra : moz-landing-system : lando
2019-08-17 16:26:27 +00:00
Simon Sapin c9af673766 Bug 1568540 - Upgrade to ws 0.9 in WebRender r=emilio
[import_pr] From https://github.com/servo/webrender/pull/3720

MozReview-Commit-ID: AsI4hT0cFGJ

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

--HG--
extra : moz-landing-system : lando
2019-08-17 16:26:25 +00:00
Noemi Erli 359e69d95a Backed out changeset 65b1715d878b (bug 1573695) for causing failures in browser_parsable_css.js CLOSED TREE 2019-08-17 09:27:31 +03:00
Ciure Andrei 7a76528da4 Backed out 2 changesets (bug 1533569) for causing Android and Win AArch raptors to perma fail and automation.py tier 2 perma fails CLOSED TREE
Backed out changeset 9c5be5540874 (bug 1533569)
Backed out changeset 06da212d37f5 (bug 1533569)
2019-08-17 07:40:54 +03:00
Mike Hommey 14434b6fd9 Bug 1573722 - Remove browser/config/mozconfigs/linux64/hazards. r=sfink
The mozconfig in the task definition is overriden in hazard-browser.sh,
so it has effectively no effect, and hazard-browser.sh has been using
js/src/devtools/rootAnalysis/mozconfig.haz since bug 1321014.

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

--HG--
extra : moz-landing-system : lando
2019-08-17 00:47:24 +00:00
Mike Hommey 0058f2a284 Bug 1531309 - Don't use __PRETTY_FUNCTION__ or __FUNCTION__ as format strings. r=sylvestre
__PRETTY_FUNCTION__ and __FUNCTION__ are not guaranteed to be a string
literal, and only string literals should be used as format strings. GCC
9 complains about this with -Werror=format-security.

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

--HG--
extra : moz-landing-system : lando
2019-08-19 07:49:00 +00:00
Mike Hommey 2bf1cc53d8 Bug 1555894 - Only enable cranelift on JS standalone builds. r=lth,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D42261

--HG--
extra : moz-landing-system : lando
2019-08-19 13:12:25 +00:00
Boris Chiou 062562c122 Bug 1574921 - Enable the pref for compositing animation in css/css-transforms. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D42553

--HG--
extra : moz-landing-system : lando
2019-08-19 20:53:27 +00:00
Cosmin Sabou ebc3621600 Backed out changeset 39212af55f82 (bug 1573473) for causing several browser chrome failures.
--HG--
extra : histedit_source : 7673911b1bfa661a37ac4721d577d9d373934824
2019-08-20 00:23:11 +03:00
Cosmin Sabou 2e5b997146 Backed out 9 changesets (bug 1564221) for devtools failures on browser_net_security-redirect.js.
Backed out changeset bcae1e55fc27 (bug 1564221)
Backed out changeset 0efeb9b1f5fa (bug 1564221)
Backed out changeset aaa8ffb687f2 (bug 1564221)
Backed out changeset a1947eef7d86 (bug 1564221)
Backed out changeset 6cd17e69d1c7 (bug 1564221)
Backed out changeset ede7219b9a9e (bug 1564221)
Backed out changeset 63d578684d29 (bug 1564221)
Backed out changeset e804c46a9541 (bug 1564221)
Backed out changeset 4cd81a6d3b25 (bug 1564221)

--HG--
extra : histedit_source : 3b34632390a828e53929751dd79fe800b08a0ecb
2019-08-19 23:59:28 +03:00
Mark Banner f1269916c2 Bug 1574915 - Fix useless try-catch issues in toolkit/. r=mossop
Depends on D42509

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

--HG--
extra : moz-landing-system : lando
2019-08-19 16:11:26 +00:00
Mark Banner c1ab51f11c Bug 1574915 - Fix useless try-catch issues in dom/. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D42509

--HG--
extra : moz-landing-system : lando
2019-08-19 17:02:54 +00:00
Mark Banner ca74b508b7 Bug 1574915 - Fix some instances of using async functions as promise executors. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D42508

--HG--
extra : moz-landing-system : lando
2019-08-19 16:26:31 +00:00
Robert Strong 8be2059dbd Bug 1486637 - Backout bug 1486637 and related patches. r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D42143

--HG--
extra : moz-landing-system : lando
2019-08-19 19:43:17 +00:00
Frédéric Wang 675225dd5a Bug 1574749 - Remove support for nonzero unitless lengths. r=emilio
See https://github.com/mathml-refresh/mathml/issues/24
and https://groups.google.com/forum/#!topic/mozilla.dev.platform/-yV6wb3klSA

This commit introduces a new preference option
mathml.nonzero_unitless_lengths.disabled to disable MathML nonzero unitless
values like "5" for 500%. MathML nonzero unitless are now disabled by default
but it could be easily enabled again later if we decide otherwise.

* test_bug553917.html is updated to check that these values now cause an error
  message to be logged into the console rather than a deprecated warning
  when nonzero unitless lengths are disabled.
  Additionally, the test checking invalid double dots "2..0" is updated not
  to use unitless syntax.
* The old test 355548-3.xml checks support for mathsize names and also uses
  several features that are going to be deprecated. So it is just run with
  the proper preference adjustment.
* mfrac-linethickness-2.xhtml and number-size-1.xhtml check support for
  unitless lengths so they are now run with that support enabled.
* WPT tests frac-linethickness-001.html and lengths-1.html are executed with
  the some MathML features disabled in order to make them pass.
  We get more assertion passing for the "Legacy numbers" test of
  lengths-2.html ; however there are still some issues to address
  (see bug 1574751).

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

--HG--
extra : moz-landing-system : lando
2019-08-19 17:10:58 +00:00
dleblanccyr d024456be2 Bug 1573473 - Creates global function to make strings kebab-case. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41818

--HG--
extra : moz-landing-system : lando
2019-08-19 19:44:34 +00:00