Commit Graph

716617 Commits

Author SHA1 Message Date
David Major
d38d9b8bdb Bug 1650239 - Update cctools-port to make it buildable with clang 11 r=froydnj
Fixes the bustage described in 4e1faecce8

In theory I could leave this task alone and fork a new toolchain for use by clang 11, but this seems internal-enough that existing builds shouldn't be negatively affected by this.

Differential Revision: https://phabricator.services.mozilla.com/D82444
2020-07-06 20:43:42 +00:00
Jan de Mooij
c7c6d5c08c Bug 1646199 part 3 - Transpile GuardProto and GuardNullProto. r=evilpie
Differential Revision: https://phabricator.services.mozilla.com/D82330
2020-07-07 06:45:43 +00:00
Jan de Mooij
19287791bf Bug 1646199 part 2 - Assert object stub fields are non-nullptr. r=evilpie
Differential Revision: https://phabricator.services.mozilla.com/D82329
2020-07-07 06:45:26 +00:00
Jan de Mooij
fa5390d8c8 Bug 1646199 part 1 - Fix CacheIR LoadProto to assert the result isn't nullptr. r=evilpie
Use GuardProto / GuardNullProto to prevent loading a null proto in LoadProto.

The next patch will assert objects stored in stub fields are always non-null.

Differential Revision: https://phabricator.services.mozilla.com/D82328
2020-07-07 06:45:13 +00:00
Mihai Alexandru Michis
b0a62934ab Backed out 2 changesets (bug 1650765) for causing failures in EncodeAsString.
CLOSED TREE

Backed out changeset 784be0839695 (bug 1650765)
Backed out changeset 05f1ba04a8f4 (bug 1650765)
2020-07-07 15:15:57 +03:00
goncharov
9a1ef55f96 Bug 1649548 - Autocomplete list events are not propagated to input. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D82239
2020-07-07 12:08:38 +00:00
kanishk509
4652478d3d Bug 1380676 - Replace usages of Date.now() with performance.now() in testing/talos. r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D81575
2020-07-07 11:55:04 +00:00
Tarek Ziadé
ee86c32c2e Bug 1648360 - complex metrics in --perfherder-metrics r=sparky
This patch adds the ability to define complex metrics

Differential Revision: https://phabricator.services.mozilla.com/D82161
2020-07-06 14:28:37 +00:00
Gregory Mierzwinski
99a1058fe5 Bug 1649819 - Temporarily disable youtube widevine tests on linux and windows7. r=tarek
This patch disables the linux and windows7 platforms for the youtube widevine tests.

Differential Revision: https://phabricator.services.mozilla.com/D82370
2020-07-07 11:50:28 +00:00
Axel Hecht
ac4d08312c Bug 1614941, add more date formats to dsb and hsb, r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D62732
2020-07-07 11:46:05 +00:00
Nicolas Chevobbe
3991838f8d Bug 1646669 - Fix CodeMirror secondary cursor color. r=Itiel.
Differential Revision: https://phabricator.services.mozilla.com/D82346
2020-07-07 11:37:58 +00:00
Andrew McCreight
301cc4e9a7 Bug 1649331 - toolkit.shutdown.fastShutdownStage should be 0 in ASan builds. r=dthayer
We do leak checking in AddressSanitizer builds. This runs as processes exit,
so we can't exit early. NS_FREE_PERMANENT_DATA should be set in any kind of
build that cares about leak checking.

Differential Revision: https://phabricator.services.mozilla.com/D82459
2020-07-07 11:23:07 +00:00
Simon Giesecke
a9a7e7d12b Bug 1650765 - Perform optimization for strings encoded as single-bytes only. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D82355
2020-07-07 11:13:04 +00:00
Simon Giesecke
3d46157ca7 Bug 1650765 - Iterate over raw ranges in EncodeAsString. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D82354
2020-07-07 10:59:20 +00:00
Jan de Mooij
df6e26e048 Bug 1635375 part 7 - Invalidate Warp code when transpiled IC stubs change. r=iain
Set a flag on stubs used by the transpiler and then treat those similar to a
constraint in the old system: invalidate when attaching a new IC stub (in front of
it), when updating the stub, or when unlinking the stub.

This is necessary to avoid repeated bailouts followed by a deoptimization in
CheckFrequentBailouts.

Differential Revision: https://phabricator.services.mozilla.com/D81823
2020-07-07 11:07:43 +00:00
David Major
466f74b7ac Bug 1650239 - Name clang-9 toolchains as such explicitly r=firefox-build-system-reviewers,rstewart
We already do this for e.g. `linux64-clang-9`; this patch extends that pattern everywhere.

This will make it easy to do try runs with other clangs: just move the `toolchain-alias` lines from the `9` tasks to the `trunk` tasks.

Also, this makes dependencies more explicit: for example the gn task specifically requests a clang-9 compiler, so it will also need a clang-9-based cctools-port, rather than whatever moving value the alias represents.

Differential Revision: https://phabricator.services.mozilla.com/D82441
2020-07-06 21:42:22 +00:00
Kenrick
687756c037 Bug 921157 - Deprecate FileUtils.getDir(..., ..., true) during startup/shutdown
Because passing true to the 3rd parameter (shouldCreate)
causes main thread I/O and should be avoided
especially during startup/shutdown

Differential Revision: https://phabricator.services.mozilla.com/D78912
2020-06-15 09:03:46 +00:00
Christian Holler
6c48a4ff36 Bug 1649062 - Disable the crash reporter in debug fuzzing builds. r=truber,tsmith
Differential Revision: https://phabricator.services.mozilla.com/D81488
2020-07-07 10:24:26 +00:00
Peter Van der Beken
5ec9524179 Bug 1642275 - Crash in [@ mozilla::dom::SessionHistoryEntry::GetDocshellID]. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D82364
2020-07-07 10:17:59 +00:00
Peter Van der Beken
898f742a19 Bug 1649628 - Make history.length return 1 if session history is unavailable. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D82341
2020-07-07 10:17:52 +00:00
Axel Hecht
d8de3ed277 Bug 1615225, document cross-channel l10n, r=flod
Differential Revision: https://phabricator.services.mozilla.com/D70340
2020-07-07 09:54:00 +00:00
Valentin Gosu
6dd9cb9291 Bug 1649127 - Only trigger confirmation in TRR-first and TRR-only modes r=dragana,necko-reviewers
Due to a change in timing in this patch, when we reset the confirmation pref
at the end of the test, a TRR request would happen after we changed the prefs
leading to accessing a non-local IP in testing and causing a crash.
This should be gated on being in the correct mode anyway

Depends on D81517

Differential Revision: https://phabricator.services.mozilla.com/D82222
2020-07-04 15:39:45 +00:00
Valentin Gosu
9b25e934ea Bug 1649127 - Make sure we only set AddrHostRecord::mTRRUsed = true when TRRServiceChannel::AsyncOpen succeeds r=dragana,necko-reviewers
mTRRUsed is a variable that we check to gate several telemetry probes, and to
decide if TRR really failed and we should add a domain to the TRR blocklist.
The problem with setting this too early is that when this is true but we
don't actually send the TRR request, then we will report that we fell back
to Do53 and potentially skip next TRR requests in the future.

The solution here is to only set mTRRUsed if TRRServiceChannel::AsyncOpen
succeeds.

Differential Revision: https://phabricator.services.mozilla.com/D81517
2020-07-07 10:08:28 +00:00
André Bargull
ac4982144d Bug 1650526: Preserve negative zero for MPow with int32 specialisation. r=jandem
Removes the incorrect optimisation added in D37584 for IonBuilder and keeps it
only in `MPow::foldsTo()` when optimising the cases when power ∈ {2,3,4}.
Also changes `MPow::canBeNegativeZero()`'s access modifier to private, now that
it's only used within `MPow::foldsTo()`.

Differential Revision: https://phabricator.services.mozilla.com/D82338
2020-07-06 13:03:45 +00:00
Masayuki Nakano
ec9ecbc50f Bug 1647556 - part 3-3: Implement the other complicated case of GetInvisibleLeadingWhiteSpaceRange() r=m_kato
Different from `GetInvisibleTrailingWhiteSpaceRange()`, it always returns
the range even if it's collapsed (i.e., there is no leading white-space).

Differential Revision: https://phabricator.services.mozilla.com/D82274
2020-07-07 09:21:27 +00:00
Simon Giesecke
d7346bf488 Bug 1650754 - Simplify algorithm in DeleteIndexOp::RemoveReferencesToIndex using std::equal_range. r=dom-workers-and-storage-reviewers,edenchuang
Differential Revision: https://phabricator.services.mozilla.com/D82374
2020-07-06 21:36:55 +00:00
Nicolas Silva
a4fc3e389e Bug 1650403 - Skip invisible clusters in the batching pass. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D82194
2020-07-06 08:43:15 +00:00
Nicolas Silva
a99ab630fd Bug 1650403 - Skip invisible clusters in the prepare pass. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D82192
2020-07-05 20:41:24 +00:00
Gijs Kruitbosch
86a446c282 Bug 1650490 - clarify documentation about commit messages, reviewers and checkin-needed, r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D82238
2020-07-07 08:42:02 +00:00
Csoregi Natalia
fe1354b164 Backed out changeset 4ed5a0e27c05 (bug 1647732) for font related wpt failures. CLOSED TREE 2020-07-07 12:31:27 +03:00
Mihai Alexandru Michis
3a33785d38 Backed out changeset 9b15a67a50c3 (bug 1650834) as requested by Sylvestre.
CLOSED TREE
2020-07-07 11:49:36 +03:00
Jonathan Kew
b9d874ff7d Bug 1650013 - Strip unexpected leading slash from absolute path on Windows when loading hyphenation resource. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D81980
2020-07-07 04:45:16 +00:00
Sylvestre Ledru
9c734f1175 Bug 1650834 - Make tools/lint code black compatible r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D82401
2020-07-07 08:09:31 +00:00
Julian Descottes
4b8b29c396 Bug 1650510 - Wait for requests to settle in all browser_aboutdebugging_addons_debug_* tests r=daisuke
Depends on D82362

Differential Revision: https://phabricator.services.mozilla.com/D82363
2020-07-07 08:09:33 +00:00
Julian Descottes
3b4194393d Bug 1650510 - Rewrite browser_aboutdebugging_addons_debug_* using regular test APIs r=daisuke
When switching from a dedicated addon toolbox to an about:devtools-toolbox tab, we did a minimal migration for the browser_aboutdebugging_addons_debug_* tests.
They used to inject a "toolbox test script" in the process of the addon toolbox. But we could have updated them with regular test APIs, async/await patterns etc.

Doing the migration now in preparation for adding calls to waitForRequestsToSettle in the next changeset.

Differential Revision: https://phabricator.services.mozilla.com/D82362
2020-07-07 08:09:24 +00:00
Jon Coppeard
ea42b7fa9a Bug 1650792 - Remove unused definition of FinalizationIteratorObject r=allstarschh
Differential Revision: https://phabricator.services.mozilla.com/D82378
2020-07-07 08:07:17 +00:00
Jean-Yves Avenard
fe08ecbad5 Bug 1650260 - Remove assertion. r=bryce
While the duration returned by the demuxer is typically equal to the decoded size; recent cases have shown that this isn't always the case.

Now, the only way you can encounter this bug is if the user has set some pref. the audio BlankDecoderModule is never used by default; only the video one.

