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

792337 Коммитов

Автор SHA1 Сообщение Дата
Barret Rennie 9f670d6f7f Bug 1762501 - Replace Ajv with JsonSchema.jsm in services/sync r=markh
Differential Revision: https://phabricator.services.mozilla.com/D142879
2022-04-19 16:28:29 +00:00
Cosmin Sabou 7b5d2f5901 Backed out changeset 5d53e0ca638d (bug 1765331) for causing reftest assertion failures on APZCTreeManager.cpp. CLOSED TREE 2022-04-19 19:50:18 +03:00
Alexandre Poirot 915d27e682 Bug 1764102 - [devtools] Ensure firing dom-complete when the page pauses or fails loading. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D143370
2022-04-19 16:13:13 +00:00
Sam Foster 53058d92c0 Bug 1763910 - Use :not([cui-areatype=toolbar]) to ensure the combined toolbaritem buttons pick up the right styles when in the hamburger menu. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D143842
2022-04-19 16:12:53 +00:00
Emilio Cobos Álvarez 09e55baabc Bug 1758665 - Reorganize placeholder/editor/preview styles. r=tgiles
The main fix is making line-height: -moz-block-height apply to the
preview. The rest is just cleanup, in order to deduplicate selectors.

overflow: hidden was redundant on the preview rule (it was already in
the ::placeholder, ::-moz-text-control-preview).

Not sure what the best way to test this would be, but it's late here...,
thoughts?

Differential Revision: https://phabricator.services.mozilla.com/D143659
2022-04-19 16:12:50 +00:00
Nicolas Silva 7b60118693 Bug 1751693 - Update wrench's chrono dependency. r=gfx-reviewers,jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D143145
2022-04-19 16:01:32 +00:00
Sergey Galich 9e20020fb9 Bug 1675284 - Lockwise does not report website breaches or alerts. r=dimi,MattN
Differential Revision: https://phabricator.services.mozilla.com/D143886
2022-04-19 15:29:10 +00:00
Andreas Farre 8b02a9cde2 Bug 1739450 - Part 2: Collect session history when wireframes are collected. r=peterv,mconley
Because wireframes are collected together with the session history
entry for its docshell, we need to collect session history to make
sure that collected wireframes show up.

Differential Revision: https://phabricator.services.mozilla.com/D143368
2022-04-19 15:19:22 +00:00
Andreas Farre e4c062012a Bug 1739450 - Part 1: Move ownership of session store scroll and form data to platform. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D130389
2022-04-19 15:19:22 +00:00
Henrik Skupin 1fdc18969d Bug 1764740 - [wdspec] Rename "parent" parameter of "browsingContext.getTree" to "root". r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D143733
2022-04-19 15:13:16 +00:00
Andreas Farre f4c0b529cd Bug 1752143 - Wait for SSTabRestored before checking test result. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D137043
2022-04-19 14:58:42 +00:00
Jonathan Kew 0fd7a7ea1a Bug 1756474 - Add locking to gfxPlatformFontList and gfxFontFamily, to allow use from worker threads. r=lsalzman
We use a recursive-mutex in gfxPlatformFontList as some of its methods may be called from
classes like gfxFontEntry that are used both from layout code (which does not explictly
lock the font-list) and internally by font-list code that is already holding the lock.

Differential Revision: https://phabricator.services.mozilla.com/D143869
2022-04-19 14:20:21 +00:00
Emilio Cobos Álvarez 0e84325b5d Bug 1764977 - Downgrade an assertion that can break with very large sizes.
Differential Revision: https://phabricator.services.mozilla.com/D144005
2022-04-19 13:47:55 +00:00
Emilio Cobos Álvarez b1750b3184 Bug 1765331 - Account for dest rect correctly in nsDisplayRemote painting. r=tnikkel
The in-process code does this here:

  https://searchfox.org/mozilla-central/rev/4b3039b48c3cb67774270ebcc2a7d8624d888092/layout/generic/nsSubDocumentFrame.cpp#729-742

This doesn't do much for regular iframes because they have no meaningful
intrinsic ratio, but this will matter for bug 1595491.

Differential Revision: https://phabricator.services.mozilla.com/D144000
2022-04-19 13:46:02 +00:00
Harveer Singh da93efac85 Bug 1754844 - Addressed code review comments. r=dom-storage-reviewers,janv
Depends on D143644

Differential Revision: https://phabricator.services.mozilla.com/D143735
2022-04-19 13:42:57 +00:00
Harveer Singh fe9022de94 Bug 1754844 - changing default size for compressed local var to 4k in GetStructuredCloneReadInfoFromBlob func. r=dom-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D143644
2022-04-19 13:42:57 +00:00
Jan de Mooij 1df93da258 Bug 1765288 part 7 - Optimize ValueToAtomOrSymbolPure a bit more. r=jonco
This is one of the hottest code paths because it's used for megamorphic property
lookups, so check for integer atoms without going through AtomToId.

