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

678823 Коммитов

Автор SHA1 Сообщение Дата
Luca Greco 7fb1f49727 Bug 1575891 - browsingData API should not clear nextGen localStorage data stored by browser components and extensions. r=mixedpuppy,asuth,johannh
Differential Revision: https://phabricator.services.mozilla.com/D48535

--HG--
extra : moz-landing-system : lando
2019-11-07 17:00:42 +00:00
Haik Aftandilian 757b208866 Bug 1593071 - [macOS] Land different entitlement files for parent and child processes r=spohl
Add separate entitlement files for the browser (aka parent process) and plugin-container processes. Leave the old production and developer entitlement files in place.

Once automation has been updated to use the new process-specific entitlement files (bug 1593072), the older entitlement files can be removed.

Future work will change the process-specific entitlements to be minimized for each process type.

Update codesign.bash to
  1) use the separate browser and plugin-container entitlement files
  2) only sign executables with entitlements, not sign unnecessary files
  3) output to a .dmg instead of a .zip file.

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

--HG--
extra : moz-landing-system : lando
2019-11-07 13:26:05 +00:00
Matthew Gaudet 194b574fae Bug 1587574 - Add test for fieldInitializers lookup r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D48756

--HG--
extra : moz-landing-system : lando
2019-11-07 18:13:48 +00:00
Kashav Madan a8b941db0e Bug 1594859 - Fix incorrect "Tabbed Browsing" BUG_COMPONENT, r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D52236

--HG--
extra : moz-landing-system : lando
2019-11-07 20:30:07 +00:00
Doug Thayer f9dfbe888c Bug 1594051 - Perform fallible alloc when copying buffer from StartupCache r=froydnj
This effectively used to be a fallible alloc inside nsZipArchive.

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

--HG--
extra : moz-landing-system : lando
2019-11-07 20:00:48 +00:00
Dan Minor daa2b0560e Bug 1594673 - Actually disable RTCDataChannel-send on win32; r=ng
I messed up the syntax the first time around, this actually disables
the test. This was exacerbated by accidentally testing the changes on
win32-opt rather than win32-shippable-opt where the intermittent
occurs.

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

--HG--
extra : moz-landing-system : lando
2019-11-07 20:58:00 +00:00
Perry Jiang 5b6e37c114 Bug 1588353 - Remove unnecessary Unused << for non-MOZ_MUST_USE function return value r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D52131

--HG--
extra : moz-landing-system : lando
2019-11-07 19:29:59 +00:00
Shane Caraveo ed7cba1f5c Bug 1590898 test encoding in webRequest.filterResponseData r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D52213

--HG--
extra : moz-landing-system : lando
2019-11-07 20:00:41 +00:00
Chris Fallin b78c29a5b0 Bug 1594753: Backed out changeset 78d02a12be59. r=mgaudet
This is a backout of the change in Bug 1580246 (Remove object-literal
singleton objects allocated at parse).

The change above caused an unexpected performance regression on Kraken,
in particular due to the way that the new parse-time approach to
allocating objects influenced the `ObjectGroup`s of the created objects,
leading to overly-polymorphic ICs in a numeric-heavy benchmark
(`stanford-crypto-aes`).

We'll work on a fix, but in the meantime, we don't want to leave the
slowdown on m-c.

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

--HG--
extra : moz-landing-system : lando
2019-11-07 19:42:44 +00:00
Noemi Erli f4d989ef82 Backed out 7 changesets (bug 1492582) for causing ss mochitest failures CLOSED TREE
Backed out changeset 1484255e5f4d (bug 1492582)
Backed out changeset bbf62ef50e52 (bug 1492582)
Backed out changeset 836724d3860e (bug 1492582)
Backed out changeset 5efddfd196b5 (bug 1492582)
Backed out changeset d4be1aa8cdb6 (bug 1492582)
Backed out changeset f05dfbeff17b (bug 1492582)
Backed out changeset e0e56a195659 (bug 1492582)

--HG--
extra : rebase_source : 913c432be684629992a773dc3e4e233141bc3061
2019-11-07 21:51:46 +02:00
Ryan VanderMeulen 503d3a5358 Bug 1594871 - Disable the racy sub-test. r=whimboo
This sub-test has races which were exacerbated by making data: URLs load asynchronously. Disable it until the race can be resolved.

MANUAL PUSH: bustage fix on a CLOSED TREE

--HG--
extra : amend_source : 76c3d8486213b5829615059587f44f0db93b9041
2019-11-07 16:14:25 -05:00
Ryan VanderMeulen 9ded9f97c0 Bug 1590151 - Update Cargo.lock to fix broken SM builds. r=eijebong CLOSED TREE
MANUAL PUSH: bustage fix

