768943 Commits

Author SHA1 Message Date
Mike Hommey
692e4afda9 Bug 1729610 - Remove taskcluster/scripts/misc/source-test-clang-setup-macos64.sh. r=firefox-build-system-reviewers,mhentges DONTBUILD
It isn't used anymore after bug 1725171.

Differential Revision: https://phabricator.services.mozilla.com/D124874
2021-09-08 23:59:54 +00:00
Mike Hommey
0749043212 Bug 1729615 - Throw an error early when a task has multiple conflicting fetches. r=taskgraph-reviewers,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D124894
2021-09-08 23:53:34 +00:00
Steve Fink
1038b876b0 Bug 1720422 - Add tests of new ArrayBufferOrView API r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D120293
2021-09-08 23:47:01 +00:00
Steve Fink
79a06d19d8 Bug 1720422 - Support Rooted<...view type...> operations. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D120652
2021-09-08 23:47:01 +00:00
Steve Fink
e0df89a627 Bug 1720422 - Switch DOM bindings typed arrays to using JSAPI templates r=jonco,smaug
Differential Revision: https://phabricator.services.mozilla.com/D119858
2021-09-08 23:47:00 +00:00
Steve Fink
a988b5d349 Bug 1720422 - Move js::Scalar -> JS::Scalar for public API, but alias it as js::Scalar r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D120292
2021-09-08 23:47:00 +00:00
Steve Fink
19c956b5d3 Bug 1720422 - Convert the JS_Is(type)Array APIs r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D119860
2021-09-08 23:46:59 +00:00
Steve Fink
5e39f0a58b Bug 1720422 - Convert the JS_GetObjectAs(type)Array APIs r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D119859
2021-09-08 23:46:59 +00:00
Steve Fink
dbfaf2345a Bug 1720422 - Add (type)Array aliases, eg JS::Int8Array r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D120651
2021-09-08 23:46:59 +00:00
Steve Fink
077b9ced97 Bug 1720422 - Fill in the rest of the ArrayBuffer+ArrayBufferView hierarchy, and base more ArrayBufferViewObject public APIs off of new API r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D119857
2021-09-08 23:46:58 +00:00
Steve Fink
34bb8c0d0d Bug 1720422 - Fix hazards in TestingFunctions.cpp r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D122288
2021-09-08 23:46:58 +00:00
Steve Fink
76d3df6bbc Bug 1720422 - Move typed array unwrap API to templatized version r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D119856
2021-09-08 23:46:58 +00:00
Steve Fink
b96f464d3e Bug 1720422 - Make eg GetInt8ArrayData call TypedArray<Int8>::getData rather than the other way around (replace macros with function templates) r=jonco
isDetached() (FIXME)

Differential Revision: https://phabricator.services.mozilla.com/D119855
2021-09-08 23:46:57 +00:00
Steve Fink
2ab8173be4 Bug 1720422 - Switch structured cloning to use the templatized TypedArray<T> class. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D119854
2021-09-08 23:46:57 +00:00
Steve Fink
8abe6693d0 Bug 1720422 - Expose a templatized TypedArray<T> class in JSAPI r=jonco,nbp
Differential Revision: https://phabricator.services.mozilla.com/D119853
2021-09-08 23:46:56 +00:00
Mike Hommey
9ef9a07ff2 Bug 1729406 - Use .tar.zst for most toolchain artifacts. r=firefox-build-system-reviewers,andi
We leave the following ones unchanged:
- geckodriver because the results are used to releases on github.
- sixgill because the script that creates it is not in-tree.
- *-dist-toolchain because sccache is not expecting a .tar.zst.

We use native tar support in most cases, except for toolchain scripts also
used on Windows, for which we use our zstdpy script.

Differential Revision: https://phabricator.services.mozilla.com/D124733
2021-09-08 23:46:51 +00:00
Mike Hommey
a3d6b7df1b Bug 1729406 - Only install win64-dump_syms on windows workers. r=firefox-build-system-reviewers,andi
The linux workers used for windows builds currently install both
win64-dump_syms and linux64-dump_syms, and the only reason it works is
that their artifacts have different names currently, which is not going
to be the case anymore.

Differential Revision: https://phabricator.services.mozilla.com/D124879
2021-09-08 23:46:51 +00:00
Mike Hommey
671ce29ae9 Bug 1729694 - Install python2.7 in the static-analysis-build docker image
It used to be installed as a side effect of something else, but is not
installed anymore after the upgrade to Debian 11.

