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

739495 Коммитов

Автор SHA1 Сообщение Дата
Kartikaya Gupta a1c103f316 Bug 1684708 - Migrate helper_scrollby_bug1531796.html to async/await style. r=botond
Depends on D100617

Differential Revision: https://phabricator.services.mozilla.com/D100618
2021-01-05 02:34:53 +00:00
Kartikaya Gupta 498df38275 Bug 1684708 - Migrate helper_scrollbar_snap_bug1501062.html to async/await style. r=botond
Depends on D100616

Differential Revision: https://phabricator.services.mozilla.com/D100617
2021-01-05 02:34:31 +00:00
Kartikaya Gupta 9171732616 Bug 1684708 - Migrate helper_scroll_anchoring_smooth_scroll.html to async/await style. r=botond
Depends on D100615

Differential Revision: https://phabricator.services.mozilla.com/D100616
2021-01-05 02:33:01 +00:00
Kartikaya Gupta b2a9d2856d Bug 1684708 - Migrate helper_overscroll_behavior_bug1494440.html to async/await style. r=botond
Depends on D100614

Differential Revision: https://phabricator.services.mozilla.com/D100615
2021-01-05 02:32:43 +00:00
Kartikaya Gupta 1f0add6673 Bug 1684708 - Migrate helper_overscroll_behavior_bug1425603.html to async/await style. r=botond
Depends on D100613

Differential Revision: https://phabricator.services.mozilla.com/D100614
2021-01-05 02:32:33 +00:00
Kartikaya Gupta cb219a5904 Bug 1684708 - Migrate helper_overscroll_behavior_bug1425573.html to async/await style. r=botond
Depends on D100612

Differential Revision: https://phabricator.services.mozilla.com/D100613
2021-01-05 02:30:44 +00:00
Kartikaya Gupta a156785e59 Bug 1684708 - Migrate helper_overflowhidden_zoom.html to async/await style. r=botond
Depends on D100611

Differential Revision: https://phabricator.services.mozilla.com/D100612
2021-01-05 02:30:21 +00:00
Kartikaya Gupta 794d3ef389 Bug 1684708 - Migrate helper_onetouchpinch_nested.html to async/await style. r=botond
Depends on D100610

Differential Revision: https://phabricator.services.mozilla.com/D100611
2021-01-05 02:29:48 +00:00
Kartikaya Gupta e3d2ee2f3c Bug 1684708 - Migrate helper_horizontal_checkerboard.html to async/await style. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D100610
2021-01-05 02:27:05 +00:00
Hiroyuki Ikezoe 2e6e03771b Bug 1683612 - Don't use mobile display size where dom.meta-viewport.enable pref is false. r=botond
If the pref is false, we don't trigger auto-shrink machinery so that we
shouldn't use the display size to layout scrollbars.

Differential Revision: https://phabricator.services.mozilla.com/D100312
2021-01-05 02:02:51 +00:00
Kagami Sascha Rosylight 3c4c9413c1 Bug 1664036 - Add tests for SVG onload r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D89383
2021-01-05 01:47:42 +00:00
Kagami Sascha Rosylight 6e9c5ba160 Bug 1682706 - Use SelectionBatcher in SetRangeText r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D100705
2021-01-04 23:29:36 +00:00
Tooru Fujisawa c6f8cd8a1d Bug 1683623 - Part 5: Remove SharedImmutableScriptData and HandleFunction parameters from JSScript::fromStencil. r=tcampbell
Depends on D100718

Differential Revision: https://phabricator.services.mozilla.com/D100719
2021-01-04 21:15:54 +00:00
Tooru Fujisawa 614ae0a8a1 Bug 1683623 - Part 4: Use ScriptIndex in JSScript methods. r=tcampbell
Depends on D100717

Differential Revision: https://phabricator.services.mozilla.com/D100718
2021-01-04 21:12:52 +00:00
Tooru Fujisawa 1872866b52 Bug 1683623 - Part 3: Remove ScriptStencil parameter from ConvertScriptStencil. r=tcampbell
Depends on D100716

Differential Revision: https://phabricator.services.mozilla.com/D100717
2021-01-04 21:10:42 +00:00
Tooru Fujisawa 85f143cb80 Bug 1683623 - Part 2: Remove ScriptStencil parameter from BytecodeEmitter::intoScriptStencil. r=tcampbell
Depends on D100715

Differential Revision: https://phabricator.services.mozilla.com/D100716
2021-01-04 21:09:33 +00:00
Tooru Fujisawa 462f74dc4e Bug 1683623 - Part 1: Rename FunctionIndex to ScriptIndex, and move to its own header. r=tcampbell
To reflect the top-level initial script usage, it should be called ScriptIndex.

Also, to use ScriptIndex in JSScript methods, it needs to be moved out of
Stencil.h.

Differential Revision: https://phabricator.services.mozilla.com/D100715
2021-01-04 22:43:50 +00:00
Tooru Fujisawa 1cf559e73c Bug 1677401 - Part 6: Directly use ParserData type. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D99749
2021-01-04 22:43:50 +00:00
Tooru Fujisawa e3d122e66c Bug 1677401 - Part 5: Encode/decode the entire scope data at once. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D99748
2021-01-04 22:41:28 +00:00
Tooru Fujisawa 6a75f888fa Bug 1677401 - Part 4: Make ParserFunctionScopeData packed. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D99747
2021-01-04 22:41:20 +00:00
Tooru Fujisawa 143eb368df Bug 1677401 - Part 3: Move alignas to JSAtom scope data. r=nbp
Stencil's *Scope::Data doesn't contain pointer and doesn't have to be aligned
to pointer size.
This removed extra padding between scope data items in vector.

Differential Revision: https://phabricator.services.mozilla.com/D99746
2021-01-04 22:41:11 +00:00
Tooru Fujisawa ee3729bdd4 Bug 1677401 - Part 2: Remove pointer from stencil scope data. r=nbp
Split *Scope::Data into stencil and VM, with specialization for each.
Stencil variant doesn't contain pointer fields.

Differential Revision: https://phabricator.services.mozilla.com/D99745
2021-01-04 22:41:03 +00:00
Tooru Fujisawa c8c42f64ab Bug 1677401 - Part 1: Add scope SlotInfo struct for shared data between stencil and VM. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D99744
2021-01-04 22:40:50 +00:00
Mike Hommey 64f1e310ff Bug 1683824 - Update sccache to 0.2.14. r=firefox-build-system-reviewers,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D100288
2021-01-04 20:46:16 +00:00
Steve Fink cbca6e3872 Bug 1682947 - Handle madvise returning EAGAIN. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D100404
2020-12-24 22:00:12 +00:00
Gerald Squelart a82ad0bb16 Bug 1329600 - Capture CPU usage on Linux - r=canaltinova,gcp
Differential Revision: https://phabricator.services.mozilla.com/D99416
2021-01-04 11:37:46 +00:00
Gerald Squelart 8ae4195eeb Bug 1329600 - Capture CPU usage on macos - r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D99415
2021-01-04 07:22:59 +00:00
Gerald Squelart 6b6370fc4a Bug 1329600 - Capture CPU usage on Windows - r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D99414
2021-01-04 07:19:18 +00:00
Gerald Squelart ecaf794c38 Bug 1329600 - Scaffolding to output CPU measurements in samples - r=canaltinova
The `RunningTimes` class stores CPU measurements. It may seem overkill for only one value, but in the future more measurements will be added.

During sampling, CPU measurements are collected by platform-specific code. This patch doesn't produce anything yet, see later patches.
These are stored with the samples.
Note that for duplicated samples (when a thread is known to be "asleep"), we still need to collect new measurements, because there could potentially be some activity happening, e.g. in system calls.
Finally the measurements are output as extra "samples" values.

Units for these values may platform-specific, so they are stored in the top-level JSON "meta" object.

We don't collect running times in the Base Profiler (yet), but we still need to add the appropriate field names in the samples' "schema", as expected by profiler.firefox.com.

Differential Revision: https://phabricator.services.mozilla.com/D99413
2021-01-04 07:19:16 +00:00
Gerald Squelart 484485975e Bug 1679930 - Add ActivePS experimental feature "CPU Utilization" - r=canaltinova
This patch adds "CPU Utilization" ("cpu" for short) as a new feature that will control the upcoming still-experimental CPU measurements.

Differential Revision: https://phabricator.services.mozilla.com/D99054
2021-01-04 07:17:38 +00:00
Gerald Squelart 581ab50327 Bug 1679930 - When the sampler thread function starts, it can store all ActivePS features - r=canaltinova
Instead of only capturing one feature (NoStackSampling), the sampler thread now stores all features so that any feature can be quickly looked at during sampling.

Currently this is still limited to NoStackSampling, a later patch will start using another feature.

Differential Revision: https://phabricator.services.mozilla.com/D99053
2021-01-04 07:16:59 +00:00
Nils Ohlmeier [:drno] f47ce82ab3 Bug 1683964: Harden the handling of outgoing streams. r=ng
Depends on D100490

Differential Revision: https://phabricator.services.mozilla.com/D100491
2021-01-04 19:40:18 +00:00
Nils Ohlmeier [:drno] ca5537ad94 Bug 1683964: clean up more resources of existing SCTP association in case of a restart. r=ng
Depends on D100379

Differential Revision: https://phabricator.services.mozilla.com/D100490
2021-01-04 19:40:17 +00:00
Nils Ohlmeier [:drno] 618f2175a3 Bug 1683964: Improve the input validation and processing of sctp cookies. r=jesup
Differential Revision: https://phabricator.services.mozilla.com/D100379
2021-01-04 19:40:16 +00:00
Eitan Isaacson c2532de498 Bug 1680329 - Add AXTextStateChangeType to selection events. r=morgan
It seems that VoiceOver depends on that property to know if a selection is be extended or moved. This manifests in several places in Slack when the user combines VO navigation with Slack's keyboard navigation.

Also changed where we retrieve the editable ancestor to simplify the notification dispatching block.

Differential Revision: https://phabricator.services.mozilla.com/D100452
2021-01-04 22:37:46 +00:00
Masatoshi Kimura 44274c030b Bug 1683464 - Remove aMimeTypeGuess from nsIContentSecurityPolicy::ShouldLoad. r=ckerschb
This parameter is unused.

Depends on D100178

Differential Revision: https://phabricator.services.mozilla.com/D100179
2021-01-04 17:05:01 +00:00
Masatoshi Kimura 60442b1dea Bug 1683464 - Make CSPDirective a CEnum type. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D100178
2021-01-04 17:01:31 +00:00
Masatoshi Kimura 22723674f7 Bug 1684110 - Stop using some 'A'-functions in netwerk/. r=necko-reviewers,kershaw
Depends on D100466

Differential Revision: https://phabricator.services.mozilla.com/D100467
2021-01-04 20:34:50 +00:00
Emilio Cobos Álvarez b1477d11d2 Bug 1684490 - Make some BrowsingContext/WindowContext asserts DIAGNOSTIC_ASSERTS. r=edgar
These would've caught the issue a lot sooner.

Differential Revision: https://phabricator.services.mozilla.com/D100579
2021-01-04 20:54:15 +00:00
Emilio Cobos Álvarez f4e06d4673 Bug 1684490 - Check an in-process window context for user interaction. r=smaug,edgar
In the case we click a link from inside the frame, we don't want to
check for activation from the parent window but ourselves.

It feels like using the sourceWindowContext for these checks is always
the right thing to do, but it's not always possible if we set the
location.href from an out-of-process parent. In this case, we fall back
to consuming user activation on the iframe itself. This is tested in
browbrowser_protocol_ask_dialog.js when run with fission enabled.

We could consider making the user activation stuff more
multiprocess-friendly, but it's not clear to me it's worth it for this
particular edge case.

Differential Revision: https://phabricator.services.mozilla.com/D100578
2021-01-04 20:54:07 +00:00
Narcis Beleuzu d7a6d44ef2 Backed out 2 changesets (bug 1684490) as per emilio`s request
Backed out changeset 1f44b3e9ec62 (bug 1684490)
Backed out changeset 7ad6088bb2c2 (bug 1684490)
2021-01-04 23:51:15 +02:00
sotaro eee67f5e4d Bug 1683988 - Do not pass unnecessary objects for software WebRender r=nical
Differential Revision: https://phabricator.services.mozilla.com/D100375
2021-01-04 09:29:38 +00:00
sotaro 6b0b8a1249 Bug 1681756 - Fix return of RenderCompositorANGLE::GetBufferSize() r=nical
I missed to read a review comment of D100220.

Differential Revision: https://phabricator.services.mozilla.com/D100456
2021-01-04 09:47:29 +00:00
Chris Martin 81592aa52c Bug 1657404 - Add diag asserts to catch potential double IPDL shutdown r=handyman
Based on evidence from crash reports in Bug 1682589, there may be a bug where
IPDL intermittently calls `ActorDestroy()` twice on GamepadEventChannelParent,
leading to a crash.

This attempts to catch this behavior in Nightly (assuming that I'm correct and
it does exist). If not, I will have to find some other explanation for the
crash behavior from that bug.

Differential Revision: https://phabricator.services.mozilla.com/D100714
2021-01-04 20:38:39 +00:00
Jonathan Kew e62d1f199c Bug 1684846 - Bail out of font-info loader if the platform doesn't actually care about loading any info. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D100694
2021-01-04 20:57:43 +00:00
Jonathan Kew 3e652ab885 Bug 1666382 - Allow more assertions in abspos-breaking-002.xhtml to account for possible extra reflow. r=lsalzman
Depends on D100663

Differential Revision: https://phabricator.services.mozilla.com/D100664
2021-01-04 20:57:05 +00:00
Jonathan Kew 60fcf9f362 Bug 1684407 - Disable async font fallback for css-writing-modes/mongolian-orientation-001.html. r=lsalzman
Depends on D100662

Differential Revision: https://phabricator.services.mozilla.com/D100663
2021-01-04 20:56:57 +00:00
Jonathan Kew b6568b9b7a Bug 1684406 - Disable async font fallback for css-fonts/font-feature-settings-tibetan.html. r=lsalzman
Depends on D100661

Differential Revision: https://phabricator.services.mozilla.com/D100662
2021-01-04 20:56:55 +00:00
Jonathan Kew fd0d67b795 Bug 1684700 - Disable async font fallback for css-ui/text-overflow-022.html. r=lsalzman
Depends on D100660

Differential Revision: https://phabricator.services.mozilla.com/D100661
2021-01-04 20:55:47 +00:00
Jonathan Kew 4d3c54857c Bug 1684597 - Disable async font fallback for generated-content/content-007.xht. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D100660
2021-01-04 20:55:18 +00:00