--HG--
extra : amend_source : 7a503f343582e25502e443bd74a8110bd9ba89c4
2019-11-07 15:23:47 -05:00
André Bargull ac627436c6 Bug 1540021: Implement String.prototype.replaceAll proposal. r=jorendorff
This change doesn't include the String.prototype.matchAll modifications, because
those are already part of the main spec.

MCallOptimize.cpp:
- The inlining is more conservative than `inlineIsRegExpObject`, because it's not
clear at this point we need the extra features from `inlineIsRegExpObject`.

String.js:
- The self-hosted part is slightly different than the current spec text, because
it combines the match and replace loops. The non-functional replace part is
implemented in C++, so we can reuse the existing C++ matcher functions.

String.cpp:
- Added some extra assertions to `AppendDollarReplacement` and also had to change
the `infallibleAppend` call into a normal `append` call, because when called
from `replaceAll`, we may not have reserved enough space in the StringBuffer.
- `replaceAll` has a specialised implementation when the pattern is the empty
string, because in that case the pattern is interleaved in-between each
character, so we don't need to find the next match and can also directly reserve
the correct string length (when no '$' characters are present in the replacement
string). This should allow users to update from the previous
`str.split("").join(r)` pattern to `str.replaceAll("", r)` without loss of
performance.
- When the pattern isn't the empty string, we reuse the existing `StringMatch`
and `AppendDollarReplacement` functions to match and replace the pattern.

This feature is still restricted to Nightly, because no test262 tests are
currently available.

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

--HG--
extra : moz-landing-system : lando
2019-11-07 18:20:15 +00:00
Jeff Walden 7d9bfee3e9 Bug 1593888 - Actually finish the job of making rtfuzzing not bootleg stuff. r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D52210

--HG--
extra : moz-landing-system : lando
2019-11-07 19:25:54 +00:00
Jeff Walden e0161e99fc Bug 1593887 - Fix a bunch of bootlegged dependency errors if you change FILES_PER_UNIFIED_FILE to 1. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D51749

--HG--
extra : moz-landing-system : lando
2019-11-07 14:51:22 +00:00
Matt Woodrow 936025ce74 Bug 1594166 - Dont do nsContentSecurityManager checks for internal redirects. r=baku,ckerschb
We fail this during test_invalid_mime_type_blob.html when using DocumentChannel for blobs without this.
DocumentChannelChild reports an internal redirect as it replaces itself with the real channel (BlobURLChannel), and we fail the CheckLoadURIWithPrincipal checks.

The old channel has a null principal (due to being a sandboxed iframe), and we compare that to the blob principal computed from the URI, which is a normal content principal.

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

--HG--
extra : moz-landing-system : lando
2019-11-07 19:13:59 +00:00
Matt Woodrow 0d8858e71c Bug 1594166 - Don't add a manual ref when constructing FileChannelChild, since it's a refcounted IPDL class. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D51904

--HG--
extra : moz-landing-system : lando
2019-11-07 19:13:48 +00:00
Matt Woodrow f96632cb82 Bug 1594166 - Handle channel types that don't implement nsIChildChannel when switching to a real channel from DocumentChannel. r=mayhemer
This mainly shows up when creating a DocumentChannel for a blob URI, and then we try switch to the 'real' blob channel and can't find an nsIChildChannel.

We could instead implement an IDPL parent/child class for this (like FileChannelChild/Parent), but the implementation of those is effectively the same (just call AsyncOpen from CompleteRedirectSetup), and I think is unnecessary boilterplate, since we can't have an actual redirect to a blob URI.

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

--HG--
extra : moz-landing-system : lando
2019-11-07 12:47:34 +00:00
Matt Woodrow abd1ef6b96 Bug 1594166 - Enable DocumentChannel for ftp, file and blob. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D51902

--HG--
extra : moz-landing-system : lando
2019-11-07 19:01:43 +00:00
Matt Woodrow 35b5539e6d Bug 1593560 - Fix browser_firstPartyIsolation to not use w.content. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D52077

--HG--
extra : moz-landing-system : lando
2019-11-07 19:02:21 +00:00
Matt Woodrow ce8ef982e6 Bug 1593560 - Make sure IPCBlobInputStream::ReadSegments is always supported, regardless of which inner async stream type gets created. r=baku
When ReadSegments is called before the stream is ready, we return NS_BASE_STREAM_WOULD_BLOCK, not NS_ERROR_NOT_IMPLEMENTED.
If callers use AsyncWait for the IPCBlobInputStream to be ready, and then call ReadSegments again we can end up returning NS_ERROR_NOT_IMPLEMENTED, depending on what the inner type is.

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

