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

637148 Коммитов

Автор SHA1 Сообщение Дата
Kyle Machulis 623c5a81b8 Bug 1524683 - Add nsFrameLoaderOwner class; r=nika
Depends on D19727

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

--HG--
extra : moz-landing-system : lando
2019-02-15 22:20:51 +00:00
Kyle Machulis 9fb68b2ccf Bug 1524683 - Remove nsIFrameLoaderOwner from tests; r=nika
Any time we QI to nsIFrameLoaderOwner in tests, we're really accessing
a MozFrameLoader. We don't need to be doing that anymore.

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

--HG--
extra : moz-landing-system : lando
2019-02-15 22:20:49 +00:00
Cosmin Sabou 1194781109 Bug 1526212 - Disable /resource-timing/test_resource_timing.https.html on linux, mac and windows. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D20019

--HG--
extra : moz-landing-system : lando
2019-02-15 22:23:41 +00:00
Valentin Gosu a5cc5b2a87 Bug 1521808 - Implement process switching based on Cross-Opener-Origin-Policy header r=nika,qdot
* New topLevel loads get the nsILoadInfo.openerPolicy of the current top level document
* Parsing the Cross-Opener-Origin-Policy of a channel will update mLoadInfo.openerPolicy and this value will get propagated to the child process.
* SessionStore now checks nsIHttpChannel.hasCrossOriginOpenerPolicyMismatch (preffed off) and performs a process switch if needed

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

--HG--
rename : toolkit/components/remotebrowserutils/tests/browser/browser_httpResponseProcessSelection.js => toolkit/components/remotebrowserutils/tests/browser/browser_httpCrossOriginOpenerPolicy.js
extra : moz-landing-system : lando
2019-02-15 22:02:47 +00:00
Valentin Gosu 0009ddac1e Bug 1521808 - Add xpcshell-test for CrossOriginOpenerPolicy r=mayhemer,nika,annevk
Differential Revision: https://phabricator.services.mozilla.com/D18246

--HG--
extra : moz-landing-system : lando
2019-02-15 22:02:52 +00:00
Valentin Gosu 38f19c2395 Bug 1521808 - Use topWindowPrincipal for CrossOriginOpenerPolicy check r=mayhemer,nika
- Adds nsIHttpChannelInternal.setTopWindowPrincipal used to pass the principal from the child to the parent

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

--HG--
extra : moz-landing-system : lando
2019-02-15 22:28:56 +00:00
Valentin Gosu 865d80fff4 Bug 1521808 - Implement Cross-Origin-Opener-Policy header r=nika,mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D18119

--HG--
extra : moz-landing-system : lando
2019-02-15 22:02:58 +00:00
Cosmin Sabou 12f7bded8e Bug 1526332 - Enable dom.security.featurePolicy on beta and release. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D19672

--HG--
extra : moz-landing-system : lando
2019-02-13 16:47:13 +00:00
Ashley Hauck 5ecfedf57b bug 1526031 - remove initOrStmt field from NameNode. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D19054

--HG--
extra : moz-landing-system : lando
2019-02-15 22:10:45 +00:00
Edgar Chen 14d6d67458 Bug 1323400 - Part 3-2: Add test; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D19811

--HG--
extra : moz-landing-system : lando
2019-02-15 21:53:44 +00:00
Edgar Chen 652012afa9 Bug 1323400 - Part 3-1: Refactor test_multiple_touches.html; r=smaug
To make it easier to add new test without introudcing duplicated code.

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

--HG--
extra : moz-landing-system : lando
2019-02-15 16:47:26 +00:00
Edgar Chen 408cdd3a53 Bug 1323400 - Part 2: Filter out duplicated touchmove for pointer event; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D19804

--HG--
extra : moz-landing-system : lando
2019-02-15 22:04:13 +00:00
Edgar Chen 0518b15392 Bug 1323400 - Part 1: Mark Touch::Equals as a const method; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D18232

--HG--
extra : moz-landing-system : lando
2019-02-15 16:28:35 +00:00
Noemi Erli 7f0a1d33d8 Backed out 5 changesets (bug 1522111) for breaking windows opt wpts
Backed out changeset aa6103c8ef0f (bug 1522111)
Backed out changeset 14e9ed41b8be (bug 1522111)
Backed out changeset c10783ea070b (bug 1522111)
Backed out changeset cc97d772a8db (bug 1522111)
Backed out changeset 6fbfc8bc2388 (bug 1522111)
2019-02-16 00:06:17 +02:00
Daniel Holbert 6ad6b0c64d Bug 1508420: Add mochitest for conditions that disqualify a frame from becoming a dynamic reflow root. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D14669

--HG--
extra : moz-landing-system : lando
2019-02-15 22:00:23 +00:00
Markus Stange 2543a26aeb Bug 1528322 - Use a ranged for loop to iterate over chars array, as suggested by static analysis. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D19966

--HG--
extra : moz-landing-system : lando
2019-02-15 20:51:58 +00:00
Shane Caraveo 84ec4ca5cf Bug 1525447 support incognito setting in proxy api r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D18754

--HG--
extra : moz-landing-system : lando
2019-02-15 21:20:51 +00:00
Noemi Erli 6cefa371d4 Backed out changeset db4946736508 (bug 1499448) for failures in BytecodeEmitter.cpp CLOSED TREE
--HG--
extra : amend_source : afa20ffdad5733b94f7897ac4d32a9f7b0a7abde
2019-02-15 23:22:44 +02:00
Marco Bonardo a5fe67550e Bug 1521366 - Searching for a space in the Quantum Bar causes an infinite loop. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D19979

--HG--
extra : moz-landing-system : lando
2019-02-15 20:55:30 +00:00
Ashley Hauck 707fc46c31 Bug 1499448 - Implement more field functionality. r=jorendorff
Some functionality is intentionally unimplemented to make this patch
smaller and at a faster cadence: field initializers are stored on
this['.initializers'] instead of a local, derived classes are not
supported yet, and constant-folding/inline field initializers are not
implemented.

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

--HG--
extra : moz-landing-system : lando
2019-02-15 18:16:12 +00:00
Ethan Glasser-Camp 41a995b3bf Bug 1443560: Convert checks to examine snapshotted events r=Gijs
Because the mock no longer checks whether the format of events is
correct, check the events that Telemetry actually records, in order to
make sure we conform to the event schema.

Some uses check that *no* calls were made to the stub. Although this
is technically still valid (because we don't care about the format of
events in this case), convert even these to check events for
consistency.

TelemetryTestUtils.assertEvents doesn't allow us to pass a message,
but most of these messages don't add anything useful and at least one
is just wrong so it's not a big loss.

Depends on D19540

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

--HG--
extra : moz-landing-system : lando
2019-02-15 15:48:58 +00:00
Ethan Glasser-Camp 8686e22b58 Bug 1443560: register telemetry events statically r=Gijs
This also means we no longer have direct access to the event schema,
so rely on Telemetry to throw when we send an invalid event.

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

--HG--
extra : moz-landing-system : lando
2019-02-15 15:48:51 +00:00
David Major 5e9dad8ee0 Bug 1528304 - Update max memory recording regions. r=ted
Differential Revision: https://phabricator.services.mozilla.com/D19960

--HG--
extra : moz-landing-system : lando
2019-02-15 19:12:32 +00:00
alwu a904454ea2 Bug 1526044 - part3 : add crash test. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D19449

--HG--
extra : moz-landing-system : lando
2019-02-15 14:41:54 +00:00
alwu a844fb97f3 Bug 1526044 - part2 : resume from Chrome should only take effect when the AudioContext was suspended from Chrome. r=padenot
If the AudioContext is suspended by content or by Autoplay policy, it shouldn't be resumed by chrome.

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

--HG--
extra : moz-landing-system : lando
2019-02-15 14:41:46 +00:00
alwu 1c2aaaf683 Bug 1526044 - part1 : do not append duplicated stream. r=padenot
Different nodes might have same AudioParam, so we shouldn't append same stream multiple times.

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

--HG--
extra : moz-landing-system : lando
2019-02-15 14:41:22 +00:00
Nika Layzell 42ad0f2288 Bug 1522637 - Part 8: Allow 'element_stale' to work after process swap, r=ato
The element has never existed in the new process, so it gets a missing
error rather than a stale error in that case.

Depends on D19692

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

--HG--
extra : moz-landing-system : lando
2019-02-15 19:49:23 +00:00
Nika Layzell 848283beff Bug 1522637 - Part 7: Perform the preloaded document swap before checking for HTTP loads, r=mconley
For HTTP loads from the preloaded document, no process swap was occuring
if the preloaded document was loaded in a 'web' process. This caused
test failures, and has potentially undesireable behaviour.

This patch just moves the check for preloaded document swaps to before
the check for http parent process interception, forcing a swap like
normal.

Depends on D19691

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

--HG--
extra : moz-landing-system : lando
2019-02-15 19:49:20 +00:00
Nika Layzell 15e8803fb2 Bug 1522637 - Part 6: Perform process switches separtely from on-examine-response, r=valentin
Issues were occuring where a process swap would be decided upon during
on-examine-response, but before the swap could be handled by the
channel, the channel was redirected.

This new code takes the mildly hacky approach of simply using a separate
observer notification which is fired at the correct time. A better
solution may be to use a dedicated service for responding to these
events, however that was not implemented for this initial patch.

Depends on D18606

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

--HG--
extra : moz-landing-system : lando
2019-02-15 19:49:17 +00:00
Nika Layzell f59c32f2c6 Bug 1522637 - Part 5: Add tests for history navigations between http and file URIs with new pref, r=qdot
Depends on D18605

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

--HG--
extra : moz-landing-system : lando
2019-02-15 19:49:15 +00:00
Nika Layzell 3a5872a2f0 Bug 1522637 - Part 4: Support browsers in globals without gMultiProcessBrowser, r=qdot
Depends on D18604

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

--HG--
extra : moz-landing-system : lando
2019-02-15 19:49:13 +00:00
Nika Layzell 947aaf1432 Bug 1522637 - Part 3: Send history index when resuming redirected loads, r=qdot
Depends on D18603

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

--HG--
extra : moz-landing-system : lando
2019-02-15 19:49:11 +00:00
Nika Layzell feecd3ed43 Bug 1522637 - Part 2: Include BrowsingContextID in LoadInfo for subdocument loads, r=valentin
Depends on D18602

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

--HG--
extra : moz-landing-system : lando
2019-02-15 19:49:04 +00:00
Nika Layzell 0fc050a8b0 Bug 1522637 - Part 1: Disable in tests for allowLinkedWebInFileUriProcess, r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D18602

--HG--
extra : moz-landing-system : lando
2019-02-15 19:49:02 +00:00
arthur.iakab 52dc4687b4 Backed out changeset 60cb2cb96e5e (bug 1525447) for failing android xpcshell on test_proxy_incognito.js CLOSED TREE 2019-02-15 21:44:42 +02:00
Tooru Fujisawa c1d37614b8 Bug 1528057 - Set async method name properly. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D19905

--HG--
extra : moz-landing-system : lando
2019-02-15 19:22:16 +00:00
Emilio Cobos Álvarez 7365804cf7 Bug 1525509 - Add release asserts. r=dholbert
Just for my sanity. I think the other scroll observer is sane after a quick
look, but this will ensure we don't ship security issues.

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

--HG--
extra : moz-landing-system : lando
2019-02-15 06:29:55 +00:00
Emilio Cobos Álvarez 16314d820b Bug 1528199 - Make nsTreeColFrame::InvalidateColumns not flush. r=dholbert
That's not sound.

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

--HG--
extra : moz-landing-system : lando
2019-02-15 19:05:09 +00:00
Boris Zbarsky 1d1e39ab16 Remove no longer relevant comment. No bug. r=emilio
The primary frame hashtable is long gone; we have a pointer on the node now.

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

--HG--
extra : moz-landing-system : lando
2019-02-15 19:01:11 +00:00
Dzmitry Malyshau 78eba476ed Bug 1527325 - Refactor webrender_api includes r=gw,nical
Differential Revision: https://phabricator.services.mozilla.com/D19499

--HG--
extra : moz-landing-system : lando
2019-02-15 18:59:31 +00:00
Myk Melez 2c76682892 Bug 1527104 - use rkv::OwnedValue instead of internal OwnedValue in kvstore r=nika
The kvstore crate that landed in bug 1490496 uses an internal implementation of OwnedValue because the rkv crate's equivalent was insufficient at the time that kvstore was being developed.

rkv's OwnedValue has since evolved to support kvstore's use cases, and bug 1525392 is updating mozilla-central to the latest version of rkv; so we should replace kvstore's internal OwnedValue with rkv::OwnedValue.

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

--HG--
extra : moz-landing-system : lando
2019-02-15 18:33:30 +00:00
Cosmin Sabou 8cb8ef3973 Merge mozilla-central to autoland. 2019-02-15 20:50:34 +02:00
Cosmin Sabou 49fc90d7dc Backed out changeset 66082f22ae11 (bug 1527680) for merge conflicts on toolkit/content/widgets/popupnotification.js. 2019-02-15 20:49:37 +02:00
Cosmin Sabou a4b19fcd61 Merge mozilla-inbound to mozilla-central. a=merge
--HG--
rename : browser/components/nsBrowserContentHandler.js => browser/components/BrowserContentHandler.jsm
2019-02-15 20:39:45 +02:00
Cosmin Sabou fab429586f Merge autoland to mozilla-central. a=merge 2019-02-15 20:36:32 +02:00
Cosmin Sabou ba308a2f90 Backed out 4 changesets (bug 1521808) for causing merge conflicts.
Backed out changeset 42641f88d7da (bug 1521808)
Backed out changeset 32ce09b2c33a (bug 1521808)
Backed out changeset 94e513102b53 (bug 1521808)
Backed out changeset a08553c07886 (bug 1521808)
2019-02-15 20:34:07 +02:00
Byron Campen [:bwc] 90e28addea Bug 1508685 - Part 1: Don't pay attention to the mids in the previous answer when creating a reoffer, just use the transceiver's mid. r=mjf
Depends on D19948

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

--HG--
extra : moz-landing-system : lando
2019-02-15 18:09:17 +00:00
Byron Campen [:bwc] 3b7e58abef Bug 1508685 - Part 0: Test that answers without mids don't result in an invalid reoffer. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D19948

--HG--
extra : moz-landing-system : lando
2019-02-15 18:07:20 +00:00
Razvan Maries 00ff5fa61a Backed out changeset 10528ad0d7a1 (bug 1525125) for frequently failing bug 1528134. a=backout 2019-02-15 18:23:14 +02:00
Razvan Maries d93d94cbc9 Backed out 9 changesets (bug 1522637) for causing bug 1528188. a=backout
Backed out changeset e4ca191d62a5 (bug 1522637)
Backed out changeset 540e5f318768 (bug 1522637)
Backed out changeset 0886a317a108 (bug 1522637)
Backed out changeset 4c7c512a262d (bug 1522637)
Backed out changeset d7eb272688be (bug 1522637)
Backed out changeset 67e838f49f4b (bug 1522637)
Backed out changeset 7e38890c72fa (bug 1522637)
Backed out changeset e6ca9ad18d15 (bug 1522637)
Backed out changeset 0f759e91eca8 (bug 1522637)
2019-02-15 18:21:36 +02:00