Cross-Origin Message Channel for Browsing Contexts

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing techniques for communication between different browsing contexts are computationally inefficient and vulnerable to malicious actors, requiring excessive serializations and deserializations, and involving complex mechanisms and data paths that increase attack vectors and auditing requirements.

Innovation Solution

The establishment of a direct message channel between discrete, cross-origin browsing contexts using a shared worker, allowing browsing contexts to communicate without routing through inline frames and shared workers, thereby reducing serialization/deserialization cycles and intermediaries that handle each message.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If communication between browsing contexts is routed through inline frames and shared workers, then security constraints are satisfied, but computational efficiency deteriorates due to excessive serializations and deserializations

Engineering Contradiction:
ImprovesecurityVSAvoidcomputational efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent introduces a message channel as an intermediary communication mechanism that allows direct message passing between browsing contexts without requiring multiple serializations and deserializations through inline frames and shared workers. The message channel acts as a dedicated communication pathway that maintains security while reducing computational overhead.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If communication is constrained to same-origin browsing contexts, then security is maintained, but adaptability deteriorates due to limited communication capabilities

Engineering Contradiction:
ImprovesecurityVSAvoidcommunication capability
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent implements origin verification at the message channel creation stage, allowing each browsing context to verify the origin of its communication partner locally. This enables cross-origin communication while maintaining security by verifying origins at the point of connection establishment rather than restricting all communication to same-origin contexts.

Inventive Principle:
Principle #3Local quality

3Reliability

If multiple intermediaries are used for cross-origin communication, then security verification is possible, but device complexity increases due to complex data paths

Engineering Contradiction:
Improvesecurity verificationVSAvoiddata path complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent extracts the origin verification functionality from the message relay process and implements it directly at the browsing context level during message channel creation. This removes the need for multiple intermediary components to perform security verification, simplifying the data path while maintaining security verification capabilities.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS12287839B1Techniques for supporting communication between different browsing contexts
Publication Date: 2025.04.29 HERE ENTERPRISE INC
  • US12287839B1 patent drawing
  • US12287839B1 patent drawing
  • US12287839B1 patent drawing

AI summary

A first message from a first browsing context may be identified. The first message may include a connection identifier. A second message from a second browsing context may be identified. The second message may include the connection identifier. A processing device may transfer a first port of a message channel to the first browsing context and a second port of the message channel to the second browsing context based on the first message including the connection identifier and the second message including the connection identifier.