Commit Graph

697931 Commits

Author SHA1 Message Date
Botond Ballo
8ee14bcbbe Bug 1623476 - Rename enum RelativeTo to DisplayportRelativeTo. r=tnikkel
This is in anticipation of introducing a struct named RelativeTo
in bug 1556556.

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

--HG--
extra : moz-landing-system : lando
2020-03-23 22:20:11 +00:00
Botond Ballo
841ae3ad7d Bug 1623476 - Some const-correctness improvements (nsIFrame* --> const nsIFrame*) in nsLayoutUtils functions. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D67514

--HG--
extra : moz-landing-system : lando
2020-03-23 22:19:12 +00:00
Mike Conley
24b581928a Bug 1623084 - Extend the lifetime of the tab switch spinner probes. r=dthayer,data-review=mmccorquodale
Differential Revision: https://phabricator.services.mozilla.com/D67914

--HG--
extra : moz-landing-system : lando
2020-03-23 20:05:52 +00:00
Jonathan Kew
e819c27aa8 Bug 1309934 - Apply NFC normalization in preference to falling back to a different font for combining marks. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D67945

--HG--
extra : moz-landing-system : lando
2020-03-23 21:37:12 +00:00
alwu
8fe54c2cae Bug 1623950 - remove destroyed browsing context Id from the 'mMediaSessionInfoMap'. r=chunmin
If the browsing context which media session belongs to has been detroyed and it wasn't be removed correctly via the IPC message (that could happen if the browsing context was destroyed before ContentPatent receives the remove message [1]), then we should remove it and continue to iterate other elements.

[1] https://searchfox.org/mozilla-central/rev/202a285024f174c2d2bf2152d9cba90a03723eab/dom/ipc/ContentParent.cpp#5854-5856

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

--HG--
extra : moz-landing-system : lando
2020-03-23 22:07:08 +00:00
Punam Dahiya
b38003f702 Bug 1622474 - Enabled new About:Welcome experience by default; turned on dynamic triplets r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D67199

--HG--
extra : moz-landing-system : lando
2020-03-23 19:51:57 +00:00
Ricky Stewart
c1c042cab7 Bug 1623765 - mach watch supports Python 3 r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D67927

--HG--
extra : moz-landing-system : lando
2020-03-23 21:34:16 +00:00
jayati
0f451c772a Bug 1619318- Ensures "X" button is focused when navigating using Tab key. r=Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D66646

--HG--
extra : moz-landing-system : lando
2020-03-23 21:28:44 +00:00
Razvan Maries
f86965f8af Backed out changeset 1a28a2477439 (bug 1623228) for build bustages on ProfileBufferChunk.h. CLOSED TREE 2020-03-23 23:29:12 +02:00
Iain Ireland
f502cef5ef Bug 1624015: Update shim code to support new import r=mgaudet
Because most of the recent changes to irregexp were patches I contributed myself, we barely need to change any of the shim code.

The only notable change is the addition of '#define COMPILING_IRREGEXP_FOR_EXTERNAL_EMBEDDER'. This is the solution that Jakob Gruber and I eventually came up with for the question of what to do with awkward V8 code that SM doesn't want. For example, NativeRegExpMacroAssembler::Match (in regexp-macro-assembler.cc) gets down in the muck with the internal details of V8's String implementation. It would be most convenient for SM if that function just didn't exist; we aren't going to use it, and we don't want to have to define a bunch of unused string API gunk in our shim. The answer is to wrap functions we don't need in "#ifndef COMPILING_IRREGEXP_FOR_EXTERNAL_EMBEDDER", which solves our problem and is minimally disruptive upstream.

Depends on D67718

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

--HG--
extra : moz-landing-system : lando
2020-03-23 19:19:38 +00:00
Iain Ireland
40b01f783f Bug 1624015: Update special-case.cc r=mgaudet
In V8, gen-regexp-special-case.cc is compiled and run as a special build step to produce special-case.cc. That's a waste of time for us. special-case.cc can only change if one of the following occurs:

1. The Unicode consortium changes the case-folding behaviour of characters in the Basic Multilingual Plane. Given that there are only 16 undefined codepoints remaining in the BMP, this is not expected to happen often, if indeed it ever happens again.

2. Changes are made to gen-regexp-special-case.cc.

Because of this, special-case.cc is checked in directly in SpiderMonkey.

As it happens, one of the patches that I contributed back upstream to V8 fixed a number of bugs with /iu (ignoreCase, non-unicode) matches. Fixing that bug involved rewriting gen-regexp-special-case.cc to match the JS spec.

