Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update near-membrane-dom to use ShadowRealm #243

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

rwaldron
Copy link
Contributor

@rwaldron rwaldron commented Jan 10, 2022

This "sort of" works. You have to get the build info from @leobalter, make sure you're running the build correctly (which isn't obvious) and then run the karma tests using the default Chrome run. Grab the url from your console and paste into the nightly webkit build and it will run (there are no dev tools). Currently the tests fail with:

See #243 (comment)

@rwaldron rwaldron force-pushed the rwaldron/shadow-realm branch from c3b74c3 to 72cb157 Compare January 10, 2022 22:06
@jdalton

This comment was marked as outdated.

@caridy

This comment was marked as outdated.

@rwaldron rwaldron force-pushed the rwaldron/shadow-realm branch from 72cb157 to 1632390 Compare February 23, 2022 16:25
@rwaldron rwaldron marked this pull request as ready for review February 23, 2022 16:26
@leobalter

This comment was marked as outdated.

@rwaldron rwaldron force-pushed the rwaldron/shadow-realm branch 12 times, most recently from b779833 to ba26311 Compare March 16, 2022 14:24
@rwaldron rwaldron force-pushed the rwaldron/shadow-realm branch from ba26311 to 4de4482 Compare March 21, 2022 17:37
@leobalter
Copy link
Contributor

Safari Technology Preview 142 was released today with Shadow Realms enabled by default! No need for any custom builds anymore! https://developer.apple.com/safari/resources/

@leobalter

This comment was marked as resolved.

@rwaldron rwaldron force-pushed the rwaldron/shadow-realm branch from 4de4482 to 84fd7f8 Compare March 24, 2022 14:27
@rwaldron

This comment was marked as outdated.

@jdalton

This comment was marked as resolved.

@rwaldron rwaldron force-pushed the rwaldron/shadow-realm branch 2 times, most recently from cce74a6 to cd5bd5d Compare March 24, 2022 17:39
@rwaldron rwaldron force-pushed the rwaldron/shadow-realm branch 2 times, most recently from 1560704 to efc13dc Compare May 23, 2022 16:21
@rwaldron rwaldron force-pushed the rwaldron/shadow-realm branch from a779456 to 8015e03 Compare June 2, 2022 14:25
@rwaldron rwaldron force-pushed the rwaldron/shadow-realm branch 2 times, most recently from 9e9bd91 to 20e42a9 Compare August 1, 2022 15:36
@salesforce salesforce deleted a comment from garychangsf Sep 1, 2022
@salesforce salesforce deleted a comment from caridy Sep 1, 2022
@rwaldron rwaldron force-pushed the rwaldron/shadow-realm branch from 20e42a9 to fe2e858 Compare January 12, 2023 19:12
@rwaldron
Copy link
Contributor Author

Rebased!

@rwaldron rwaldron force-pushed the rwaldron/shadow-realm branch 5 times, most recently from aded7b4 to 03fb83c Compare January 25, 2023 19:11
@@ -296,6 +296,7 @@ export class VirtualEnvironment {
for (let i = 0, { length } = keys; i < length; i += 1) {
const key = keys[i];
bluePointer = this.blueCallableGetPropertyValuePointer(bluePointer, key);
// This is where the failure occurs.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

and what exactly is the error? this has been around forever I think

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Expected function not to throw, but it threw TypeError: return value not primitive or callable.

@rwaldron rwaldron force-pushed the rwaldron/shadow-realm branch from 03fb83c to 8a4eb37 Compare February 6, 2023 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants