You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
BrowserWindow 'title-bar-style': 'hidden-inset' option causes crash on OS X 10.9 #2790
changed the title [-]BrowserWindow `title-bar-style': 'hidden-inset'` option causes crash on OS X 10.9[/-][+]BrowserWindow 'title-bar-style': 'hidden-inset' option causes crash on OS X 10.9[/+]on Sep 15, 2015
This is strange. I now reviewed and tested the Chromium implementation of IsOSYosemiteOrLater and it looks correct. It should guard against that method running. @sindresorhus and @ssreekanth what does uname -r (from command line) return on your Mavericks system?
Can you create a new issue for this? I'm wondering if it is caused by me setting MACOSX_DEPLOYMENT_TARGET to 10.10.
I’m now looking at vendor/brightray/vendor/download/libchromiumcontent/src/base/mac_util.h which says…
// When the deployment target is set, the code produced cannot run on earlier
// OS releases. That enables some of the IsOS* family to be implemented as
// constant-value inline functions. The MAC_OS_X_VERSION_MIN_REQUIRED macro
// contains the value of the deployment target.
I’m not sure how to set a deployment target for building this project to test this theory, but it appears that if this inlined function were to be used, it would produce incorrect results when code built on Yosemite is run on pre-Yosemite.
Activity
[-]BrowserWindow `title-bar-style': 'hidden-inset'` option causes crash on OS X 10.9[/-][+]BrowserWindow 'title-bar-style': 'hidden-inset' option causes crash on OS X 10.9[/+]ssreekanth commentedon Sep 15, 2015
I see the issue on OS X 10.10.5 too.
jaanus commentedon Sep 15, 2015
This is strange. I now reviewed and tested the Chromium implementation of
IsOSYosemiteOrLaterand it looks correct. It should guard against that method running. @sindresorhus and @ssreekanth what doesuname -r(from command line) return on your Mavericks system?ssreekanth commentedon Sep 15, 2015
I'm on Yosemite..
jaanus commentedon Sep 16, 2015
@ssreekanth so what exactly do you see on your 10.10.5 Yosemite machine? These APIs should be available there.
jaanus commentedon Sep 16, 2015
About the comment made by @zcbenz …
I’m now looking at
vendor/brightray/vendor/download/libchromiumcontent/src/base/mac_util.hwhich says…And the inlined function is…
I’m not sure how to set a deployment target for building this project to test this theory, but it appears that if this inlined function were to be used, it would produce incorrect results when code built on Yosemite is run on pre-Yosemite.
vadimdemedes commentedon Sep 16, 2015
@jaanus Running
uname -ron Mavericks returns:13.4.0.sindresorhus commentedon Sep 16, 2015
@jaanus I just published my app if you need a testcase.
Update brightray for #2790
Set MACOSX_DEPLOYMENT_TARGET to 10.8