This patch checks in the resulting changes to special-case.cc.

Depends on D67717

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

--HG--
extra : moz-landing-system : lando
2020-03-23 19:18:21 +00:00
Iain Ireland
e5af5bd90a Bug 1624015: Re-import irregexp using import-irregexp.py r=mgaudet
The contents of this patch were automatically generated using import-irregexp.py.

This is up to date with upstream V8 as of March 19, 2020.

Depends on D67716

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

--HG--
extra : moz-landing-system : lando
2020-03-23 19:16:40 +00:00
Iain Ireland
93a2d14147 Bug 1624015: Create script to automate import from v8 r=mgaudet
This script handles all the mechanical steps of importing irregexp from v8:

1. Acquire the source: either from github, or optionally from a local copy of v8.
2. Copy the contents of v8/src/regexp into js/src/new-regexp
   - Exclude files that we have chosen not to import.
3. While doing so, update #includes:
   - Change "src/regexp/*" to "new-regexp/*".
   - Remove other v8-specific headers completely.
   (This subsumes the previous "update-headers.py" script.)
4. Add '#include "new-regexp/regexp-shim.h" in the necessary places.
5. Update the VERSION file to include the correct git hash.

The only remaining task is to try compiling the code and see whether any of the shim code needs to be updated.

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

--HG--
extra : moz-landing-system : lando
2020-03-23 21:10:06 +00:00
Gerald Squelart
df0599ee6d Bug 1623228 - ProfileBufferChunk - r=canaltinova
A `ProfileBufferChunk` represents a single chunk of memory, with an optional
link to the next chunk.

In the new Fission-compatible profiler storage, chunks will be allocated by a
chunk manager, filled with data by the profiler, and then released back to the
chunk manager.
The chunk manager may decide to destroy or recycle old chunks based on memory
limits (per process, or for the entire Firefox app).

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

--HG--
extra : moz-landing-system : lando
2020-03-23 18:16:08 +00:00
David Walsh
b6cedf9fcf Bug 1624346 - Use destructuring when possible r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D67778

--HG--
extra : moz-landing-system : lando
2020-03-23 18:09:57 +00:00
Glenn Watson
18890f8aab Bug 1623791 - Remove segment gridding optimization. r=nical
This is no longer as important, with picture caching. Removing it
will simplify the planned changes to switch to a simpler segment
model based on nine-patch rectangles during scene building.

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

--HG--
extra : moz-landing-system : lando
2020-03-23 14:58:57 +00:00
Molly Howell
1512c74608 Bug 1624388 - Properly expose default browser agent build flag to installer. r=bytesized,agashlin
Also fix two other installer problems that were getting missed because of this:
one build error in PostUpdate and one use of an uninitialized value in the
installer, causing it to record that it had not registered the task when it had.

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

--HG--
extra : moz-landing-system : lando
2020-03-23 20:21:36 +00:00
Yura Zenevich
de935f1fc6 Bug 1477936 - fixing document node highlighting in accessibility panel. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D66616

--HG--
extra : moz-landing-system : lando
2020-03-23 19:51:59 +00:00
Sylvestre Ledru
94abcf9c31 Bug 1624038 - mozlint/shell test - Fix a regression in the lint r=linter-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D67704

--HG--
extra : moz-landing-system : lando
2020-03-23 19:15:15 +00:00
Harry Twyford
cdcff8e030 Bug 1046074 - Improve post-filtering of dupes in UnifiedComplete. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D66674

--HG--
extra : moz-landing-system : lando
2020-03-23 19:18:41 +00:00
Iain Ireland
3a941d2bba Bug 1361856: Use SM RegExpFlags inside irregexp r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D66845

--HG--
extra : moz-landing-system : lando
2020-03-21 14:21:04 +00:00
Iain Ireland
96d7636dcb Bug 1361856: Add dotAll to RegExpFlags r=jwalden
This patch adds the boilerplate necessary to support a new regexp flag. Externally visible changes (parsing the flag, the dotAll property on the prototype) are guarded behind ENABLE_NEW_REGEXP. Note: RegExpFlagsGetter turns out to be externally visible because it can be called on a non-regexp object with the dotAll property defined.

The actual implementation of dotAll comes for free with the fresh import of irregexp (bug 1367105).

There are two tests (tests/non262/RegExp/prototype.js and tests/non262/RegExp/flags.js) that need to be updated when this is turned on to add s/dotAll to the list of expected properties on the RegExp prototype. I will attach those changes to my patch that flips ENABLE_NEW_REGEXP to be on by default.

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

