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

831639 Коммитов

Автор SHA1 Сообщение Дата
Brad Werth db47bce4aa Bug 1815140 Part 2: Make grid highlighter hasMoved directly compare the grid fragment objects. r=devtools-reviewers,jdescottes
The Grid objects will be regenerated whenever the grid is reflowed, which
is nearly the same to the old check of comparing the contents of the
grid structure. This approach is prone to false positives, which is
explained in a new comment.

Differential Revision: https://phabricator.services.mozilla.com/D169725
2023-02-23 01:07:34 +00:00
Brad Werth 4a8b9977c8 Bug 1815140 Part 1: Make Grid dom object an idempotent property of its frame. r=emilio
This ensures that repeated calls to Element::GetGridFragments will return
an array of idempotent Grid objects for each fragment. This is
accomplished by making the Grid object hold a WeakFrame back to its
originating frame, and updating a property on construction and
destruction.

Differential Revision: https://phabricator.services.mozilla.com/D169724
2023-02-23 01:07:34 +00:00
Mike Hommey 1c963ddd1d Bug 1817900 - Update clang-sys to 1.6.0. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D170430
2023-02-23 01:00:58 +00:00
Mike Hommey 54d876838f Bug 1817900 - Update cargo_metadata to 0.15.3. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D170429
2023-02-23 01:00:57 +00:00
Mike Hommey e552674037 Bug 1817900 - Update camino to 1.1.2. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D170428
2023-02-23 01:00:57 +00:00
Mike Hommey e69dbc31db Bug 1817900 - Update bytes to 1.4.0. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D170427
2023-02-23 01:00:57 +00:00
Mike Hommey 6ed6bb2cfd Bug 1817900 - Update bumpalo to 3.12.0. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D170426
2023-02-23 01:00:56 +00:00
Mike Hommey c609e49998 Bug 1817900 - Update atomic_refcell to 0.1.9. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D170425
2023-02-23 01:00:56 +00:00
Mike Hommey 69c608ef35 Bug 1817900 - Update async-trait to 0.1.64. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D170424
2023-02-23 01:00:55 +00:00
Mike Hommey db681008be Bug 1817900 - Update arbitrary to 1.2.3. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D170423
2023-02-23 01:00:55 +00:00
Mike Hommey 56fd939ed4 Bug 1817900 - Update anyhow to 1.0.69. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D170422
2023-02-23 01:00:54 +00:00
Mike Hommey a09e6438f5 Bug 1817900 - Update android_logger to 0.11.3. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D170421
2023-02-23 01:00:54 +00:00
Hiroyuki Ikezoe 98ea9b2281 Bug 1663444 - Expand the clip rect for async zoom container including the dynamic toolbar area. r=geckoview-reviewers,owlish,botond
Differential Revision: https://phabricator.services.mozilla.com/D168638
2023-02-23 00:05:09 +00:00
Morgan Rae Reschenberg 06c234d803 Bug 1800586: Refactor IsARIAControls to work with untilCacheIs r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D170541
2023-02-23 00:02:21 +00:00
Dana Keeler 57cadc3f97 Bug 1815998 - look for client certificates on the socket thread in IPCClientCertsParent::RecvFindObjects r=jschanck
Differential Revision: https://phabricator.services.mozilla.com/D170535
2023-02-22 23:58:48 +00:00
Emily McDonough 543eb5e869 Bug 1804794 - Do not allow CSS named page breaks except in specific subtrees. r=dholbert
This currently only includes block frames, grid containers, and flex
containers, and the document and pagination frames. It is possible more frames
will need to be added or more advanced checks in the future.

This adds some related tests to ignoring some subtrees, but are expected fails
until bug 1816570 is fixed.

Differential Revision: https://phabricator.services.mozilla.com/D169018
2023-02-22 23:49:51 +00:00
Emilio Cobos Álvarez 3f431af957 Bug 1818282 - Remove an icon that used to be invisible. r=desktop-theme-reviewers,sfoster
This icon has a viewbox, but not a width/height, so it was invisible
with old XUL images because XUL didn't know about image aspect-ratio.

Remove to keep the previous behavior.

Differential Revision: https://phabricator.services.mozilla.com/D170675
2023-02-22 23:40:14 +00:00
Dan Robertson 8ac30ce878 Bug 1743045 - Respect general.smoothScroll for programmatic scrolls. r=hiro
For programmatic scrolls, we should respect a users general.smoothScroll
preference. If smooth scrolls are disabled, programmatic scrolls with
behavior: "smooth" should be treated as instant programmatic scrolls.

Differential Revision: https://phabricator.services.mozilla.com/D170110
2023-02-22 23:26:18 +00:00
Iulian Moraru 0e32af533c Backed out 7 changesets (bug 1500343) for causing build bustages on ActorsParent.cpp. CLOSED TREE
Backed out changeset 5d0b35ae2241 (bug 1500343)
Backed out changeset abe4c30b975e (bug 1500343)
Backed out changeset c5c7e5d59035 (bug 1500343)
Backed out changeset de71281af75c (bug 1500343)
Backed out changeset 220abddba749 (bug 1500343)
Backed out changeset f6a065149ce1 (bug 1500343)
Backed out changeset 1f9e20fcae19 (bug 1500343)
2023-02-23 01:51:44 +02:00
Iulian Moraru c18f0b8047 Backed out 2 changesets (bug 1815932, bug 1812060) for causing wpt failures on url-setters-a-area.window.html.
Backed out changeset 8e74a2934fc1 (bug 1815932)
Backed out changeset 3b9cc90f1880 (bug 1812060)
2023-02-23 01:50:55 +02:00
Csoregi Natalia 725078d014 Backed out changeset 5496888b745b (bug 1816688) for newtab failures on NimbusFeatures. CLOSED TREE 2023-02-23 01:37:45 +02:00
Csoregi Natalia 66c3cdb1b2 Backed out changeset 3a9c67c6d582 (bug 1814712) for causing bustages on Logging.h. CLOSED TREE 2023-02-23 01:36:13 +02:00
Rob Wu a27eaf6ef2 Bug 1807815 - Throw accurate errors from downloads.removeFile r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D169584
2023-02-22 21:50:22 +00:00
Hiroyuki Ikezoe 5d5ed759bf Bug 1811873 - Replace the swipe-to-navigation icon on Mac. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D168009
2023-02-22 21:41:27 +00:00
Roger Yang 6f6189d4d0 Bug 1809269 - Add bypass load URI delegate in load flags. r=jonalmeida,amejiamarmol
Differential Revision: https://phabricator.services.mozilla.com/D169865
2023-02-22 21:10:53 +00:00
Ray Kraesig 771bdc853e Bug 1816740 [6/6] - remove ManualDealloc from ColorPicker and FilePicker r=ipc-reviewers,nika
The existing manual-deallocation code isn't actually doing anything
interesting. Strip it out.

(No functional changes.)

Differential Revision: https://phabricator.services.mozilla.com/D169855
2023-02-22 21:05:25 +00:00
Ray Kraesig 7b51dc72b7 Bug 1816740 [5/6] - convert nsIFilePicker::capture* to a proper enum r=ipc-reviewers,karlt,mstange,handyman,nika
Convert the various capture* constants in nsIFilePicker into a proper
enum, and perform validation when passing it across IPC.

Additionally, unlike the previous two enums, reduce the size of
CaptureTarget to 8 bits. This is a workaround for its use with
nsAttrValue, which at present very specifically requires that parseable
enums' values fit within an `int16_t` -- and a `uint16_t` does not.

Differential Revision: https://phabricator.services.mozilla.com/D169854
2023-02-22 21:05:24 +00:00
Ray Kraesig fa4832237d Bug 1816740 [4/6] - convert nsIFilePicker::mode* into a proper enum r=ipc-reviewers,karlt,mstange,handyman,nika
Convert the various mode* constants in nsIFilePicker into a proper
enum, and perform validation when passing it across IPC.

Differential Revision: https://phabricator.services.mozilla.com/D169853
2023-02-22 21:05:24 +00:00
Ray Kraesig 8ff42fa236 Bug 1816740 [3/6] - convert nsIFilePicker::result* into a proper enum r=ipc-reviewers,karlt,mstange,handyman,nika
Convert the various result* constants in nsIFilePicker into a proper
enum, and perform validation when passing it across IPC.

Differential Revision: https://phabricator.services.mozilla.com/D169852
2023-02-22 21:05:23 +00:00
Ray Kraesig b039ecca9d Bug 1816740 [2/6] - move Windows geolocation actor to subdirectory r=handyman
In the interest of keeping directory sizes down to a manageable level,
pull the new Windows utility-process geolocation code into its own
directory. (This is not yet an issue, but will become so as new
utility-process functionality is added.)

No functional changes.

Differential Revision: https://phabricator.services.mozilla.com/D169857
2023-02-22 21:05:23 +00:00
Ray Kraesig c8eeab1874 Bug 1816740 [1/6] - convert CRLF to LF in recent IPDL files r=handyman
Some recently-created IPDL files have CRLFs rather than LFs. Convert
these.

No functional changes.

Differential Revision: https://phabricator.services.mozilla.com/D169851
2023-02-22 21:05:23 +00:00
DJ 1c188a77e5 Bug 1816688 - independently configure CBH doorhanger retargeting delay via Nimbus. r=omc-reviewers,mviar
Differential Revision: https://phabricator.services.mozilla.com/D170249
2023-02-22 20:53:15 +00:00
David Shin 7b3603ea6c Bug 1815936 - In flexbox baseline calculation, ensure that the offset originates from border-start. r=dholbert
`GetNaturalBaselineBOffset` returns the offset originating from border-end for
last baselines.

Differential Revision: https://phabricator.services.mozilla.com/D169362
2023-02-22 20:19:24 +00:00
Sean Feng 4cfd97b195 Bug 1809518 - Special case the HTTPS Only timeout request to make it bypass ORB r=farre,necko-reviewers
This particular request is used to identify the potential timeout issue
for HTTPS only requests. ORB doesn't need to block this request.

Differential Revision: https://phabricator.services.mozilla.com/D170251
2023-02-22 20:17:04 +00:00
Sean Feng 7d217e6674 Bug 1809518 - Allow requests that are maded by devtools bypass ORB r=farre,necko-reviewers
Devtools use its own mainThreadFetch to fetch resources when it's
needed. For example, fetching the content of a source file. Importantly,
these request use `TYPE_OTHER` which could be blocked by ORB. Having
ORB block requests coming from devtools break some of it
functionalities.

Differential Revision: https://phabricator.services.mozilla.com/D170250
2023-02-22 20:17:03 +00:00
Sean Feng 26cf8d4e56 Bug 1809518 - Update test_css_cross_domain.html based on the status of ORB r=farre
This test send some cross origin no-cors requests and expect
the color of the element will be changed via CSS by reading
the response of these requests.

With ORB's JS validator is enabled, some of the requests are
going to be blocked.

This patch allows the test to test the result for both ORB
enabled and ORB disabled.

Differential Revision: https://phabricator.services.mozilla.com/D169279
2023-02-22 20:17:03 +00:00
Sean Feng f8fcf1b9ef Bug 1809518 - Update test_fetch_cors.js based on the status of ORB r=farre
We've done some updates to this test previously when we enable
ORB (without JS validation) already. Now, we have JS validation
added and more requests are blocked, so we need to change
the expectation for more sub-tests.

Differential Revision: https://phabricator.services.mozilla.com/D169278
2023-02-22 20:17:02 +00:00
Sean Feng 475ea053f0 Bug 1809518 - Update more fetch tests that use `fetch_test_framework.js` based on the status of ORB r=farre
These tests involve a bunch of no-cors fetch requests which use
`file_CrossSiteXHR_server.sjs` for sending the response back.
Depends on the request's URL, the response can possibly be

```
  response.setHeader("Content-Type", "application/xml", false);
  response.write("<res>hello pass</res>\n");
```

which will make JS validator to run and blocks.

The fix here is to toggle the pref of ORB when running the tests,
so we test both with ORB and without ORB behaviors, with different
expectations.

Differential Revision: https://phabricator.services.mozilla.com/D169277
2023-02-22 20:17:02 +00:00
Sean Feng db06a13f2a Bug 1809518 - Update test_fetch_event* related tests based on the status of the ORB r=farre
These tests involve a bunch of no-cors fetch requests which use
`file_CrossSiteXHR_server.sjs` for sending the response back.
Depends on the request's URL, the response can possibly be

```
  response.setHeader("Content-Type", "application/xml", false);
  response.write("<res>hello pass</res>\n");
```

which will make JS validator to run and blocks.

The fix here is to toggle the pref of ORB when running the tests,
so we test both with ORB and without ORB behaviors, with different
expectations.

Differential Revision: https://phabricator.services.mozilla.com/D169276
2023-02-22 20:17:01 +00:00
Sean Feng 83a8ef5280 Bug 1809518 - Use stencil parsing to do the Javascript check for ORB in Utility Process r=farre,smaug,tcampbell
This patch allows JS Validator to parse the incoming data into
stencil to verify if its a Javascript file.

Differential Revision: https://phabricator.services.mozilla.com/D166484
2023-02-22 20:17:00 +00:00
Sean Feng df188aa2f6 Bug 1809518 - Recreate JSOracleParent instance when Utility Process crashes r=farre
Top-level actor can only be bound to one process, we can't reuse the
existing one to bind to a different process.

So if the utility process crashes and we've created a new one as a
replacement, we need to have a new JSOracleParent for the connection,
using the old one won't work.

This patch creates a new one upon the destruction of the existing one
if the reason for the destruction is AbnormalShutdown.

Differential Revision: https://phabricator.services.mozilla.com/D168482
2023-02-22 20:17:00 +00:00
Kagami Sascha Rosylight 251a470bee Bug 1500343 - Part 10: Remove IDBFileHandle/IDBFileRequest/IDBMutableFile r=dom-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D160385
2023-02-22 20:03:18 +00:00
Kagami Sascha Rosylight 6289cdd75e Bug 1500343 - Part 9: Remove DatabaseOrMutableFile r=dom-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D160384
2023-02-22 20:03:17 +00:00
Kagami Sascha Rosylight 6756121a00 Bug 1500343 - Part 8: Remove PBackgroundMutableFile r=dom-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D160383
2023-02-22 20:03:17 +00:00
Kagami Sascha Rosylight 0fa189c899 Bug 1500343 - Part 7: Remove PBackgroundFileHandle r=dom-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D159891
2023-02-22 20:03:16 +00:00
Kagami Sascha Rosylight 71f3c224e7 Bug 1500343 - Part 6: Remove PBackgroundFileRequest r=dom-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D159856
2023-02-22 20:03:16 +00:00
Kagami Sascha Rosylight 4b0a66be00 Bug 1500343 - Part 5: Remove PBackgroundIDBDatabaseRequest r=dom-storage-reviewers,asuth
The only use was in IDBDatabase::CreateMutableFile which is removed in part 1.

Differential Revision: https://phabricator.services.mozilla.com/D159734
2023-02-22 20:03:15 +00:00
Kagami Sascha Rosylight f3fd792738 Bug 1500343 - Part 4: Remove IDL for IDBFileHandle/FileRequest/MutableFile r=dom-storage-reviewers,emilio,asuth
Differential Revision: https://phabricator.services.mozilla.com/D159733
2023-02-22 20:03:15 +00:00
Nazım Can Altınova c896734446 Bug 1779257 - Fix the stack walking for linux markers by calling getcontext in a valid stack frame r=mstange
See my comment on here for more context of my investigation:
https://bugzilla.mozilla.org/show_bug.cgi?id=1779257#c9

The saved context is invalid once the function that called `getcontext`
returns. We need to call the `getcontext` while the frame where we called it is
still on the stack. That's why this patch is moving the call to `getcontext` to
parent function by inlining the SyncPopulate content by using a macro instead.
This has to be a macro instead of a function because stack pointer address will
be invalid once the `Registers::SyncPopulate` returns. I tried to change this
method to inline but that didn't help either.

Differential Revision: https://phabricator.services.mozilla.com/D170133
2023-02-22 19:57:08 +00:00
Florian Quèze 659dae13dc Bug 1817604 - show all scrubber position updates until reflowed dimensions are updated in videocontrol.js, r=Gijs.
Differential Revision: https://phabricator.services.mozilla.com/D170403
2023-02-22 19:45:05 +00:00