From owner-freebsd-chromium@freebsd.org Fri Sep 23 16:30:15 2016 Return-Path: Delivered-To: freebsd-chromium@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B8E23BE79BC for ; Fri, 23 Sep 2016 16:30:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id A279C7C1 for ; Fri, 23 Sep 2016 16:30:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id A1D97BE79BB; Fri, 23 Sep 2016 16:30:15 +0000 (UTC) Delivered-To: chromium@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A189ABE79BA for ; Fri, 23 Sep 2016 16:30:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 78DF77C0 for ; Fri, 23 Sep 2016 16:30:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u8NGUFdR017209 for ; Fri, 23 Sep 2016 16:30:15 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: chromium@FreeBSD.org Subject: [Bug 212925] www/chromium: chrome.runtime.getPlatformInfo is broken Date: Fri, 23 Sep 2016 16:30:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: ykonotopov@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: chromium@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-chromium@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD-specific Chromium issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Sep 2016 16:30:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212925 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: chromium@FreeBSD.org Reporter: ykonotopov@gmail.com Assignee: chromium@FreeBSD.org Flags: maintainer-feedback?(chromium@FreeBSD.org) Trying to use chrome.runtime.getPlatformInfo Chromium API call [1] I get er= ror in terminal: ---- [2564:416779264:0923/191125:ERROR:linux_util.cc(122)] Not implemented reach= ed in std::string base::GetLinuxDistro() ---- Also this javascript error is thrown in Chromium: ---- Error in response to runtime.getPlatformInfo: TypeError: Cannot read proper= ty '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 --=20 You are receiving this mail because: You are the assignee for the bug.=