Differential Revision: https://phabricator.services.mozilla.com/D124984
2021-09-08 22:42:58 +00:00
Harry Twyford
35a9338ef1 Bug 1727321 - Part 4 - Stop using color variables elsewhere in newtab. r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D124401
2021-09-08 22:06:27 +00:00
Harry Twyford
f2159ae4bb Bug 1727321 - Part 3 - Stop using color variables in box-shadows. r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D124399
2021-09-08 22:06:27 +00:00
Harry Twyford
76660d9a3a Bug 1727321 - Part 2 - Stop using color variables in buttons. r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D124398
2021-09-08 22:06:26 +00:00
Harry Twyford
f459f79ac1 Bug 1727321 - Part 1 - Stop using color variables in links. r=thecount
The purpose of this stack of patches is to stop using color variables directly in newtab CSS in favour of the semantic variables defined in _theme.scss. That way, we can later refactor _theme.scss to use theme variables instead of hardcoded colors.

There's a lot of dead CSS/components in new tab. This stack of patches refactors dead code as well, mostly because it's not clear what is dead and what is not. I tried to keep things generally looking the same on visible surfaces, but there are some minor style differences in dead components and in asrouter devtools. I spoke to Mardak on Slack and he confirmed it would be okay to slightly change the look of dead components. Scott, I tagged you for review since you know what is dead and what is not.

Differential Revision: https://phabricator.services.mozilla.com/D124397
2021-09-08 22:06:26 +00:00
Harry Twyford
b5240599b1 Bug 1726432 - Part 4 - Remove unused variables. r=amy
Differential Revision: https://phabricator.services.mozilla.com/D123387
2021-09-08 22:06:26 +00:00
Harry Twyford
515214b4b2 Bug 1726432 - Part 3 - Consolidate variables with their '-nte' equivalents. r=amy
Differential Revision: https://phabricator.services.mozilla.com/D123386
2021-09-08 22:06:25 +00:00
Harry Twyford
c078dc6309 Bug 1726432 - Part 2 - Consolidate newtab-background-secondary variable. r=amy
This is the variable we will eventually replace with ntp_secondary or equivalent.

Differential Revision: https://phabricator.services.mozilla.com/D123385
2021-09-08 22:06:25 +00:00
Harry Twyford
6412750cc1 Bug 1726432 - Part 1 - Remove newtab-experience class. r=amy
Differential Revision: https://phabricator.services.mozilla.com/D123384
2021-09-08 22:06:24 +00:00
Harry Twyford
0dead9fc50 Bug 1710937 - Part 6 - Remove code related to showing fallback screenshots in Top Sites. r=amy
I confirmed with Julian Gaibler that we don't want to show screenshots as fallbacks in Top Sites. We still want to support custom icons and screenshots in the "Recent activity" section, both of which are unchanged.

Differential Revision: https://phabricator.services.mozilla.com/D123253
2021-09-08 22:06:24 +00:00
Harry Twyford
5cf6fcb5d3 Bug 1710937 - Part 5 - Remove tests related to context menu icons and clicking section headers. r=amy
Differential Revision: https://phabricator.services.mozilla.com/D123252
2021-09-08 22:06:23 +00:00
Harry Twyford
4bd0072837 Bug 1710937 - Part 4 - Remove SectionMenus and section header icons. r=amy
Differential Revision: https://phabricator.services.mozilla.com/D123251
2021-09-08 22:06:23 +00:00
Harry Twyford
8ea982bd9e Bug 1710937 - Part 3 - Remove tests concerning the differences between old-new-tab and new-new-tab. r=amy
Differential Revision: https://phabricator.services.mozilla.com/D123250
2021-09-08 22:06:23 +00:00
Harry Twyford
5cc7c537db Bug 1710937 - Part 2 - Remove showCustomizationMenu pref and associated code. r=amy
Differential Revision: https://phabricator.services.mozilla.com/D123249
2021-09-08 22:06:22 +00:00
Harry Twyford
b507dc7cac Bug 1710937 - Part 1 - Remove newNewTabExperienceEnabled pref and associated code. r=amy,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D123248
2021-09-08 22:06:22 +00:00
Emilio Cobos Álvarez
6a83d811fd Bug 1729477 - BrowserTestUtils.openNewWindowWithFlushedXULCacheForMozSupports should now clear the stylesheet cache.
MANUAL PUSH: Trivial orange fix CLOSED TREE
2021-09-09 00:26:44 +02:00
Greg Tatum
12c9670cc5 Bug 1713206 - Propagate ICU statuses to ICUErrors; r=platform-i18n-reviewers,dminor
Depends on D124963

Differential Revision: https://phabricator.services.mozilla.com/D124964
2021-09-08 21:36:29 +00:00
Greg Tatum
46c00b33ef Bug 1713206 - Flatten nested namespaces in mozilla::intl components; r=platform-i18n-reviewers,dminor
This is a drive-by clean-up while I'm working on errors.

Depends on D124962

Differential Revision: https://phabricator.services.mozilla.com/D124963
2021-09-08 21:36:29 +00:00
Greg Tatum
e5f56207b3 Bug 1713206 - Add missing ICUError.h headers; r=platform-i18n-reviewers,dminor
Depends on D124961

Differential Revision: https://phabricator.services.mozilla.com/D124962
2021-09-08 21:36:29 +00:00
Greg Tatum
65a2bb16fc Bug 1713206 - Use ICUError in mozilla::intl::PluralRules; r=platform-i18n-reviewers,dminor
Depends on D124960

Differential Revision: https://phabricator.services.mozilla.com/D124961
2021-09-08 21:36:28 +00:00
Greg Tatum
b917c44dd2 Bug 1713206 - Use ICUError in mozilla::intl::DateTimePatternGenerator; r=platform-i18n-reviewers,dminor
Depends on D124959

Differential Revision: https://phabricator.services.mozilla.com/D124960
2021-09-08 21:36:28 +00:00
Greg Tatum
c5836fc86a Bug 1713206 - Use ICUError in mozilla::intl::Calendar; r=platform-i18n-reviewers,dminor
Differential Revision: https://phabricator.services.mozilla.com/D124959
2021-09-08 21:36:27 +00:00
Olli Pettay
c2f214f2df Bug 1718532, don't try to create tabId if the relevant window is already closing, r=rpl
The leak I can reproduce locally somewhat often is coming from
https://searchfox.org/mozilla-central/rev/08c493902519265d570250c8e7ce575c8cd6f5b5/browser/components/extensions/test/browser/browser_ext_windows_create_cookieStoreId.js#308,319-321
When adopting a tab to a new window, there is internally a frameloader swap.
The initial frameloader is loading about:blank and after the old window has started to close
https://searchfox.org/mozilla-central/rev/08c493902519265d570250c8e7ce575c8cd6f5b5/browser/actors/AboutReaderParent.jsm#156 triggers a call to
extension code where getId is called. The failure becomes almost perma-fail with bug 1727829.

Will push this with bug 1727829 to tryserver.

Differential Revision: https://phabricator.services.mozilla.com/D124958
2021-09-08 21:29:54 +00:00
Olli Pettay
ec02240044 Bug 1728371 - browser/components/extensions/test/browser/browser_ext_tabs_onUpdated_filter.js should load a proper article when testing isArticle handling, r=rpl
It seems like the test relies on somewhat unexpected behavior which changes in https://bugzilla.mozilla.org/show_bug.cgi?id=1727829

Depends on D123827

Differential Revision: https://phabricator.services.mozilla.com/D124091
2021-09-08 21:29:54 +00:00
Olli Pettay
1ab703d843 Bug 1727829 - Consider to not initialize AboutReaderChild actor for initial about:blank documents when pagehide fires, r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D123827
2021-09-08 21:29:53 +00:00
Nan Jiang
416a5acd40 Bug 1729576 - Add various telemetry changes for Firefox Suggest r=adw
* Add 'scenario' to impression and click pings
* Only send 'search_query' and 'matched_keywords' for 'online' scenario

Differential Revision: https://phabricator.services.mozilla.com/D124943
2021-09-08 21:22:32 +00:00
Sandor Molnar
d7e1622ea0 Backed out changeset 249602f9a5d4 (bug 1729413) reverted temporary fix on dev's request. CLOSED TREE 2021-09-09 00:45:21 +03:00
Sandor Molnar
348af6f4c8 Merge mozilla-central to autoland. a=merge 2021-09-09 00:43:10 +03:00
Emilio Cobos Álvarez
b7d777c0bc Bug 1729337 - Change test_interfaces to reflect CSSLayerRule being exposed on Nightly only.
MANUAL PUSH: Trivial test fix CLOSED TREE.
2021-09-08 23:30:18 +02:00
Emilio Cobos Álvarez
2b47e33bec Bug 1729477 - Remove nsXULPrototypeCache::mStyleSheetTable. r=smaug
With a very simple tweak to SheetLoadDataHashKey::KeyEquals we should
get the same kind of caching but in a much simpler way.

Differential Revision: https://phabricator.services.mozilla.com/D124807
2021-09-08 21:03:02 +00:00
Emilio Cobos Álvarez
d4d9525111 Bug 1729477 - Tweak SubresourceCacheValidationInfo to account for chrome uris. r=tnikkel
Turns out my patch above causes some failures because chrome:// channels
don't have cache information, so we conservatively assume they always
expire, which causes some interesting timing issues in a single test.
Fun stuff.

Tweak the code so that SubresourceCacheValidationInfo has the
pre-existing data:// URI special-case and also special-cases chrome://
URIs.

Differential Revision: https://phabricator.services.mozilla.com/D124921
2021-09-08 21:03:02 +00:00
Mike Hommey
8fda6d0a50 Bug 1729413 - Don't reset the environment when setting UPLOAD_PATH for make upload. r=releng-reviewers,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D124895
2021-09-08 21:01:43 +00:00
Emilio Cobos Álvarez
bcce4cfad4 Bug 1729337 - Add cascade layers to the experimental feature list. r=preferences-reviewers,fluent-reviewers,flod,mstriemer
And enable on Nightly. Should be in a usable state after bug 1729330.

Differential Revision: https://phabricator.services.mozilla.com/D124682
2021-09-08 20:52:08 +00:00