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

651168 Коммитов

Автор SHA1 Сообщение Дата
alwu 6896b4c755 Bug 1532495 - part2 : add test 'test_background_video_resume_looping_video_without_audio.html' r=jya
Add test to to ensure that the looping video (without audio track) which has been suspended can continute to playback correctly after we resume video decoding.

Differential Revision: https://phabricator.services.mozilla.com/D30419

--HG--
extra : moz-landing-system : lando
2019-05-09 23:09:44 +00:00
Gerald Squelart 56631f2ced Bug 1549232 - Only use profiler_current_{process,thread}_id in the Gecko Profiler instead of alternatives - r=mstange
There were many inconsistent ways to retrieve process/thread ids in the
profiler. Now we have only one platform-dependent implementation each:
profiler_current_process_id() and profiler_current_thread_id().

Note that this removes the need for the small `class Thread` in platform.h.
However memory_hooks.cpp still needs to be built non-unified, because of the
required order of #includes (replace_malloc.h before replace_malloc_bridge.h),
which could be disturbed by other cpp's.

Differential Revision: https://phabricator.services.mozilla.com/D29977

--HG--
extra : moz-landing-system : lando
2019-05-09 18:26:15 +00:00
Jean-Yves Avenard e0f0e16680 Bug 1548795 - P2. Remove dom.performance.enable_scheduler_timing preference. r=tarek
Differential Revision: https://phabricator.services.mozilla.com/D30467

--HG--
extra : moz-landing-system : lando
2019-05-09 23:12:12 +00:00
Jean-Yves Avenard 92822b915d Bug 1548795 - P1. Don't use StaticPrefs in GPU process. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D29984

--HG--
extra : moz-landing-system : lando
2019-05-09 23:12:12 +00:00
Brindusan Cristian faf9a5d054 Bug 1550545 - Fix linting failure. r=nbeleuzu CLOSED TREE 2019-05-10 02:06:27 +03:00
Glenn Watson 4d09f84fb5 Bug 1524427 - Fix panic when clip mask is supplied with non-existent image key. r=kvark
In some cases, Gecko supplies a display item with an image clip
mask where the image itself does not exist in the resource cache.

In these cases, WR would skip requesting the image, but would
still try to fetch the image info during batching, causing a panic.

This patch skips adding clip items to the batching pass if the
image mask does not exist.

It also adds support to wrench for a crash test when the image
mask is invalid.

Differential Revision: https://phabricator.services.mozilla.com/D30560

--HG--
extra : moz-landing-system : lando
2019-05-09 21:23:58 +00:00
alwu 4fea1ece94 Bug 1532495 - part1 : only skip the 'completed' state during seamless looping mode. r=jya
The normal looping process is that, goes to `completed` state first, notify playback ended, and finally media element would call seek to the start position in order to start looping again.

However, if we're in the seamless looping mode, we can stay in `loopingDecoding` state and repeating the looping without going to other states. Otherwise, we should go to `completed` state if decoding has ended.

Differential Revision: https://phabricator.services.mozilla.com/D30307

--HG--
extra : moz-landing-system : lando
2019-05-09 17:47:52 +00:00
Rob Wu ef01932b50 Bug 1546248 - Loosen Client-ID check in unit test r=rpl
The client_id part of browser_html_discover_view_clientid.js was failing
on TV because of a pre-existing, test-specific issue in Telemetry.
Fixing this is not trivial, so just check that the ID was set instead of
checking its exact value.

See the comment for more details; the fix will be part of bug 1537933

Differential Revision: https://phabricator.services.mozilla.com/D30001

--HG--
extra : moz-landing-system : lando
2019-05-09 14:22:18 +00:00
Rob Wu 3964ab68f9 Bug 1546123 - Correct size calculation of theme previews r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D29482

--HG--
extra : moz-landing-system : lando
2019-05-08 23:36:31 +00:00
Rob Wu 9675eda2fa Bug 1546980 - Add ratings and user counts to discopane r=mstriemer,flod
Differential Revision: https://phabricator.services.mozilla.com/D29481

--HG--
extra : moz-landing-system : lando
2019-05-08 23:36:32 +00:00
Rob Wu bb1e8193ce Bug 1542262 - Match AMO's rating logic in about:addons r=mstriemer,Pike
- Fill stars based on whether the rating is within the 0.5 range of a
  0.5-multiple, rather than checking whether the rating is at least as
  large as the 0.5-multiple. This follows the boundaries at:
  bb9277eeff/src/ui/components/Rating/index.js (L139-L140)

- Use a review star rating instead of re-using the bookmark star.
  This is not necessarily to be more consistent with AMO's stars,
  but to prevent the stars from becoming non-stars if we ever change
  the bookmark icon. The SVG icon is based on the path at:
  bb9277eeff/src/ui/components/IconStar/index.js (L19)

- Turn it into a custom element to make re-use easier.

Differential Revision: https://phabricator.services.mozilla.com/D29480

--HG--
extra : moz-landing-system : lando
2019-05-08 18:30:04 +00:00
Rob Wu 163dcef402 Bug 1546248 - Add attribution parameters to AMO links r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D29479

--HG--
extra : moz-landing-system : lando
2019-05-09 14:22:17 +00:00
Rob Wu 07b06b75fa Bug 1546248 - Put HTML discopane behind separate pref r=mstriemer
Require `extensions.htmlaboutaddons.discover.enabled` to be enabled
before the HTML-based discopane is shown. This allows the feature
to be turned on and/or off independent of the other HTML views.

Differential Revision: https://phabricator.services.mozilla.com/D29478

--HG--
extra : moz-landing-system : lando
2019-05-09 14:22:17 +00:00
Rob Wu 006cf25259 Bug 1546248 - Add notice to discopane when TAAR is enabled r=mstriemer,flod
The `<message-bar>` custom element used in this patch will be
introduced by https://phabricator.services.mozilla.com/D27547

The notice text and SUMO link target were taken from
6d2de7e52a/src/disco/pages/DiscoPane/index.js (L211-L213)

Differential Revision: https://phabricator.services.mozilla.com/D29477

--HG--
extra : moz-landing-system : lando
2019-05-09 14:22:16 +00:00
Rob Wu a4d633137e Bug 1546248 - Change "Get Add-ons" to "Recommendations" r=mstriemer,flod
Differential Revision: https://phabricator.services.mozilla.com/D28936

--HG--
extra : moz-landing-system : lando
2019-05-09 14:22:16 +00:00
Rob Wu dd8df1ac64 Bug 1546248 - Add discopane to about:addons HTML view r=mstriemer,flod,aswan
The api_response.json test file is the response from
https://addons-dev.allizom.org/api/v4/discovery/?lang=en-US
It has not been modified, except for being prettified using `json_pp`.

Differential Revision: https://phabricator.services.mozilla.com/D28436

--HG--
extra : moz-landing-system : lando
2019-05-09 14:22:16 +00:00
Noemi Erli 1c65279044 Backed out changeset 38ce182f68ea (bug 1402530) for build bustages in nsMixedContentBlocker.cpp CLOSED TREE 2019-05-09 17:29:38 +03:00
David Walsh e5afc68fb2 Bug 1515108 - Add DAMP test for project search r=jlast
Adds test for damp searches

Differential Revision: https://phabricator.services.mozilla.com/D30388

--HG--
extra : moz-landing-system : lando
2019-05-08 21:57:04 +00:00
James Graham 815ab6dd7d Bug 1504776 - Reenable tests that were disabled for a harness bug, r=annevk
Differential Revision: https://phabricator.services.mozilla.com/D30376

--HG--
extra : moz-landing-system : lando
2019-05-09 14:07:14 +00:00
James Graham 24e220ca75 Bug 1504776 - Fix a test that tries to navigate the test window, r=annevk
Differential Revision: https://phabricator.services.mozilla.com/D30375

--HG--
extra : moz-landing-system : lando
2019-05-09 13:53:37 +00:00
Michal Novotny 224fc95a6b Bug 1548472 - Collect telemetry about how is the cache split by the content type, r=mayhemer
Like in case of bug 1506534, this telemetry is sampled periodically every time 2GB of data is written to the cache, i.e. when the cache was used for some time and there is a chance that its content has changed significantly.

Differential Revision: https://phabricator.services.mozilla.com/D29678

--HG--
extra : moz-landing-system : lando
2019-05-08 13:15:40 +00:00
Gijs Kruitbosch ff5a80aceb Bug 1547573 - fix sorting in and add test for themes dropdown in customize mode, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D30392

--HG--
extra : moz-landing-system : lando
2019-05-09 18:22:53 +00:00
Nick Alexander 1764740990 Bug 1543982 - Part 2: Don't invoke `mach build ...` recursively. r=emilio
This commit avoids moz.build tasks when we're already within `mach
build`.

This is belt-and-braces: from within `mach build`, we want the main
moz.build dependency graph to arrange for the Gradle invocations to be
in the right state.  It's only in other situations, like `mach android
...` or invocation from Android Studio, that we want Gradle to arrange
to be in the right state vis. moz.build.

Differential Revision: https://phabricator.services.mozilla.com/D30426

--HG--
extra : moz-landing-system : lando
2019-05-09 20:39:10 +00:00
Nick Alexander e68b7c0a8f Bug 1543982 - Part 1: Avoid re-configuring from within Gradle. r=emilio
The inline comment explains what is happening here.  The issue is that
client.mk is setting MOZ_OBJDIR (and autoconf.mk is setting CC/CXX and
others) as part of `mach build`, which means that recursively invoking
`mach build` sees a different environment, and that triggers
reconfigure.

In some situations we can avoid this by recognizing that the
environment has changed and setting it back to what it was at the time
of `mach build` before client.mk adjusts it.

Differential Revision: https://phabricator.services.mozilla.com/D30425

--HG--
extra : moz-landing-system : lando
2019-05-09 20:38:48 +00:00
Gijs Kruitbosch c14acdeadd Bug 1548941 - remove e10s force-enable and force-disable prefs, and on desktop restrict 'normal' e10s pref to automation and unofficial builds, r=bholley,ahal
Differential Revision: https://phabricator.services.mozilla.com/D29892

--HG--
extra : moz-landing-system : lando
2019-05-09 21:55:46 +00:00
Mike Shal f6cd0b8528 Bug 1543215 - Enable PGO on Android aarch64 nightlies; r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D30567

--HG--
extra : moz-landing-system : lando
2019-05-09 21:55:41 +00:00
Michal Novotny 242a096333 Bug 1546975 - Cache SSL resumption tokens in necko, r=mayhemer
SSLTokensCache is a simple memory only storage for resumption tokens which are get and set using API for external TLS session caches in NSS.

Differential Revision: https://phabricator.services.mozilla.com/D29465

--HG--
extra : moz-landing-system : lando
2019-05-09 22:04:43 +00:00
Andrew McCreight e42a542e28 Bug 1550545, part 4 - Don't generate the scriptable flag in XPT files. r=nika
We never emit an XPT for an interface that is not scriptable, so this
flag is never used.

Differential Revision: https://phabricator.services.mozilla.com/D30529

--HG--
extra : moz-landing-system : lando
2019-05-09 22:07:52 +00:00
Andrew McCreight a6aec75bcd Bug 1550545, part 3 - Move the logic for notxpcom implying hidden into jsonxpt. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D30528

--HG--
extra : moz-landing-system : lando
2019-05-09 22:07:12 +00:00
Andrew McCreight 051fb7307e Bug 1550545, part 2 - Pass arguments to mk_method bundled up. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D30527

--HG--
extra : moz-landing-system : lando
2019-05-09 22:07:25 +00:00
Andrew McCreight 083d1d97f4 Bug 1550545, part 1 - Remove the unused isScriptable methods. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D30526

--HG--
extra : moz-landing-system : lando
2019-05-09 22:07:07 +00:00
Tom Ritter 0cbbf6fd46 Bug 1505936 - Copy and provide pdbs for cppunit tests if MOZ_COPY_PDBS is specified r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D29760

--HG--
extra : moz-landing-system : lando
2019-05-07 22:16:36 +00:00
alwu 6b41d4e549 Bug 1536762 - part5 : adjustment should only happen when box doesn't go over the boundary along the moving direction. r=heycam
When adjusting box's position, we would choose a axis first and move the box along this axis to see whether we can place this box without overlapping with other boxes and fully inside the rendering area.

If the box has been over the boundary along the moving direction, we should move box back to the original position and change the moving direction to see whether we can find another best place for the box.

Although the adjustment can run without timeout now, it still doesn't match the result of the reference, so change the state to `fail`.

Differential Revision: https://phabricator.services.mozilla.com/D29765

--HG--
extra : moz-landing-system : lando
2019-05-09 18:46:12 +00:00
alwu 7d4ac29915 Bug 1536762 - part4 : disable tests on Android and Windows. r=heycam
On Android, sometime we can't get the first frame, which would cause intermittent fail. See bug1546128.

On Windows, sometime we would get incorrect text color rendering, which would also cause intermittent fail. See bug1546133.

It seems that we won't get these two bug fixed recently, so I'm going to disable them on these two platforms.

Differential Revision: https://phabricator.services.mozilla.com/D28359

--HG--
extra : moz-landing-system : lando
2019-05-09 18:39:44 +00:00
alwu a0fdb4044a Bug 1536762 - part3 : enable wpt tests and add 'fuzzy' comparision. r=heycam
Sometime there are some color rendering differences between the test and the reference, which is small enough to be ignored because human can't be aware of that difference.

Differential Revision: https://phabricator.services.mozilla.com/D27179

--HG--
extra : moz-landing-system : lando
2019-05-09 18:39:36 +00:00
alwu 119f85db3a Bug 1536762 - part2 : use first line box's size as positioning basic unit. r=heycam,baku
According to the spec [1] 7.2.10.2, we should use the first line box's height or width as positioning unit to adjust box's position.

We will also use this value to adjust box when `snap-to-line` is false.

There, we implement a new chrome-only API to acquire this information, which would return the first line box's size in the `block` frame.

[1] https://www.w3.org/TR/webvtt1/#ref-for-webvtt-cue-snap-to-lines-flag-12

Differential Revision: https://phabricator.services.mozilla.com/D29745

--HG--
extra : moz-landing-system : lando
2019-05-09 19:22:33 +00:00
alwu 9ea9ba3929 Bug 1536762 - part1 : use unscaled bounding box'size as a cue box's size. r=baku,heycam
When adjusting cue's position, the goal is to place cue boxes fully inside the rendering area, and place in the right place.

In order to check whether the box is correctly inside the rendering area, we have to know the correct size of the cue box.

Therefore, we implement the new chrome-only APIs to acquire this information (box's height and width), and this returned value won't be affected by CSS transformation, which is good for positioning.

Differential Revision: https://phabricator.services.mozilla.com/D27178

--HG--
extra : moz-landing-system : lando
2019-05-09 18:26:17 +00:00
Narcis Beleuzu f082fec8bb Bug 1533762 - Disable sub-sample-buffer-stitching.html on all desktop platforms r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D30553

--HG--
extra : moz-landing-system : lando
2019-05-09 21:17:57 +00:00
Narcis Beleuzu b5a129f8e7 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-05-10 01:17:29 +03:00
Brindusan Cristian ba4f64421f Backed out changeset 7fa8e33635fc (bug 1534012) for wpt failures at promise-rejection-events.html. CLOSED TREE 2019-05-10 01:10:40 +03:00
Brindusan Cristian cab8f31085 Backed out changeset dd551956b332 (bug 1546296) for bc failures at browser_serviceworkers.js. CLOSED TREE 2019-05-10 00:38:56 +03:00
Brindusan Cristian 9ea768b97e Backed out changeset 3315610792f4 (bug 1550561) for mochitest failures at test_editor_for_input_with_autocomplete.html. CLOSED TREE 2019-05-10 00:19:18 +03:00
Paul Zuehlcke 6ff10519fa Bug 1549261 - Improved reliability of full-screen addon install block test. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D30471

--HG--
extra : moz-landing-system : lando
2019-05-09 19:59:03 +00:00
Tom Ritter 4e6bb3e03d Bug 1506016 - If we're building with MOZ_COPY_PDBS, build the pdb next to the executable r=firefox-build-system-reviewers,mshal
This will allow us to copy the pdbs for test files into the resulting
test file archive, but doesn't do it automatically.

Bug 1505936 is for copying some of them.

Differential Revision: https://phabricator.services.mozilla.com/D29761

--HG--
extra : moz-landing-system : lando
2019-05-09 19:52:26 +00:00
Chris Hartjes 80fbae9239 Bug 1544470 - Added in code that can be used to take a snapshot of CPU usage on Android devices; r=rwood
Differential Revision: https://phabricator.services.mozilla.com/D27954

--HG--
extra : moz-landing-system : lando
2019-05-09 20:39:43 +00:00
Edwin Gao c459d71ebd Bug 1548160 - task efficiency: review and reduce chunk count of xpcshell for various platforms r=gbrown,jmaher
Changes:
- set `macosx64-ccov` tests to 8 chunks (unchanged from m-c)
- set windows and linux `ccov` to 6 chunks (from 8)
- set `linux64.*/debug` to 6 chunks (from 10 and 8)
- set `android-em` to 8 chunks (unchanged)
- set default chunks to be 5 (from 8)

Differential Revision: https://phabricator.services.mozilla.com/D29713

--HG--
extra : moz-landing-system : lando
2019-05-09 20:59:52 +00:00
Byron Campen [:bwc] df4f56ae16 Bug 1546402: Triaging new failures. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D28903

--HG--
extra : moz-landing-system : lando
2019-05-09 20:07:34 +00:00
Edwin Gao 014374b1c8 Bug 1548106 - task efficiency: review chunking of web-platform-tests-reftests r=jmaher,gbrown
Changes:
- change the default chunk count to 4 (from 6)
- increase `ccov` chunk count to 8 (from 6)
- `qr` and `linux64/debug` are to remain at 6 chunks
- reduce all other `linux` chunks to 3 (from 6)
- `windows/debug` (including `qr`) chunks reduced to 5 (from 6)

Default chunk count of 4 for Windows and macOS are conservative, leading to sub-20 minute runtimes for most chunks.

Differential Revision: https://phabricator.services.mozilla.com/D29875

--HG--
extra : moz-landing-system : lando
2019-05-09 20:35:56 +00:00
Ed Lee 3497da642f Bug 1550572 - More string updates for onboarding messaging r=flod,r1cky
Differential Revision: https://phabricator.services.mozilla.com/D30554

--HG--
extra : moz-landing-system : lando
2019-05-09 20:13:43 +00:00
shindli a52116e98d Backed out changeset d1615ffd338f (bug 1548475) for xpcshell failures CLOSED TREE 2019-05-09 23:23:34 +03:00