browser.notifications.create crashes Edge

Confirmed Issue #20146233

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

– start: Promo Info – Why this bug is important?
We have identified that this bug was promoted based on telemetry data and affects following products failure 630d6b43-0752-4c83-f6f1-cf49179010a3 impacts Product

                          App: microsoftedge         
                              ([#5 on curve](https://insights/Report?id=cee3bfdf-c677-4dff-9b69-6967c234d34d&isPublished=true#UniqueID=54DBACA7-BAD7-E0F2-A10E-4F31DC83AE30))                 [10.0.18875.*](http://watson/Failure?FailureSearchText=630d6b43-0752-4c83-f6f1-cf49179010a3&MaxRows=100&OSVersion=10.0.18875.%2a&DeviceFamily=Windows.Desktop)                    
    
                    * indicates that we have shown only top 5 reasons
  
  
  
            
        
            
        -- end: Promo Info --            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.”

      Changed Status from “Confirmed” to “Confirmed”

    • Already one more month has passed. Any news about when this serious issue is fixed?

    • Hi Burkhard!

      This issue is a duplicate of an internally tracked bug, hence the resolution as "Duplicate". I don’t think that the issue linked to this is publicly viewable but rest assured, we are actively working on a resolution. We appreciate your patience. 

      Thanks,
      Zach

    • Microsoft Edge Team

      Changed Steps to Reproduce

      Changed Steps to Reproduce

      Changed Steps to Reproduce

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

    Sign in