Browser Event Handler Design for Reliable JavaScript Change Events

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Some browser engines do not generate a change event after input completion in input fields, leading to JavaScript execution failures in Web browsers, compromising user convenience.

Innovation Solution

An information processing apparatus with an event handler that generates a change event upon detecting a predetermined event from the browser engine, ensuring compatibility and execution of JavaScript even when the browser engine fails to do so.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If a browser engine that does not generate change events after input completion is used, then device compatibility or browser engine selection flexibility is improved, but JavaScript execution reliability deteriorates

Engineering Contradiction:
Improvebrowser engine compatibilityVSAvoidJavaScript execution reliability
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The event handler acts as an intermediary between the browser engine and JavaScript code. It receives notifications from the browser engine about input events, determines whether a change event should be generated based on the event type and input field state, and then generates the change event if conditions are met. This intermediary layer ensures that JavaScript code receives appropriate change events regardless of the browser engine's native capabilities, resolving the contradiction between browser engine compatibility and JavaScript execution reliability.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If the browser engine is changed to one without change event generation capability, then system flexibility or browser engine interchangeability is improved, but user convenience deteriorates

Engineering Contradiction:
Improvebrowser engine interchangeabilityVSAvoiduser convenience
Core Design Contradiction:
Adaptability or versatilityVSEase of operation

Solution Approach 1:

The event handler implements self-service by autonomously monitoring input events from the browser engine, analyzing the event type and input field state, and automatically generating change events when appropriate. This self-service mechanism ensures that user-facing functionality remains consistent and convenient regardless of which browser engine is used, as the event handler compensates for the browser engine's limitations without requiring user awareness or action.

Inventive Principle:
Principle #25Self-service

3Reliability

If change event generation is implemented in the event handler, then JavaScript execution reliability is improved, but device complexity increases

Engineering Contradiction:
ImproveJavaScript execution reliabilityVSAvoidbrowser software complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The browser software is segmented into distinct functional components: the browser engine that handles low-level input event generation, the event handler that processes and analyzes events, and the JavaScript execution environment that runs application logic. By segmenting the system this way, the complex logic for determining when to generate change events is isolated in the event handler, allowing the browser engine to remain simple while still achieving reliable JavaScript execution through the coordinated work of specialized components.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS20250238291A1Information processing apparatus, control method of information processing apparatus, and storage medium
Publication Date: 2025.07.24 CANON KK
  • US20250238291A1 patent drawing
  • US20250238291A1 patent drawing
  • US20250238291A1 patent drawing

AI summary

Provided is an information processing apparatus configured to execute a Web browser and an event handler implemented on the Web browser, the information processing apparatus including: at least one memory and at least one processor which function the event handler as: a generation unit configured to generate a change event in a case where a predetermined event is notified from a browser engine of the Web browser.