-
Notifications
You must be signed in to change notification settings - Fork 28
[DRAFT] Notification: Add toString method #1879
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
base: main
Are you sure you want to change the base?
Conversation
❌ Deploy Preview for content-scope-scripts failed.
|
Temporary Branch UpdateThe temporary branch has been updated with the latest changes. Below are the details:
Please use the above install command to update to the latest version. |
[Beta] Generated file diffTime updated: Thu, 07 Aug 2025 14:33:28 GMT Android
File has changed Apple
File has changed Chrome-mv3
File has changed Firefox
File has changed Integration
File has changed Windows
File has changed |
injected/src/content-feature.js
Outdated
}, | ||
}); | ||
descriptor[k] = wrapToString(wrapper, descriptorProp); | ||
} | ||
}); | ||
|
||
return defineProperty(object, propertyName, descriptor); | ||
return defineProperty(object, String(propertyName), /** @type {any} */ (descriptor)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could add it here instead.
return defineProperty(object, String(propertyName), /** @type {any} */ (descriptor)); | |
const def = defineProperty(object, propertyName, descriptor); | |
defineProperty(object[propertyName], "toString", somethingThatLookslikeWrapToString); | |
return def; |
cac8f10
to
7f7bf30
Compare
Asana Task/Github Issue: https://app.asana.com/1/137249556945/project/1201870266890790/task/1210988190527661?focus=true
Description
WIP - testing notification api
Testing Steps
Checklist
Please tick all that apply: