Skip to content

Port EmbedLite components to ESR115#108

Open
abranson wants to merge 6 commits into
sailfishos:masterfrom
abranson:sailfishos-esr115
Open

Port EmbedLite components to ESR115#108
abranson wants to merge 6 commits into
sailfishos:masterfrom
abranson:sailfishos-esr115

Conversation

@abranson
Copy link
Copy Markdown
Member

  • Port EmbedLite JS components and frame-script helpers to ESR115 APIs.
  • Drop obsolete prompt, web app install, and JSON tap-handler glue.
  • Prepare JS components for static registration and fix startup/export handling.
  • Update error-page branding to use Sailfish Browser.
  • Fix ESR115 follow-ups for search initialization, HTTP auth password saving, async clipboard paste prompts, and PDF saver print settings.

@abranson abranson force-pushed the sailfishos-esr115 branch from 5bf779a to 2930466 Compare May 22, 2026 16:50
Comment thread jscomps/EmbedLiteJSComponents.manifest
Comment thread jscomps/EmbedLiteSyncService.js Outdated
ChromeUtils.import("chrome://embedlite/content/sync/bookmarks.js");
return true;
} catch (e) {
Logger.warn("Firefox Sync API is not available", e);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see this immediately. Why this message is related to the Firefox Sync API.

Comment thread jscomps/EmbedLiteSyncService.js Outdated
Comment thread jsscripts/embedhelper.js
Comment thread jsscripts/embedhelper.js
Comment thread overrides/en-US/brand.dtd
Comment thread rpm/embedlite-components-qt5.spec Outdated
Name: embedlite-components-qt5
Summary: EmbedLite components Qt5
Version: 1.23.0
Version: 1.26.0
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Put 2.0.0 directly

abranson added 6 commits May 28, 2026 12:52
Update frame scripts and JS components for ESR115 module and service API changes.

Drop obsolete JSON tap handlers and legacy prompt/web app component glue.

Register EmbedLite JS components statically and preserve helper exports when scripts are loaded as subscripts.
Respond to explicit search init requests from the embedder and use Services.search.setDefault when changing the selected search engine.
Route HTTP auth prompts through EmbedLite directly so the remember-password checkbox is included in the prompt payload. ESR115's nsIPromptService.asyncPromptAuth does not carry checkLabel/checkValue, so the password manager never saw a save request.
Add a frame-script helper for async clipboard read prompts and register it with the embed helper.

Use the requesting window when prompting so permission decisions are scoped to the correct browser window.
@abranson abranson force-pushed the sailfishos-esr115 branch from 2930466 to 30817ff Compare May 28, 2026 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants