Bug 1917201 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Crash report: https://crash-stats.mozilla.org/report/index/431c368d-c45f-4a28-ae92-138560240906

Reason: ```EXCEPTION_BREAKPOINT```

Top 10 frames:
```
0  mozglue.dll  MOZ_Crash(char const*, int, char const*)  mfbt/Assertions.h:317
0  mozglue.dll  mozilla::detail::InvalidArrayIndex_CRASH(unsigned long long, unsigned long long)  mfbt/Assertions.cpp:50
1  xul.dll  nsTArray_Impl<WifiListenerHolder, nsTArrayInfallibleAllocator>::ElementAt(uns...  xpcom/ds/nsTArray.h:1207
1  xul.dll  mozilla::ArrayIterator<WifiListenerHolder&, nsTArray_Impl<WifiListenerHolder,...  xpcom/ds/ArrayIterator.h:107
1  xul.dll  nsWifiMonitor::CallWifiListeners(nsTArray<RefPtr<nsIWifiAccessPoint> > const&...  netwerk/wifi/nsWifiMonitor.cpp:384
2  xul.dll  mozilla::detail::RunnableMethodArguments<nsTArray<RefPtr<nsIWifiAccessPoint> ...  /builds/worker/fetches/vs/VC/Tools/MSVC/14.39.33519/include/tuple:944
2  xul.dll  std::invoke(mozilla::detail::RunnableMethodArguments<nsTArray<RefPtr<nsIWifiA...  /builds/worker/fetches/vs/VC/Tools/MSVC/14.39.33519/include/type_traits:1739
2  xul.dll  std::_Apply_impl(mozilla::detail::RunnableMethodArguments<nsTArray<RefPtr<nsI...  /builds/worker/fetches/vs/VC/Tools/MSVC/14.39.33519/include/tuple:1077
2  xul.dll  std::apply(mozilla::detail::RunnableMethodArguments<nsTArray<RefPtr<nsIWifiAc...  /builds/worker/fetches/vs/VC/Tools/MSVC/14.39.33519/include/tuple:1088
2  xul.dll  mozilla::detail::RunnableMethodArguments<nsTArray<RefPtr<nsIWifiAccessPoint> ...  xpcom/threads/nsThreadUtils.h:1083
```


**Found in**
* 131.0b2

**Affected versions**
* 132.0a1 (2024-09-05)
* 131.0b2



    


**Tested platforms**
* Affected platforms: Windows 11 aarch64 24H2, Windows 11 24h2
* Unaffected platforms: Windows 10, Windows 11 23H2, macOS 12, Ubuntu 22

**Preconditions**
* Windows 11 24H2 
* Geolocation was not used before- make a new Windows user profile and the follow the steps


**Steps to reproduce**
1. Open https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API/Using_the_Geolocation_API#result 
2. Click `Show my location` button and then Click on `Allow`button.
3. Click `Cancel` on Firefox modal Windows.
4. Click `No` on Windows modal Window.


**Expected result**
* No crash.

**Actual result**
* Firefox crashes.



**Regression range**
* Most likely started with bug 1900225 since this is not reproducible with Firefox 130 because the Awaiting Location Permission modal window is not displayed on Firefox 130.0. 
* Marking bug 1900225 since performing an actual regression range is difficult due to the fact that this requires a new windows profile each time. Please let us know if this may not be correct.

**Additional notes**
* Attached a screen recording.
* This does not reproduce on Windows 23H2 because the Windows modal dialog is not displayed.
Crash report: https://crash-stats.mozilla.org/report/index/431c368d-c45f-4a28-ae92-138560240906

Reason: ```EXCEPTION_BREAKPOINT```

Top 10 frames:
```
0  mozglue.dll  MOZ_Crash(char const*, int, char const*)  mfbt/Assertions.h:317
0  mozglue.dll  mozilla::detail::InvalidArrayIndex_CRASH(unsigned long long, unsigned long long)  mfbt/Assertions.cpp:50
1  xul.dll  nsTArray_Impl<WifiListenerHolder, nsTArrayInfallibleAllocator>::ElementAt(uns...  xpcom/ds/nsTArray.h:1207
1  xul.dll  mozilla::ArrayIterator<WifiListenerHolder&, nsTArray_Impl<WifiListenerHolder,...  xpcom/ds/ArrayIterator.h:107
1  xul.dll  nsWifiMonitor::CallWifiListeners(nsTArray<RefPtr<nsIWifiAccessPoint> > const&...  netwerk/wifi/nsWifiMonitor.cpp:384
2  xul.dll  mozilla::detail::RunnableMethodArguments<nsTArray<RefPtr<nsIWifiAccessPoint> ...  /builds/worker/fetches/vs/VC/Tools/MSVC/14.39.33519/include/tuple:944
2  xul.dll  std::invoke(mozilla::detail::RunnableMethodArguments<nsTArray<RefPtr<nsIWifiA...  /builds/worker/fetches/vs/VC/Tools/MSVC/14.39.33519/include/type_traits:1739
2  xul.dll  std::_Apply_impl(mozilla::detail::RunnableMethodArguments<nsTArray<RefPtr<nsI...  /builds/worker/fetches/vs/VC/Tools/MSVC/14.39.33519/include/tuple:1077
2  xul.dll  std::apply(mozilla::detail::RunnableMethodArguments<nsTArray<RefPtr<nsIWifiAc...  /builds/worker/fetches/vs/VC/Tools/MSVC/14.39.33519/include/tuple:1088
2  xul.dll  mozilla::detail::RunnableMethodArguments<nsTArray<RefPtr<nsIWifiAccessPoint> ...  xpcom/threads/nsThreadUtils.h:1083
```


**Found in**
* 131.0b2

**Affected versions**
* 132.0a1 (2024-09-05)
* 131.0b2



    


**Tested platforms**
* Affected platforms: Windows 11 aarch64 24H2, Windows 11 24h2 - Release Preview (26100.1591)
* Unaffected platforms: Windows 10, Windows 11 23H2, macOS 12, Ubuntu 22

**Preconditions**
* Windows 11 24H2 
* Geolocation was not used before- make a new Windows user profile and the follow the steps


**Steps to reproduce**
1. Open https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API/Using_the_Geolocation_API#result 
2. Click `Show my location` button and then Click on `Allow`button.
3. Click `Cancel` on Firefox modal Windows.
4. Click `No` on Windows modal Window.


**Expected result**
* No crash.

**Actual result**
* Firefox crashes.



**Regression range**
* Most likely started with bug 1900225 since this is not reproducible with Firefox 130 because the Awaiting Location Permission modal window is not displayed on Firefox 130.0. 
* Marking bug 1900225 since performing an actual regression range is difficult due to the fact that this requires a new windows profile each time. Please let us know if this may not be correct.

**Additional notes**
* Attached a screen recording.
* This does not reproduce on Windows 23H2 because the Windows modal dialog is not displayed.
Crash report: https://crash-stats.mozilla.org/report/index/431c368d-c45f-4a28-ae92-138560240906

Reason: ```EXCEPTION_BREAKPOINT```

Top 10 frames:
```
0  mozglue.dll  MOZ_Crash(char const*, int, char const*)  mfbt/Assertions.h:317
0  mozglue.dll  mozilla::detail::InvalidArrayIndex_CRASH(unsigned long long, unsigned long long)  mfbt/Assertions.cpp:50
1  xul.dll  nsTArray_Impl<WifiListenerHolder, nsTArrayInfallibleAllocator>::ElementAt(uns...  xpcom/ds/nsTArray.h:1207
1  xul.dll  mozilla::ArrayIterator<WifiListenerHolder&, nsTArray_Impl<WifiListenerHolder,...  xpcom/ds/ArrayIterator.h:107
1  xul.dll  nsWifiMonitor::CallWifiListeners(nsTArray<RefPtr<nsIWifiAccessPoint> > const&...  netwerk/wifi/nsWifiMonitor.cpp:384
2  xul.dll  mozilla::detail::RunnableMethodArguments<nsTArray<RefPtr<nsIWifiAccessPoint> ...  /builds/worker/fetches/vs/VC/Tools/MSVC/14.39.33519/include/tuple:944
2  xul.dll  std::invoke(mozilla::detail::RunnableMethodArguments<nsTArray<RefPtr<nsIWifiA...  /builds/worker/fetches/vs/VC/Tools/MSVC/14.39.33519/include/type_traits:1739
2  xul.dll  std::_Apply_impl(mozilla::detail::RunnableMethodArguments<nsTArray<RefPtr<nsI...  /builds/worker/fetches/vs/VC/Tools/MSVC/14.39.33519/include/tuple:1077
2  xul.dll  std::apply(mozilla::detail::RunnableMethodArguments<nsTArray<RefPtr<nsIWifiAc...  /builds/worker/fetches/vs/VC/Tools/MSVC/14.39.33519/include/tuple:1088
2  xul.dll  mozilla::detail::RunnableMethodArguments<nsTArray<RefPtr<nsIWifiAccessPoint> ...  xpcom/threads/nsThreadUtils.h:1083
```


