browser.notifications.create crashes Edge

Issue #20146233 • Assigned to wptcomptri

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 2 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

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

    Sign in