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

94591 Коммитов

Автор SHA1 Сообщение Дата
Jonathan Watt 185c6d1087 Bug 1652344 p1. Remove the code in nsGlobalWindowOuter::PrintOuter for handling failure to get an nsIPrintSettingsService. r=bobowen
All our backends implement nsIPrintSettingsService, so this code is unused.

Differential Revision: https://phabricator.services.mozilla.com/D83267
2020-07-12 19:32:25 +00:00
Mihai Alexandru Michis c6f6f8daa2 Backed out 2 changesets (bug 1652344) for causing failures in test_printpreview.xhtml
CLOSED TREE

Backed out changeset d2b66d810ab5 (bug 1652344)
Backed out changeset 075903436ef2 (bug 1652344)
2020-07-13 01:21:28 +03:00
Jonathan Watt 44ed5abb22 Bug 1652344 p2. Stop creating an nsIPrintSettings in nsGlobalWindowOuter::PrintOuter. r=bobowen
The fallback code in nsPrintJob::DoCommonPrint to create an nsIPrintSettings if
none is passed in is never used, since all callers pass a settings object.
However, to simplify future changes I'd like nsGlobalWindowOuter::PrintOuter to
stop creating and passing in its own default valued nsIPrintSettings object.

This patch makes the fallback code that DoCommonPrint calls do what
nsGlobalWindowOuter::PrintOuter does, and makes the latter stop passing in a
settings object.

This patch also removes nsIWebBrowserPrint.globalPrintSettings since
nsGlobalWindowOuter::PrintOuter was its only consumer.

Differential Revision: https://phabricator.services.mozilla.com/D83268
2020-07-12 19:33:49 +00:00
Jonathan Watt b850705cc7 Bug 1652344 p1. Remove the code in nsGlobalWindowOuter::PrintOuter for handling failure to get an nsIPrintSettingsService. r=bobowen
All our backends implement nsIPrintSettingsService, so this code is unused.

Differential Revision: https://phabricator.services.mozilla.com/D83267
2020-07-12 19:32:25 +00:00
Emilio Cobos Álvarez 667c41d502 Bug 1652155 - Fix document check in Document::TopLayerPop. r=edgar
Top layer / fullscreen should work in shadow dom. This check is off
compared to literally every other fullscreen check.

The test is pretty gross, but not my fault, see the comment in there :)

Differential Revision: https://phabricator.services.mozilla.com/D83198
2020-07-12 16:49:10 +00:00
Randell Jesup f1e4e6aed0 Bug 1112392: Move webrtc Tab Sharing to work in e10s/fission r=dminor
Also we drop support for an independent-of-scroll/viewport capture, which
the old Tab Sharing supported, for security reasons (and we don't need it).

Differential Revision: https://phabricator.services.mozilla.com/D80974
2020-07-11 12:31:49 +00:00
Dorel Luca 19042532b3 Backed out changeset ef25e5648b14 (bug 1112392) for causing build bustage on media/systemservices/video_engine/tab_capturer 2020-07-11 13:30:06 +03:00
longsonr 875f5e88ac Bug 1259861 - Move everything else into the mozilla namespace in layout/svg r=dholbert
Also: adjust include paths to be consistent for usages of various SVG headers,
and remove unused SVG includes (mostly for "utils" classes),
and drop stray "ns" from already-renamed SVG classes in various code comments.

Differential Revision: https://phabricator.services.mozilla.com/D83140
2020-07-11 02:20:20 +00:00
Kris Maglione b6be72f351 Bug 1649554: Part 1 - Move deprecated component registration helpers out of XPCOMUtils. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,whimboo,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D81749
2020-07-10 23:58:30 +00:00
Kris Maglione 9d78661f88 Bug 1649221: Update ChromeUtils.generateQI callers to pass strings. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,preferences-reviewers,agi,whimboo,Bebe,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D81594
2020-07-10 23:58:28 +00:00
Mike Hommey 0064d72b3e Bug 1651901 - Disable optimizations in dom/bindings/test. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D83033
2020-07-10 15:26:12 +00:00
Imanol Fernandez a0b122309a Bug 1650714 - Part 2: Correct XRRigidTransform inverse math r=daoshengmu,kip,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D82433
2020-07-10 22:01:11 +00:00
Daosheng Mu 088f996216 Bug 1650714 - Part 1: Correct Matrix Decompose and SetRotationFromQuaternion. r=kip,imanol,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D82391
2020-07-10 22:01:11 +00:00
Randell Jesup 33bfc03435 Bug 1112392: Move webrtc Tab Sharing to work in e10s/fission r=dminor
Also we drop support for an independent-of-scroll/viewport capture, which
the old Tab Sharing supported, for security reasons (and we don't need it).

Differential Revision: https://phabricator.services.mozilla.com/D80974
2020-07-10 21:22:10 +00:00
Kris Maglione 4c0b046b34 Bug 1651459: Fix encoding of test document when served in cross-origin frame. r=tkhan
Differential Revision: https://phabricator.services.mozilla.com/D82787
2020-07-08 21:45:55 +00:00
Bogdan Tara b2ea557fcf Backed out changeset 6dea878aaf36 (bug 1112392) for tab_capturer.cc related bustage CLOSED TREE 2020-07-10 23:30:41 +03:00
Randell Jesup 109ef2a1dd Bug 1112392: Move webrtc Tab Sharing to work in e10s/fission r=dminor
Also we drop support for an independent-of-scroll/viewport capture, which
the old Tab Sharing supported, for security reasons (and we don't need it).

Differential Revision: https://phabricator.services.mozilla.com/D80974
2020-07-10 18:11:02 +00:00
Micah Tigley 5dbe458462 Bug 1647735 - In RDM, ICB fallback width should be the simulated device's width if larger than the desktop viewport default. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D82311
2020-07-10 18:26:31 +00:00
alwu 20f7602472 Bug 1582569 - part2 : modify tests. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D82580
2020-07-10 16:19:43 +00:00
alwu 8db4dcbd7c Bug 1582569 - part1 : implement 'skipad'. r=chunmin,webidl,peterv
Implement `skipad` action.

https://w3c.github.io/mediasession/#dom-mediasessionaction-skipad

Differential Revision: https://phabricator.services.mozilla.com/D82579
2020-07-10 18:59:31 +00:00
Cosmin Sabou 4e5a1287c1 Backed out changeset fec7d23c5a02 (bug 1608358) for wpt failures on document-fullscreen-enabled-cross-origin.sub.html. CLOSED TREE 2020-07-10 21:37:41 +03:00
Emilio Cobos Álvarez b783621e6e Bug 1608358 - Fix allowfullscreen check to check for feature policy. r=baku
We can clean up this code once the feature policy pref goes away, but
meanwhile this should do the right thing.

Differential Revision: https://phabricator.services.mozilla.com/D82976
2020-07-10 10:41:02 +00:00
Narcis Beleuzu d27be427c9 Backed out changeset 83749e9e67bd (bug 1220810) for bc failures on browser_fall_back_to_https.js . CLOSED TREE 2020-07-10 18:42:17 +03:00
Jon Coppeard 63833c5f28 Bug 1651612 - Run extra garbage collection cycle for idle workers if cycle collection collected anything r=mccr8
This runs an extra GC cycle when a worker goes idle if the cycle collector collected anything. This fixes the test case given (but not the case in the original bug).

Differential Revision: https://phabricator.services.mozilla.com/D82869
2020-07-10 13:55:38 +00:00
Frederik Braun 754c4eb7e9 Bug 1651482 - use real remoteType name in UnexpectedPrivilegedLoadsTelemetryTest r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D82868
2020-07-10 09:48:59 +00:00
Andrea Marchesini 23052342cb Bug 1220810 - Hardcode localhost to loopback, r=ckerschb,dragana
Differential Revision: https://phabricator.services.mozilla.com/D64586
2020-07-10 14:30:58 +00:00
Mihai Alexandru Michis b62be4d15f Backed out changeset 1b035d80fb9f (bug 1220810) for causing bustages in netwerk/dns/DNS.cpp
CLOSED TREE
2020-07-10 17:17:20 +03:00
Andrea Marchesini f498accc17 Bug 1220810 - Hardcode localhost to loopback, r=ckerschb,dragana
Differential Revision: https://phabricator.services.mozilla.com/D64586
2020-07-10 13:08:14 +00:00
Mihai Alexandru Michis 44cad01e29 Backed out changeset 1b44f13206d0 (bug 1220810) for causing gecko decision task bustages.
CLOSED TREE
2020-07-10 15:37:45 +03:00
Andrea Marchesini 2144af13e9 Bug 1220810 - Hardcode localhost to loopback, r=ckerschb,dragana
Differential Revision: https://phabricator.services.mozilla.com/D64586
2020-07-10 12:23:46 +00:00
Mihai Alexandru Michis 61006875dd Backed out changeset 36f368ba214c (bug 1220810) for causing gecko decision task bustages.
CLOSED TREE
2020-07-10 15:00:15 +03:00
Andrea Marchesini f36d351374 Bug 1220810 - Hardcode localhost to loopback, r=ckerschb,dragana
Differential Revision: https://phabricator.services.mozilla.com/D64586
2020-07-10 11:34:10 +00:00
Tom Tung b6322a2f7b Bug 1651593 - Check the return value of db::GetKnownBodyIds(); r=dom-workers-and-storage-reviewers,sg
Differential Revision: https://phabricator.services.mozilla.com/D82863
2020-07-09 07:27:46 +00:00
longsonr cc4f307539 Bug 1651404 - Move nsSVGDisplayableFrame and nsISVGSVGFrame to the mozilla namespace r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D82945
2020-07-09 18:34:54 +00:00
Jean-Yves Avenard 71dbeca336 Bug 1650996 - P3. Have RemoteDecoderManagerChild use a TaskQueue over a media threadpool. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D82503
2020-07-09 07:47:37 +00:00
Jean-Yves Avenard e2dc02032e Bug 1650996 - P2. Always initialise the RemoteDecoderChild manager thread. r=mjf
This allows to simplify the lifetime management off the RemoteDecoderModule's mManagerThread member.

Differential Revision: https://phabricator.services.mozilla.com/D82502
2020-07-09 07:47:39 +00:00
Jean-Yves Avenard 8bde08cf2e Bug 1650996 - P1. Remove RemodeDecoderManagerChild::CanSend method. r=mattwoodrow
The base IProtocol class already provides this.

Differential Revision: https://phabricator.services.mozilla.com/D82501
2020-07-09 07:47:42 +00:00
Jean-Yves Avenard 8d3ffdc6c3 Bug 1649974 - P2. Use a TaskQueue with media threadpool for RemoteDecoderManagerParent. r=mattwoodrow
Sync dispatch are being used; due to how the background taskqueue is setup this could cause a hang if if also called from a background taskqueue.

Differential Revision: https://phabricator.services.mozilla.com/D82500
2020-07-09 10:13:48 +00:00
Andrew McCreight 543079d871 Bug 1648590 - Set the crash report remote annotation when we set the remote type. r=kmag
This patch moves the remote type crash annotation code from RecvSetProcessSandbox() to
RecvRemoteType(), where we actually set the remote type. This matters because
RecvSetProcessSandbox() only happens once when the process is created. If the process
is a preallocated process, it will get its remote type updated later, so we need to
also update the annotation.

It seems odd that we were setting the remote type annotation in a method related to
the sandbox and not where we set the remote type. My only guess is that prior to
bug 1332522 RecvSetProcessSandbox() happened first, so maybe they wanted to make sure
the annotation was set as early as possible. At that point in time, the remote type
never changed, so it was okay to just set it wherever, as early as possible.

Anyways, after that bug, the first call to RecvRemoteType() happens earlier, so this
change is strictly better.

I also fixed a typo in ContentParent.

Differential Revision: https://phabricator.services.mozilla.com/D82625
2020-07-10 01:56:13 +00:00
Csoregi Natalia 56aa86bead Backed out changeset 6318d54b7068 (bug 1112392) for bustages on tab_capturer.cc. CLOSED TREE 2020-07-10 04:52:56 +03:00
Emilio Cobos Álvarez 9ec63950e7 Bug 1648839 - Fix two issues with notifications for media feature value changes. r=nordzilla
We need to notify unconditionally because even if we didn't have
stylesheets, we could have responsive content which needs to change
source.

We need to notify the document even if the pres shell is not
initialized, as it might be our last chance to notify the responsive
content. This happens for printing, and makes my srcset test fail.

MANUAL PUSH: Somehow phabricator still thinks it needs review, even
though it was accepted.

Differential Revision: https://phabricator.services.mozilla.com/D81778
2020-07-10 03:18:50 +02:00
Randell Jesup 9756342857 Bug 1112392: Move webrtc Tab Sharing to work in e10s/fission r=dminor
Also we drop support for an independent-of-scroll/viewport capture, which
the old Tab Sharing supported, for security reasons (and we don't need it).

Differential Revision: https://phabricator.services.mozilla.com/D80974
2020-07-10 01:00:51 +00:00
Butkovits Atila 2a1d404458 Backed out changeset 4c0909f105b2 (bug 1648590) for build bustage at ContentChild.cpp. CLOSED TREE 2020-07-10 03:03:30 +03:00
Andrew McCreight 2eef496a85 Bug 1648590 - Set the crash report remote annotation when we set the remote type. r=kmag
This patch moves the remote type crash annotation code from RecvSetProcessSandbox() to
RecvRemoteType(), where we actually set the remote type. This matters because
RecvSetProcessSandbox() only happens once when the process is created. If the process
is a preallocated process, it will get its remote type updated later, so we need to
also update the annotation.

It seems odd that we were setting the remote type annotation in a method related to
the sandbox and not where we set the remote type. My only guess is that prior to
bug 1332522 RecvSetProcessSandbox() happened first, so maybe they wanted to make sure
the annotation was set as early as possible. At that point in time, the remote type
never changed, so it was okay to just set it wherever, as early as possible.

Anyways, after that bug, the first call to RecvRemoteType() happens earlier, so this
change is strictly better.

I also fixed a typo in ContentParent.

Differential Revision: https://phabricator.services.mozilla.com/D82625
2020-07-08 00:48:43 +00:00
Tom Prince 204d796929 Bug 1651731: [lint] Python and shell files without `#!` should not be executable; r=linter-reviewers,perftest-reviewers,geckoview-reviewers,agi,sylvestre,sparky
Differential Revision: https://phabricator.services.mozilla.com/D82954
2020-07-09 20:29:18 +00:00
Tom Prince 2c52622b85 Bug 1651731: [lint] Add a bunch more types of files that should never be executable; r=linter-reviewers,perftest-reviewers,geckoview-reviewers,preferences-reviewers,agi,sylvestre,sparky
Differential Revision: https://phabricator.services.mozilla.com/D82953
2020-07-09 21:28:49 +00:00
Csoregi Natalia 55e9fe527f Backed out 3 changesets (bug 1645234) for causing leaks. CLOSED TREE
Backed out changeset 6097753dbefa (bug 1645234)
Backed out changeset f74844ba692a (bug 1645234)
Backed out changeset a90a3c1efdc5 (bug 1645234)
2020-07-10 01:54:09 +03:00
Kris Maglione 6a39211860 Bug 1464542: Part 3b - Add existing Services.jsm registrations to the new services cache. r=mccr8,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D81419
2020-07-09 21:42:25 +00:00
Kris Maglione 4200cb539c Bug 1464542: Part 2 - Add infrastructure for defining named services exposed to JS. r=mccr8
This builds on the existing static components infrastructure to allow defining
a Services.jsm-type services cache with no runtime memory overhead for any
services until they're accessed.

Any class entry with a 'js_name' attribute automatically becomes available on
the services cache with that name, and any interfaces listed in its
'interfaces' list are automatically queried on it.

Differential Revision: https://phabricator.services.mozilla.com/D81417
2020-07-09 20:42:50 +00:00
Csoregi Natalia 6be2db575b Backed out changeset 20e97810b319 (bug 1112392) for bustages on tab_capturer.h. CLOSED TREE 2020-07-10 00:40:42 +03:00