Bug 212516

Summary: [WebXR] WebXRSystem::unregisterSimulatedXRDeviceForTesting() ASSERTs in m_immersiveDevices.contains(device)
Product: WebKit Reporter: Sergio Villar Senin <svillar>
Component: New BugsAssignee: Sergio Villar Senin <svillar>
Status: RESOLVED FIXED    
Severity: Normal CC: dino, svillar, webkit-bug-importer, youennf, zan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 212513    
Attachments:
Description Flags
Patch zan: review+

Description Sergio Villar Senin 2020-05-29 03:00:31 PDT
[WebXR] WebXRSystem::unregisterSimulatedXRDeviceForTesting() ASSERTs in m_immersiveDevices.contains(device)
Comment 1 Sergio Villar Senin 2020-05-29 03:04:58 PDT
Created attachment 400562 [details]
Patch
Comment 2 Zan Dobersek 2020-05-29 03:24:10 PDT
Comment on attachment 400562 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=400562&action=review

> Source/WebCore/Modules/webxr/WebXRSystem.cpp:457
> +    UNUSED_VARIABLE(removed);
> +    ASSERT(removed || m_inlineXRDevice == &device);

Can be folded into ASSERT_UNUSED.
Comment 3 Sergio Villar Senin 2020-05-29 06:18:13 PDT
Committed r262291: <https://trac.webkit.org/changeset/262291>
Comment 4 Radar WebKit Bug Importer 2020-05-29 06:19:17 PDT
<rdar://problem/63757315>