Commit Graph

653000 Commits

Author SHA1 Message Date
David Walsh
1f92597fe6 Bug 1553278 - Fix download file functionality in debugger r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D32050

--HG--
extra : moz-landing-system : lando
2019-05-24 14:39:51 +00:00
Brindusan Cristian
5a5f5a78fb Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-05-25 00:54:26 +03:00
Brindusan Cristian
fd5a4a259a Merge inbound to mozilla-central. a=merge 2019-05-25 00:49:05 +03:00
Brindusan Cristian
bd1f354f25 Merge autoland to mozilla-central. a=merge 2019-05-25 00:46:28 +03:00
Nan Jiang
ac0e950c6e Bug 1543861 - Add auto resizing for kvstore r=myk
This patch implements the auto resizing to handle the MDB_MAP_FULL error. It adds two resizing strategies: 1). Active resizing to increase the store size when it gets opened; 2). Passive resizing to increase the store size when the write transaction encounters the MDB_MAP_FULL error. There are no changes to kvstore APIs, existing consumers will get this feature working without any changes to their code.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 20:38:23 +00:00
Andrew McCreight
8ea119cb58 Bug 1553370 - Fix up websocket WPT whitelists for CSP changes. r=jgraham
Recent CSP changes added some new stacks to big page leaks, so add
LoadInfo to some WPT white lists.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 21:15:19 +00:00
Boris Zbarsky
e379022658 Bug 1551282 and bug 1553436. Allow pages to override window.u2f but not the "sign" and "register" properties on the U2F object. r=jcj,smaug
There are two related problems this patch is trying to address.  The first, and
simpler, one is bug 1553436: there are websites that use existing variables and
functions named "u2f" and adding a non-replaceable readonly property with that
name on Window breaks them.  The fix for this is straightforward: mark the
property [Replaceable].

The second problem, covered by bug 1551282, involves sites that use the Google
U2F polyfill.  The relevant parts of that polyfill look like this:

  'use strict';
  var u2f = u2f || {};
  u2f.register = some_function_that_only_works_right_in_Chrome;
  u2f.sign = some_function_that_only_works_right_in_Chrome;

The failure mode for that code before this fix is that the assignment to "u2f"
throws because it's a readonly property and we're in strict mode, so any code
the page concatenates in the same file after the polyfill does not get run.
That's what bug 1551282 is about.  The [Replaceable] annotation fixes that
issue, because now the polyfill gets the value of window.u2f and then redefines
the property (via the [Replaceable] setter) to be a value property with that
value.  So far, so good.

But then we need to prevent the sets of u2f.register
and u2f.sign from taking effect, because if they are allowed to happen, the
actual sign/register functionality on the page will not work in Firefox.  We
can't just make the properties readonly, because then the sets will throw due
to being in strict mode, and we still have bug 1551282.  The proposed fix is to
make these accessor properties with a no-op setter, which is exactly what
[LenientSetter] gives us.

The rest of the patch is just setting up infrastructure for generating the
normal bits we would generate if "sign" and "register" were methods and using
that to create the JSFunctions at the point when the getter is called.  The
JSFunctions then get cached on the u2f instance object.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 20:40:59 +00:00
Narcis Beleuzu
0467ec682b Backed out changeset d003d1dd77b1 (bug 1553173) for mochitest failures on test_login_filter.html . CLOSED TREE
--HG--
rename : browser/components/aboutlogins/tests/chrome/aboutlogins_common.js => browser/components/aboutlogins/tests/mochitest/aboutlogins_common.js
rename : browser/components/aboutlogins/tests/chrome/chrome.ini => browser/components/aboutlogins/tests/mochitest/mochitest.ini
rename : browser/components/aboutlogins/tests/chrome/test_login_filter.html => browser/components/aboutlogins/tests/mochitest/test_login_filter.html
rename : browser/components/aboutlogins/tests/chrome/test_login_item.html => browser/components/aboutlogins/tests/mochitest/test_login_item.html
rename : browser/components/aboutlogins/tests/chrome/test_login_list.html => browser/components/aboutlogins/tests/mochitest/test_login_list.html
rename : browser/components/aboutlogins/tests/chrome/test_modal_input.html => browser/components/aboutlogins/tests/mochitest/test_modal_input.html
rename : browser/components/aboutlogins/tests/chrome/test_reflected_fluent_element.html => browser/components/aboutlogins/tests/mochitest/test_reflected_fluent_element.html
2019-05-25 00:29:27 +03:00
Rob Wu
830e4dd25a Bug 1552780 - Add missing --grey-90-a60 variable r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D32127

--HG--
extra : moz-landing-system : lando
2019-05-24 19:43:05 +00:00
shindli
c14bbbdd9a Backed out changeset 92835da18445 (bug 1552565) for causing perma bc failures in browser/components/extensions/test/browser/browser_ext_browserAction_popup_preload.js CLOSED TREE 2019-05-24 23:17:33 +03:00
Nathan Froyd
0839a1bd24 Bug 1542746 - remove code for frontend-based PGO instrumentation; r=dmajor
We're moving to IR-level PGO instrumentation for clang-cl.  We've also
moved to using static linker ordering files, which was the primary
application of the previous style of PGO instrumentation.  We therefore
we no longer need this code.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 20:00:38 +00:00
Nathan Froyd
875e72df9f Bug 1542746 - switch clang{,-cl} to use IR-based instrumentation for PGO; r=firefox-build-system-reviewers,chmanchester
This form of instrumentation is more like our other platforms, and also
opens the possibility of interacting properly with Rust IR-level PGO.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 19:52:41 +00:00
Steve Fink
995829d42a No bug. Reformat js/** to fix accumulated divergences.
# ignore-this-changeset

--HG--
extra : amend_source : 7b51d539061710bf4939e687b4ca4b74af757cf3
2019-05-24 11:57:18 -07:00
myfreeweb
e6dc1a7382 Bug 1213601 - Implement kinetic/inertial scrolling (fling) for Gtk touchpads. r=botond,karlt
--HG--
extra : rebase_source : c89a97e40aa59e1038530becdb53c2d7b992db7b
2019-05-24 13:31:34 -04:00
Boris Zbarsky
3d0e0bba72 Bug 1121623 part 10. Use a more-accurate default value for 'concrete' in Web IDL bindings. r=peterv
The idea is that we should only generate concreate-binding (wrap methods, etc)
machinery for an interface by default if we have reason to expect that the
interface is used as the primary interface for some objects.  Two clear signals
that would indicate that are the interface being a leaf interface (with no
descendants) and the interface having a constructor.  Other cases would require
a 'concrete' annotation in Bindings.conf.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 10:43:37 +00:00
Cosmin Sabou
4606c7974a Merge autoland to mozilla-central. a=merge 2019-05-24 12:53:24 +03:00
Boris Zbarsky
6f302d793c Bug 1121623 part 9. Change example codegen to not spit out WrapObject bits for non-concrete interfaces. r=peterv
This should keep people from marking things concrete unnecessarily just so
their example-generated WrapObject works.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 07:34:33 +00:00
Henrik Skupin
59b691b66e Bug 1546880 - [raptor] Remove proxy workaround from raptor-youtube-playback tests. r=perftest-reviewers,stephendonner
Differential Revision: https://phabricator.services.mozilla.com/D32378

--HG--
extra : moz-landing-system : lando
2019-05-24 05:36:42 +00:00
Ciure Andrei
c7c661056f Merge autoland to mozilla-central. a=merge 2019-05-24 06:52:59 +03:00
Nathan Froyd
2b3a15afe9 Bug 1542746 - use a static MOZ_PROFILE_ORDER_FILE; r=nalexander,chmanchester
We're planning on switching to IR-based profiling, so we can't use the
frontend-based instrumentation to collect the order in which functions
are executed...at least not during the build itself.  Performance tests
indicate that not having the order information decreases performance
significantly.  So we're going to check in static files for Win32 and
Win64 and use those to perform the ordering.  It's OK if these files are
slightly out of date; as of this writing, builds that generate and then
use these files complain that ~1/3 of the functions can't be found (!).
We're just trying to do something slightly smarter than whatever the
linker default is.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 01:54:59 +00:00
Andreea Pavel
ed8cf51b98 Backed out 23 changesets (bug 1550633) for causing bug 1548454 to permafail on a CLOSED TREE
Backed out changeset ce4a146da49d (bug 1550633)
Backed out changeset e1a33576d6ad (bug 1550633)
Backed out changeset bbd8f62b9bff (bug 1550633)
Backed out changeset 583d4e0945ad (bug 1550633)
Backed out changeset 29487a59512d (bug 1550633)
Backed out changeset 0f6ddd898e89 (bug 1550633)
Backed out changeset fd1afdd721e3 (bug 1550633)
Backed out changeset d4a6c1337f89 (bug 1550633)
Backed out changeset 2d4773f2dc6c (bug 1550633)
Backed out changeset e9dea69efffe (bug 1550633)
Backed out changeset 4265dd65cec3 (bug 1550633)
Backed out changeset 2aaaa42c409b (bug 1550633)
Backed out changeset d85485f76233 (bug 1550633)
Backed out changeset b6e8370b6efb (bug 1550633)
Backed out changeset afaef937598b (bug 1550633)
Backed out changeset 470d8fae0461 (bug 1550633)
Backed out changeset 8024fcefe8b1 (bug 1550633)
Backed out changeset 224eadc5ef27 (bug 1550633)
Backed out changeset 26c3c521ce27 (bug 1550633)
Backed out changeset def294ad0efb (bug 1550633)
Backed out changeset b15cc6e689e7 (bug 1550633)
Backed out changeset be178934cbbb (bug 1550633)
Backed out changeset 9893ccf1f8ad (bug 1550633)
2019-05-24 03:38:26 +03:00
Andreea Pavel
9ea3c5f4bf Backed out 2 changesets (bug 1552287) for failing contain-layout-suppress-baseline-002.html on a CLOSED TREE
Backed out changeset 815c6657d164 (bug 1552287)
Backed out changeset 888c32d2a32e (bug 1552287)
2019-05-24 03:34:03 +03:00
Henrik Skupin
7ac54a42f3 Bug 1546880 - Remove usage of proxy server from testing/profiles/perf/user.js. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D32376

--HG--
extra : moz-landing-system : lando
2019-05-23 23:45:18 +00:00
Henrik Skupin
cb729f61af Bug 1546880 - [talos] Replace remote w3c image with local copy. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D32375

--HG--
extra : moz-landing-system : lando
2019-05-23 23:39:38 +00:00
alexandru.ionescu
2f37f5f55a Bug 1546323 Run cold page load tests against Fennec v64 in CI r=Bebe
Differential Revision: https://phabricator.services.mozilla.com/D31773

--HG--
extra : moz-landing-system : lando
2019-05-24 07:12:19 +00:00
arthur.iakab
ddbee389db Backed out changeset 22fad4a26360 (bug 1548659) for Decision Task bustage CLOSED TREE 2019-05-24 10:11:25 +03:00
Edwin Gao
ac20c5bce5 Bug 1548659 - demote all android-em-4.3 tests to tier 2 and restrict platforms r=jmaher,RyanVM,gbrown
Changes:

- demote all existing `android-em-4.*` tests to tier 2
- ensure the above tests only run on `try` and `mozilla-central` but with exceptions

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

--HG--
extra : moz-landing-system : lando
2019-05-24 06:52:46 +00:00
Daniel Holbert
0f84d86e05 Bug 1552287 part 2: [css-contain] Adjust various reflow & baseline methods so that layout-contained frames behave as if they have no baseline. r=TYLin
We previously (in bug 1491235) adjusted some utility code to make
layout-contained frames behave as if they have no baseline.

But that's not sufficient. To make frames fully report lack-of-a-baseline,
we now do the following for layout-contained frames, as of this patch:

 (a) We now leave the ReflowOutput outparam's BlockStartAscent member at its
     default value (which is what we do for frames without a baseline like
     e.g. nsCheckboxRadioFrame and nsHTMLCanvasFrame). And if the parent cares
     about the baseline, it'll then ask directly, using a baseline getter.

 (b) We now return 'false' in more implementations of bool-returning
     baseline-getter-methods (where 'false' indicates 'no baseline').

 (c) We now return the margin-box-bottom edge, in the nscoord-returning
     'GetLogicalBaseline()' getter method. (We typically do this by deferring
     to the inherited method, which ultimately comes from nsFrame's
     implementation). It's appropriate to use the margin-box-bottom edge when
     there's no baseline, per the definition of 'vertical-align: baseline',
     here: https://drafts.csswg.org/css2/visudet.html#propdef-vertical-align

Depends on D32182

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

--HG--
extra : moz-landing-system : lando
2019-05-24 04:46:17 +00:00
Daniel Holbert
c016e21c54 Bug 1552287 part 1: [css-contain] Fix some CSS layout-containment web-platform-tests to make their assumptions more valid. r=TYLin
In particular:

- In contain-layout-suppress-baseline-002.html, the test currently indirectly
  relies on the 50px-tall-canvas being the tallest thing in each flex
  container. This isn't robustly true (and in fact on windows, the textarea is
  taller at 50.8px tall). So I'm adjusting this test so that it no longer has a
  hardcoded flex container size and no longer depends on this.

- In contain-layout-baseline-005.html and its reference case, we need to
  explicitly specify 'vertical-align:baseline' to test baseline-alignment,
  because some of its tested form controls have other UA-stylesheet-provided
  default values of 'vertical-align'.
  (e.g. <select multiple> defaults to 'vertical-align:text-bottom")

- Also: in that same test, we need to reduce the width of the an <input>
  textfield -- otherwise, it and the other elements on its line may not fit and
  may linewrap, which prevents us from effectively testing baseline-alignment
  on the linewrapped element.

- In contain-layout-button-001.html, the expectation was not correct. Before
  this patch, the test expects that a layout-contained button will have the
  same baseline as an empty button, and that's an invalid expectation. An empty
  button uses a point inside of its content-box as its baseline, whereas a
  layout-contained element *has no baseline*, which means that it does
  'vertical-align:baseline' alignment by aligning its own margin-bottom edge
  with the parent's baseline, per
  https://drafts.csswg.org/css2/visudet.html#propdef-vertical-align
  So, I'm amending the test to have this expectation and updating its meta tags
  to reference the updated expectation and with a reference to that spec text.

Firefox fails the amended contain-layout-button-001.html test, so this patch
adds a .ini file to reflect that failure.  The next patch in this series will
fix our implementation to make us pass the test, and will remove the .ini file.

Chrome also fails the amended contain-layout-button-001.html tests, and I filed
https://bugs.chromium.org/p/chromium/issues/detail?id=965740 on them with an
explanation.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 04:46:07 +00:00
violet
91d759f562 Bug 1553252 - Use cbindgen for text-overflow r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D32285

--HG--
extra : moz-landing-system : lando
2019-05-24 04:48:46 +00:00
Boris Chiou
3b51b642f3 Bug 1429301 - Implement offset-rotate. r=emilio
This includes style system and layout update. I add 3 extra reftests
because the original tests use ray() function as the offset-path, but we
don't support it. It'd be better to add tests using a different type of
offset-path.

The spec issue about the serialization:
https://github.com/w3c/fxtf-drafts/issues/340

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

--HG--
extra : moz-landing-system : lando
2019-05-24 03:42:03 +00:00
Razvan Maries
234389cf17 Backed out changeset 82b18d61da00 (bug 1553378) for build bustages. CLOSED TREE 2019-05-24 06:50:14 +03:00
Ashley Hauck
236992ad66 Bug 1552875 - Set anonymous function name in field initializer. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D32070

--HG--
extra : moz-landing-system : lando
2019-05-23 21:54:34 +00:00
Ciure Andrei
90fa4c6afd Merge autoland to mozilla-central. a=merge 2019-05-24 00:51:34 +03:00
Jorg K
48cbbb3137 Bug 1553957 - Include WindowProxyHolder.h in EventTarget.h. r=smaug a=Aryx 2019-05-23 23:09:19 +02:00
Chris H-C
9398868673 Bug 1552315 - Hardcode the new prio keys to avoid misconfiguration. r=rhelmer
As a plus this gives us an API we could use if we ever need to rotate the keys
at runtime.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 18:13:53 +00:00
Tom Prince
573c84911a No bug: [mozharness] Don't explicitly pass scm-level to mozharness; r=Callek
The last use of scm level in mozharness is in `mozharness.mozilla.secrets` which
uses the `MOZ_SCM_LEVEL` environment variable directy.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 01:08:06 +00:00
dlee
2c8cc96c07 Bug 1553963 - Fix Safe Browsing doesn't cache the gethash result for V4 tables. r=gcp
We use ".pset" to find active tables, but in Bug 1353956, v4 prefix files
are renamed to ".vlpset".

This patches include both 'pset' and 'vlpset' to ScanStoreDir.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 19:42:00 +00:00
Boris Zbarsky
439bd768ad Bug 1554065. Fix the requestor nsDocShell::DoFindItemWithName passes to TabGroup::FindItemWithName. r=nika
The requestor should be ourselves: the toplevel docshell that the tabgroup does
not need to look in when doing the search.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 19:40:44 +00:00
Jared Wein
f9cb4ec2b6 Bug 1553173 - Import about:logins components as JS modules. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D32052

--HG--
rename : browser/components/aboutlogins/tests/mochitest/aboutlogins_common.js => browser/components/aboutlogins/tests/chrome/aboutlogins_common.js
rename : browser/components/aboutlogins/tests/mochitest/mochitest.ini => browser/components/aboutlogins/tests/chrome/chrome.ini
rename : browser/components/aboutlogins/tests/mochitest/test_login_filter.html => browser/components/aboutlogins/tests/chrome/test_login_filter.html
rename : browser/components/aboutlogins/tests/mochitest/test_login_item.html => browser/components/aboutlogins/tests/chrome/test_login_item.html
rename : browser/components/aboutlogins/tests/mochitest/test_login_list.html => browser/components/aboutlogins/tests/chrome/test_login_list.html
rename : browser/components/aboutlogins/tests/mochitest/test_modal_input.html => browser/components/aboutlogins/tests/chrome/test_modal_input.html
rename : browser/components/aboutlogins/tests/mochitest/test_reflected_fluent_element.html => browser/components/aboutlogins/tests/chrome/test_reflected_fluent_element.html
extra : moz-landing-system : lando
2019-05-24 19:26:50 +00:00
Andrew Halberstadt
fe77911a5f Bug 1553527 - [testing] Add 'fission' to test manifest context r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D32210

--HG--
extra : moz-landing-system : lando
2019-05-24 18:41:14 +00:00
Andrew Halberstadt
2dff4a6138 Bug 1553527 - [ci] Create a new 'fission' test variant r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D32196

--HG--
extra : moz-landing-system : lando
2019-05-24 18:41:01 +00:00
Micah Tigley
645a8295e3 Bug 1352070 - Part 2: RDM tests for ensuring that the values for the selected device's outerHeight/outerWidth properties are correct. r=bradwerth
Depends on D32253

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

--HG--
extra : moz-landing-system : lando
2019-05-24 16:58:53 +00:00
Micah Tigley
5e1ae47038 Bug 1352070 - Part 1: In RDM, return the inner window size values of the RDM iframe when getting its outer size values via window.outerWidth/outerHeight r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D32253

--HG--
extra : moz-landing-system : lando
2019-05-24 16:46:03 +00:00
Andrea Marchesini
c926d65d2f Bug 1553867 - Reduce the number of ClonePrincipalForPermission() call in CookieSettings, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D32364

--HG--
extra : moz-landing-system : lando
2019-05-24 19:05:35 +00:00
Andrea Marchesini
52816e049d Bug 1554137 - nsICookie and nsICookie2 should be builtinclass interfaces, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D32461

--HG--
extra : moz-landing-system : lando
2019-05-24 17:01:21 +00:00
David Teller
830a3e61ea Bug 1553482 - Use BinASTInterfaceAndField in Context;r=arai
Depends on D32295

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

--HG--
extra : moz-landing-system : lando
2019-05-24 18:48:57 +00:00
David Teller
336f642617 Bug 1553482 - Exposing some of the grammar as macros;r=arai
To extract Huffman tables (see bug 1552435), we need the ability to walk through the grammar.
This patch starts implementing grammar walking, as macros - at this stage, sufficiently to walk
through interfaces and start dealing with their fields.

Depends on D32291

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

--HG--
extra : moz-landing-system : lando
2019-05-24 18:48:29 +00:00
David Teller
d5dc0ee759 Bug 1553482 - Generating BinASTInterfaceAndField;r=arai
Depends on D32289

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

--HG--
extra : moz-landing-system : lando
2019-05-24 18:48:04 +00:00
David Teller
810bb6fa18 Bug 1553482 - Generating BINAST_TOTAL_NUMBER_OF_FIELDS, BINAST_NUMBER_OF_LIST_TYPES;r=arai
Differential Revision: https://phabricator.services.mozilla.com/D32289

--HG--
extra : moz-landing-system : lando
2019-05-24 18:47:34 +00:00