Differential Revision: https://phabricator.services.mozilla.com/D143988
2022-04-19 13:35:56 +00:00
Jan de Mooij 5b84294739 Bug 1765288 part 6 - Use a switch-statement in PrimitiveToAtom. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D143987
2022-04-19 13:35:56 +00:00
Jan de Mooij e6dbf2d3b0 Bug 1765288 part 5 - Factor out PrimitiveToAtom and call that directly. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D143986
2022-04-19 13:35:55 +00:00
Jan de Mooij 76ba059dc8 Bug 1765288 part 4 - Inline ValueToIntId into remaining caller. r=jonco
Handle int32 in the fast path but move doubles to the slow path because they're
relatively uncommon.

Differential Revision: https://phabricator.services.mozilla.com/D143985
2022-04-19 13:35:55 +00:00
Jan de Mooij c48ea1d691 Bug 1765288 part 3 - Remove ValueToIdPure. r=jonco
The remaining caller already handles strings/symbols before calling ValueToIdPure.

ValueToIdPure also supports integers, but the caller rejects those later,
so this is unnecessary.

Differential Revision: https://phabricator.services.mozilla.com/D143984
2022-04-19 13:35:54 +00:00
Jan de Mooij 92e10967c8 Bug 1765288 part 2 - Add PrimitiveValueToIdSlow. r=jonco
This is an uncommon case now, so we can move more code out of line.

Differential Revision: https://phabricator.services.mozilla.com/D143983
2022-04-19 13:35:54 +00:00
Jan de Mooij d911a836f0 Bug 1765288 part 1 - Handle non-atomized strings directly in PrimitiveValueToId. r=jonco
It's common to have a non-atomized string in PrimitiveValueToId. Instead of going
through ToAtom with some levels of indirection, call AtomizeString directly.

Differential Revision: https://phabricator.services.mozilla.com/D143982
2022-04-19 13:35:54 +00:00
André Bargull eb001d0c9a Bug 1763605 - Part 2: Don't throw for detached array buffers in TypedArray.prototype.set. r=tcampbell
Per <https://github.com/tc39/ecma262/pull/2646>.

Depends on D143568

Differential Revision: https://phabricator.services.mozilla.com/D143569
2022-04-19 13:35:08 +00:00
André Bargull efeced8ac0 Bug 1763605 - Part 1: Add separate SetTypedArrayFromTypedArray and SetTypedArrayFromArrayLike functions. r=tcampbell
Add separate `SetTypedArrayFromTypedArray` and `SetTypedArrayFromArrayLike` functions
to follow the spec more closely. And update step numbers to match the current draft
spec.

Differential Revision: https://phabricator.services.mozilla.com/D143568
2022-04-19 13:35:08 +00:00
Olli Pettay 327cb58d26 Bug 1763617, GetPerformance may return null, so null-check it before use in bfcache, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D143506
2022-04-19 13:34:52 +00:00
criss 1a5e600ac1 Backed out 4 changesets (bug 1763586) for causing mochitest failures on test_Debugger.Source.prototype.elementAttribute.html. CLOSED TREE
Backed out changeset 8da9574159d3 (bug 1763586)
Backed out changeset 8f964a9e2f31 (bug 1763586)
Backed out changeset 420105516ec3 (bug 1763586)
Backed out changeset 68cd444d018e (bug 1763586)
2022-04-19 16:28:30 +03:00
Emilio Cobos Álvarez a8ed7cf41b Bug 1761929 - Clear move-to-rect size on popup close. r=stransky
Otherwise showing the same popup again could incorrectly constrain the
position of the popup.

Differential Revision: https://phabricator.services.mozilla.com/D143906
2022-04-19 13:21:12 +00:00
James Teow ff34b17d30 Bug 1760851 - Fix intermittent error on browser_controller_onDrop_sidebar.js r=mak
Differential Revision: https://phabricator.services.mozilla.com/D142016
2022-04-19 12:35:39 +00:00
Yulia Startsev 4c90fc2b59 Bug 1763586 - remove debugger tests for source element behavior; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D143698
2022-04-19 12:28:50 +00:00
Yulia Startsev 2c73ab2966 Bug 1763586 - remove jit tests for source element behavior; r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D143140
2022-04-19 12:28:49 +00:00
Yulia Startsev 0190773604 Bug 1763586 - Remove Element from LoadScript and child classes; r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D143139
2022-04-19 12:28:49 +00:00
Yulia Startsev edce198b19 Bug 1763586 - Adjust ScriptFetchOptions to be more accurate; r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D143137
2022-04-19 12:28:48 +00:00
Nicolas Chevobbe f3fcb6acfd Bug 1764885 - [devtools] Fix network MDN icon for HTTP Headers. r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D143821
2022-04-19 12:06:02 +00:00
André Bargull 89a524ba2c Bug 1764692 - Part 2: Shrink CacheIRStubInfo from 32 bytes to 24 bytes on 64-bit. r=iain
The total size can be reduced from 32 bytes to 24 bytes on 64-bit when the fields
are reordered. No size change on 32-bit.

When the fields are properly sorted by decreasing size, there's also no need to
use bit-fields.

Depends on D143685

