Skip to content

Release 1.2.0 - #154

Merged
FlorianRappl merged 17 commits into
mainfrom
devel
Nov 6, 2026
Merged

FlorianRappl merged 17 commits into
mainfrom
devel

Conversation

@FlorianRappl

Copy link
Copy Markdown
Contributor

Types of Changes

Prerequisites

Please make sure you can check the following two boxes:

  • I have read the CONTRIBUTING document
  • My code follows the code style of this project

Contribution Type

What types of changes does your code introduce? Put an x in all the boxes that apply:

  • Bug fix (non-breaking change which fixes an issue, please reference the issue id)
  • New feature (non-breaking change which adds functionality, make sure to open an associated issue first)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • My change requires a change to the documentation
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests passed

Description

This pull request prepares for the 1.2.0 release with dependency and documentation updates. Most importantly, these changes improve script compatibility and fix missing and wrongly implemented DOM APIs.

Important: Requires AngleSharp 1.10.0 to be released first.

FlorianRappl and others added 12 commits November 3, 2026 13:03
Co-authored-by: FlorianRappl <1766191+FlorianRappl@users.noreply.github.com>
…tions-job

Synchronize cross-origin message assertions
JsModuleLoader fetched only http and https modules through AngleSharp's
IResourceLoader. Every other URL went to Jint's DefaultModuleLoader, which
reads it from the local disk, so any page could import file: URLs (through
an import map, a direct specifier or import()) and read or run local files.
Bytes modules (with { type: 'bytes' }) always took Jint's file path.

- LoadModuleContents and LoadModuleContentsAsBytes both go through the
  resource loader for every scheme, so the registered requesters decide
  what a page can reach; a host that wants local modules registers a
  requester for file:
- A missing response is reported as an error instead of a
  NullReferenceException
- Module resolution is unchanged
- Tests: a page at https://example.com/ cannot read a temporary local file
  as a JSON, JavaScript or bytes module, through any of the three ways in

Fixes #150
Load every module through the resource loader
@FlorianRappl FlorianRappl added this to the v1.2.0 milestone Nov 5, 2026
@CLAassistant

CLAassistant commented Nov 5, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

FlorianRappl and others added 5 commits November 6, 2026 01:26
Co-authored-by: FlorianRappl <1766191+FlorianRappl@users.noreply.github.com>
Co-authored-by: FlorianRappl <1766191+FlorianRappl@users.noreply.github.com>
Allow more time for cross-origin message delivery tests
@FlorianRappl
FlorianRappl merged commit e1fad2a into main Nov 6, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants