Open Bug 2005202 Opened 3 months ago Updated 2 months ago

Assertion failure: PermissionAvailableInternal(prin, aType) when restoring an about:blank with content principal

Categories

(Core :: Permission Manager, defect, P3)

defect

Tracking

()

People

(Reporter: vhilla, Unassigned)

References

Details

This is similar to bug 2004165, but unlike that one, this already failed before bug 543435 landed.

Steps to reproduce, on a debug build:

  • Go to https://example.com
  • In the console, do window.open("about:blank")
    • (requires user activation, i.e. click on the document beforehand or call this off of a click handler)
  • Restart the browser and restore the about:blank tab
    • E.g. in another tab, go to about:profiles and click restart normally
  • Go to the about:blank tab
    • Ensure you don't touch the restored example.com beforehand. You can close it before restart to be sure.

This fails MOZ_ASSERT(PermissionAvailableInternal(prin, aType))

I'll likely land a test in bug 2004165 that can be used for this crash too. If so, I'll annotate it with skip-if = debug for now.

The severity field is not set for this bug.
:timhuang, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(tihuang)
Duplicate of this bug: 2005201
Severity: -- → S3
Flags: needinfo?(tihuang)
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.