Closed Bug 1884031 Opened 4 months ago Closed 4 months ago

ipc/glue/test/gtest/TestUtilityProcessSandboxing.cpp:34:36: error: no member named 'UTILITY_AUDIO_DECODING_APPLE_MEDIA' in 'mozilla::ipc::SandboxingKind'

Categories

(Core :: Security: Process Sandboxing, defect, P1)

defect

Tracking

()

RESOLVED FIXED
125 Branch
Tracking Status
firefox125 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

When building gtests with --enable-project=mobile/ios --enable-warnings-as-errors:

/tmp/gecko-ios/ipc/glue/test/gtest/TestUtilityProcessSandboxing.cpp:34:36: error: no member named 'UTILITY_AUDIO_DECODING_APPLE_MEDIA' in 'mozilla::ipc::SandboxingKind'
   34 |       "utility:1", SandboxingKind::UTILITY_AUDIO_DECODING_APPLE_MEDIA));
      |                    ~~~~~~~~~~~~~~~~^
/tmp/gecko-ios/obj-aarch64-apple-ios/dist/include/gtest/gtest.h:1813:52: note: expanded from macro 'EXPECT_FALSE'
 1813 | #define EXPECT_FALSE(condition) GTEST_EXPECT_FALSE(condition)
      |                                                    ^~~~~~~~~
/tmp/gecko-ios/obj-aarch64-apple-ios/dist/include/gtest/gtest.h:1797:25: note: expanded from macro 'GTEST_EXPECT_FALSE'
 1797 |   GTEST_TEST_BOOLEAN_(!(condition), #condition, true, false, \
      |                         ^~~~~~~~~
/tmp/gecko-ios/obj-aarch64-apple-ios/dist/include/gtest/internal/gtest-internal.h:1492:38: note: expanded from macro 'GTEST_TEST_BOOLEAN_'
 1492 |           ::testing::AssertionResult(expression))                     \
      |                                      ^~~~~~~~~~
In file included from Unified_cpp_ipc_glue_test_gtest0.cpp:20:
/tmp/gecko-ios/ipc/glue/test/gtest/TestUtilityProcessSandboxing.cpp:57:23: error: no member named 'UTILITY_AUDIO_DECODING_APPLE_MEDIA' in 'mozilla::ipc::SandboxingKind'
   57 |       SandboxingKind::UTILITY_AUDIO_DECODING_APPLE_MEDIA));
      |       ~~~~~~~~~~~~~~~~^
/tmp/gecko-ios/obj-aarch64-apple-ios/dist/include/gtest/gtest.h:1813:52: note: expanded from macro 'EXPECT_FALSE'
 1813 | #define EXPECT_FALSE(condition) GTEST_EXPECT_FALSE(condition)
      |                                                    ^~~~~~~~~
/tmp/gecko-ios/obj-aarch64-apple-ios/dist/include/gtest/gtest.h:1797:25: note: expanded from macro 'GTEST_EXPECT_FALSE'
 1797 |   GTEST_TEST_BOOLEAN_(!(condition), #condition, true, false, \
      |                         ^~~~~~~~~
/tmp/gecko-ios/obj-aarch64-apple-ios/dist/include/gtest/internal/gtest-internal.h:1492:38: note: expanded from macro 'GTEST_TEST_BOOLEAN_'
 1492 |           ::testing::AssertionResult(expression))                     \
      |                                      ^~~~~~~~~~
Severity: -- → S4
Priority: -- → P1
Blocks: 1885061
Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/autoland/rev/ee16900a9484
Put UTILITY_AUDIO_DECODING_APPLE_MEDIA tests behind MOZ_APPLEMEDIA. r=jld
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: