https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97358
--- Comment #17 from Petr Sumbera <sumbera at volny dot cz> --- (In reply to Dan HorĂ¡k from comment #15) > Petr, are you going to open a Firefox bug to fix their code or shall I do it? Please file it. I haven't had time to read whole thread and I don't know what shall be the right fix. For now I used just: --- a/dom/indexedDB/IDBResult.h Thu Oct 15 08:38:16 2020 +0200 +++ b/dom/indexedDB/IDBResult.h Thu Oct 15 08:38:38 2020 +0200 @@ -101,7 +101,7 @@ template <typename... SpecialValueMappers> ErrorResult ExtractErrorResult(SpecialValueMappers... aSpecialValueMappers) { -#if (defined(__clang__) || (defined(__GNUC__) && __GNUC__ >= 8)) && \ +#if (defined(__clang__) || (defined(__GNUC__) && __GNUC__ >= 11)) && \ !defined(XGILL_PLUGIN) return mVariant.match( [](ErrorResult& aException) { return std::move(aException); }, But if you are busy I can do my best to report it.