Closed
Bug 714079
Opened 13 years ago
Closed 8 years ago
Remove defineGeneric
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: evilpie, Unassigned)
References
Details
Attachments
(1 file, 3 obsolete files)
56.29 KB,
patch
|
Details | Diff | Splinter Review |
No description provided.
Reporter | ||
Updated•13 years ago
|
Reporter | ||
Comment 1•13 years ago
|
||
Reporter | ||
Comment 2•13 years ago
|
||
real patch this time
Attachment #584837 -
Attachment is obsolete: true
Reporter | ||
Comment 3•13 years ago
|
||
There are some things, in the patch that are very dirty, but until we have some kind of sane API that we can call in all the weird cases, this is probably the most sane solution. Try results should be posted here. \o/
Attachment #584838 -
Attachment is obsolete: true
Attachment #584877 -
Flags: review?(jwalden+bmo)
Comment 4•13 years ago
|
||
Try run for 54930bf1e0d3 is complete. Detailed breakdown of the results available here: https://tbpl.mozilla.org/?tree=Try&rev=54930bf1e0d3 Results (out of 271 total builds): success: 235 warnings: 34 failure: 2 Builds (or logs if builds failed) available at: http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/evilpies@gmail.com-54930bf1e0d3
Reporter | ||
Comment 5•13 years ago
|
||
So I was able to make two mistakes in one line of code.
>if (JS_DefinePropertyById(cx, obj, shape->propid(), v, getter, setter, attrs))
Yep.
Attachment #584877 -
Attachment is obsolete: true
Attachment #584877 -
Flags: review?(jwalden+bmo)
Attachment #585029 -
Flags: review?(jwalden+bmo)
Comment 6•13 years ago
|
||
Comment on attachment 585029 [details] [diff] [review] v2 >diff --git a/js/src/jsclass.h b/js/src/jsclass.h >--- a/js/src/jsclass.h >+++ b/js/src/jsclass.h >@@ -1,8 +1,9 @@ >+/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- > /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- Ahem.
Comment 7•13 years ago
|
||
Comment on attachment 585029 [details] [diff] [review] v2 Review of attachment 585029 [details] [diff] [review]: ----------------------------------------------------------------- I think this wants to go the defineByValue direction, along the lines that deleteByValue just went. Note that not all jsids are Values, so use IdToValue(id) passed to defineByValue carefully (see the last comment in bug 713965). You should make sure the browser builds with this patch; I think you need to remove some NULLs from JSCLASS_NO_OPTIONAL_MEMBERS (?, memory hazy on the name -- it's in jsclass.h, easy enough to find).
Attachment #585029 -
Flags: review?(jwalden+bmo)
Reporter | ||
Comment 8•11 years ago
|
||
I am not going to work on this in the near future.
Status: ASSIGNED → NEW
Reporter | ||
Updated•11 years ago
|
Assignee: evilpies → general
Assignee | ||
Updated•10 years ago
|
Assignee: general → nobody
Comment 9•8 years ago
|
||
All gone in https://hg.mozilla.org/mozilla-central/rev/f1ac9100750e, resolving as WFM.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•