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

709223 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez dbf7a05226 Bug 1640165 - Use EnumSet for frame construction item flags. r=mats
And remove the XBL_BASE flag because it's unused.

Differential Revision: https://phabricator.services.mozilla.com/D76474
2020-05-22 18:07:48 +00:00
Jared Wein 1b3310643d Bug 1639606 - Downloads that are set to launchWhenSucceeded with an external application should not get handled internally, unless an attempt has already been made to launch externally. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D76243
2020-05-22 17:43:57 +00:00
Nathan Froyd 1a536ec126 Bug 1639632 - convert xpcom/ to inherit from mozilla::Runnable where possible; r=KrisWright
A little less boilerplate is nice.

Differential Revision: https://phabricator.services.mozilla.com/D76178
2020-05-20 20:37:58 +00:00
Gabriele Svelto 64e6f96111 Bug 1639537 - Unblock OpenSC 0.20 injected DLL r=tkikuchi
This effectively reverts bug 1621804.

Differential Revision: https://phabricator.services.mozilla.com/D76488
2020-05-22 17:06:44 +00:00
Lee Salzman 5510bd146f Bug 1639563 - fix GCC internal compiler error. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D76508
2020-05-22 16:53:29 +00:00
James Willcox b4862ab01a Bug 1611035 - Grant "desktop-notification" when delivering Web Push in GeckoView r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D76218
2020-05-21 20:20:40 +00:00
Junior Hsu 99cc4bf60e Bug 1638313 - allow origin for testing which is not supposed to be blocked by CORS, r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D76431
2020-05-22 06:24:20 +00:00
Junior Hsu 7d2a5e55c5 Bug 1638313 - Let devtool show CORS rejected requests correctly r=necko-reviewers,mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D76255
2020-05-22 02:21:25 +00:00
Geoff Brown f39c1aeb51 Bug 1428718 - [moztest] Support python 3; r=egao
I noticed one more moztest issue in bug 1638993: sorting an array of dict is
poorly defined on py2 and not tolerated on py3; adding the lambda clarifies
the behavior. With this resolved, I think we can bump the moztest version and
close this bug.

Differential Revision: https://phabricator.services.mozilla.com/D76486
2020-05-22 16:12:05 +00:00
Iain Ireland 36d37606e0 Bug 1639991: Use offsetOf accessors for match result object slots r=jandem
Also did a drive-by comment clean-up I missed when adding dotAll.

Differential Revision: https://phabricator.services.mozilla.com/D76391
2020-05-22 07:00:44 +00:00
Liang-Heng Chen d1d9918d79 Bug 1631676 - disallow dFPI in extension when FPI is enabled; r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D74206
2020-05-22 18:28:33 +00:00
Nicolas Silva 6c9aadb836 Bug 1239292 - Remove the multi-threaded job scheduler. r=jrmuizel
CLOSED TREE

Differential Revision: https://phabricator.services.mozilla.com/D76027
2020-05-20 20:04:05 +00:00
Ting-Yu Lin c2c1c61f39 Bug 1584890 Part 2 - Add reftests for position:fixed flex & grid root element. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D76206
2020-05-21 21:54:57 +00:00
Ting-Yu Lin fd32085218 Bug 1584890 Part 1 - Use nsFrameConstructorState::AddChild() to construct out-of-flow flex or grid container as the root element. r=dholbert
If `contentFrame` is out-of-flow, nsFrameConstructorState::AddChild() can
construct a placeholder frame for `contentFrame` and put the placeholder in
`frameList`.

Also, we need to use nsFrameConstructorState::GetGeometricParent() to
get the correct parent when calling InitAndRestoreFrame() for an
out-of-flow `contentFrame`. For example, if `contentFrame` has
position:fixed, its parent should be ViewportFrame, not
CanvasFrame (which is mDocElementContainingBlock).

This patch also adds reftests for position:absolute flex & grid root
element. Reftests for position:fixed root element are in the next part.

Differential Revision: https://phabricator.services.mozilla.com/D76205
2020-05-21 23:11:07 +00:00
Ting-Yu Lin baf5ff27be Bug 1584890 Part 0 - Skip 1608851-1.html since it causes OOM crash on multiple platforms after applying Part 1. r=mats
1608851-2.html (with `scale: 1`) is sufficient to trigger bug 1608851.
I tested locally by reverting
https://hg.mozilla.org/mozilla-central/rev/48672c042378

Differential Revision: https://phabricator.services.mozilla.com/D76411
2020-05-22 14:59:25 +00:00
egao d40fc31a1b Bug 1637463 - support loading of runtime information for a specific suite r=ahal
Changes:
  - permit existing code in chunking.py and mochitests/runtests.py to load manifest runtime information specifict to the suite

Differential Revision: https://phabricator.services.mozilla.com/D75592
2020-05-22 18:31:47 +00:00
egao cdb3bc231b Bug 1637463 - update manifest runtime information with new schema for all platforms r=ahal
Changes:
  - run the `writeruntimes` script to update runtime information file for all platforms with the new schema.

Differential Revision: https://phabricator.services.mozilla.com/D75591
2020-05-22 15:46:32 +00:00
egao cf9f527a4f Bug 1637463 - writeruntimes script to output runtime information into nested dictionary r=ahal
Changes:

Update `writeruntimes` script so that each suite is in its own nested dictionary and add the ability to query `web-platform-tests-reftest`.

Differential Revision: https://phabricator.services.mozilla.com/D75229
2020-05-20 22:01:47 +00:00
Jon Coppeard a8bcc3714f Bug 1638764 - Wait for background allocation before copying chunk mark bits r=sfink
I think the problem is that background allocation is creating a new chunk after we copy the mark bits for the existing chunks, so we fail to find the new chunk in the map. If so then we need to wait for that first, and after we know any off-thread parsing has finished.

Differential Revision: https://phabricator.services.mozilla.com/D76453
2020-05-22 16:12:43 +00:00
Geoff Brown 7e002b7daf Bug 1599261 - [moztest] Enable test_resolve.py on py3; r=egao
This test is passing now on python 3, both locally and on try.

Differential Revision: https://phabricator.services.mozilla.com/D76370
2020-05-22 16:17:47 +00:00
Lee Salzman e97b3d4035 Bug 1639563 - sanitize WR fonts. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D76360
2020-05-22 15:48:55 +00:00
Lee Salzman 96e684e365 Bug 1639563 - factor out gfxOTSContext into reusable header file. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D76358
2020-05-22 04:47:44 +00:00
Chris H-C 1a7bcf4c98 Bug 1635713 - Be explicit about SampleSet copies r=janerik
This also removes a copy during clear operations, which is nice I guess.

Differential Revision: https://phabricator.services.mozilla.com/D76328
2020-05-22 15:33:17 +00:00
Marco Castelluccio 30cfe57424 Bug 1640047 - Don't take into account bugbug's known tasks if they are likely wrong. r=ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D76418
2020-05-22 15:28:43 +00:00
Andrew Halberstadt 0591e31c1f Bug 1639349 - [ci] Set up a SCHEDULES rule to exclude non-webrender tests on webrender-only pushes, r=gbrown
Depends on D76433

Differential Revision: https://phabricator.services.mozilla.com/D76434
2020-05-22 14:03:46 +00:00
Andrew Halberstadt e6fc2d3678 Bug 1639349 - [taskgraph] Set schedules-component for test kind in an independent transform, r=gbrown
Depends on D76306

Differential Revision: https://phabricator.services.mozilla.com/D76433
2020-05-22 14:03:46 +00:00
Geoff Brown 2bd1ea09d5 Bug 1558667 - Try to make test_resource_monitor.py more robust; r=ahal
This test has been failing, infrequently, mostly on osx/py2, for many months.
Increasing the time interval between events appears to reduce failure frequency.

Differential Revision: https://phabricator.services.mozilla.com/D76402
2020-05-22 15:08:54 +00:00
Harry Twyford f6231cf697 Bug 1640185 - Don't show search glass icon for tail suggestions. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D76484
2020-05-22 14:18:02 +00:00
Cosmin Sabou 8527627b10 Bug 1639869 - Update expectation for svg-img-with-external-stylesheet.html on Android. r=aryx DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D76371
2020-05-22 13:59:18 +00:00
Bob Owen 979bf2cc65 Bug 1627577 part 4: Enable printing restests on macOS and Windows. r=emilio
Depends on D73097

Differential Revision: https://phabricator.services.mozilla.com/D73098
2020-05-22 13:54:07 +00:00
Bob Owen 69816e83e6 Bug 1627577 part 3: Use NSPrintInfo for PrintRange, StartPageRange and EndPageRange in the parent on macOS. r=jwatt
Depends on D73096

Differential Revision: https://phabricator.services.mozilla.com/D73097
2020-05-22 13:54:07 +00:00
Bob Owen 061ddb9927 Bug 1627577 part 2: Fix assertion in nsDeviceContextSpecWin::MakePrintTarget. r=jwatt
Depends on D73095

Differential Revision: https://phabricator.services.mozilla.com/D73096
2020-05-22 12:27:09 +00:00
Bob Owen 36a430874a Bug 1627577 part 1: Change printing reftests to work with remote printing. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D73095
2020-05-22 12:26:56 +00:00
Ben Hearsum d7624bd580 Bug 1638014: blacklist shippable tests from try when there is an opt version of the test available r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D76012
2020-05-22 17:45:06 +00:00
Joel Maher 159fe9a12f Bug 1636073 - mark 2 shared array buffer tests as backlog (tier-2). r=jgraham
mark 2 shared array buffer tests as backlog (tier-2)

Differential Revision: https://phabricator.services.mozilla.com/D76145
2020-05-22 17:46:38 +00:00
Mihai Alexandru Michis 3761f8821d Backed out changeset fa1babb9fbda (bug 1630983) for causing newtab failures in TopSitesFeed.jsm
CLOSED TREE
2020-05-22 21:05:09 +03:00
Marco Bonardo a6ac2a39f5 Bug 1633030 - "Search with Google" sometimes gets wrongly prepended to address bar results. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D76404
2020-05-22 13:49:22 +00:00
adiabtaic28394 43294f5124 Bug 1632345 - mach doctor does not complain about noatime/reltime on tmpfs anymore r=Callek,glandium
Differential Revision: https://phabricator.services.mozilla.com/D75917
2020-05-22 13:36:42 +00:00
Nazım Can Altınova e135e0b3f6 Bug 1639630 - Increase the java sample count limit to 120000 to cover up to 2 mins with 1ms interval. r=julienw,geckoview-reviewers,agi
Depends on D76180

Differential Revision: https://phabricator.services.mozilla.com/D76181
2020-05-21 21:20:38 +00:00
Nazım Can Altınova cdad822203 Bug 1639630 - Use the limited sample count instead of non-limited one. r=julienw,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D76180
2020-05-21 21:20:37 +00:00
Iain Ireland 5f026f7984 Bug 1362154: Part 12: Enable named captures r=mgaudet
Depends on D76046

Differential Revision: https://phabricator.services.mozilla.com/D76047
2020-05-20 19:28:15 +00:00
Iain Ireland 9e468ae39d Bug 1362154: Part 11: Update expectations for existing tests r=mgaudet
We have a number of tests that expect a particular set of properties on regexp results, which need to be updated now that they have a (generally undefined) `groups` property.

Depends on D76045

Differential Revision: https://phabricator.services.mozilla.com/D76046
2020-05-20 19:28:08 +00:00
Iain Ireland c1f2ccff80 Bug 1362154: Part 10: Enable newly supported tests r=mgaudet
Step 2 as described here: https://searchfox.org/mozilla-central/source/js/src/tests/README.txt#57-68

Depends on D76041

Differential Revision: https://phabricator.services.mozilla.com/D76045
2020-05-20 19:26:09 +00:00
Iain Ireland 67445416f4 Bug 1362154: Part 9: Support named captures in test262-update.py r=mgaudet
Step 1 as described here: https://searchfox.org/mozilla-central/source/js/src/tests/README.txt#57-68

Depends on D76040

Differential Revision: https://phabricator.services.mozilla.com/D76041
2020-05-20 19:25:36 +00:00
Iain Ireland b2fc3df629 Bug 1362154: Part 8: Named capture replacements in RegExpGetSubstitution r=arai
This patch implements the changes to GetSubstitution to support named captures.

See https://tc39.es/proposal-regexp-named-groups/#sec-getsubstitution

Differential Revision: https://phabricator.services.mozilla.com/D76040
2020-05-21 16:57:07 +00:00
Iain Ireland 7b5df5e2f5 Bug 1362154: Part 7: Named capture replacements in self-hosted code r=arai
This patch implements the changes to RegExp.prototype[@@replace] to support replacing named captures.

See: https://tc39.es/proposal-regexp-named-groups/#sec-regexp.prototype-@@replace

(I'm not completely sure what to do with out-of-date step numbers. I updated them in code that I modified, and left them alone elsewhere.)

Differential Revision: https://phabricator.services.mozilla.com/D76039
2020-05-21 04:52:12 +00:00
Iain Ireland 69760942a6 Bug 1362154: Part 6: Fall back to OOL call for named captures in Ion r=jandem
Named captures add a `groups` property to the match result. The shape of that group depends on the regexp. Allocating an object in masm requires monomorphizing on a particular template object, but all of our existing Ion regexp code is designed to handle arbitrary regexps. This means we can't allocate the `groups` object in jitcode without a lot of work.

Given that we have to call into C++ to allocate, we might as well just use the existing OOL fallback. This performs a VM call to RegExpMatcherRaw, which will simply call CreateRegExpMatchResult.

Differential Revision: https://phabricator.services.mozilla.com/D76038
2020-05-21 06:37:19 +00:00
Iain Ireland 045816c8b6 Bug 1362154: Part 5: Create groups property on result object r=mgaudet
When a regexp has named captures, the result object has an extra `groups` property, which is an object that in turn has a string property per named capture. This patch creates the `groups` object and attaches it to the result object.

The changes here correspond to this section of the spec proposal, which conveniently highlights the changes: https://tc39.es/proposal-regexp-named-groups/#sec-regexpbuiltinexec

Differential Revision: https://phabricator.services.mozilla.com/D76037
2020-05-20 21:04:47 +00:00
Iain Ireland 960ad8afed Bug 1362154: Part 4: Store named capture information in RegExpShared r=mgaudet
If a regexp contains any named captures, the irregexp parser returns information about those captures in the form of an ArrayObject, where even elements store the capture name and odd elements store the corresponding capture index. We split this information into two parts. The names are used to create a template object with a property for each capture name. The capture indices are stored as a heap-allocated array. Both of these are stored on the RegExpShared.

In the next patch, we use the template object to create a `groups` object for the regexp match result, and use the array of capture indices to populate that object.

Differential Revision: https://phabricator.services.mozilla.com/D76036
2020-05-20 21:04:01 +00:00
Iain Ireland 803c01420d Bug 1362154: Part 3: Implement FixedArray r=mgaudet
The irregexp parser uses FixedArray internally to return information about named captures. Now that we can allocate GC things during regexp parsing, it's trivial to implement FixedArray using the elements of a regular dense ArrayObject.

Differential Revision: https://phabricator.services.mozilla.com/D76035
2020-05-20 21:03:33 +00:00