focus-android
focus-android copied to clipboard
about:crashcontent doesn't work on the "child" page
Steps to reproduce
- Open cnn.com in a tab.
- Long-tap on a link, select to open in a new tab.
- Switch to the new tab.
- Insert about:crashcontent in the URL field.
Expected behavior
The "Sorry. We're having problems with this tab.As a private browser, we never save and cannot restore this tab." messages are displayed."Send crash report to Mozilla" checkbox (checked by default)."Close tab" button. page is displayed.

Actual behavior
"Cannot complete request" page is displayed. Focus doesn't crash. Tapping back, the page from step 2 reloads without issues.
If the second tab is opened from a different source, like Gmail, or from the "What's New" gift icon from settings, the issue doesn't reproduce anymore.
Device information
- Android device: Sony Xperia Z5 Premium (Android 7.1.1), Samsung Galaxy Tab A6 (Android 5.1.1), Lenovo Tab M10 (Android 10)
- Focus version: 95.0.0-beta.1, RC 94.1.1, debug build 11 with GV 96.0a1-20211102094141
https://user-images.githubusercontent.com/40694158/140320391-519ca662-ddcd-41f8-82dc-65bd8416ece9.mp4
Reproducible on RC 94.1.2 also, with Samsung Galaxy Tab A6 (Android 5.1.1).
Reproducible on Beta 96.0.0-beta.2 with Google Pixel (Android 10).
Reproducible also on RC 95.2.0 with Lenovo Tab M10 (Android 10).
Reproducible on Beta 96.0.0-beta.4 with Xiaomi Mi8 Lite (Android 10).
I investigated the issue and I think it's a bug in GeckoView , I put there a ticket. https://bugzilla.mozilla.org/show_bug.cgi?id=1747979
Reproducible on Beta 97.0.0-beta.1 with Google Pixel 6 (Android 12).
Reproducible on Beta 97.0.0-beta.2 with Google Pixel 6 (Android 12).
Reproducible in RC 96.2.0 with LG G7 fit (Android 8.1.0).
Reproducible on RC 96.3.0 with Google Pixel 6 (Android 12).
Reproducible on Beta 98.0.0-beta.1 with Samsung Galaxy Tab A6 (Android 5.1.1).
Reproducible on Beta 99.0.0-beta.1 with Xiaomi mi4i (Android 5.0.2).
Reproducible on Beta 100.0.0-beta.5 with HTC 10 (Android 8).
Reproducible on Focus RC 100.3.0 and Beta 101.0.0-beta.6 with Motorola Moto G30 (Android 11).
Reproducible on RC 102.1.0, and Beta 102.0.0-beta.5 with all devices.
Reproducible also on RC 103.2.0.
Also reproducible on RC 104.1.0.
Reproducible on Beta 105.0b3 build, as well.
Reproducible on Beta 106.0b3 build, as well.
Reproducible on Beta 107.0b3. Reproducible with about:crashparent as well.
I'll close this ticket, as is being tracked in Bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1747979.