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

656393 Коммитов

Автор SHA1 Сообщение Дата
yulia 2e3fde9d0e Bug 1494796 - get rid of ThreadClient specifics in DebuggerClient, interrupt method; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D32847

--HG--
extra : moz-landing-system : lando
2019-06-14 00:16:39 +00:00
yulia 844b51e01a Bug 1494796 - get rid of ThreadClient specifics in DebuggerClient, attach/detach methods and events; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D32845

--HG--
extra : moz-landing-system : lando
2019-06-14 00:32:28 +00:00
yulia ecc3907641 Bug 1494796 - get rid of ThreadClient specifics in DebuggerClient ; r=jdescottes
This is part one of removing threadClient specifics out of the debuggerClient. We were
managing messages from the thread client in a special way -- this was the "Unsolicited Pauses"
object that we had before. This patch updates the threadClient to use Front style events. This
required updating the spec for the threadClient, and several of the methods. What has not been fully
migrated here is the "resumed" event, as this is much more complex. This is taken care of in the
next patch.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 00:28:03 +00:00
yulia 650d7f9c31 Bug 1494796 - Convert ThreadClient into a Front; r=jdescottes
This is the first part of the threadClient refactor. It only moves the methods to the new
front. and does some basic fixes.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 00:14:58 +00:00
yulia 57a1e6ce79 Bug 1494796 - fork threadclient for backwards compatibility r=jdescottes
make sure we have a copy of thread client for old servers

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

--HG--
rename : devtools/shared/client/thread-client.js => devtools/shared/client/deprecated-thread-client.js
extra : moz-landing-system : lando
2019-06-14 00:14:36 +00:00
Brendan Dahl 04a85879bb Bug 1558674 - Allow chrome privileged documents to enable/disable copy/paste. r=Ehsan
For content HTML/XHTML copy/paste should always be enabled, but for chrome
docs we can support enabling/disabling copy/paste.

Also, restores tests to how they were before copy/paste was always enabled.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 00:32:21 +00:00
Chris Pearce 8f2dd4a937 Bug 1558364 - Convert TrackBuffersManager::mPendingInput into a MediaSpan. r=jya
This allows us to avoid a (probably small) copy when we stash the pending input.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 00:31:06 +00:00
Chris Pearce d5f83d4740 Bug 1558364 - Add MediaSpan and use it for TrackBuffersManager::mInputBuffer. r=jya
As seen in this profile of a Twitch replay: https://perfht.ml/2K9Ydb3 we can
often end up spending time in TrackBuffersManager::CodedFrameProcessing()
shaving off bytes from the front off TrackBuffersManager::mInputBuffer. This
requires all the remaining bytes to be memmove'd down to the start of this
array. Sometimes we have close to 1MB in that buffer, and when we're just
trying to consume a few hundred bytes, that becomes high overhead.

So intead of using this "slice off, shuffle down" approach change
TrackBuffersManager::mInputBuffer to be a new type MediaSpan, which maintains a
RefPtr to a MediaByteBuffer and a span defining the subregion of the buffer we
care about. This means the RemoveElementsAt(0,N) operation becomes basically
free, and we can eliminate a few other copies we were doing as well.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 00:31:02 +00:00
Rob Wu f404754f4b Bug 1557792 - Show missing private browsing rows in about:addons r=mixedpuppy
For parity with the XUL about:addons page, this commit adds missing rows
to the details view:

- Bug 1557792 - incognito not_allowed should show "Not Allowed in Private Windows"

- Bug 1551947 - extensions with locked private browsing flag should not
  show inputs to control the flag, but "Requires Access to Private Windows"

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

--HG--
extra : moz-landing-system : lando
2019-06-13 22:27:30 +00:00
alwu ea1a345650 Bug 1555849 - part2 : enable wpt 'track-webvtt-non-snap-to-lines.html'. r=heycam
We made following changes for 'track-webvtt-non-snap-to-lines.html'.

1. As the video is 300*150, testing file would put the cue on the place which is 20% of video's height (30px) below.
2. The font size is defined as 5% of video's height (7.5px).
3. As the cue is left alignment, so we also have to set `left=0`.
4. In addition, there is no need to add padding.

In addition, this test would fail on Windows because there is a weird green background showing on the top of the text [1].

[1] https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://queue.taskcluster.net/v1/task/NdZrHNWqTAiskV8QOcBFNA/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

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

--HG--
extra : moz-landing-system : lando
2019-06-13 23:10:23 +00:00
alwu 493294ac94 Bug 1555849 - part1 : use 'computeLine' to adjust cue's position when 'snap-to-lines' is false. r=heycam
According to the spec 7.2.6 [1], we should use `computed line`, not `computed position`.

[1] https://www.w3.org/TR/webvtt1/#ref-for-cue-computed-line-2

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

--HG--
extra : moz-landing-system : lando
2019-06-13 23:08:54 +00:00
violet f7f51ced95 Bug 1351432 - Cleanup GetCSSWhitespaceToCompressionMode r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D34498

--HG--
extra : moz-landing-system : lando
2019-06-11 14:29:23 +00:00
Maja Frydrychowicz ec68562778 Bug 1553584 - Delay wpt reftest screenshots until after paint. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D33843

--HG--
extra : moz-landing-system : lando
2019-06-13 02:19:44 +00:00
James Teh 788fa105b8 Bug 1558390: For OOP iframes, also send the embedder accessible when the BrowserBridgeChild is created. r=yzen,nika
Previously, BrowserBridgeChild::SendSetEmbedderAccessible was only called when an OuterDocAccessible was constructed.
However, it's also possible that the BrowserBridgeChild is created *after* the OuterDocAccessible.
Therefore, we must also do this when a BrowserBridgeChild is created if the OuterDocAccessible already exists.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 02:19:42 +00:00
Jean-Yves Avenard b402df7ecd Bug 1556131 - P2. Enable check on automation. r=njn
Depends on D34107

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

--HG--
extra : moz-landing-system : lando
2019-06-12 21:49:50 +00:00
Jean-Yves Avenard b0082c7c5b Bug 1558770 - Remove non-functional test. r=kats
The test is supposed to test that changing the preference layers.acceleration.disabled doesn't cause a crash, but this pref is only read on startup well before the test has a chance to run and switch the pref.

It's not doing anything.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 00:35:30 +00:00
Mark Hammond c36f7aecc7 Bug 1550967 - ensure sync's username pref is set whenever FxA has a user. r=tcsc
Differential Revision: https://phabricator.services.mozilla.com/D34309

--HG--
extra : moz-landing-system : lando
2019-06-13 01:32:07 +00:00
Andreea Pavel 307e3f181b Backed out 2 changesets (bug 1498742) for build bustages at GMPProcessParent.cpp on a CLOSED TREE
Backed out changeset 5f9d32e26c71 (bug 1498742)
Backed out changeset ffc8d151cf3a (bug 1498742)
2019-06-13 04:38:56 +03:00
Haik Aftandilian 0f858863b6 Bug 1498742 - Part 2 - Start the GMP sandbox earlier during process startup r=jya,cpearce
Change the Mac GMP process launch to include sandboxing params on the command line to allow the sandbox to be started earlier during GMP process launch. Content, extension, and RDD processes have already been changed to start the sandbox earlier.

Update GMPProcessParent to override GeckoChildProcessHost methods used to construct sandboxing parameters. Pass the plugin path as a sandbox parameter so that the sandbox rules can whitelist the plugin directory which is now read after the sandbox is enabled in the plugin process. On development builds, pass "testingReadPath" params so directories needed during automated tests can be whitelisted.

Update Mac sandboxing code to detect GMP sandbox params on the command line and enable the sandbox with additional arguments needed for early sandbox start.

Allow reverting to the old implementation by setting security.sandbox.gmp.mac.earlyinit to false.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 23:41:53 +00:00
Haik Aftandilian a195f66f52 Bug 1498742 - Part 1 - Move GetRepoDir(), GetObjDir(), IsDevelopmentBuild() from ContentChild to nsMacUtilsImpl r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D34084

--HG--
extra : moz-landing-system : lando
2019-06-12 23:41:39 +00:00
Kartikaya Gupta 55e18a4f5a Bug 1553579 - Re-enable test that was fixed in bug 1557105. r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D34720

--HG--
extra : moz-landing-system : lando
2019-06-13 00:12:00 +00:00
Boris Zbarsky 2e99da1fb9 Bug 1558650. Stop using [array] in nsIOSKeyStore. r=keeler
This also removes the two extra copies of the byte buffer that we had; we don't
need to copy it more than once.  Once we have it in an std::vector, we can pass
that around by reference, not by value or by creating new vectors from copies
of its buffer.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 23:25:27 +00:00
Boris Zbarsky 918f4befd5 Bug 1558877. Remove nsITLSServerSocket.setCipherSuites. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D34746

--HG--
extra : moz-landing-system : lando
2019-06-12 23:21:49 +00:00
Andreea Pavel 9d535a8d72 Backed out 4 changesets (bug 1557928) SM build bustages on a CLOSED TREE
Backed out changeset 5e5b8a770b18 (bug 1557928)
Backed out changeset 6096454af6f1 (bug 1557928)
Backed out changeset 618afaab2634 (bug 1557928)
Backed out changeset ef396dbaecf3 (bug 1557928)
2019-06-13 04:07:17 +03:00
Sam Foster c65df939bf Bug 1548387 - Add UI for the password generation preferences. r=MattN,flod,fluent-reviewers
* Add password generation checkbox as child of savePasswords checkbox
* Shuffle layout to put the Exceptions and Saved Logins buttons in a right-column

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

--HG--
extra : moz-landing-system : lando
2019-06-13 00:31:46 +00:00
Andreea Pavel ab94a895b6 Backed out changeset b5df002db72c (bug 1558390) for build bustages on a CLOSED TREE 2019-06-13 03:33:45 +03:00
Paul Bone ee87fa7f84 Bug 1557928 - Rename the DoNotCare tracer kind r=jonco
Depends on D34675

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

--HG--
extra : moz-landing-system : lando
2019-06-12 16:23:47 +00:00
Paul Bone f2b96f7abf Bug 1557928 - Replace several functions with a single general function r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D34675

--HG--
extra : moz-landing-system : lando
2019-06-12 12:15:22 +00:00
Paul Bone 6acfc9f675 Bug 1557928 - Fix obsolete comments r=jonco
IsMarkingTracer no-longer exists, so remove one comment that refers to it
and fix another comment.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 12:14:49 +00:00
Paul Bone 109fd59d37 Bug 1557928 - Use the UnmarkGray tracekind for AssertNonGrayTracer r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D34673

--HG--
extra : moz-landing-system : lando
2019-06-12 16:23:08 +00:00
premk 3aa08f8bc8 Bug 1525161 - sync sponsored stories preference r=markh
Differential Revision: https://phabricator.services.mozilla.com/D34739

--HG--
extra : moz-landing-system : lando
2019-06-13 00:14:54 +00:00
Artem Polivanchuk 8765ded79f Bug 1556619 - Sync separate search bar preference r=lina
Differential Revision: https://phabricator.services.mozilla.com/D33767

--HG--
extra : moz-landing-system : lando
2019-06-12 23:57:33 +00:00
James Teh a832fc180d Bug 1558369: AccessibleHandler: Don't use HandlerChildEnumerator for iframes. r=yzen
When a client wants to fetch all accessible children, the COM handler uses handlerProvider::get_AllChildren in the content process to optimize cross-process retrieval of all children.
This works fine for iframes rendered in the same content process, just as it does for other accessibles.
However, for out-of-process iframes, HandlerProvider::get_AllChildren will fail.
This is because we only send down an IDispatch COM proxy for the embedded document, but get_AllChildren will try to QueryInterface this to IAccessible2 to reduce QI calls from the parent process.
Because the content process is sandboxed, it can't make the outgoing COM call to QI the proxy from IDispatch to IAccessible2 and so it fails.

Since an iframe only has one child anyway, we don't need the bulk fetch optimization offered by HandlerChildEnumerator or even IEnumVARIANT.
Therefore, we explicitly tell the client this interface is not supported, which will cause the oleacc AccessibleChildren function to fall back to accChild.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 15:08:21 +00:00
James Teh 98c9b833d0 Bug 1558390: For OOP iframes, also send the embedder accessible when the BrowserBridgeChild is created. r=yzen,nika
Previously, BrowserBridgeChild::SendSetEmbedderAccessible was only called when an OuterDocAccessible was constructed.
However, it's also possible that the BrowserBridgeChild is created *after* the OuterDocAccessible.
Therefore, we must also do this when a BrowserBridgeChild is created if the OuterDocAccessible already exists.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 14:57:40 +00:00
Boris Zbarsky ac7fb32487 Bug 1558739. Stop using [array] in nsIX509CertDB.exportPKCS12File. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D34676

--HG--
extra : moz-landing-system : lando
2019-06-12 23:06:48 +00:00
Luca Greco b0ca6a0f20 Bug 1558784 - Truncate abuse report properties that may be longer than allowed by the API endpoint. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D34768

--HG--
extra : moz-landing-system : lando
2019-06-12 20:39:53 +00:00
J.C. Jones 3149681bcf Bug 1558977 - Upgrade NSS 3.45 r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D34784

--HG--
extra : moz-landing-system : lando
2019-06-12 23:22:22 +00:00
Gerald Squelart 19c0bac401 Bug 1556993 - Ignore invalid handles in Mozilla{,Un}RegisterDebugHandle - r=erahm
In particular, on Windows stdin/out/err may not be associated with a stream
(e.g., app without console window), in which case _get_osfhandle() returns -2.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 23:23:20 +00:00
Ehsan Akhgari 6d3bebb572 Bug 1557887 - Part 11: Run the partitioning tests with third-party window objects that have loaded an initial about:blank document in addition to normal third-party window objects; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D34465

--HG--
extra : moz-landing-system : lando
2019-06-12 18:47:43 +00:00
Ehsan Akhgari 35248909ba Bug 1557887 - Part 10: Prevent initial about:blank documents from escaping out of partitioned storage by using the correct storage principal when creating them; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D34464

--HG--
extra : moz-landing-system : lando
2019-06-12 18:47:25 +00:00
Ehsan Akhgari c21ef27666 Bug 1557887 - Part 9: Ensure that anti-tracking checks do not fail with non-HTTP channels; r=baku
This is necessary in case we encounter an initial about:blank document channel
in our anti-tracking checks.  Right now we get an nsInputStreamChannel which
causes us to bail out of the anti-tracking checks.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 18:46:15 +00:00
Ehsan Akhgari e6a692c122 Bug 1557887 - Part 8: Ensure that third-party context partitioning doesn't fail for doubly+ nested iframes; r=baku
For the reject-tracker behaviour mode we only allow storage access
to singly nested tracker iframes per our heuristics or the storage
access API rules, but we don't want this behaviour for general
partitioning of third-party storage.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 18:45:33 +00:00
Ehsan Akhgari b2be6dd9dc Bug 1557887 - Part 7: Ensure that the third-party checks in the anti-tracking backend do not fail in the presence of third-party about:blank URIs; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D34461

--HG--
extra : moz-landing-system : lando
2019-06-12 09:08:00 +00:00
Ehsan Akhgari b3c4267b3c Bug 1557887 - Part 6: Pass a storage principal to the rest of the call sites for createAboutBlankContentViewer(); r=baku
Differential Revision: https://phabricator.services.mozilla.com/D34460

--HG--
extra : moz-landing-system : lando
2019-06-12 09:07:33 +00:00
Ehsan Akhgari fc40494b9c Bug 1557887 - Part 5: Pass a storage principal argument through the browser loadURI()/addTab() APIs; r=baku,mconley
Differential Revision: https://phabricator.services.mozilla.com/D34459

--HG--
extra : moz-landing-system : lando
2019-06-12 23:05:36 +00:00
Ehsan Akhgari 0b5a0c270e Bug 1557887 - Part 4: Port the browser.createAboutBlankContentViewer() API to the storage principal aware version of the docshell API; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D34458

--HG--
extra : moz-landing-system : lando
2019-06-12 09:04:41 +00:00
Ehsan Akhgari 4a71ba49f8 Bug 1557887 - Part 3: Extend nsIDocShell.createAboutBlankContentViewer() to accept a storage principal argument; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D34457

--HG--
extra : moz-landing-system : lando
2019-06-12 09:04:24 +00:00
Ehsan Akhgari 2287617cbc Bug 1557887 - Part 2: Add the nsISHEntry.storagePrincipalToInherit attribute; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D34456

--HG--
extra : moz-landing-system : lando
2019-06-12 23:01:56 +00:00
Ehsan Akhgari bee59f7dbe Bug 1557887 - Part 1: Add the browser.contentStoragePrincipal attribute; r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D34455

--HG--
extra : moz-landing-system : lando
2019-06-11 17:14:11 +00:00
Justin Wood 8d5dbea57f Bug 1533818 - Don't try to expand from a 'cose.manifest' file when repacking the l10n copy of omni.ja. r=aki
Differential Revision: https://phabricator.services.mozilla.com/D34697

--HG--
extra : moz-landing-system : lando
2019-06-12 23:03:22 +00:00