Skip to content

Commit

Permalink
fix(Mac WebGL): Allow headless to use GPU
Browse files Browse the repository at this point in the history
  • Loading branch information
elalish committed Apr 21, 2023
1 parent e92a2b4 commit 41cda3c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ ChromeBrowser.$inject = ['baseBrowserDecorator', 'args']
function headlessGetOptions (url, args, parent) {
var mergedArgs = parent.call(this, url, args).concat([
'--headless',
'--disable-gpu',
'--disable-dev-shm-usage'
])

Expand Down
2 changes: 0 additions & 2 deletions test/jsflags.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ describe('headlessGetOptions', function () {
expect(headlessGetOptions.call(context, url, args, parent)).to.be.eql([
'-incognito',
'--headless',
'--disable-gpu',
'--disable-dev-shm-usage',
'--remote-debugging-port=9222'
])
Expand All @@ -82,7 +81,6 @@ describe('headlessGetOptions', function () {
'-incognito',
'--remote-debugging-port=9333',
'--headless',
'--disable-gpu',
'--disable-dev-shm-usage'
])
})
Expand Down

0 comments on commit 41cda3c

Please sign in to comment.