Skip to content

[Bug report] - Incorrect identification on Desktop: session type is 'mobile' #60

@ittat

Description

@ittat

Describe the bug

I found that Nutria won't wake up on MacOS because embedder.sessionType gets the value "mobile".

console log:

console.log: "-*- Shell.js: New web embedder created."
console.log: "ext-Embedding: setDelegate"
console.log: "WebExtensionsDelegate: setProvider"
console.log: "Embedding: === Layer Manager: WebRender for chrome://system/content/index.html"
console.log: "Embedding: WebExtension Signature needed? false"
console.log: "Embedding: session type is 'mobile'"
console.log: "Timing 'DOMContentLoaded, embedder is [object Promise]' at 5ms"
console.log: "embedderSetupDone, embedder is [object EventTarget]"

The conflicting code is located here:
https://github.com/capyloon/nutria/blob/main/apps/system/js/power_manager.js#L128

** Environment **

  • Desktop Mac

To Reproduce
null

Expected behavior
Is embedder.sessionType "desktop" ?

Screenshots
null.

Additional context
null

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions