FreeBSD Bugzilla – Attachment 182769 Details for
Bug 212925
www/chromium: chrome.runtime.getPlatformInfo is broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
chromium.diff (text/plain), 2.56 KB, created by
Carlos J. Puga Medina
on 2017-05-21 03:08:17 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Carlos J. Puga Medina
Created:
2017-05-21 03:08:17 UTC
Size:
2.56 KB
patch
obsolete
>Index: www/chromium/files/patch-chrome_browser_extensions_api_runtime_chrome__runtime__api__delegate.cc >=================================================================== >--- www/chromium/files/patch-chrome_browser_extensions_api_runtime_chrome__runtime__api__delegate.cc (nonexistent) >+++ www/chromium/files/patch-chrome_browser_extensions_api_runtime_chrome__runtime__api__delegate.cc (working copy) >@@ -0,0 +1,11 @@ >+--- chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc.orig 2017-05-09 19:02:41 UTC >++++ chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc >+@@ -277,6 +277,8 @@ bool ChromeRuntimeAPIDelegate::GetPlatfo >+ info->os = extensions::api::runtime::PLATFORM_OS_CROS; >+ } else if (strcmp(os, "linux") == 0) { >+ info->os = extensions::api::runtime::PLATFORM_OS_LINUX; >++ } else if (strcmp(os, "freebsd") == 0) { >++ info->os = extensions::api::runtime::PLATFORM_OS_FREEBSD; >+ } else if (strcmp(os, "openbsd") == 0) { >+ info->os = extensions::api::runtime::PLATFORM_OS_OPENBSD; >+ } else { > >Property changes on: www/chromium/files/patch-chrome_browser_extensions_api_runtime_chrome__runtime__api__delegate.cc >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: www/chromium/files/patch-extensions_common_api_runtime.json >=================================================================== >--- www/chromium/files/patch-extensions_common_api_runtime.json (nonexistent) >+++ www/chromium/files/patch-extensions_common_api_runtime.json (working copy) >@@ -0,0 +1,11 @@ >+--- extensions/common/api/runtime.json.orig 2017-05-09 19:02:47 UTC >++++ extensions/common/api/runtime.json >+@@ -66,7 +66,7 @@ >+ "id": "PlatformOs", >+ "type": "string", >+ "description": "The operating system chrome is running on.", >+- "enum": ["mac", "win", "android", "cros", "linux", "openbsd"] >++ "enum": ["mac", "win", "android", "cros", "linux", "freebsd", "openbsd"] >+ }, >+ { >+ "id": "PlatformArch", > >Property changes on: www/chromium/files/patch-extensions_common_api_runtime.json >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 212925
: 182769