Closed
Bug 1728953
Opened 3 years ago
Closed 3 years ago
Remove unused flag from nsXULPrototypeCache
Categories
(Core :: JavaScript Engine, task, P3)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
95 Branch
Tracking | Status | |
---|---|---|
firefox95 | --- | fixed |
People
(Reporter: arai, Assigned: arai)
References
Details
Attachments
(1 file)
NS_IMETHODIMP
nsXPConnect::WriteScript(nsIObjectOutputStream* stream, JSContext* cx,
JSScript* scriptArg) {
...
uint8_t flags = 0; // We don't have flags anymore.
nsresult rv = stream->Write8(flags);
if (NS_FAILED(rv)) {
return rv;
}
...
NS_IMETHODIMP
nsXPConnect::ReadScript(nsIObjectInputStream* stream, JSContext* cx,
const JS::ReadOnlyCompileOptions& options,
JSScript** scriptp) {
uint8_t flags;
nsresult rv = stream->Read8(&flags);
if (NS_FAILED(rv)) {
return rv;
}
we can remove the flags byte.
NOTE: the code is going to be moved to dom/xul/nsXULElement.cpp in https://phabricator.services.mozilla.com/D121254
Assignee | ||
Comment 1•3 years ago
|
||
Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/51e004a9b248
Remove unused flag from nsXULPrototypeCache. r=kmag
Comment 3•3 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox95:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•