https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212925

            Bug ID: 212925
           Summary: www/chromium: chrome.runtime.getPlatformInfo is broken
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]
          Assignee: [email protected]
             Flags: maintainer-feedback?([email protected])

Trying to use chrome.runtime.getPlatformInfo Chromium API call [1] I get error
in terminal:
----
[2564:416779264:0923/191125:ERROR:linux_util.cc(122)] Not implemented reached
in std::string base::GetLinuxDistro()
----

Also this javascript error is thrown in Chromium:
----
Error in response to runtime.getPlatformInfo: TypeError: Cannot read property
'os' of undefined

Error
Unchecked runtime.lastError while running runtime.getPlatformInfo: Platform
information unavailable.
----

Chromium on FreeBSD should return some well known and documented by Google
value - "linux" or "openbsd" [2].

This error is prevents GNOME Shell integration for Chrome [3] to work on
FreeBSD.

[1] https://developer.chrome.com/extensions/runtime#method-getPlatformInfo
[2] https://developer.chrome.com/extensions/runtime#type-PlatformOs
[3] https://wiki.gnome.org/Projects/GnomeShellIntegrationForChrome

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-chromium
To unsubscribe, send any mail to "[email protected]"

Reply via email to