**Found in**
* 131.0b2

**Affected versions**
* 132.0a1 (2024-09-05)
* 131.0b2



    


**Tested platforms**
* Affected platforms: Windows 11 aarch64 24H2, Windows 11 24h2 - Release Preview (26100.1591)
* Unaffected platforms: Windows 10, Windows 11 23H2, macOS 12, Ubuntu 22

**Preconditions**
* Windows 11 24H2 Release Preview (26100.1591)
* Geolocation was not used before - make a new Windows user profile and the follow the steps


**Steps to reproduce**
1. Open https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API/Using_the_Geolocation_API#result 
2. Click `Show my location` button and then Click on `Allow`button.
3. Click `Cancel` on Firefox modal Windows.
4. Click `No` on Windows modal Window.


**Expected result**
* No crash.

**Actual result**
* Firefox crashes.



**Regression range**
* Most likely started with bug 1900225 since this is not reproducible with Firefox 130 because the Awaiting Location Permission modal window is not displayed on Firefox 130.0. 
* Marking bug 1900225 since performing an actual regression range is difficult due to the fact that this requires a new windows profile each time. Please let us know if this may not be correct.

**Additional notes**
* Attached a screen recording.
* This does not reproduce on Windows 23H2 because the Windows modal dialog is not displayed.
Crash report: https://crash-stats.mozilla.org/report/index/431c368d-c45f-4a28-ae92-138560240906

Reason: ```EXCEPTION_BREAKPOINT```

Top 10 frames:
```
0  mozglue.dll  MOZ_Crash(char const*, int, char const*)  mfbt/Assertions.h:317
0  mozglue.dll  mozilla::detail::InvalidArrayIndex_CRASH(unsigned long long, unsigned long long)  mfbt/Assertions.cpp:50
1  xul.dll  nsTArray_Impl<WifiListenerHolder, nsTArrayInfallibleAllocator>::ElementAt(uns...  xpcom/ds/nsTArray.h:1207
1  xul.dll  mozilla::ArrayIterator<WifiListenerHolder&, nsTArray_Impl<WifiListenerHolder,...  xpcom/ds/ArrayIterator.h:107
1  xul.dll  nsWifiMonitor::CallWifiListeners(nsTArray<RefPtr<nsIWifiAccessPoint> > const&...  netwerk/wifi/nsWifiMonitor.cpp:384
2  xul.dll  mozilla::detail::RunnableMethodArguments<nsTArray<RefPtr<nsIWifiAccessPoint> ...  /builds/worker/fetches/vs/VC/Tools/MSVC/14.39.33519/include/tuple:944
2  xul.dll  std::invoke(mozilla::detail::RunnableMethodArguments<nsTArray<RefPtr<nsIWifiA...  /builds/worker/fetches/vs/VC/Tools/MSVC/14.39.33519/include/type_traits:1739
2  xul.dll  std::_Apply_impl(mozilla::detail::RunnableMethodArguments<nsTArray<RefPtr<nsI...  /builds/worker/fetches/vs/VC/Tools/MSVC/14.39.33519/include/tuple:1077
2  xul.dll  std::apply(mozilla::detail::RunnableMethodArguments<nsTArray<RefPtr<nsIWifiAc...  /builds/worker/fetches/vs/VC/Tools/MSVC/14.39.33519/include/tuple:1088
2  xul.dll  mozilla::detail::RunnableMethodArguments<nsTArray<RefPtr<nsIWifiAccessPoint> ...  xpcom/threads/nsThreadUtils.h:1083
```
This was encountered when testing the new Geolcation tests provided by David. (https://docs.google.com/document/d/1hfZQarFqcljWmCKPOxC1Qvzh1g83Tl4SIHc2tIx48Io/edit)

**Found in**
* 131.0b2

**Affected versions**
* 132.0a1 (2024-09-05)
* 131.0b2



    


**Tested platforms**
* Affected platforms: Windows 11 aarch64 24H2, Windows 11 24h2 - Release Preview (26100.1591)
* Unaffected platforms: Windows 10, Windows 11 23H2, macOS 12, Ubuntu 22

**Preconditions**
* Windows 11 24H2 Release Preview (26100.1591)
* Geolocation was not used before - make a new Windows user profile and the follow the steps


**Steps to reproduce**
1. Open https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API/Using_the_Geolocation_API#result 
2. Click `Show my location` button and then Click on `Allow`button.
3. Click `Cancel` on Firefox modal Windows.
4. Click `No` on Windows modal Window.


**Expected result**
* No crash.

**Actual result**
* Firefox crashes.



**Regression range**
* Most likely started with bug 1900225 since this is not reproducible with Firefox 130 because the Awaiting Location Permission modal window is not displayed on Firefox 130.0. 
* Marking bug 1900225 since performing an actual regression range is difficult due to the fact that this requires a new windows profile each time. Please let us know if this may not be correct.

**Additional notes**
* Attached a screen recording.
* This does not reproduce on Windows 23H2 because the Windows modal dialog is not displayed.
Crash report: https://crash-stats.mozilla.org/report/index/431c368d-c45f-4a28-ae92-138560240906

Reason: ```EXCEPTION_BREAKPOINT```

Top 10 frames:
```
0  mozglue.dll  MOZ_Crash(char const*, int, char const*)  mfbt/Assertions.h:317
0  mozglue.dll  mozilla::detail::InvalidArrayIndex_CRASH(unsigned long long, unsigned long long)  mfbt/Assertions.cpp:50
1  xul.dll  nsTArray_Impl<WifiListenerHolder, nsTArrayInfallibleAllocator>::ElementAt(uns...  xpcom/ds/nsTArray.h:1207
1  xul.dll  mozilla::ArrayIterator<WifiListenerHolder&, nsTArray_Impl<WifiListenerHolder,...  xpcom/ds/ArrayIterator.h:107
1  xul.dll  nsWifiMonitor::CallWifiListeners(nsTArray<RefPtr<nsIWifiAccessPoint> > const&...  netwerk/wifi/nsWifiMonitor.cpp:384
2  xul.dll  mozilla::detail::RunnableMethodArguments<nsTArray<RefPtr<nsIWifiAccessPoint> ...  /builds/worker/fetches/vs/VC/Tools/MSVC/14.39.33519/include/tuple:944
2  xul.dll  std::invoke(mozilla::detail::RunnableMethodArguments<nsTArray<RefPtr<nsIWifiA...  /builds/worker/fetches/vs/VC/Tools/MSVC/14.39.33519/include/type_traits:1739
2  xul.dll  std::_Apply_impl(mozilla::detail::RunnableMethodArguments<nsTArray<RefPtr<nsI...  /builds/worker/fetches/vs/VC/Tools/MSVC/14.39.33519/include/tuple:1077
2  xul.dll  std::apply(mozilla::detail::RunnableMethodArguments<nsTArray<RefPtr<nsIWifiAc...  /builds/worker/fetches/vs/VC/Tools/MSVC/14.39.33519/include/tuple:1088
2  xul.dll  mozilla::detail::RunnableMethodArguments<nsTArray<RefPtr<nsIWifiAccessPoint> ...  xpcom/threads/nsThreadUtils.h:1083
```
This was encountered when testing the new Geolocation tests provided by David. (https://docs.google.com/document/d/1hfZQarFqcljWmCKPOxC1Qvzh1g83Tl4SIHc2tIx48Io/edit)

**Found in**
* 131.0b2

**Affected versions**
* 132.0a1 (2024-09-05)
* 131.0b2



    


**Tested platforms**
* Affected platforms: Windows 11 aarch64 24H2, Windows 11 24h2 - Release Preview (26100.1591)
* Unaffected platforms: Windows 10, Windows 11 23H2, macOS 12, Ubuntu 22

**Preconditions**
* Windows 11 24H2 Release Preview (26100.1591)
* Geolocation was not used before - make a new Windows user profile and the follow the steps


**Steps to reproduce**
1. Open https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API/Using_the_Geolocation_API#result 
2. Click `Show my location` button and then Click on `Allow`button.
3. Click `Cancel` on Firefox modal Windows.
4. Click `No` on Windows modal Window.


**Expected result**
* No crash.

**Actual result**
* Firefox crashes.



**Regression range**
* Most likely started with bug 1900225 since this is not reproducible with Firefox 130 because the Awaiting Location Permission modal window is not displayed on Firefox 130.0. 
* Marking bug 1900225 since performing an actual regression range is difficult due to the fact that this requires a new windows profile each time. Please let us know if this may not be correct.

**Additional notes**
* Attached a screen recording.
* This does not reproduce on Windows 23H2 because the Windows modal dialog is not displayed.
Crash report: https://crash-stats.mozilla.org/report/index/431c368d-c45f-4a28-ae92-138560240906

Reason: ```EXCEPTION_BREAKPOINT```

Top 10 frames:
```
0  mozglue.dll  MOZ_Crash(char const*, int, char const*)  mfbt/Assertions.h:317
0  mozglue.dll  mozilla::detail::InvalidArrayIndex_CRASH(unsigned long long, unsigned long long)  mfbt/Assertions.cpp:50
1  xul.dll  nsTArray_Impl<WifiListenerHolder, nsTArrayInfallibleAllocator>::ElementAt(uns...  xpcom/ds/nsTArray.h:1207
1  xul.dll  mozilla::ArrayIterator<WifiListenerHolder&, nsTArray_Impl<WifiListenerHolder,...  xpcom/ds/ArrayIterator.h:107
1  xul.dll  nsWifiMonitor::CallWifiListeners(nsTArray<RefPtr<nsIWifiAccessPoint> > const&...  netwerk/wifi/nsWifiMonitor.cpp:384
2  xul.dll  mozilla::detail::RunnableMethodArguments<nsTArray<RefPtr<nsIWifiAccessPoint> ...  /builds/worker/fetches/vs/VC/Tools/MSVC/14.39.33519/include/tuple:944
2  xul.dll  std::invoke(mozilla::detail::RunnableMethodArguments<nsTArray<RefPtr<nsIWifiA...  /builds/worker/fetches/vs/VC/Tools/MSVC/14.39.33519/include/type_traits:1739
2  xul.dll  std::_Apply_impl(mozilla::detail::RunnableMethodArguments<nsTArray<RefPtr<nsI...  /builds/worker/fetches/vs/VC/Tools/MSVC/14.39.33519/include/tuple:1077
2  xul.dll  std::apply(mozilla::detail::RunnableMethodArguments<nsTArray<RefPtr<nsIWifiAc...  /builds/worker/fetches/vs/VC/Tools/MSVC/14.39.33519/include/tuple:1088
2  xul.dll  mozilla::detail::RunnableMethodArguments<nsTArray<RefPtr<nsIWifiAccessPoint> ...  xpcom/threads/nsThreadUtils.h:1083
```
This was encountered when testing the new Geolocation tests provided by David.
* 131.0b2

**Affected versions**
* 132.0a1 (2024-09-05)
* 131.0b2



    


**Tested platforms**
* Affected platforms: Windows 11 aarch64 24H2, Windows 11 24h2 - Release Preview (26100.1591)
* Unaffected platforms: Windows 10, Windows 11 23H2, macOS 12, Ubuntu 22

**Preconditions**
* Windows 11 24H2 Release Preview (26100.1591)
* Geolocation was not used before - make a new Windows user profile and the follow the steps


**Steps to reproduce**
1. Open https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API/Using_the_Geolocation_API#result 
2. Click `Show my location` button and then Click on `Allow`button.
3. Click `Cancel` on Firefox modal Windows.
4. Click `No` on Windows modal Window.


**Expected result**
* No crash.

**Actual result**
* Firefox crashes.



**Regression range**
* Most likely started with bug 1900225 since this is not reproducible with Firefox 130 because the Awaiting Location Permission modal window is not displayed on Firefox 130.0. 
* Marking bug 1900225 since performing an actual regression range is difficult due to the fact that this requires a new windows profile each time. Please let us know if this may not be correct.

**Additional notes**
* Attached a screen recording.
* This does not reproduce on Windows 23H2 because the Windows modal dialog is not displayed.
Crash report: https://crash-stats.mozilla.org/report/index/431c368d-c45f-4a28-ae92-138560240906

Reason: ```EXCEPTION_BREAKPOINT```

Top 10 frames:
```
0  mozglue.dll  MOZ_Crash(char const*, int, char const*)  mfbt/Assertions.h:317
0  mozglue.dll  mozilla::detail::InvalidArrayIndex_CRASH(unsigned long long, unsigned long long)  mfbt/Assertions.cpp:50
1  xul.dll  nsTArray_Impl<WifiListenerHolder, nsTArrayInfallibleAllocator>::ElementAt(uns...  xpcom/ds/nsTArray.h:1207
1  xul.dll  mozilla::ArrayIterator<WifiListenerHolder&, nsTArray_Impl<WifiListenerHolder,...  xpcom/ds/ArrayIterator.h:107
1  xul.dll  nsWifiMonitor::CallWifiListeners(nsTArray<RefPtr<nsIWifiAccessPoint> > const&...  netwerk/wifi/nsWifiMonitor.cpp:384
2  xul.dll  mozilla::detail::RunnableMethodArguments<nsTArray<RefPtr<nsIWifiAccessPoint> ...  /builds/worker/fetches/vs/VC/Tools/MSVC/14.39.33519/include/tuple:944
2  xul.dll  std::invoke(mozilla::detail::RunnableMethodArguments<nsTArray<RefPtr<nsIWifiA...  /builds/worker/fetches/vs/VC/Tools/MSVC/14.39.33519/include/type_traits:1739
2  xul.dll  std::_Apply_impl(mozilla::detail::RunnableMethodArguments<nsTArray<RefPtr<nsI...  /builds/worker/fetches/vs/VC/Tools/MSVC/14.39.33519/include/tuple:1077
2  xul.dll  std::apply(mozilla::detail::RunnableMethodArguments<nsTArray<RefPtr<nsIWifiAc...  /builds/worker/fetches/vs/VC/Tools/MSVC/14.39.33519/include/tuple:1088
2  xul.dll  mozilla::detail::RunnableMethodArguments<nsTArray<RefPtr<nsIWifiAccessPoint> ...  xpcom/threads/nsThreadUtils.h:1083
```
This was encountered when testing the new Geolocation tests provided by David ([QA-2518](https://mozilla-hub.atlassian.net/browse/QA-2518)).
* 131.0b2

**Affected versions**
* 132.0a1 (2024-09-05)
* 131.0b2



    


**Tested platforms**
* Affected platforms: Windows 11 aarch64 24H2, Windows 11 24h2 - Release Preview (26100.1591)
* Unaffected platforms: Windows 10, Windows 11 23H2, macOS 12, Ubuntu 22

**Preconditions**
* Windows 11 24H2 Release Preview (26100.1591)
* Geolocation was not used before - make a new Windows user profile and the follow the steps


**Steps to reproduce**
1. Open https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API/Using_the_Geolocation_API#result 
2. Click `Show my location` button and then Click on `Allow`button.
3. Click `Cancel` on Firefox modal Windows.
4. Click `No` on Windows modal Window.


**Expected result**
* No crash.

**Actual result**
* Firefox crashes.



**Regression range**
* Most likely started with bug 1900225 since this is not reproducible with Firefox 130 because the Awaiting Location Permission modal window is not displayed on Firefox 130.0. 
* Marking bug 1900225 since performing an actual regression range is difficult due to the fact that this requires a new windows profile each time. Please let us know if this may not be correct.

**Additional notes**
* Attached a screen recording.
* This does not reproduce on Windows 23H2 because the Windows modal dialog is not displayed.
Crash report: https://crash-stats.mozilla.org/report/index/431c368d-c45f-4a28-ae92-138560240906

Reason: ```EXCEPTION_BREAKPOINT```

Top 10 frames:
```
0  mozglue.dll  MOZ_Crash(char const*, int, char const*)  mfbt/Assertions.h:317
0  mozglue.dll  mozilla::detail::InvalidArrayIndex_CRASH(unsigned long long, unsigned long long)  mfbt/Assertions.cpp:50
1  xul.dll  nsTArray_Impl<WifiListenerHolder, nsTArrayInfallibleAllocator>::ElementAt(uns...  xpcom/ds/nsTArray.h:1207
1  xul.dll  mozilla::ArrayIterator<WifiListenerHolder&, nsTArray_Impl<WifiListenerHolder,...  xpcom/ds/ArrayIterator.h:107
1  xul.dll  nsWifiMonitor::CallWifiListeners(nsTArray<RefPtr<nsIWifiAccessPoint> > const&...  netwerk/wifi/nsWifiMonitor.cpp:384
2  xul.dll  mozilla::detail::RunnableMethodArguments<nsTArray<RefPtr<nsIWifiAccessPoint> ...  /builds/worker/fetches/vs/VC/Tools/MSVC/14.39.33519/include/tuple:944
2  xul.dll  std::invoke(mozilla::detail::RunnableMethodArguments<nsTArray<RefPtr<nsIWifiA...  /builds/worker/fetches/vs/VC/Tools/MSVC/14.39.33519/include/type_traits:1739
2  xul.dll  std::_Apply_impl(mozilla::detail::RunnableMethodArguments<nsTArray<RefPtr<nsI...  /builds/worker/fetches/vs/VC/Tools/MSVC/14.39.33519/include/tuple:1077
2  xul.dll  std::apply(mozilla::detail::RunnableMethodArguments<nsTArray<RefPtr<nsIWifiAc...  /builds/worker/fetches/vs/VC/Tools/MSVC/14.39.33519/include/tuple:1088
2  xul.dll  mozilla::detail::RunnableMethodArguments<nsTArray<RefPtr<nsIWifiAccessPoint> ...  xpcom/threads/nsThreadUtils.h:1083
```
This was encountered when testing the new Geolocation tests provided by David ([QA-2518](https://mozilla-hub.atlassian.net/browse/QA-2518)).
* 131.0b2

**Affected versions**
* 132.0a1 (2024-09-05)
* 131.0b2



    


**Tested platforms**
* Affected platforms: Windows 11 aarch64 24H2, Windows 11 24h2 - Release Preview (26100.1591)
* Unaffected platforms: Windows 10, Windows 11 23H2, macOS 12, Ubuntu 22

**Preconditions**
* Windows 11 24H2 Release Preview (26100.1591)
* Geolocation was not used before - make a new Windows user profile and the follow the steps


**Steps to reproduce**
1. Open https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API/Using_the_Geolocation_API#result 
2. Click `Show my location` button and then Click on `Allow`button.
3. Click `Cancel` on Firefox modal Windows.
4. Click `No` or `Yes` on Windows modal Window.


**Expected result**
* No crash.

**Actual result**
* Firefox crashes.



**Regression range**
* Most likely started with bug 1900225 since this is not reproducible with Firefox 130 because the Awaiting Location Permission modal window is not displayed on Firefox 130.0. 
* Marking bug 1900225 since performing an actual regression range is difficult due to the fact that this requires a new windows profile each time. Please let us know if this may not be correct.

**Additional notes**
* Attached a screen recording.
* This does not reproduce on Windows 23H2 because the Windows modal dialog is not displayed.

Back to Bug 1917201 Comment 0