Differential Revision: https://phabricator.services.mozilla.com/D143686
2022-04-19 12:05:11 +00:00
André Bargull 5f7f044380 Bug 1764692 - Part 1: Create InliningRoot only when needed. r=iain
Only allocate `InliningRoot` when we actually inline a script.

Differential Revision: https://phabricator.services.mozilla.com/D143685
2022-04-19 12:05:10 +00:00
Tooru Fujisawa 8a1a0a9041 Bug 1764689 - Remove unnnecessary global this reference in BOOKMARK_VALIDATORS.url. r=mak
Depends on D143713

Differential Revision: https://phabricator.services.mozilla.com/D143714
2022-04-19 11:57:20 +00:00
Julian Descottes 7ae3393b2f Bug 1762837 - [devtols] Update DAMP docs to suggest --suite instead of --activeTests r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D143981
2022-04-19 11:56:45 +00:00
Julian Descottes 5f1e21ad97 Bug 1764804 - [marionette] Check embedder element of content browsing contexts in assert.open r=webdriver-reviewers,whimboo
For content browsingContexts, assert.open should check if they are connected to a valid embedder element

Differential Revision: https://phabricator.services.mozilla.com/D143772
2022-04-19 11:55:19 +00:00
Jan Horak 705f8983d6 Bug 1759840 Add support for location portal; r=emilio
The Firefox in flatpak has no access to the wireless networks to determine
accurate geolocation. We have to use the location portal instead which
provides the current location based on the nearby wireless accesspoints
or other methods.

Differential Revision: https://phabricator.services.mozilla.com/D142329
2022-04-19 11:42:38 +00:00
Masayuki Nakano b3f898a618 Bug 1765109 - Make `TextEventDispatcher::MaybeQueryWritingModeAtSelection` not try to query selection if it's unavailable r=m_kato
We resolve editing commands on Linux and macOS to respect the system settings
of every key press when an `eKeyPress` event is sent to a remote process, and
it requires `WritingMode` at selection for arrow key handling for example.
Therefore, the parent process try to get the information.

However, in the case, the query succeeds only when IME has focus since
`ContentCacheInParent` does not have any data when IME does not have focus.
Therefore, `TextEventDispatcher::MaybeQueryWritingModeAtSelection` should
check the IME state before dispatching `eQuerySelectedText` event to avoid
the warnings and unnecessary runtime cost.

Differential Revision: https://phabricator.services.mozilla.com/D143901
2022-04-19 11:41:52 +00:00
Karnik Kanojia f56be3984d Bug 1762683 - Fix ESLint rule warnings for no-unused-vars in intl/uconv/tests/unit/test_bug317216.js. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D143223
2022-04-19 11:22:34 +00:00
Molnar Sandor 622b026960 Backed out changeset aa30bc1b369b (bug 1763076) for causing assertion failure in parser/html/nsHtml5TreeOpExecutor.cpp CLOSED TREE 2022-04-19 14:41:03 +03:00
Henri Sivonen e70200b735 Bug 1763076 - Avoid OOM crashes when there's a massive number of tree operations. r=edgar
(No test case, because testing unsuited for CI both in terms of space and time.)

Differential Revision: https://phabricator.services.mozilla.com/D143591
2022-04-19 10:19:35 +00:00
Timothy Nikkel 0c959232b6 Bug 1765113. Silence spammy warning in extensions/permissions/PermissionDelegateHandler.cpp. r=timhuang
Depends on D143891

Differential Revision: https://phabricator.services.mozilla.com/D143892
2022-04-19 09:49:50 +00:00
Emilio Cobos Álvarez 1cd131cd32 Bug 1764655 - Don't reconstruct for scrollbar-width changes on a non-scrollable element. r=tnikkel
This is the last case of this bug that unnecessarily reconstructs.

Differential Revision: https://phabricator.services.mozilla.com/D143887
2022-04-19 09:35:43 +00:00
Molnar Sandor a9951c31ef Merge mozilla-central to autoland. CLOSED TREE 2022-04-19 12:46:05 +03:00
Molnar Sandor 509c3805f9 Backed out changeset 1529955a0df7 (bug 1759840) for causing build bustage in geolocation/Geolocation CLOSED TREE 2022-04-19 12:41:47 +03:00
Molnar Sandor 3e21f2bb69 Merge autoland to mozilla-central. a=merge 2022-04-19 12:29:30 +03:00
criss 8d62d22b30 Backed out 10 changesets (bug 1661450) for causing build bustages on nsWindow.cpp. CLOSED TREE
Backed out changeset 2c41d82de0c5 (bug 1661450)
Backed out changeset 5f58fcd7ac0b (bug 1661450)
Backed out changeset 62e56a6dcd22 (bug 1661450)
Backed out changeset 4b422ffa729f (bug 1661450)
Backed out changeset 6ca4705772da (bug 1661450)
Backed out changeset 031a6313459f (bug 1661450)
Backed out changeset 06ddf05e97d6 (bug 1661450)
Backed out changeset 4388b1b9aafd (bug 1661450)
Backed out changeset 600f9fd09fa6 (bug 1661450)
Backed out changeset cc5e8efe3ebf (bug 1661450)
2022-04-19 12:25:14 +03:00