removeEventListener does not work when called during event propagation

Confirmed Issue #10124881 • Assigned to Travis L.

Details

Author
Jesse T.
Created
Dec 8, 2016
Privacy
This issue is public.
Found in
  • Microsoft Edge
  • Internet Explorer
Reports
Reported by 2 people

Sign in to watch or report this issue.

Steps to reproduce

gist:
https://gist.github.com/jessetane/71cf22cdbf01e193d5fe8cc268125532

jsbin:
https://jsbin.com/jahiwekata/edit

Please see other feedbacks in userfeedback VSO for feedbacks that are tracked by this work item.

h3 {
color:#2f5496;
font-family:Segoe UI;
font-size:small;
padding-left:3%;
}

table {
font-size:small;
width:95%;
}

th, td {
font-size:small;
padding:5px;
}

td {
border:0.5px solid white;
}

th {
background-color:#8B8989;
color:white;
}

.feedback-leftcell {
width:20%;
color:#004d8b;
}

.feedback-row:hover {
background-color:#C4C4C4;
}

#feedback-banner, #feedback-footer {
background-color:#0078D7;
color:white;
width:100%;
}

#feedback-banner td, #feedback-footer td {
border:0;
font-size:larger;
padding:10px;
}

#feedbacksection-v5 {
font-family:Segoe UI;
border:5px solid #0078D7;
border-collapse:collapse;
}

#feedbackdetails-table, #feedbackanalysis-table, #feedbacklinks-table {
font-family:Calibri Light;
background-color:#f5f5f5;
}

            
        

        This Bug was created from feedback triage by Jorge Lopez

    



Report Details



    
        Feedback Details

        Description

    

    
        Title

        Inking on Edge


    

    
        Description

        I have tried to use Inking on Edge, and twice in a row it crashed on me resulting in wasted effort (lost the notes).

First time: made some inking notes, and added a couple of comments. While trying to move a comment, The tab crashed and lost notes. I should note this was the only tab opened on that edge session, I did have other edge windows opened.
Second time: added some comments, and I think one ink note. Went to save to avoid the previous thing happening, and selected OneNote as the option, and it crashed Edge entirely, including other Edge instances (windows).

        Area Path

        UIF\Microsoft Edge\Browser crashes or stops working

    

    
        [Feedback Hub](https://aka.ms/feedbackhuburi/?ContextId=343&feedbackId=6cc043e0-6588-4f4c-af42-ab1de8d2d8e3&form=1&src=1)

        View this Customer Feedback details and comments in the Feedback Hub app.

    

    
        [Feedback VSO](../7363613/)

        View this Customer Feedback in Feedback VSO.

    

    
        [Upvoted By](https://aka.ms/feedbackinternalupvoters?vsoId=7363613)

        Contact selfhosters that upvoted this issue.

    

    


Analysis and Diagnostics


    
        Tool

        Description

    

    
        [Feedback Cabs](http://aka.ms/FeedbackViewer/?txtUifId=6cc043e0-6588-4f4c-af42-ab1de8d2d8e3&section=Cabs)

        
            
                Looking For CAB files related to feedback?

All CABs for
this feedback can be accessed in the Feedback Viewer.

                Note:

CABs may take up to 12 hours
to process through the
telemetry pipeline. CABs age out and are removed after 60 days
due
to Watson retention policies.

        [Feedback Analysis](http://aka.ms/FeedbackViewer/?txtUifId=6cc043e0-6588-4f4c-af42-ab1de8d2d8e3)

        
            
                Try out the preview version of our [WAAS Lightspeed](https://aka.ms/waaslightspeed/?txtUifId=6cc043e0-6588-4f4c-af42-ab1de8d2d8e3)

that includes intelligent auto analyzed
insights, dimensional, detailed diagnostic and telemetry analysis.

        [Related Watson Crashes](http://watson/User?Identifier=g:6755410741318346&Expand=true&StartDate=17-Sep-2018&EndDate=17-Sep-2018&DateTimeFormat=UTC&EventCategory=All)

        
            
                
                    Want to view Watson crashes that occurred on the same day from the user who
                    filed feedback?

The Watson Viewer will let you dive into crash data.

        [Device Drill](http://devicedrill/EventBrowser?dataSet=ALL&deviceId=g:6755410741318346&focusTimeStamp=2018-09-17T17:49:38&durationAfterMin=10)

        
            
                Want to view telemetry events from this customer's device?

Device Drill lets
you dive into the telemetry of the device this from which this feedback was filed.

Other Links


    
        Link

        Description

    

    
        [Feedback FAQ](http://aka.ms/FeedbackFaq)

        
            
                See the Feedback FAQ for more information about subjective user feedback.
            

        

    

    
        [Where's my CAB? Wiki](http://aka.ms/whereismycabwiki)

        
            
                If you were expecting a CAB but it does not appear in the viewer, please
                see the wiki for more information.
            

        

    

    
        [Translation Volunteers](https://aka.ms/feedbacktranslationvolunteers)

        
            
                For translation assistance, please see the translation volunteers wiki.
            

        

    

    
        [Reporting child pornography](http://aka.ms/FeedbackReportAbuseAndChildPornographyWiki)

        
            
                If attached screenshot(s) is child pornography you must report it using
                instructions listed at the link.
            

        

    






    
        
            Be Heard.
        

        
            [
                //aka.ms/feedback
            ](https://aka.ms/feedback)

Attachments

0 attachments

    Comments and activity

    • From the spec:
      https://www.w3.org/TR/DOM-Level-2-Events/events.html

      If an EventListener is removed from an EventTarget while it is processing an event, it will not be triggered by the current actions. EventListeners can never be invoked after being removed.

    • Microsoft Edge Team

      Changed Assigned To to “Brad E.”

      Changed Assigned To to “Travis L.”

      Changed Status to “Confirmed”

      Changed Assigned To from “Travis L.” to “Sanket J.”

      Changed Status from “Confirmed” to “Not reproducible”

    • Changed Status from “Not reproducible”

    • Arron E. how is this not reproducible? Did you not try the jsbin?

    • Microsoft Edge Team

      Changed Assigned To to “Travis L.”

      Changed Status to “Confirmed”

      Changed Steps to Reproduce

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

    Sign in