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

732516 Коммитов

Автор SHA1 Сообщение Дата
Gerald Squelart 661d9cff56 Bug 1673494 - Tweak profile gathering timeout, with pref "devtools.performance.recording.child.timeout_s" - r=gregtatum
Instead of a repeating timeout of only twice the parent's serialization time + 1s, use that double parent time and multiply it by the number of children, and add the number of seconds from the about:config preference "devtools.performance.recording.child.timeout_s" (still 1s by default).

Differential Revision: https://phabricator.services.mozilla.com/D94955
2020-10-28 22:17:48 +00:00
Botond Ballo 758856dc14 Bug 1669861 - Rename DisplayPortMargins::WithAdjustment() to FromAPZ(). r=kats
WithAdjustment() is now a misnomer now that the other methods can sometimes
apply an adjustment as well.

Differential Revision: https://phabricator.services.mozilla.com/D94537
2020-10-26 23:26:59 +00:00
Botond Ballo 2c7ab6e957 Bug 1669861 - Use the visual scroll offset consistently for DisplayPortMargins computations. r=kats
Even when the margins don't come from APZ, they are relative to
the visual viewport, and for the RCD-RSF there may be an offset
between the visual and layout viewports that they should be
translated by.

Bug 1669982 modified the call site in
CalculateAndSetDisplayPortMargins() to do this. This patch
refactors things such that all setters of the display port
do this if appropriate.

Differential Revision: https://phabricator.services.mozilla.com/D93428
2020-10-28 22:13:14 +00:00
Harry Twyford 2f62453729 Bug 1671668 - Invert the colors in the search mode indicator in dark mode. r=adw,ntim
Differential Revision: https://phabricator.services.mozilla.com/D95066
2020-10-28 21:38:19 +00:00
Joey Salazar 86a4685f78 Bug 1662985 - Move the ExternalPixel types r=kats
Moving the ExternalPixel types from APZPublicUtils.h to Units.h to
reduce the transitive include graph from that dependency.

Signed-off-by: Joey Salazar <grey.lila@yahoo.com>

Differential Revision: https://phabricator.services.mozilla.com/D94932
2020-10-28 21:55:49 +00:00
Emilio Cobos Álvarez 706baf70b6 Bug 1673964 - Fix a typo in an exception message. r=boris
> CSSStyleSheet.cssRules getter: Can't access rules of still-loading
> stylsheet

I have no idea what an stylsheet is :)

Differential Revision: https://phabricator.services.mozilla.com/D95064
2020-10-28 21:22:43 +00:00
Cosmin Sabou f654e61a4f Backed out changeset 86e3c90d221f (bug 1638970) for causing Bug 1673914.
CLOSED TREE DONTBUILD
2020-10-28 23:41:26 +02:00
Cosmin Sabou 7a1d8770ac Backed out changeset 3b72cf9476d8 (bug 1667370) for xpc failures on test_protocol_index.js. CLOSED TREE 2020-10-28 23:35:36 +02:00
Eugen Sawin 18cfb1e1d5 Bug 1673502 - [1.0] Ensure onActivated is called first on an inactive media session. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D94797
2020-10-28 14:29:43 +00:00
Harry Twyford bae28c541a Bug 1669526 - Don't show the heuristic result for partially typed token aliases and show all the matching token aliases. r=adw
The heavily nested structure of UrlbarInput.setValueFromResult made it difficult to handle a result that was both a keywordoffer and autofilled. I took this opportunity to refactor setValueFromResult to be flatter. I think it's a bit easier to read now.

Differential Revision: https://phabricator.services.mozilla.com/D94903
2020-10-28 20:52:37 +00:00
Mihai Alexandru Michis 48192aab09 Backed out changeset 952da6bff887 (bug 1660054) for causing bc failures in browser_test_reset_scaling_zoom.js
CLOSED TREE
2020-10-28 23:00:15 +02:00
Ting-Yu Lin 171b2e8053 Bug 1671726 Part 2 - Store LogicalSize as a member variable in ReflowOutput, and improve the documentation. r=jfkthame
By using LogicalSize instead of a pair of mISize and mBSize, most of the
ReflowOutput's methods can delegate to LogicalSize's methods.

This change shouldn't change behavior.

Differential Revision: https://phabricator.services.mozilla.com/D93869
2020-10-28 20:42:29 +00:00
Ting-Yu Lin afa8ddf934 Bug 1671726 Part 1 - Fix a writing-mode mismatch in ViewportFrame::Reflow(). r=jfkthame
After applying the next part, 1161752.html's runTest2() can trigger the
following assertion without this patch.

