Invention Grant
- Patent Title: Identifying equivalent JavaScript events
-
Application No.: US15053544Application Date: 2016-02-25
-
Publication No.: US10169037B2Publication Date: 2019-01-01
- Inventor: Gregor von Bochmann , Nevon C. Brake , Mustafa Emre Dincturk , Paul Ionescu , Guy-Vincent Jourdan , Iosif Viorel Onut , Wayne Duncan Smith , Seyed M. Mir Taheri
- Applicant: International Business Machines Corporation
- Applicant Address: US NY Armonk
- Assignee: INTERNATIONAL BUSINESS MACHINES COPRORATION
- Current Assignee: INTERNATIONAL BUSINESS MACHINES COPRORATION
- Current Assignee Address: US NY Armonk
- Agency: Cuenot, Forsythe & Kim, LLC
- Priority: CA2786418 20120816
- Main IPC: G06F8/75
- IPC: G06F8/75 ; G06F3/0484 ; G06F8/30 ; G06F11/36

Abstract:
Identifying equivalent JavaScript events includes receiving source code containing two JavaScript events for equivalency analysis, extracting an HTML element containing an event from each JavaScript event and analyzing the extracted HTML elements. Responsive to a determination that the HTML elements are of a same type according to equivalency criteria B, and responsive to a determination that the HTML elements have a same number of attributes according to equivalency criteria C, a determination is made whether JavaScript function calls of each JavaScript event are similar according to equivalency criteria A. Responsive to a determination that the JavaScript function calls are similar according to equivalency criteria A, and responsive to a determination that the other attributes of the HTML elements satisfy equivalency criteria D, the JavaScript events are identified as equivalent.
Public/Granted literature
- US20160179512A1 IDENTIFYING EQUIVALENT JAVASCRIPT EVENTS Public/Granted day:2016-06-23
Information query