--HG--
extra : moz-landing-system : lando
2020-03-21 14:21:04 +00:00
Andreea Pavel
3550cada92 Backed out changeset 3b7ccffc0546 (bug 1598924) for permafailing bug 1621759 on a CLOSED TREE 2020-03-23 21:37:55 +02:00
Razvan Maries
ec49a68223 Backed out changeset 604ae25cad30 (bug 1046074) for Lint failure on test_swap_protocol.js. CLOSED TREE 2020-03-23 21:09:35 +02:00
Razvan Maries
3389ad3b1f Backed out 2 changesets (bug 1618000) for wrench bustages. CLOSED TREE
Backed out changeset c72b18b22267 (bug 1618000)
Backed out changeset 9bc71e7b317b (bug 1618000)
2020-03-23 21:00:24 +02:00
Harry Twyford
7390b3dca3 Bug 1046074 - Improve post-filtering of dupes in UnifiedComplete. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D66674

--HG--
extra : moz-landing-system : lando
2020-03-23 18:50:47 +00:00
Dragana Damjanovic
f5a03c008e Bug 1623755 - Fix http version parsing. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D67549

--HG--
extra : moz-landing-system : lando
2020-03-23 18:38:45 +00:00
Dzmitry Malyshau
dcf75e7f03 Bug 1622261 - Refactor the ID recycling to always cycle through the GPU process
Previously, we kept the object IDs managed on content side only.
The GPU side would work with given indices.
When an object is destroyed, we'd free the ID on the content side and signal the GPU to delete the object.
Problem is that on the GPU process the object may still be kept alive for as long as any dependants are alive.

What this change is doing - hooking up the callbacks to the *actual* freeing of IDs on the GPU side.
These callbacks end up in messages from WebGPUParent to WebGPUChild, and only then the IDs are freed
on the content side and able to be reused.

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

--HG--
extra : moz-landing-system : lando
2020-03-23 07:54:08 +00:00
cbrewster
34e8ddc337 Bug 1618000: Part 2: Clamp blur radius based on scale factors r=gfx-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D65805

--HG--
extra : moz-landing-system : lando
2020-03-23 18:22:32 +00:00
cbrewster
0c74db8b9e Bug 1618000: Part 1: Remove blur radius clamping on Gecko-side for WR blur filters r=gfx-reviewers,nical
Clamping of the blur radius depends on transform scale factors. This info is not available until later in the WebRender pipeline, so we need to delegate blur radius clamping to WebRender.

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

--HG--
extra : moz-landing-system : lando
2020-03-23 17:36:26 +00:00
Andrea Marchesini
afcfb5927f Bug 1623867 - Get rid of expired cookies telemetry IDs, r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D67610

--HG--
extra : moz-landing-system : lando
2020-03-23 17:39:31 +00:00
Ting-Yu Lin
03638f9dbc Bug 1623225 Part 6 - Construct FlexItem directly at the end of FlexLine::Items(). r=dholbert
To avoid extra copy operations, we directly construct new FlexItem at
the end of current FlexLine, and we move the item to the next line if
the previous line needs to wrap.

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

--HG--
extra : moz-landing-system : lando
2020-03-23 17:48:02 +00:00
Ting-Yu Lin
296c9b2ecb Bug 1623225 Part 5 - Reverse FlexLines and FlexItems if the axes are reversed internally. r=dholbert
Rather than inserting FlexLines and FlexItems at the front of the array,
which is inefficient, we reverse them after they are fully constructed.

nsTArray::Reverse() (or std::reverse()) is implemented by std::swap.In
order for FlexItem to be swappable, it needs to have an assignment
operator, which needs to be able to modify FlexItem's member variables.
To achieve this, we must drop the const qualifiers for the member
variables. And conveniently, this results in a compiler-generated
assignment operator which will do the right thing.

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

--HG--
extra : moz-landing-system : lando
2020-03-23 18:06:51 +00:00
Ting-Yu Lin
d72173b686 Bug 1623225 Part 4 - Store FlexLines in nsTArrays instead of LinkedLists. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D67265

--HG--
extra : moz-landing-system : lando
2020-03-23 07:24:43 +00:00
Ting-Yu Lin
452861f58d Bug 1623225 Part 3 - Store FlexItems in nsTArrays instead of LinkedLists. r=dholbert
Notable changes in this part.

* FirstItem() and LastItem() now returns a reference to the FlexItem (if
such an item exists). The caller is required to ensure the FlexLine is
non-empty before calling the two methods.

* Deploy range-based for-loop to iterate all FlexItem in a FlexLine via
a new Items() method.

* The bookkeeping mNumItems is no longer needed as nsTArray::Length() is
sufficient.

* Use "." instead "->" because we now store FlexItem in an nsTArray.

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

--HG--
extra : moz-landing-system : lando
2020-03-23 07:24:38 +00:00
Ting-Yu Lin
577f8e7436 Bug 1623225 Part 2 - Convert AxisTrackerFlags to an enum class. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D67263

--HG--
extra : moz-landing-system : lando
2020-03-23 07:24:31 +00:00
Ting-Yu Lin
295f74764d Bug 1623225 Part 1 - Use nsFlexLine::NumItems() to replace all the read-only direct usages of mNumItems. r=dholbert
In a later part, we are going to change nsFlexLine::mItems to store in
nsTArray and remove mNumItems.

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

--HG--
extra : moz-landing-system : lando
2020-03-23 07:24:28 +00:00
Florin Strugariu
c8632a76ef Bug 1533879 - Turn off telemetry on geckoview during Raptor tests r=whimboo,perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D66943

--HG--
extra : moz-landing-system : lando
2020-03-23 18:01:04 +00:00
Gijs Kruitbosch
457afaaba0 Bug 1598924 - make remote settings handle shutdown gracefully, r=leplatrem,asuth
By and large, this change accomplishes two things:
1. Run db.close() in finally clauses so that even if db access fails, we close
   our connections. It also tries to avoid waiting on other, non-DB operations
   before calling close, to avoid the DB connection needlessly hanging around.
2. Intercept all async database operations from the remote settings client to
   kinto and ensuring they complete before the end of `profile-before-change`.
   Any operations started after Services.startup.isShuttingDown (so after
   quit/restart is initiated by the user) will throw. Operations started
   beforehand are put in a set of operations, and remove themselves once
   complete. We AsyncShutdown block on that set of operations completing.

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

--HG--
extra : moz-landing-system : lando
2020-03-23 16:35:08 +00:00
Alex Henrie
0c84c81f97 Bug 812837 - Define the folded case of Turkish variants of "I" to be simply "i". r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D67092

--HG--
extra : moz-landing-system : lando
2020-03-23 16:57:08 +00:00
Nicolas Silva
2876ae4b84 Bug 1616901 - Yet more reftest adjustments. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D67899

--HG--
extra : moz-landing-system : lando
2020-03-23 17:36:41 +00:00
Nicolas Silva
ed5866c9ca Bug 1616901 - More reftest adjustments. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D67895

--HG--
extra : moz-landing-system : lando
2020-03-23 17:36:41 +00:00
Jason Laster
31e959e755 Bug 1621585 - Fix call stack layout and styling issues for the dark theme. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D67064

--HG--
extra : moz-landing-system : lando
2020-03-23 08:28:49 +00:00
Jason Laster
af1d0603ca Bug 1624000 - Convert debugger panel to a class. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D67692

--HG--
extra : moz-landing-system : lando
2020-03-23 07:58:46 +00:00
Ryan Hunt
61e9d52aed Bug 1612534 - Manually fix 'debug/' jit-tests. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D67261

--HG--
extra : moz-landing-system : lando
2020-03-23 16:37:38 +00:00
Ryan Hunt
a1e3acba98 Bug 1612534 - Manually fix 'asm.js/' jit-tests. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D67260

--HG--
extra : moz-landing-system : lando
2020-03-23 16:36:01 +00:00
Ryan Hunt
9bc70acbc5 Bug 1612534 - Manually fix 'wasm/regress/' jit-tests. r=lth
This commit includes all the changes needed to get 'wasm/regress/' passing
jit-tests.

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

--HG--
extra : moz-landing-system : lando
2020-03-23 16:35:23 +00:00
Ryan Hunt
985d0ebe99 Bug 1612534 - Manually fix 'wasm/gc/' jit-tests. r=lth
This commit includes all the changes necessary to get 'wasm/gc' jit-tests
passing.

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

--HG--
extra : moz-landing-system : lando
2020-03-23 16:34:51 +00:00
Ryan Hunt
7bb6ff46c5 Bug 1612534 - Manually fix 'wasm/bigint/' jit-tests. r=lth
This commit includes all the manual changes needed to get 'wasm/bigint'
jit-tests passing.

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

--HG--
extra : moz-landing-system : lando
2020-03-23 16:32:04 +00:00
Ryan Hunt
e50c835e32 Bug 1612534 - Manually fix wasm/ jit-tests. r=lth
This commit includes all the manual changes needed to get 'wasm/' jit-tests
passing.

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

--HG--
extra : moz-landing-system : lando
2020-03-23 16:31:21 +00:00