```
ASSERTION: writing-mode mismatch: 'aWritingMode.IgnoreSideways() == GetWritingMode().IgnoreSideways()'
```

`kidDesiredSize` is initialized by ViewportFrame's reflow input, so it
stores the ViewportFrame's writing mode. But after calling
`ReflowChild`, the old code is accessing the kid's block-size by using
`kidDesiredSize.BSize(wm)`, where `wm` is being shadowed within the
inner if and becomes the kid's writing mode. This patch fixed it by
changing the inner `wm` to `kidWM` for the clarity and avoiding the
variable shadowing.

In the next part, ReflowOutput's documentation is updated, hoping to
prevent the writing mode misusages in the future.

Differential Revision: https://phabricator.services.mozilla.com/D93868
2020-10-28 20:42:26 +00:00
Hubert Boma Manilla 3d18cd113c Bug 1667370 - [devtools] Implement network request blocking in fission r=ochameau,devtools-backward-compat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D94449
2020-10-28 20:46:13 +00:00
Alexis Beingessner f045afd928 Bug 1506910 - Initialize the poison page with a static initializer. r=glandium,decoder
Poison was setup at the start of xpcom init when that was assumed to be early enough.
Since then, Poison was added to Maybe, and Maybe has been used everywhere, including in
our channel implementation. As a result, poison was being used before it was initialized.

This basically meant our poison pointers were being replaced with null instead, which
dances into some more UB than accessing a page we have actually allocated. Also, tsan
noticed that accesses to the value were racing with the initializer actually being
called!

A (dynamic) static initializer forces the poison initialization as we can reasonably
hope without getting CallOnce or singleton patterns involved.

Other changes:
  * Cleaned up the outdated documentation for mozWritePoison (the alignment
    restriction was removed in Bug 1414901)
  * Removed the poison supression from TSan

Differential Revision: https://phabricator.services.mozilla.com/D94251
2020-10-28 20:38:42 +00:00
Julian Descottes 7e7a9d78e0 Bug 1654998 - [devtools] Add a test to check the Add button is hidden for indexedDB r=ladybenko
Depends on D93082

New test to verify the bug fixed in the previous changeset

Differential Revision: https://phabricator.services.mozilla.com/D93083
2020-10-28 20:34:11 +00:00
Julian Descottes 148634a849 Bug 1654998 - [devtools] Check supports traits directly on individual storage fronts r=ladybenko
Depends on D93081

Differential Revision: https://phabricator.services.mozilla.com/D93082
2020-10-28 20:34:03 +00:00
Julian Descottes b5906333d9 Bug 1654998 - [devtools] Remove backward compatibility code from storage-ui::_readSupportsTraits r=ladybenko
Traits support was added to the storage actor in FF80.
Firefox release is now FF81 so we can cleanup the related backward compatibility code.

Differential Revision: https://phabricator.services.mozilla.com/D93081
2020-10-28 20:19:06 +00:00
Miko Mynttinen 96148431aa Bug 1640197 - Part 5: Add reftests r=mats
Differential Revision: https://phabricator.services.mozilla.com/D94037
2020-10-28 18:28:15 +00:00
Miko Mynttinen 96bcc0ad72 Bug 1640197 - Part 4: Create more pages for vertical overflow r=dholbert,mats
Depends on D90425

Differential Revision: https://phabricator.services.mozilla.com/D90426
2020-10-28 18:33:52 +00:00
Miko Mynttinen 8f780ba14a Bug 1640197 - Part 3: Include overflowing content from the previous pages in nsPageFrame display list r=dholbert,mats
Depends on D90424

Differential Revision: https://phabricator.services.mozilla.com/D90425
2020-10-28 18:32:06 +00:00
Miko Mynttinen db736e8e19 Bug 1640197 - Part 2: Add an additional offset to reference frame r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D88639
2020-10-28 18:27:57 +00:00
Miko Mynttinen 5b542dc278 Bug 1640197 - Part 1: Relax assertion from being an ancestor to sharing a common ancestor r=mats
Differential Revision: https://phabricator.services.mozilla.com/D90424
2020-10-28 18:30:21 +00:00
Eitan Isaacson 66f17f5351 Bug 1020603 - Check table children for alternative frame types when mapping element. r=Jamie
If an HTML table's children (tr/thead/tfoot) are anything but row or row
group frames, our layout-based HTMLTableAccessible implementation won't work.

Differential Revision: https://phabricator.services.mozilla.com/D94888
2020-10-28 15:58:55 +00:00
Ricky Stewart 127255c31f Bug 1654084 - Log build project to telemetry r=firefox-build-system-reviewers,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D94868
2020-10-27 18:08:49 +00:00
Ricky Stewart e6c9007806 Bug 1655845 - Collect OS version information in `mach` telemetry r=firefox-build-system-reviewers,dmajor
We add new metrics `distro` and `distro_version`. Their meaning varies based on the actual OS:

1. For Linux, the pair will be the name of the distribution and the distribution's version (e.g. `ubuntu`/`20.04`);

2. for macOS, the pair will be the string `macos` and the macOS version (e.g. `10.15.7`); and

3. for Windows, the pair will be the string (`windows`, `MAJOR.MINOR.BUILD`);

4. and for all other OS'es, the first will be the value of `sys.platform`, and the version string will be empty.

Differential Revision: https://phabricator.services.mozilla.com/D94781
2020-10-27 20:35:17 +00:00
Neil Deakin 7b907d0d94 Bug 1673512, remove message manager from browser_UITour.js test, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D94799
2020-10-28 15:55:52 +00:00
Neil Deakin 8773757bb3 Bug 1669369, remove legacy actor from PrintingChild and replace with JSWindowActor, r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D92519
2020-10-28 19:19:52 +00:00
Kartikaya Gupta c75bed1584 Bug 1660054 - Hook up the zoom-reset action to also reset APZ/scaling zoom. r=Gijs,nika,botond
The goal here is to hook up the ctrl+0 keyboard shortcut to reset the scaling
zoom applied by pinch gestures (on touchscreen or trackpad), in addition to
resetting the reflow zoom (aka full zoom). This patch also makes other mechanisms
to reset the reflow zoom (e.g. clicking on the "100%" label in the hamburger menu)
also reset scaling zoom, which I think makes sense for consistency.

Most of this patch is just plumbing, but I'm unfamiliar with these codepaths
so requesting review from relevant owners to make sure it's sane.

Differential Revision: https://phabricator.services.mozilla.com/D94624
2020-10-28 19:14:18 +00:00
Mihai Alexandru Michis 2730ac0b68 Bug 1644515 - Fix lint failure in telemetry_harness/testcase.py a=lint-fix
CLOSED TREE
2020-10-28 21:46:58 +02:00
Emilio Cobos Álvarez da97c00bb1 Bug 1411372 - Remove bogus XUL box sorting. r=TYLin
Instead, sort stuff using CSSOrderAwareFrameIterator. The current
sorting is broken in presence of dynamic insertions, consider the
following <Child(order)> combination in the DOM:

  <A(1000)> <B(0)>

That'd look like:

  <B(0)> <A(1000)>

On the frame tree. However when appending a child before B so that the
DOM looks like:

  <A(1000)> <C(0)> <B(0)>

The frame constructor will properly insert after A, and the reordering,
which is stable, will end up with:

  <B(0)> <C(0)> <A(1000)>

Which is the wrong frame tree order.

We only use -moz-box-ordinal-group in regular sprocket layout, so just
handle it there rather than everywhere. Similarly, we only rely on it
for in-flow stuff, so remove the test for that added in bug 877890 (flex
changed behavior afterwards, interestingly enough).

Differential Revision: https://phabricator.services.mozilla.com/D94790
2020-10-28 19:10:00 +00:00
Andi-Bogdan Postelnicu 69d369ec4f Bug 1626555 - Add `dom/media/mediasink` to the list of non-unified-build-compatible directories. r=sg
Differential Revision: https://phabricator.services.mozilla.com/D95023
2020-10-28 17:26:04 +00:00
bforehand f16e83b920 Bug 1644515 - Enable search tests with fixes; r=raphael,chutten
Differential Revision: https://phabricator.services.mozilla.com/D94050
2020-10-28 18:22:09 +00:00
William Immendorf c7df5cac46 Bug 1643243 - XHR uses XMLHttpRequestBodyInit as per whatwg spec. r=annevk,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D94936
2020-10-28 18:22:48 +00:00
Julian Descottes ee0bae9190 Bug 1673880 - [marionette] Fix suggested syntax for --webdriver-arg in testing documentation r=marionette-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D94996
2020-10-28 17:50:29 +00:00
Ting-Yu Lin b0d0dbd24b Bug 1669393 - Fix up position of overflow container children in a vertical-rl block once we know the final block size. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D93727
2020-10-28 18:07:22 +00:00
Kartikaya Gupta edc1d48bfd Bug 1669478 - Enable WebRender on most of the windows10-64 ccov tests. r=ahal,jrmuizel
This moves most of the windows ccov tests to run with WebRender enabled by
putting them in the windows10-64-ccov-qr test platform. (The -qr suffix causes
the taskgraph code to enable WebRender for these jobs).
The only one skipped is the marionette GPU test because it contains a test that
specifically requires WebRender disabled.

The existing non-regex config keys that referred to `windows10-64-ccov` also
get updated, and in a couple of places we need to add a new non-regex key to
disambiguate between two matching regex keys.

Differential Revision: https://phabricator.services.mozilla.com/D94769
2020-10-28 17:47:56 +00:00
Kartikaya Gupta fd8ca47744 Bug 1669478 - Remove unused windows10-64-ccov/debug bits. r=ahal
We never actually run anything on this test platform, we only run opt.

Differential Revision: https://phabricator.services.mozilla.com/D94768
2020-10-28 17:45:55 +00:00
Mihai Alexandru Michis 5427028d85 Backed out changeset 673e27ce5abb (bug 1660969) for causing bc failures in browser_test_mixed_content_download.js
CLOSED TREE
DONTBUILD
2020-10-28 21:14:25 +02:00
Sebastian Streich c9f62f14bc Bug 1660969 - Enable unblock UI for mixed-content-blocked Downloads r=Gijs,ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D88721
2020-10-28 17:07:59 +00:00
Gijs Kruitbosch 4432491ff4 Bug 1673409 - show icon and label for import button in customize mode, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D94783
2020-10-28 17:02:29 +00:00
Ted Campbell b4367c55e0 Bug 1670238 - Do not delazify if sourceEnd is definitely before the specified line in findScript. r=arai
Each script for target source has a SourceExtent that represents the source
start as both an offset and a line/column value. We use these mappings to
compute a lower-bound on the source offset of a target line when performing
`findScripts`. This lower bound lets us quickly eliminate candidate scripts
without needing to compile their bytecode and inspect SrcNotes.

Depends on D93177

Differential Revision: https://phabricator.services.mozilla.com/D95019
2020-10-28 16:06:45 +00:00
Tooru Fujisawa 4e228f16ca Bug 1670510 - Do not return function that ends before the specified line in findScript. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D93177
2020-10-28 15:36:52 +00:00
Andi-Bogdan Postelnicu aedab9e740 Bug 1626555 - Add `dom/media/mediasession` to the list of non-unified-build-compatible directories. r=sg
Depends on D95001

Differential Revision: https://phabricator.services.mozilla.com/D95003
2020-10-28 16:31:41 +00:00
Andi-Bogdan Postelnicu 7918bde89f Bug 1671641 - Make `dom/media/mediacontroller` buildable outside of `unified-build` environment. r=sg
Depends on D95000

Differential Revision: https://phabricator.services.mozilla.com/D95001
2020-10-28 16:31:26 +00:00
Andi-Bogdan Postelnicu 70af4aaffd Bug 1626555 - Add `dom/media/{hls,imagecapture,ipc,mediacapabilities}` to the list of non-unified-build-compatible directories. r=sg
Depends on D94991

Differential Revision: https://phabricator.services.mozilla.com/D95000
2020-10-28 16:30:45 +00:00
Andi-Bogdan Postelnicu 7e612d6c92 Bug 1671641 - Make `dom/media/gtest` buildable outside of `unified-build` environment. r=sg
Depends on D94985

Differential Revision: https://phabricator.services.mozilla.com/D94991
2020-10-28 16:30:30 +00:00
Andi-Bogdan Postelnicu f9d22b5cd8 Bug 1626555 - Add `dom/media/gmp-plugin-openh264` to the list of non-unified-build-compatible directories. r=sg
Depends on D94984

Differential Revision: https://phabricator.services.mozilla.com/D94985
2020-10-28 16:30:05 +00:00
Andi-Bogdan Postelnicu 0dce6f6e0c Bug 1671641 - Make `dom/media/gmp` buildable outside of `unified-build` environment. r=sg
Depends on D94983

Differential Revision: https://phabricator.services.mozilla.com/D94984
2020-10-28 16:29:57 +00:00
Andi-Bogdan Postelnicu 560b6d3239 Bug 1626555 - Add `dom/media/fake-cdm`, `dom/media/flac` and `dom/media/fuzz` to the list of non-unified-build-compatible directories. r=sg
Depends on D94977

Differential Revision: https://phabricator.services.mozilla.com/D94983
2020-10-28 16:29:47 +00:00