--HG--
extra : moz-landing-system : lando
2019-11-07 19:02:21 +00:00
Matt Woodrow 7962854749 Bug 1593560 - Release mListener and break the cycle if AsyncOpen fails in DocumentChannelParent, since OnStopRequest won't be delivered to mListener in this case, which is where we usually break the cycle. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D51552

--HG--
extra : moz-landing-system : lando
2019-11-06 22:37:07 +00:00
Matt Woodrow 8abd316194 Bug 1593560 - Support non-http channels in SendCrossProcessRedirect. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D51550

--HG--
extra : moz-landing-system : lando
2019-11-06 22:37:07 +00:00
Matt Woodrow 1ec616f192 Bug 1593560 - Only return false from NS_InputStreamIsBuffered if the underlying object doesn't implement ReadSegments. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D51549

--HG--
extra : moz-landing-system : lando
2019-11-06 22:37:07 +00:00
Matt Woodrow 2704b7ceff Bug 1593560 - Adjust tests to wait for data uri to load properly, since it now includes an extra IPDL roundtrip. r=kmag,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D51548

--HG--
extra : moz-landing-system : lando
2019-11-06 22:37:07 +00:00
Matt Woodrow 03a47f121f Bug 1593560 - Allow data urls with DocumentChannel. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D51547

--HG--
extra : moz-landing-system : lando
2019-11-06 22:37:06 +00:00
Andreea Pavel c33b2ba1fc Bug 1588241 - disable browser_partitionedMessaging.js on all patforms r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D52149

--HG--
extra : moz-landing-system : lando
2019-11-07 14:07:42 +00:00
Henrik Skupin ce0143fbde Bug 1587846 - [remote] Add "quality" option to Page.captureScreenshot. r=remote-protocol-reviewers,ato,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D52146

--HG--
extra : moz-landing-system : lando
2019-11-07 19:02:00 +00:00
Henrik Skupin a2d30361e2 Bug 1587846 - [remote] Add "format" option to Page.captureScreenshot. r=remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D52145

--HG--
extra : moz-landing-system : lando
2019-11-07 19:01:38 +00:00
Henrik Skupin 605cf70003 Bug 1587846 - [remote] Fix payload of return value for Page.captureScreenshot. r=remote-protocol-reviewers,ato
The actual screenshot data should be returned via the "data"
property of an object. Also the data URL prefix has to be
stripped off, so that only the base64 encoded data will be
transmitted.

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

--HG--
extra : moz-landing-system : lando
2019-11-07 19:01:25 +00:00
Gijs Kruitbosch a7e1fdc48c Bug 1593806 - fix file type descriptions in appPicker.js and as a driveby, stop displaying a literal 'undefined' when using it for protocols, r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D52189

--HG--
extra : moz-landing-system : lando
2019-11-07 17:29:59 +00:00
Henrik Skupin 976bcc1e77 Bug 1592643 - [remote] Implement Target.activateTarget. r=remote-protocol-reviewers,maja_zf,ato
Differential Revision: https://phabricator.services.mozilla.com/D52001

--HG--
extra : moz-landing-system : lando
2019-11-07 14:48:26 +00:00
Henrik Skupin e19b0aa009 Bug 1591922 - [remote] Page.bringToFront has to wait for activate and focus events. r=remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D52000

--HG--
rename : remote/domains/parent/target/TabManager.jsm => remote/TabManager.jsm
extra : moz-landing-system : lando
2019-11-07 14:47:53 +00:00
Henrik Skupin 84cc2511ab Bug 1592643 - [remote] Methods in Target domain have to raise for invalid "targetId" argument. r=remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D51999

--HG--
extra : moz-landing-system : lando
2019-11-07 14:46:58 +00:00
Henrik Skupin 15c37c5653 Bug 1592643 - [remote] Refactor and improve browser chrome tests for Target domain. r=remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D51998

--HG--
rename : remote/test/browser/target/browser_target.js => remote/test/browser/target/browser_sendMessageToTarget.js
extra : moz-landing-system : lando
2019-11-07 14:46:42 +00:00
Mike Conley 83b7a85186 Bug 1582600 - Make PiP code handle the case where sometimes calling .get() on a weak reference throws NS_ERROR_XPC_BAD_CONVERT_NATIVE (bug 800957). r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D51939

--HG--
extra : moz-landing-system : lando
2019-11-07 18:31:42 +00:00
Thomas Wisniewski 0b4983e40e Bug 1578942 - suspendTimeouts on inner window while GeckoSession is inactive; r=snorp,bzbarsky
suspendTimeouts on inner window while GeckoSession is inactive

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

