browser.contextMenus.create does not properly respect "frame" contextType

Confirmed Issue #9848809 • Assigned to Sebastian P.

Details

Created
Nov 17, 2016
Privacy
This issue is public.
Reports
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

Install an extension that calls browser.contextMenus.create() with only the “frame” contextType specified
Navigate to a site that has iframes such as http://www.littlewebhut.com/articles/html_iframe_example/

Expected

The “frame” contextType should ensure that context menus are only created for iframe elements and not the top level document (see http://stackoverflow.com/questions/31366938/chrome-contextmenus-api-contexttype). This occurs in Chrome.

Actual

contextMenus are created for both iframes and the top level document

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Status to “Confirmed”

      Changed Assigned To to “Sermet I.”

      Changed Status from “Confirmed”

      Changed Assigned To to “Sebastian P.”

      Changed Status to “Confirmed”

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

    Sign in