[KongchangAI]
Concept

Web Worker

A background thread mechanism provided by browsers, used to move heavy tasks off the main thread to prevent the page from freezing. It is commonly used for model inference and streaming token delivery.

Timeline (last 90 days)

Oct 18

N.O.V.A. runs Python with a time limit via Pyodide in a Web Worker, runs SQL via SQLite compiled to WebAssembly, and keeps reference solutions on the server until the user solves the problem.

Unverified50%
Oct 18

A patch that blocks a specific API must cover that API's variants in all execution contexts (main thread, Worker, Service Worker, iframe), otherwise an attacker can bypass it by switching to another context.

Unverified50%
Oct 18

Anthropic's first patch blocked fetch() and XMLHttpRequest calls to file:// within the page, but Noma successfully bypassed it by moving fetch() into a Web Worker created from a blob: URL.

Unverified50%
Oct 18

GitBlast uses a combination of WASM and Web Worker, placing AST parsing on a separate thread to avoid blocking the main thread.

Unverified50%
Oct 17

在浏览器中运行LLM时模型必须放在Web Worker中,否则页面会冻结。

Unverified50%
Oct 15

A Web Worker is a background thread mechanism provided by the browser in which scripts run without blocking the main thread's UI rendering; Reply Desk places model loading and inference in a Web Worker to avoid freezing the page.

Unverified50%
Oct 15

Attackers could bypass Anthropic's first patch, which only restricted fetch() and XMLHttpRequest in the main page, by moving fetch() into a Web Worker created from a blob: URL.

Unverified50%
Oct 13

Common approaches to implementing a sandbox in in-conversation tool generation scenarios include: using an iframe with the sandbox attribute for isolated rendering, restricting thread capabilities through Web Workers, adopting a restricted component DSL rather than full JavaScript, and performing static auditing and whitelist validation on the server side.

Unverified50%
Oct 13

The browser-side RAG process consists of four steps: retrieval, gating, prompt construction, and generation; for generation it prefers WebGPU, and falls back to WASM running on the CPU if unsupported.

Unverified50%
Oct 12

transformers.js 4.3.1 loads the model in a Web Worker and returns embedding vectors, avoiding blocking the main thread.

Unverified50%

5 more timeline events

All Facts (15)

Unverified

Web Workers allow JavaScript to run in a background independent thread, communicating with the main thread via postMessage without sharing memory

60%
Unverified

N.O.V.A. runs Python with a time limit via Pyodide in a Web Worker, runs SQL via SQLite compiled to WebAssembly, and keeps reference solutions on the server until the user solves the problem.

50%
Unverified

A patch that blocks a specific API must cover that API's variants in all execution contexts (main thread, Worker, Service Worker, iframe), otherwise an attacker can bypass it by switching to another context.

50%
Unverified

GitBlast uses a combination of WASM and Web Worker, placing AST parsing on a separate thread to avoid blocking the main thread.

50%
Unverified

在浏览器中运行LLM时模型必须放在Web Worker中,否则页面会冻结。

50%
Unverified

A Web Worker is a background thread mechanism provided by the browser in which scripts run without blocking the main thread's UI rendering; Reply Desk places model loading and inference in a Web Worker to avoid freezing the page.

50%
Unverified

Attackers could bypass Anthropic's first patch, which only restricted fetch() and XMLHttpRequest in the main page, by moving fetch() into a Web Worker created from a blob: URL.

50%
Unverified

Common approaches to implementing a sandbox in in-conversation tool generation scenarios include: using an iframe with the sandbox attribute for isolated rendering, restricting thread capabilities through Web Workers, adopting a restricted component DSL rather than full JavaScript, and performing static auditing and whitelist validation on the server side.

50%
Unverified

The browser-side RAG process consists of four steps: retrieval, gating, prompt construction, and generation; for generation it prefers WebGPU, and falls back to WASM running on the CPU if unsupported.

50%
Unverified

transformers.js 4.3.1 loads the model in a Web Worker and returns embedding vectors, avoiding blocking the main thread.

50%
Unverified

The conversion process takes place in the browser's Web Worker thread and an in-memory virtual file system; the input file is read via the File API, processed to generate a Blob object for download, and the conversion function continues to work normally even after going offline once the page has finished loading.

50%
Unverified

The OffscreenCanvas API allows Canvas drawing to be performed in a Web Worker, avoiding main thread blocking.

50%
Unverified

After migrating computationally intensive operations such as syntax highlighting and Markdown parsing to Web Workers, the main thread can still maintain 60fps even when processing large blocks of code

50%
Unverified

Web Worker可将TLE解析和SGP4计算从主线程剥离,避免阻塞UI渲染

50%
Unverified

Anthropic's first patch blocked fetch() and XMLHttpRequest calls to file:// within the page, but Noma successfully bypassed it by moving fetch() into a Web Worker created from a blob: URL.

50%

Source Articles