--HG--
extra : moz-landing-system : lando
2019-11-07 18:23:49 +00:00
Alex Chronopoulos 6dbd80a74e Bug 1594067 - Fix RemoveTrailing to handle correctly keep frames equals to zero. r=padenot
Fix `MediaSegmentBase::RemoveTrailing` to be able to accept the first argument, keep frames, equal to zero. The patch avoids calling the `AudioChunk::SliceTo()` method with zero slice duration which hits an assert. The crash was being triggered when in the AudioSegment was including one or more chunks, with the first chunk containing silence (null). Then the `AudioSegment::FlushAfter` had to be called with a duration smaller or equal to the duration of the first chunk. A unit test has been created, verifying the duration of the final segment.

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

--HG--
extra : moz-landing-system : lando
2019-11-07 09:58:27 +00:00
Alex Chronopoulos edaeafed2c Bug 1594067 - Clear the AudioSegment when FlushAfter is called with new end equals to zero. r=padenot
The AudioSegment::FlushAfter with input argument equals to zero is crashing on an assert that indicates misuse of the AudioChunk::SliceTo method. In general MediaSegmentBase::FlushAfter is better to clear itself when is called with argument equals to zero. This avoids the misuse and it is slightly more efficient.

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

--HG--
extra : moz-landing-system : lando
2019-11-07 09:58:20 +00:00
Andreea Pavel 5e0c7ce074 Bug 1533895 - disable browser_broadcast.js on fission r=kashav
Differential Revision: https://phabricator.services.mozilla.com/D52179

--HG--
extra : moz-landing-system : lando
2019-11-07 17:20:08 +00:00
Nicolas Chevobbe 3b5a8879f9 Bug 1592969 - Show async separator in Frame component. r=davidwalsh.
Differential Revision: https://phabricator.services.mozilla.com/D52133

--HG--
extra : moz-landing-system : lando
2019-11-07 17:28:45 +00:00
Jeff Muizelaar f348496d48 Bug 1594747. Update bitflags in WebRender to 1.2. r=kvark
This will help with some warnings about try!

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

--HG--
extra : moz-landing-system : lando
2019-11-07 16:57:15 +00:00
Dave Townsend 8b06289b6c Bug 1513855: Make sure that quit-application-granted and quit-application notifications are always sent. r=froydnj
We only run the main event loop if at least one window is open. There are various
cases where this doesn't happen, such as -silent. By the time we get there though
some components have started and require appropriate notifications to tell them
to shutdown safely. This patch sends the quit-application-granted and
quit-application notifications in the case that there were no windows open
and nsAppStartup::Quit hasn't already been called when we come to run the
event loop.

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

--HG--
extra : moz-landing-system : lando
2019-11-07 17:00:06 +00:00
Lee Salzman 72d42a42f7 Bug 1585713 - reduce WR font size limit from 512 to 320. r=jnicol
Differential Revision: https://phabricator.services.mozilla.com/D51747

--HG--
extra : moz-landing-system : lando
2019-11-07 16:51:32 +00:00
Lee Salzman 15322eed05 Bug 1585713 - disable subpixel positioning for oversized WR fonts. r=jnicol
Differential Revision: https://phabricator.services.mozilla.com/D51746

--HG--
extra : moz-landing-system : lando
2019-11-07 16:51:02 +00:00
Lee Salzman c4a8a924de Bug 1585713 - don't prune WR glyphs that were recently used. r=jnicol
Differential Revision: https://phabricator.services.mozilla.com/D51340

--HG--
extra : moz-landing-system : lando
2019-11-07 16:50:28 +00:00
Alexandre Poirot 7b1b1cd915 Bug 1592363 - Make the console use the TargetList. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D48860

--HG--
extra : moz-landing-system : lando
2019-11-07 15:05:10 +00:00
Chun-Min Chang bb5b523cb0 Bug 1590151 - Update cubeb-coreaudio-rs to cd954ca. r=padenot
Pick commits:
cd954ca - Update dependencies (#22)
7043a0c - Make audiounit_get_devices_of_type infallible (#21)

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

--HG--
extra : moz-landing-system : lando
2019-11-07 16:41:44 +00:00
André Bargull ab86a06549 Bug 1560355 - Part 3: Add support for "numberingSystem" and "calendar" options. r=jwalden
Currently restricted to Nightly-only, because the spec PR still contains bugs
and there are no test262 tests for this feature (except for tests to ensure the
properties are retrieved from the options object).

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

--HG--
extra : moz-landing-system : lando
2019-11-07 16:31:12 +00:00
André Bargull 53a8de0162 Bug 1560355 - Part 2: Use LanguageTag to add "collation" keyword to Collator locale. r=jwalden
Use ApplyUnicodeExtensionToTag to add the collation keyword instead of manually
splicing the keyword into the language tag.

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

--HG--
extra : moz-landing-system : lando
2019-11-07 14:24:53 +00:00