Differential Revision: https://phabricator.services.mozilla.com/D82138
2020-07-06 22:04:41 +00:00
Liang-Heng Chen
e69b3bc58b Bug 1647732 - isolate font cache; r=baku,jfkthame,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D82034
2020-07-07 07:49:38 +00:00
Masayuki Nakano
abb2c132b1 Bug 1647556 - part 3-2: Implement complicated case of GetInvisibleTrailingWhiteSpaceRange() r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D82273
2020-07-07 07:39:20 +00:00
Nicholas Nethercote
977d5b8a57 Bug 1648348 - Create "Writing Rust Code" docs. r=froydnj,zbraniecki,lina.
This patch includes content from the following places.

- Lina's "Getting Rusty: How to ship an XPCOM component in Firefox" slide deck.
- Zibi's "Rust <--> C/C++ FFI for newbies" gist.

It also links to Emilio's "FFI patterns #1 - Complex Rust data structures
exposed seamlessly to C++" blog post. I was going to include that content, but
it's very long, so I have omitted it for now.

Differential Revision: https://phabricator.services.mozilla.com/D81963
2020-07-07 07:38:27 +00:00
Nicholas Nethercote
ba1e98b7ca Bug 1648348 - Fix formatting errors in the prefs parser's rustdocs. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D81962
2020-07-07 07:38:10 +00:00
Nicholas Nethercote
40c0751083 Bug 1648348 - Some more tweaks to the Rust build docs. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D81288
2020-07-07 07:38:02 +00:00
Sebastian Hengst
7847e18297 Backed out 3 changesets (bug 1145314) on request from ckerschb for regressions (e.g. bug 1650951)
Backed out changeset 664cc562ddf3 (bug 1145314)
Backed out changeset 9640a9d093c7 (bug 1145314)
Backed out changeset 5492ac0e42f7 (bug 1145314)
2020-07-07 09:32:27 +02:00
Perry Jiang
03a1a1da06 Bug 1588154 - remove invalid comment for SW pref r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D75318
2020-05-14 20:57:57 +00:00
Csoregi Natalia
9f0cf20b98 Backed out changeset 5455671d51b2 (bug 1646860) for failures on browser_pioneer_ui.js. CLOSED TREE 2020-07-07 10:07:34 +03:00
Csoregi Natalia
0d0251640f Backed out changeset e3163482cc62 (bug 1635375) for bustages on BaselineIC.h. CLOSED TREE 2020-07-07 09:27:06 +03:00
Henrik Skupin
4c0df0de7c Bug 1649690 - [geckodriver] Validate android specific capabilities. r=webdriver-reviewers,nalexander,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D82226
2020-07-06 21:58:42 +00:00
Jan de Mooij
ff9dfe44e3 Bug 1635375 part 7 - Invalidate Warp code when transpiled IC stubs change. r=iain
Set a flag on stubs used by the transpiler and then treat those similar to a
constraint in the old system: invalidate when attaching a new IC stub (in front of
it), when updating the stub, or when unlinking the stub.

This is necessary to avoid repeated bailouts followed by a deoptimization in
CheckFrequentBailouts.

Differential Revision: https://phabricator.services.mozilla.com/D81823
2020-07-07 06:11:43 +00:00
Robert Helmer
93a769fb25 Bug 1646860 - Pioneer badge call-out on RemoteSettings update r=leplatrem
Differential Revision: https://phabricator.services.mozilla.com/D82255
2020-07-06 23:55:44 +00:00
Masayuki Nakano
0ed0d74c18 Bug 1647556 - part 3-1: Add API to WSRunScanner::TextFragmentData to get range of invisible leading or trailing white-spaces r=m_kato
One of the `WSFragment`users' purpose is, they remove invisible white-spaces
when there are.  So, `TextFragmentData` should have API to retrieve the
ranges and use them for initializing `WSFragment` which represents leading
or trailing white-spaces.  For making this patch smaller as far as possible,
these APIs implements only the case when there is no NBSP.

For result of the new API, this creates a template class, `EditorDOMRangeBase`,
whose boundary type is `EditorDOMPointBase`.  Its methods are named from
`nsRange`'s same methods.

Differential Revision: https://phabricator.services.mozilla.com/D82272
2020-07-07 05:31:34 +00:00