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

731431 Коммитов

Автор SHA1 Сообщение Дата
Jim Blandy 1c990385da Bug 1671251: Don't forget to 'import os' in build/.gdbinit.py.in. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D93582
2020-10-14 23:32:56 +00:00
Florian Quèze 6f8f8fdeae Bug 1672251 - Allow capturing profiles of tests that trigger private browsing, r=gerald.
This allows `./mach test <test path and name> --profiler` to work even for tests that use private browsing.

Differential Revision: https://phabricator.services.mozilla.com/D94152
2020-10-21 18:49:38 +00:00
Steve Fink fb54654552 Bug 1667912 - Fix nonincremental weakmap marking r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D91663
2020-10-15 13:09:28 +00:00
Henrik Skupin 39afd1a30f Bug 1671770 - [wdspec] Improve no browsing context checks for "Switch To Frame". r=webdriver-reviewers,maja_zf
Depends on D94325

Differential Revision: https://phabricator.services.mozilla.com/D94326
2020-10-21 18:39:28 +00:00
Henrik Skupin 1d2e114c25 Bug 1671770 - [marionette] Fix browsing context checks for "WebDriver:SwitchToFrame". r=marionette-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D94325
2020-10-21 16:02:53 +00:00
Timothy Nikkel 7587e2f2dc Bug 1671331. Enable new scrollbar code for android too. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D94222
2020-10-21 00:12:36 +00:00
Florian Quèze be3ab29de7 Bug 1672256 - Record thread creation markers for threads created off main thread, r=gerald.
Differential Revision: https://phabricator.services.mozilla.com/D94158
2020-10-21 18:23:16 +00:00
alwu 20103880cf Bug 1669434 - part2 : add a test case for updating default metadata when page title changes. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D93671
2020-10-21 18:04:50 +00:00
alwu 6ea535704b Bug 1669434 - part1 : update default metadata if needed when page title changes. r=chunmin,nika
When a page doesn't have a non-empty media session metadata, we would use its title as a default metadata, which would display as an artist name on the virtual control interface.

