Closed
Bug 1260417
Opened 10 years ago
Closed 10 years ago
Some callback improvements
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla48
| Tracking | Status | |
|---|---|---|
| firefox48 | --- | fixed |
People
(Reporter: Ms2ger, Assigned: Ms2ger)
Details
Attachments
(3 files, 1 obsolete file)
|
1.29 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
|
5.44 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
|
2.92 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
No description provided.
| Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8735841 -
Flags: review?(bzbarsky)
| Assignee | ||
Comment 2•10 years ago
|
||
Attachment #8735842 -
Flags: review?(bzbarsky)
Comment 3•10 years ago
|
||
Comment on attachment 8735841 [details] [diff] [review]
Part a: Add a comment about the compartment of CallbackObject::mCallback
I think this should say "call a callback f(), or get its members, directly itself, this code won't call f(), or get its members, on the code's behalf".
r=me with that.
Attachment #8735841 -
Flags: review?(bzbarsky) → review+
Comment 4•10 years ago
|
||
Comment on attachment 8735842 [details] [diff] [review]
Part b: Depend on AutoEntryScript to find an appropriate JSContext CallSetup
>- // Make sure that if this is a window it has an active document, since
Might be worth saying something about how we don't want to run script in windows that have been navigated away from?
r=me
Attachment #8735842 -
Flags: review?(bzbarsky) → review+
| Assignee | ||
Comment 5•10 years ago
|
||
Attachment #8735863 -
Flags: review?(bzbarsky)
| Assignee | ||
Updated•10 years ago
|
Attachment #8735842 -
Attachment is obsolete: true
Comment 6•10 years ago
|
||
Comment on attachment 8735863 [details] [diff] [review]
Part b: Depend on AutoEntryScript to find an appropriate JSContext CallSetup
r=me
Attachment #8735863 -
Flags: review?(bzbarsky) → review+
| Assignee | ||
Comment 7•10 years ago
|
||
Rooted used to only work when the JSContext was in a request. This has long
been rectified, so the comments referring to that constraint are confusing at
best.
Attachment #8735874 -
Flags: review?(bzbarsky)
Comment 8•10 years ago
|
||
Comment on attachment 8735874 [details] [diff] [review]
Part c: Stop mentioning requests around CallSetup::mRootedCallable
r=me
Attachment #8735874 -
Flags: review?(bzbarsky) → review+
Comment 10•10 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/0282db6a832c
https://hg.mozilla.org/mozilla-central/rev/6ec261488c75
https://hg.mozilla.org/mozilla-central/rev/5d533891bb51
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox48:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•