[Bug 201805] [PATCH] www/chromium: enable native message service API for extensions

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jul 24 04:52:53 UTC 2015


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

            Bug ID: 201805
           Summary: [PATCH] www/chromium: enable native message service
                    API for extensions
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: chromium at FreeBSD.org
          Reporter: matthias at petermann-it.de
          Assignee: chromium at FreeBSD.org
             Flags: maintainer-feedback?(chromium at FreeBSD.org)
          Keywords: patch

Created attachment 159130
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=159130&action=edit
Patch for enabling native messaging

Chrome / Chromium are supporting a native Messaging API[1] which is useful to
interact with external processes from as Chrome app. There is a good usage
example available, too[2].

The current Chromium on FreeBSD doesn't support native Messaging due this is
implicitly excluded in the respective source code file at compile time. 

This results in Chromium returning an error message when trying to open a
channel to an external process:

"native Messaging is not supported on this platform."

Adding OS_FREEBSD to the expression makes this work and can be successfully
tested. Please find the patch attached to this report.

[1] https://developer.chrome.com/extensions/nativeMessaging
[2]
https://chromium.googlesource.com/chromium/src/+/master/chrome/common/extensions/docs/examples/api/nativeMessaging

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list