Therefore, when a page changes its title, we should also notify media controller (if it's been created) in order to update the default metadata as well.

Differential Revision: https://phabricator.services.mozilla.com/D93670
2020-10-21 17:25:34 +00:00
Paul Adenot 5e550c342c Bug 1672459 - Update cubeb-coreaudio-rs to d5af7ad7. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D94343
2020-10-21 17:55:15 +00:00
Scott 7bcc5c9b4e Bug 1665458 - Adding telemetry ping docs for Pocket on save recs. r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D94322
2020-10-21 17:53:23 +00:00
Christian Holler ed121667bb Bug 1648192 - Add mochitest-media to TSan test set. r=ahal
Depends on D94289

Differential Revision: https://phabricator.services.mozilla.com/D94290
2020-10-21 17:07:02 +00:00
Ben Hearsum 6559aa4480 Bug 1638968: run 'mach jsapi-tests' with python 3 r=releng-reviewers,mtabara DONTBUILD
This already seems to work fine with python 3

Differential Revision: https://phabricator.services.mozilla.com/D94336
2020-10-21 17:17:59 +00:00
Ben Hearsum 5d20c1125d Bug 1638994: run 'mach tps-build' with python 3 r=releng-reviewers,aki DONTBUILD
This appears to work fine already with python 3

Differential Revision: https://phabricator.services.mozilla.com/D94311
2020-10-21 16:38:00 +00:00
Christian Holler afa29f71b7 Bug 1672155 - Adjust mochitest task configurations for TSan. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D94285
2020-10-21 17:06:13 +00:00
Mats Palmgren 5f553183fe Bug 1426747 - Remove the IE compat quirk for <table align=left>. r=emilio
Chrome and Safari don't implement this quirk.

Differential Revision: https://phabricator.services.mozilla.com/D94330
2020-10-21 16:31:29 +00:00
Alexis Beingessner d9fb1ffd72 Bug 1587510 - Remove supression for seemingly fixed issue. r=decoder
Doesn't show up in a try run anymore.

Differential Revision: https://phabricator.services.mozilla.com/D94144
2020-10-21 17:01:40 +00:00
Alexis Beingessner ccc093cd6c Bug 1367344 - Remove supression for seemingly fixed issue. r=decoder
Doesn't show up in a try run anymore.

Differential Revision: https://phabricator.services.mozilla.com/D94143
2020-10-21 17:01:29 +00:00
Nicolas B. Pierron b2484ec979 Bug 1582804 - Add JS Shell telemetry output. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D46782
2020-10-21 14:33:08 +00:00
alwu cd97fe13d0 Bug 1672294 - change 'test_audioNotification.html' to browser test and move it to the dedicated folder. r=bryce
Per [1], change this test to a browser test.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1672292#c0

Differential Revision: https://phabricator.services.mozilla.com/D94221
2020-10-21 16:48:17 +00:00
Mike Conley d8187d84a6 Bug 1672375 - Get rid of unused variable in TelemetryUserInteraction.cpp. r=chutten
This variable was used in a MOZ_DIAGNOSTIC_ASSERT, but that kind of ASSERT is a
no-op outside of Nightly, DevEdition and debug builds.

Differential Revision: https://phabricator.services.mozilla.com/D94323
2020-10-21 16:34:45 +00:00
Drew Willcoxon 30b12be57f Bug 1672146 - Make UrlbarProviderSearchTips deal with the update manager not existing. r=harry
In the bug, Gijs suggests checking `AppConstants.MOZ_UPDATER`, but the stack
shows that `Cc[aContract]` isn't defined, so it seems better to check for that
instead.

I'm not sure how or whether it's even possible to write a test where there's no
updater, so I haven't added one, and in the case where there is an updater,
that's covered by our existing tests of course.

Differential Revision: https://phabricator.services.mozilla.com/D94257
2020-10-21 13:24:12 +00:00
Anny Gakhokidze 6e46ff4d2a Bug 1670137 - Don't remove sh entries for subframes that are switching processes, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D94148
2020-10-21 15:25:47 +00:00
Boris Chiou 8b4bc86a78 Bug 1672078 - Enable aspect-ratio on nightly. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D94061
2020-10-21 07:42:56 +00:00
Denis Palmeiro 3dbf528ce8 Bug 1671729 - Gather telemetry on page load and request animation frame callback time r=bas,smaug,Dexter
Current page load telemetry probes are insufficient in performance RUM testing.  FX_PAGE_LOAD_MS_2 will stop the timer when the user switches tabs or navigates off the page, while the current navigation probes include all content including about:blank, about:newtab, moz-extension, etc.  This patch adds support for the following probes which do not suffer from those limitations:

PERF_PAGE_LOAD_TIME_MS
PERF_PAGE_LOAD_TIME_FROM_RESPONSESTART_MS
PERF_DOM_CONTENT_LOADED_TIME_MS
PERF_DOM_CONTENT_LOADED_TIME_FROM_RESPONSESTART_MS
PERF_FIRST_CONTENTFUL_PAINT_MS
PERF_FIRST_CONTENTFUL_PAINT_FROM_RESPONSESTART_MS
PERF_REQUEST_ANIMATION_CALLBACK_PAGELOAD_MS
PERF_REQUEST_ANIMATION_CALLBACK_NON_PAGELOAD_MS

Differential Revision: https://phabricator.services.mozilla.com/D94004
2020-10-21 16:27:30 +00:00
Olli Pettay 4b7c023053 Bug 1671697 - Crash in [@ nsDocShell::InternalLoad], r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D93929
2020-10-21 14:22:47 +00:00
Jeff Muizelaar de7ea65b36 Bug 1672270 - Add missed Polaris GPU. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D94199
2020-10-21 15:48:23 +00:00
Kershaw Chang 2c085933ab Bug 1667775 - Add a telemetry probe for the reason why a transaction is restarted r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D91595
2020-10-21 15:19:20 +00:00
Ted Campbell 95bfd23d6d Bug 1672172 - Add tests for bytecode sharing. r=jandem
Add tests for current bytecode sharing expectations to detect accidental
regressions in future.

Differential Revision: https://phabricator.services.mozilla.com/D94175
2020-10-21 15:29:55 +00:00
Ted Campbell e533579213 Bug 1672172 - Fail parse if JS line number exceeds 4B. r=jandem
Fail parsing if line number (including initial offset) overflows the uint32_t
line number. Source length is capped at 4B characters so this change only
affects cases of inline-scripts with billions of lines which is not a
realistic case, even for generated code.

Differential Revision: https://phabricator.services.mozilla.com/D94115
2020-10-21 15:12:38 +00:00
Ted Campbell c720ba7823 Bug 1672172 - Saturate column numbers at 1B characters. r=jandem
With the `CompileOptions::column` offset and uint32_t source length, we can
end up with column positions that are not representable in various parts of
the engine. Rather than throwing an error on overflow, this patch simply
makes it saturate. This avoids checks throughout the tokenizer. These column
numbers are used primarily for SpiderMonkey-developer logging and for error
stacks in devtools. The existing behaviour would lose sync of SrcNotes so
this saturation change is at least more consistent.

Differential Revision: https://phabricator.services.mozilla.com/D94114
2020-10-21 15:28:21 +00:00
Bogdan Tara 3f38cbb0f8 Backed out 2 changesets (bug 1666519) for devtools leaks and failures CLOSED TREE
Backed out changeset 94c066ab05dc (bug 1666519)
Backed out changeset 990b312b5abe (bug 1666519)
2020-10-21 18:42:25 +03:00
Emilio Cobos Álvarez 9944e5344c Bug 1634776 - Fix some cascade level checks in devtools. r=rcaliman
The regression was caused because it incorrectly started treating user
stylesheets as "system" sheets, which can't be modified.

Fix the regression by properly using SharedCssLogic.isAgentStylesheet
instead.

Also fix the check for whether chrome rules apply to handle user
stylesheets and inline style attributes in chrome documents correctly,
see the comment.

Differential Revision: https://phabricator.services.mozilla.com/D93088
2020-10-21 14:56:46 +00:00
Alexandre Poirot 17579d8c04 Bug 1267443 - [devtools] Wait for test function to be imported into browser toolbox. r=jdescottes
We weren't waiting for assertion function to be evaluated in the console.
This can later lead to ok/is functions being undefined when calling Toolbox.spawn.

Differential Revision: https://phabricator.services.mozilla.com/D94279
2020-10-21 09:48:22 +00:00
Jeff Muizelaar 7c1391669a Bug 1669740 - Cleanup some WrapAndRecord usage. r=aosmond
This is a follow up from bug 1668377. It changes
some function names, comments and removes the factory
method.

The WrapAndRecord target is still used by the global recording
stuff so I've kept it for now.

Differential Revision: https://phabricator.services.mozilla.com/D92777
2020-10-21 15:09:22 +00:00
Jon Coppeard 00210a843e Bug 1672332 - Pass initial heap parameter though string creation functions r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D94272
2020-10-21 13:40:16 +00:00
Christian Holler 771a4eac15 Bug 1672230 - Add temporary suppression. r=Gankro
Depends on D94288

Differential Revision: https://phabricator.services.mozilla.com/D94289
2020-10-21 13:41:54 +00:00
Christian Holler 0c5c78e328 Bug 1671601 - Add temporary suppression. r=Gankro
Depends on D94287

Differential Revision: https://phabricator.services.mozilla.com/D94288
2020-10-21 13:42:59 +00:00
Christian Holler c6f46008ad Bug 1671574 - Add temporary suppression for StartupCache thread leak. r=Gankro
Depends on D94286

Differential Revision: https://phabricator.services.mozilla.com/D94287
2020-10-21 13:43:48 +00:00
Christian Holler a45b846848 Bug 1671572 - Add temporary suppression. r=Gankro
Depends on D94285

Differential Revision: https://phabricator.services.mozilla.com/D94286
2020-10-21 14:37:35 +00:00
Jason Orendorff 1e55156d57 Bug 1672283 - Add more comments about debug environment proxies. r=tcampbell DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D94206
2020-10-20 22:41:30 +00:00
smolnar 33b2be0f5e Backed out 2 changesets (bug 1583516, bug 1582804) for causing sm bustages on js. CLOSED TREE
Backed out changeset ecd87c380c0e (bug 1583516)
Backed out changeset db121b778773 (bug 1582804)
2020-10-21 17:28:55 +03:00
smolnar 69347c7230 Backed out 1 changesets (bug 1661256) for causing bustages on testJitABIcalls. CLOSED TREE
Backed out changeset b0e147b5afd3 (bug 1661256)
2020-10-21 17:27:39 +03:00
Belén Albeza bb0ea85edc Bug 1666519 - Part 2: [devtools] Add fission test helpers + a test for localStorage r=jdescottes
NOTE: Depends on D92634

This patch adds:

- A simple test for `localStorage` working on Fission
- Adapts `openTab` and `finishTests` helpers on `head.js`, that are used by all the storage mochitests.

However, by enabling the `openTab` helper to work on Fission, some tests that were previously failing early that were marked with `fail-if = fission` were finishing their setup, but _not_ their cleanup, which messed with following tests, since some of the HTML pages are shared a lot. In order to fix that, I've modified the problematic HTML pages so before doing their setup, they run their cleanup just in case. We can probably remove this once Fission is fully working.

Differential Revision: https://phabricator.services.mozilla.com/D93808
2020-10-21 14:05:14 +00:00
Belén Albeza 223b34efcf Bug 1666519 - Part 1: [devtools] Add localStorage resource r=ochameau
Tests are added in the next revision of the stack: D93808

Differential Revision: https://phabricator.services.mozilla.com/D92634
2020-10-21 14:05:14 +00:00
Ben Hearsum d684a58597 Bug 1638989: run 'mach taskcluster-load-image' with python 3 r=releng-reviewers,aki DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D94188
2020-10-21 14:04:50 +00:00
Ben Hearsum 2167d1b284 Bug 1638957: run 'mach devtools-css-db' under python 3. r=releng-reviewers,aki DONTBUILD
It's not 100% clear how long this command will live, but it doesn't look
immediately removable, and it was easy to add python3 support.

Differential Revision: https://phabricator.services.mozilla.com/D94179
2020-10-21 14:04:17 +00:00
Ben Hearsum d28c2049f7 Bug 1638955: run 'mach cramtest' under python 3. r=releng-reviewers,aki DONTBUILD
This command appears to work just fine under python3 already -- I removed it from the py2 list and ran it with various options, and they all worked fine.

Differential Revision: https://phabricator.services.mozilla.com/D94174
2020-10-20 23:39:35 +00:00
Nicolas B. Pierron 66eb91f513 Bug 1661256 part 37 - Add test case to check that the ABI is respected by the MacroAssembler. r=jandem,sfink
Differential Revision: https://phabricator.services.mozilla.com/D91174
2020-10-21 14:00:41 +00:00
Nicolas B. Pierron 859eb7a560 Bug 1583516 - Add 2-axis telemetry for the JS Shell. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D46940
2020-10-20 14:28:40 +00:00