Skip to content
This repository was archived by the owner on Oct 15, 2020. It is now read-only.

Conversation

@MSLaguana
Copy link
Contributor

The v8 module uses functionality which is not supported by chakracore.
Rather than expose stubs which have unexpected behavior, we now do not
expose anything in the v8 module, so dependant modules can do feature
detection.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

@MSLaguana
Copy link
Contributor Author

Copy link
Contributor

@kfarnung kfarnung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with linter fixes

lib/v8.js Outdated
'use strict';

if (process.jsEngine === 'chakracore') {
return;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like you have four spaces here, this is probably the cause of the linter failure in CI.

@kfarnung
Copy link
Contributor

kfarnung commented Mar 9, 2018

15:11:36 not ok 1 - /usr/home/iojs/build/workspace/node-test-linter/lib/v8.js
15:11:36   ---
15:11:36   message: Expected indentation of 2 spaces but found 4.
15:11:36   severity: error
15:11:36   data:
15:11:36     line: 18
15:11:36     column: 1
15:11:36     ruleId: indent
15:11:36   …

The v8 module uses functionality which is not supported by chakracore.
Rather than expose stubs which have unexpected behavior, we now do not
expose anything in the v8 module, so dependant modules can do feature
detection.

PR-URL: nodejs#491
Reviewed-By: Hitesh Kanwathirtha <hiteshk@microsoft.com>
Reviewed-By: Seth Brenith <sethb@microsoft.com>
Reviewed-By: Kyle Farnung <kfarnung@microsoft.com>
MSLaguana added a commit that referenced this pull request Mar 9, 2018
The v8 module uses functionality which is not supported by chakracore.
Rather than expose stubs which have unexpected behavior, we now do not
expose anything in the v8 module, so dependant modules can do feature
detection.

PR-URL: #491
Reviewed-By: Hitesh Kanwathirtha <hiteshk@microsoft.com>
Reviewed-By: Seth Brenith <sethb@microsoft.com>
Reviewed-By: Kyle Farnung <kfarnung@microsoft.com>
@MSLaguana
Copy link
Contributor Author

Landed in bbcf831

@MSLaguana MSLaguana closed this Mar 9, 2018
kfarnung pushed a commit to kfarnung/node-chakracore that referenced this pull request Mar 9, 2018
The v8 module uses functionality which is not supported by chakracore.
Rather than expose stubs which have unexpected behavior, we now do not
expose anything in the v8 module, so dependant modules can do feature
detection.

PR-URL: nodejs#491
Reviewed-By: Hitesh Kanwathirtha <hiteshk@microsoft.com>
Reviewed-By: Seth Brenith <sethb@microsoft.com>
Reviewed-By: Kyle Farnung <kfarnung@microsoft.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants