Closed
Bug 917454
Opened 11 years ago
Closed 11 years ago
[typed objs] Add objectType function
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla28
People
(Reporter: nmatsakis, Assigned: nmatsakis)
References
Details
(Whiteboard: [qa-])
Attachments
(1 file, 1 obsolete file)
10.40 KB,
patch
|
nmatsakis
:
review+
|
Details | Diff | Splinter Review |
Assignee | ||
Updated•11 years ago
|
Depends on: harmony:typedobjects
Assignee | ||
Updated•11 years ago
|
Blocks: harmony:typedobjects
No longer depends on: harmony:typedobjects
Assignee | ||
Comment 1•11 years ago
|
||
Assignee: general → nmatsakis
Attachment #824949 -
Flags: review?(till)
Comment 2•11 years ago
|
||
Comment on attachment 824949 [details] [diff] [review] Bug917454.diff Review of attachment 824949 [details] [diff] [review]: ----------------------------------------------------------------- Nice! r=me with nits addressed. And then there's the obligatory reminder to add a license header to the test file. :) ::: js/src/builtin/TypedObject.cpp @@ +41,5 @@ > JS_ConvertStub > }; > > +static const JSFunctionSpec TypedObjectMethods[] = { > + {"objectType", {nullptr, nullptr}, 1, 0, "TypeOfTypedDatum"}, Please use the JS_SELF_HOSTED_FN macro here. @@ +1336,5 @@ > +GlobalObject::initTypedObject(JSContext *cx, Handle<GlobalObject*> global) > +{ > + RootedObject TypedObject(cx); > + TypedObject = NewObjectWithGivenProto(cx, &TypedObjectClass, global->getOrCreateObjectPrototype(cx), > + global, SingletonObject); Nit: indentation is off
Attachment #824949 -
Flags: review?(till) → review+
Assignee | ||
Comment 3•11 years ago
|
||
Try run: https://tbpl.mozilla.org/?tree=Try&rev=1bf9e812b23e appears to be clean, though numerous infrastructure failures make it a bit hard to be sure.
Assignee | ||
Comment 4•11 years ago
|
||
Carrying over r+ from till
Attachment #824949 -
Attachment is obsolete: true
Attachment #8335491 -
Flags: review+
Assignee | ||
Comment 5•11 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=1bf9e812b23e
Assignee | ||
Comment 6•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/dcda572f9956
Comment 7•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/dcda572f9956
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
Updated•10 years ago
|
Whiteboard: [qa-]
Updated•10 years ago
|
Keywords: dev-doc-needed
Whiteboard: [qa-] → [qa-][DocArea=JS]
Updated•8 years ago
|
Keywords: dev-doc-needed
Whiteboard: [qa-][DocArea=JS] → [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•