browser.notifications.create crashes Edge

Confirmed Issue #20146233 • Unassigned

Details

Author
Dave B.
Created
Jan 10, 2019
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
42.17134
Reports
Reported by 5 people

Sign in to watch or report this issue.

Steps to reproduce

When the browser.notifications.create API is called from the Adblock Plus extension, the entire Edge browser crashes. See related Adblock Plus issue https://issues.adblockplus.org/ticket/7206

Steps to reproduce

  1. Navigate to about:flags and ensure “Enable extension developer features” is checked.
  2. Navigate to https://www.microsoft.com/en-gb/p/adblock-plus/9nblggh4r9nz and install Adblock Plus.
  3. Ensure Adblock Plus is enabled in Edge.
  4. Open “…” Edge menu, Click "Extensions", hover over "Adblock Plus", click cog icon, click “Background page” button in “Inspect:” section.
  5. Paste this code:

browser.notifications.create({
type: "basic",
iconUrl: "icons/abp-16.png",
title: "crash test",
message: “hello world”
});

What happens

Edge crashes.

What I expected

Edge doesn’t crash, a notification is displayed.

Environment

I’m running Edge 42.17134.1.0, Adblock Plus 0.9.11, Windows 10 (10.0.17134 Build 17134)

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “wptcomptri”

    • I am also experiencing this same issue. I build/maintain an edge extension and notifications worked in the previous version of Edge/was working early last month (December 2018), but no longer work. After some extensive debugging I was able to determine that the notification api is broken. I am currently using:
      Microsoft Edge 44.17763.1.0
      Microsoft EdgeHTML 18.17763

    • Microsoft Edge Team

      Changed Assigned To to “Mahesh J.”

      Changed Assigned To to “Mahesh J.”

    • Reporting the same bug - after latest Windows10 updates Edge browser crashes when some web extension uses browser.notifications.create API.
      *Note: After manually uninstalling the KB4480976 update, the notifications begin to work again.

    • Microsoft Edge Team

      Changed Assigned To from “Mahesh J.” to “Utkarsh P.”

      Changed Status to “Confirmed”

    • Any news about this? This is a very serious bug that crashes ALL extensions in Edge that use notifications. So the only solution at the moment is to publish a version of the extension with disabled notifications.

    • Microsoft Edge Team

      Changed Assigned To from “Utkarsh P.” to “Ankit K.”

    You need to sign in to your Microsoft account to add a comment.

    Sign in