| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Codecov ReportAttention: Patch coverage is 26.82927% with 90 lines in your changes missing coverage. Please review.
@@ Coverage Diff @@
## main #57372 +/- ##
==========================================
- Coverage 90.22% 90.10% -0.12%
==========================================
Files 630 630
Lines 185259 185332 +73
Branches 36245 36247 +2
==========================================
- Hits 167143 166998 -145
- Misses 11063 11285 +222
+ Partials 7053 7049 -4
... and 46 files with indirect coverage changes 🚀 New features to boost your workflow:
|
Sorry, something went wrong.
Sorry, something went wrong.
There was a problem hiding this comment.
Private symbols are per-isolate data and initialized before an Environment is created (in IsolateData). It does not depend on an Environment. Yet, it needs a bit of refactor on the NewContext and GetPerContextExports so that InitializePrimordials can access the private symbols.
Sorry, something went wrong.
IIUC, we need to pass isolate_data into these so that we can get private symbols and other symbols without env |
Sorry, something went wrong.
There was a problem hiding this comment.
Maybe use class property syntax to set this using [[Define]] semantics?
class DOMException {
[is_dom_exception] = true;
constructor(message = '', options = 'Error') {
...
}
}
Sorry, something went wrong.
|
Opened #57479 to help tackle this. That one, as the first step, works fine, but I need a bit of time working on this, as with current manual (de)serialize approach there is a stackTrace problem when posting DOMException to worker. I will try
|
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Added serialization and deserialization support for DOMException. Ideally we shouldn't do this in native, but since it's compiled before an Environment exists, we cannot mark it as kCloneable and provide associated serialization methods in JS land.
Fixes: #49181