Skip to content

Custom scheme registration fails #445

Description

@LeadAssimilator

Description
Custom registered schemes never get registered in the subprocesses causing them to not work.

To Reproduce

  1. Register a custom scheme.
  2. Try to nav to a url with the custom scheme.
  3. Observe custom scheme load failed and VALIDATION_ERROR_DESERIALIZATION_FAILED errors in log.

Expected behavior
Custom schemes should work.

Versions:

  • OS: Ubuntu 22.0.4.1 LTS [via wsl2]
  • Java Version: Microsoft OpenJDK 17.0.3+7-LTS
  • JCEF Version: 87476e9
  • CEF Version: 110.0.25

Additional context
JCEF is erroneously constructing temp file names used for the scheme registration that the subprocess helper needs. There is a bad assumption that CefGetPath will return a temp path with a trailing slash in util::GetTempFileName.

Workarounds

  • export TMPDIR=/tmp/
  • sudo chmod o+w / (dont do this)

Proposed Fix
Check for and insert a trailing slash as needed or use std::filesystem::path to avoid these kinds of errors.

Activity

  1. added a commit that references this issue on Aug 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugBug report

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions