Commit Graph

805816 Commits

Author SHA1 Message Date
Emilio Cobos Álvarez
7c34c8de9a Bug 1786513 - Make SimpleResizeReflow not flush by default. r=jfkthame,layout-reviewers
Only GeckoMVMContext really needs the flush, to measure scrolled height
afterwards. Do that explicitly.

This shouldn't change behavior, for the most part; there was a preload
test that relied on the flush when changing DPI to start a run really
clean, but other than that this looks green on try.

Should at best be neutral (just code clean-up), or be a performance
improvement.

In a follow-up, we can possibly remove the DelayedResize code from the
view manager, though I need to think how to possibly coalesce the MVM
reflows, so let's not do that yet.

Differential Revision: https://phabricator.services.mozilla.com/D155385
2022-08-26 12:58:12 +00:00
Meg Viar
bf4a80b11d Bug 1786646 - Add targeting in ASRouter for "colorways active" and "user has not set up colorways" r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D155491
2022-08-26 12:55:27 +00:00
Frederic Wang
501296082e Bug 1784003 - Remove MathML preference deprecated_alignment_attributes. r=emilio
- Remove code for align/denumalign/numalign attributes.
- Remove tests checking support for them.
- Remove warning message and counter.
- numalign/denomalign atoms are not removed, since they
  are still used by nsTreeSanitizer.

Differential Revision: https://phabricator.services.mozilla.com/D154197
2022-08-26 12:31:16 +00:00
Andrew Creskey
d97f212992 Bug 1748005 - Getting Uncaught DOMException: The operation is insecure while opening Websocket using 'wss' protocol r=smaug
Use the 'IsSecure' field from windowContexts where possible to determine WebSockets mixed content behaviour.

Differential Revision: https://phabricator.services.mozilla.com/D153105
2022-08-26 12:23:36 +00:00
Dão Gottwald
a5b9c5d73e Bug 1786627 - Let contentTheme.js set the color scheme so common-shared.css can honor it. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D155477
2022-08-26 11:26:21 +00:00
AW255
4d7b018d55 Bug 1573830 - 0% values are not skipped when parsing CSS transform. r=emilio
Adds trait ZeroNoPercent to check for values that are 0 (such as 0px) but not 0%

Updated test css/css-transforms/animation/translate-interpolation.html and removed unnecessary formatting changes

Differential Revision: https://phabricator.services.mozilla.com/D154930
2022-08-26 11:11:30 +00:00
Gregory Mierzwinski
ec2bbbec5a Bug 1787272 - Prevent gathering perfstats on chrome. r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D155612
2022-08-26 11:01:52 +00:00
Emilio Cobos Álvarez
44438f746a Bug 1787173 - Improve CSS OM for CSSContainerRule. r=nchevobbe
This implements https://github.com/w3c/csswg-drafts/pull/7293, pending a
spec resolution, so landing test as tentative for now, but the change
makes sense.

Differential Revision: https://phabricator.services.mozilla.com/D155602
2022-08-26 10:31:38 +00:00
Jon Coppeard
520b9862fc Bug 1787263 - Part 4: Don't use background threads in non-incremental GCs r=sfink
There's no point using a helper thread if we're going to wait for it
immediately. We do perform non-incremental GCs sometimes (and in shutdown) and
this avoids the possibility of scheduling issues affecting us.

This applies to background sweeping, decommiting and unmarking.

(I think I argued against this at one point, but I've come round to thinking
it's a good idea.)

Differential Revision: https://phabricator.services.mozilla.com/D155610
2022-08-26 10:24:11 +00:00
Jon Coppeard
71b7973097 Bug 1787263 - Part 3: Refactor zone state checks into Zone::shouldMarkInZone r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D155606
2022-08-26 10:24:10 +00:00
Jon Coppeard
c343b85b53 Bug 1787263 - Part 2: Remove atoms zone special case by starting it in marking black and gray state r=sfink
We have an extra check in DoMarking that allows gray marking in the atoms zone
even when it's in the marking black only state. It's simpler to start this zone
in the marking black and gray state and remove the special case.

The reason for this case is that we can't delay gray marking in zones that are
marking black only for atoms like we do for objects. In that case we push the
CCWs into the black zone on a list and mark them later when that zone
transitions to black and gray marking. But the atoms zone may have direct
references from any zone that don't go through CCWs.

Differential Revision: https://phabricator.services.mozilla.com/D155605
2022-08-26 10:24:10 +00:00
Jon Coppeard
bccb5e57b2 Bug 1787263 - Part 1: Make some things non-atomic that are only written on the main thread r=sfink
Previously these were atomic because we supported allocation off-main-thread.

Differential Revision: https://phabricator.services.mozilla.com/D155604
2022-08-26 10:24:09 +00:00
Emilio Cobos Álvarez
6b0df9b6e0 Bug 1787088 - Don't reframe for overflow changes in text controls. r=TYLin
These frames don't honor overflow in any meaningful way, except for
textarea, where overflow inherits into its editing root.

That style change however should be handled on its own by reflowing
(thus avoiding the reframe).

We need to fix GetDesiredScrollbarSizes, which wasn't accounting for
having scrollbars + overflow: hidden / scrollbar-width: none. Reftests
caught that.

Differential Revision: https://phabricator.services.mozilla.com/D155535
2022-08-26 10:18:18 +00:00
Itiel
2d52a83fea Bug 1786909 - Improve panel menuitems spacing when compact mode is enabled r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D155492
2022-08-26 10:09:51 +00:00
Cristian Tuns
9ff02cdab1 Merge mozilla-central to autoland on a CLOSED TREE 2022-08-26 05:23:32 -04:00
Cristian Tuns
839718c65b Merge autoland to mozilla-central. a=merge 2022-08-26 05:20:00 -04:00
Cristian Tuns
281faf79e0 Backed out changeset 01a6e9812b8c (bug 1786627) for causing mochitest failures on browser_ext_themes_ntp_colors.js CLOSED TREE 2022-08-26 04:52:03 -04:00
Dão Gottwald
83204f240a Bug 1786627 - Let contentTheme.js set the color scheme so common-shared.css can honor it. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D155477
2022-08-26 08:14:24 +00:00
Mark Banner
fb7f9b8a58 Bug 1786899 - Remove unused uri argument to BrowserSearch.addEngine. r=jteow
Differential Revision: https://phabricator.services.mozilla.com/D155498
2022-08-26 07:55:44 +00:00
Mark Banner
ef27351558 Bug 1786899 - Remove unused BrowserSearch.loadAddEngines and remove formatURL. r=jteow,preferences-reviewers
formatURL is only used in one other place - nsContextMenu.js, so we don't really need that when we can call the necessary function direct.

Also moves `searchEnginesURL` into SearchUIUtils, as that seems a reasonable place to start storing things like that.

Differential Revision: https://phabricator.services.mozilla.com/D155496
2022-08-26 07:55:44 +00:00
Mark Banner
070737d0ac Bug 1786408 - Move isAppProvided handling from SearchEngine to AddonSearchEngine. r=mcheang
Differential Revision: https://phabricator.services.mozilla.com/D155288
2022-08-26 07:54:55 +00:00
James Teh
08d6b123a8 Bug 1787101: HyperTextAccessibleBase::OffsetAtPoint: Transform the offset before returning it. r=morgan
Otherwise, the returned offset is incorrect if the point is in a child other than the first.

Differential Revision: https://phabricator.services.mozilla.com/D155571
2022-08-26 07:25:12 +00:00
James Teh
fff8d45634 Bug 1787105: HyperTextAccessibleBase::OffsetAtPoint: Don't try to move forward if the end point moves before the start point. r=morgan
This can happen in a container containing no actual characters.
Previously, we would end up in an infinite loop in this case.

Differential Revision: https://phabricator.services.mozilla.com/D155570
2022-08-26 07:25:11 +00:00
Ting-Yu Lin
f030093058 Bug 1786610 - Use auto main-size workaround for replaced elements without aspect-ratio when computing flex base size. r=dholbert
This bug is regressed by Bug 1686603 Part 4 [1]. When the used flex-basis is
'content', the old code computes flex base size by using 'auto' as the main size
in `nsContainerFrame::ComputeSizeWithIntrinsicDimensions()`. The method is for
replaced elements to compute sizes, even if the element has no preferred
aspect-ratio such as an `<svg>` without viewBox nor aspect-ratio property.

However, Bug 1686603 Part 4 made replaced elements without preferred
aspect-ratio uses 'max-content' when computing flex base size. Unfortunately, we
only trigger the replaced elements intrinsic sizing via 'auto' but not via
'max-content', so this patch restores the behavior via emplacing 'auto' in
`styleFlexBaseSize`.

[1] https://phabricator.services.mozilla.com/D101795

Differential Revision: https://phabricator.services.mozilla.com/D155628
2022-08-26 07:20:04 +00:00
Ting-Yu Lin
aefa11744b Bug 1638937 - Add wpt tests for svg intrinsic sizes. r=dholbert
The three wpt tests are adapted from dholbert's testcases in the bug, and
written in checkLayout flavor. They should have the same rendering.

Differential Revision: https://phabricator.services.mozilla.com/D155627
2022-08-26 07:20:04 +00:00
Mozilla Releng Treescript
42fdcaa17a no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
ach -> 99ed5886ddbb6b475414e2803169e109e8afb15e
af -> 3d60eaff61d6ebd8b01f692b57018d5c8b67e4d0
an -> 8277542fb2d26cb2e08345bb25d082d46d0b8f2e
ar -> 25ffad05ab62ef2a0f749182e2382572cb980d78
ast -> 4cbff53b481fde999322d9074fb6f8b4c3160e15
az -> 4bd6c65c72eec8c8bb7bde89f8c9f64af09d123b
be -> 0b34b9f5ebdabfab8868061b48d12c0ba86a26ed
bg -> dc9d459f2c2486d63a329598702843a948e485cc
bn -> 1f8c726983b4b8e144db113356bfaada57c9835d
bo -> dcdaf4434ca55a6ba8ceb9b56bb06f557fd570b5
br -> 74b3f8b5d07d1e5cda1f103a5217f8bd419fc5ef
brx -> 963e48d1302b2a55042d8fec159a63f38522169a
bs -> 5cadac6611f5786fcffd55789367ee9174600fa7
ca -> 4b986a1a2dda4d4c5d0dc6bfd0c5685cebb3618b
ca-valencia -> 35a967f8a0163626c8e600403a3d571d8c8f1cc7
cak -> cecf4335c41e2e4126af960a796983db6564bff1
ckb -> eaf545695ab46a4612220c48fade4fa82caac375
cs -> f5f3f2f69fadb8191ccfdc981adec13aec0c3d25
cy -> 1bb11db22fa9a942f0aba76119aa25a1e7b82ce7
da -> bc654676589d30f55ebe4707666f253112c2407d
de -> 7008190a3c810b10d03174708111652787885eb5
dsb -> f93aba5a07a97ee2caeda40db0c851a366792276
el -> 6ec60594a95bbceec0356915811c9306f633f2b8
en-CA -> 4de3675b80e4ffdc40063a4b1e97ffe023c21ef9
en-GB -> a739ace723c0259cd1bc9784275c5a4478df9a2a
eo -> 095b3418679c2ac0d5937694ca90cf2d2ac6baa3
es-AR -> 5e3c6e7d7a3def2a3db43354f07666d8cb513650
es-CL -> 2027b3e3a0503374d8a42b3505d448fef6d96a34
es-ES -> 641dbb8c8f5f55d145283124642b842e5c4a8cfc
es-MX -> 622685350295d5bf8df82d8fff89f0c4b971dcad
et -> 801638e3159ae1b711e5a679a2c53cda84d0815b
eu -> 731c265002f58935265e0adaab4cd693884c8bad
fa -> f6647b208ce1a2d0287b8a916a82404addaeaea1
ff -> e49807bce175bfb97c66be3521ed192cd86927e4
fi -> 1f70618b14c866c2066d3781c77a2ffb36adaf4c
fr -> 77e784abfc5b8af6316e67a4a332df307a627496
fy-NL -> 59b229b3622ae2dac66600d67358bee87634be35
ga-IE -> a874e76b1fcee9227832512b15948ea5befa2223
gd -> 095aa0daed51b85c85f2a7c4f919f9feef33f5fb
gl -> c25f2e47114f9b936fac4337c049266916486966
gn -> 97fd7aceb92fce246967fe800eec8f75f55c7c45
gu-IN -> 8f10c5ca67ad9be40e8a1783fee22e3d47636660
he -> fe33c99a309cc7e0396eda3e481b9ddba83ab80a
hi-IN -> cb1aed490e8bfd0dc1343fb5b84f0ffb819467a3
hr -> 07954315008751741521c0624499846861d21cf8
hsb -> 6596d1a04b7d2317ee3c7d99929a329bd0d1f912
hu -> c403e6e0ea1a23a38139affa3d330063d7048eb5
hy-AM -> ff4df6b5f0a590575d97d12c957b097df8df045c
hye -> 9b3ecac3c8dab719d89d533bcf1f0e2cdc6d8b70
ia -> 0440888498cd59f3f1ecb5f181787fe0ed99c95e
id -> 18a9067f3f5c6221245c1f47ae2039fa01e40043
is -> da0ecd5c3acf8c84cec1b6317aaeb4fc83392603
it -> f385a83110631cc2841d592976af0dfe8dcf9ee9
ja -> 3475942f825f8ff7c18d91fac2957a6b4f6b2018
ja-JP-mac -> 46cbce43df280dd3d6f976c05a8780e28101af83
ka -> 3d55fabf69aa6c950c38d20a098cf7cbb5c3836b
kab -> 928694e5bc3ba22c39c5e7e719bc71326388776f
kk -> 27cb2ca412f4a07a28a55f2dbae23cedb80765ca
kn -> 3181e30f4f155d8bb6128513216128301e486473
ko -> 5d54a3083fbcdf87acbb38f21868bbb937f45b3f
lij -> 9aef5a26ea0eb8876ad550e77efd8f005ee8480f
lo -> 58ea4c56d22bdd3a0acc2eeed0f28bd8e380a6bd
lt -> 7b2fce7b61383e2b41e665f3546cda190161544d
ltg -> 107fa869e60d71892a6346556b11868ab23d98b3
lv -> d3cfc593ff8ade8584a18f65e762e66ed86c91e1
meh -> 9e64cf5a563be42670491b7630474a9d285a9626
mr -> d15d19e9bc1b838006b5c5eb99fe02570e563df0
ms -> 234ec6e43f349c014ee68477ba3235ff9a8af1a8
my -> fc58051b5e45f74a093ed607885e1bc6a265cf59
nb-NO -> 7da4929b3375d8aad76230a8a2418077c17abbfb
ne-NP -> f5b275cab6eadb3023d6d35504f1fcfdb499f4ae
nl -> c70ceb71a9b3224291785577f09fc0a4f3f5df32
nn-NO -> 952db90cd4ca9dfe9b21965bfd9cf4472f9c7840
oc -> 391d80201cbbe931a9399955c35772683769f76c
pa-IN -> 7a1badf85f992b63409c8a65374bbc287f477048
pl -> c58cf82884f86b10411cd0099b97bc4880edfab1
pt-BR -> c7407640127b57be4f4d4f867ca52d27e46cc75c
pt-PT -> bc6f1bb92b55d68fe3a1247d37e6a65106a4f06b
rm -> be62359d8c822d754fdc703fbe31931ca8506ab3
ro -> cc15e320a02179d8d0b1086fd7542072339051c1
ru -> f64709c8e734e803200dcf559498e66aa40a0e57
sat -> 1cc6469149e08dc34ab4cd1d0d28be4c8aba9493
sc -> 52e5be65817366b4db971ac16fe3d623acc1907c
scn -> a0c748d8644423793544d2b7548480ff0c6b682b
sco -> 31424659a67d8029990b0d742fefe9281b54368f
si -> ac386552431a93820ff999a0ea4f6523c30a63e2
sk -> 2d30d7600d5883569e4f7ad680ceac5310e185df
sl -> f2e29a4153dc1dda4d4c80eea6f87aef1c6723fa
sq -> 66c1e13305c25883e60c6944e19e5355b52a4d92
sr -> b4a24539d183f689fd7c8afc33d5ab7fd6e4317a
sv-SE -> 5c131ec89586b5208d5f36b7c39e1c73922a5fa2
szl -> 5e6c7a484964bd0388d8d5bb4246bed6a47675f8
ta -> be110f7a82cd3c5dc1109826fdd1c75b9c15064a
te -> c1ce43a49f2c71f09ce215574dab56c4b138c488
tg -> 365b1cda8357417f75dcbc48ffec2bb71f129d50
th -> d27d8c0e805412bcca77c6c6fb74b7a06b0cf9eb
tl -> 313e1c0c6d176e20ef184bb40ff42a3b3f401a87
tr -> 228d7967b6008deb1feb63c5f74e19ac2c36ff24
trs -> f6e0ede31cea7220aaf725c28aab095d6819d0a4
uk -> 5f32eae3703a4e01ddcf59cad70d6cdd5edfc399
ur -> 35c03741a41b01abfeee07fd4b870a9d0be224d9
vi -> 648e3be0479e91edefa8b9e8387727de7520db58
zh-CN -> 7edd7e7fa84b71d714a6f050d559e00f37319670
zh-TW -> 2824c9de66684379c0cafa1250646fdd744a52fd
2022-08-26 06:58:08 +00:00
Sam Foster
be4b1c5345 Bug 1784130 - Hide mobile promo when signed out. r=niklas
* Only show the mobile promo when tab syncing is enabled
* Toggle the promo & confirmation visibility in all setup states to ensure it gets hidden when we re-enter the sign-in to FxA state
* Add test coverage for signing out
* Ensure we always restore the mocks

Depends on D155427

Differential Revision: https://phabricator.services.mozilla.com/D154850
2022-08-26 05:37:49 +00:00
Hiroyuki Ikezoe
4917d58c7b Bug 1786668 - Add a test case that MobileViewportManager is properly updated when browser window moves from a HiDPI monitor to normal one. r=tnikkel
Unfortunately this test doesn't run as expected on our CI since macs on our CI
are running normal DPI mode.

I tested this test works properly on my macbook, it fails without the fix in the
previous commit and it passes with the fix.

Differential Revision: https://phabricator.services.mozilla.com/D153688
2022-08-26 04:44:55 +00:00
criss
2f8576f735 Merge mozilla-central to autoland on a CLOSED TREE 2022-08-26 07:25:38 +03:00
criss
3c12109fa0 Merge autoland to mozilla-central. a=merge 2022-08-26 07:22:58 +03:00
Bobby Holley
f7234adda2 Bug 1787306 - Upgrade serial_test to 0.6 to leverage Embark's audit. r=supply-chain-reviewers,nika
This unfortunately pulls in rustversion but it was easy enough to audit.

Differential Revision: https://phabricator.services.mozilla.com/D155641
2022-08-26 04:06:55 +00:00
Bobby Holley
3fd3c7fb85 Bug 1787306 - Add a delta audit to leverage the BA's audit of bumpalo. r=supply-chain-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D155640
2022-08-26 04:06:55 +00:00
Bobby Holley
28a28c8dab Bug 1787306 - Add delta-audit to leverage embark's audit of anyhow. r=supply-chain-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D155639
2022-08-26 04:06:54 +00:00
Bobby Holley
7f32f19f74 Bug 1787306 — Add Embark Studios as a trusted import for audits. r=supply-chain-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D155638
2022-08-26 04:06:54 +00:00
Bobby Holley
16b7c913d8 Bug 1787306 — Add the Bytecode Alliance as a trusted import for audits. r=supply-chain-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D155637
2022-08-26 04:06:54 +00:00
Bobby Holley
2de7d7c0f0 Bug 1787306 - Bump cargo-vet. r=supply-chain-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D155636
2022-08-26 04:06:53 +00:00
Masayuki Nakano
64fe7ed79d Bug 1784192 - part 10: Make PendingStyles::GetTypeInState() return an enum class instead of taking 2 bool out parameters r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D155319
2022-08-26 03:31:26 +00:00
Masayuki Nakano
8bbdf5e967 Bug 1784192 - part 9: Rename TypeInState to PendingStyles r=m_kato
Additionally,
* `PropItem` -> `PendingStyle`
* `StyleCache` -> `PendingStyleCache`
* `AutoStyleCacheArray` -> `AutoPendingStyleCacheArray`

And finally, `PendingStyle` (formally `PropItem`) is changed to `class` and
its members are encapsuled.

Differential Revision: https://phabricator.services.mozilla.com/D155318
2022-08-26 03:31:26 +00:00
Masayuki Nakano
ef559e105f Bug 1784192 - part 8: Make scanner methods of TypeInState return Maybe<size_t> r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D155317
2022-08-26 03:25:19 +00:00
Masayuki Nakano
bfb3d1f8c6 Bug 1784192 - part 7: Rename TypeInState::ClearProp and related methods r=m_kato
For consistency with the previous patch, we should rename them too.  Then, we're
getting rid of unclear word "Prop" from the public methods.

Differential Revision: https://phabricator.services.mozilla.com/D155316
2022-08-26 03:25:19 +00:00
Masayuki Nakano
165e90f341 Bug 1784192 - part 6: Rename TypeInState::SetProp and TypeInState::TakeSetProperty r=m_kato
I usually retry to understand what they mean.  Therefore, I'd like to give new
names for them (and rename `TypeInState` class in a following patch).

Differential Revision: https://phabricator.services.mozilla.com/D155315
2022-08-26 03:20:14 +00:00
Masayuki Nakano
a94d4ffd46 Bug 1784192 - part 5: Make TypeInState manage PropItem instances with UniquePtr r=m_kato
It's ugly to manage them as raw pointer especially when deleting the instances.
We should make it use `UniquePtr`.

Differential Revision: https://phabricator.services.mozilla.com/D155314
2022-08-26 03:20:14 +00:00
Masayuki Nakano
cf8abe2061 Bug 1784192 - part 4: Change PropItem::mSpecifiedStyle to a constant r=m_kato
Only the value member needs to be updated when setting the prop multiple times.
Therefore, we cannot change all members to constants.

Differential Revision: https://phabricator.services.mozilla.com/D155313
2022-08-26 03:10:32 +00:00
Masayuki Nakano
100af2494d Bug 1784192 - part 3: Change other members of PropItem r=m_kato
According to the debug, its value can be CSS property value if in the CSS mode.
For making the value meaning easier to understand, this renames it to
mAttributeValueOrCSSValue.

Differential Revision: https://phabricator.services.mozilla.com/D155312
2022-08-26 03:10:31 +00:00
Masayuki Nakano
491bc57b81 Bug 1784192 - part 2: Change PropItem::attr to a strong pointer r=m_kato
It's currently no problem to manage it with a raw pointer because it may be
set to a dynamic atom only when `nsIHTMLEditor.insertLinkAroundSelection` is
called with unknown attribute, but comm-central uses it only with `href`
attribute.

I think that we should change the API just to take `href` value in the future,
but for now, it should be `RefPtr<nsAtom>`.

Differential Revision: https://phabricator.services.mozilla.com/D155311
2022-08-26 03:10:31 +00:00
Masayuki Nakano
66c9f821f0 Bug 1784192 - part 1: Change PropItem::tag to nsStaticAtom* r=m_kato
It's always a pointer to `nsStaticAtom` instance or `nullptr`.  Therefore,
it can be `nsStaticAtom*` and we can make its users treat `nsStaticAtom`
instead of `nsAtom`.

Additionally, this patch changes some pointer parameters to references if
they are never `nullptr`.

Differential Revision: https://phabricator.services.mozilla.com/D155310
2022-08-26 03:10:30 +00:00
Masayuki Nakano
76c16ceefc Bug 1785801 - Make RangeUpdater::SelAdjJoinNodes take the ex-offset of right node r=m_kato
In bug 1739524, I misunderstood the meaning of `aOffset` of `SelAdjJoinNodes`.

After joining 2 nodes, and a point points right node which will have ex-left
node content, the point needs to point ex-start of the right node to keep
next insertion point as-is.  Therefore, it's not useful with new join nodes
direction, it needs to know the ex-offset of the right node.

Differential Revision: https://phabricator.services.mozilla.com/D155438
2022-08-26 01:50:07 +00:00
Steve Fink
4d9a288912 Bug 1785942 - Use constructors for JSString subclasses. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D155136
2022-08-25 23:26:55 +00:00
Steve Fink
b2fd00d6f2 Bug 1785942 - Expose function that avoids some excess NUL termination r=arai
Differential Revision: https://phabricator.services.mozilla.com/D155135
2022-08-25 23:26:54 +00:00
Steve Fink
942688b7df Bug 1785942 - Move more allocation code into the friend-able js::gc::CellAllocator class (was struct) r=arai
Differential Revision: https://phabricator.services.mozilla.com/D155137
2022-08-25 23:26:54 +00:00