Closed
Bug 335291
Opened 19 years ago
Closed 19 years ago
Make trunk spellchecker popup events safer
Categories
(Core :: DOM: Core & HTML, defect, P2)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla1.9alpha1
People
(Reporter: brettw, Assigned: brettw)
References
Details
(Whiteboard: has patch)
Attachments
(1 file, 1 obsolete file)
14.35 KB,
patch
|
bzbarsky
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
The branch spellchecker on bug 329668 will have enhanced security checks and some attributes moved around. These changes should be ported back to the trunk.
![]() |
||
Updated•19 years ago
|
Flags: blocking1.9a1?
![]() |
||
Updated•19 years ago
|
Assignee: brettw → general
Component: General → DOM
Product: Firefox → Core
QA Contact: general → ian
![]() |
||
Updated•19 years ago
|
Assignee: general → brettw
Assignee | ||
Updated•19 years ago
|
OS: Linux → All
Priority: -- → P1
Hardware: PC → All
Target Milestone: --- → mozilla1.9alpha
Assignee | ||
Updated•19 years ago
|
Priority: P1 → P2
Assignee | ||
Comment 2•19 years ago
|
||
Attachment #223049 -
Flags: review?(bzbarsky)
Assignee | ||
Updated•19 years ago
|
Whiteboard: has patch
Assignee | ||
Comment 3•19 years ago
|
||
The patch basically copies GetRangeParent/Offset from the branch, and makes the accessors from JS the same as the branch patch.
Comment 4•19 years ago
|
||
Comment on attachment 223049 [details] [diff] [review]
Patch
You should change the uuid of nsIDOMXULDocument, right?
Assignee | ||
Comment 5•19 years ago
|
||
Thanks, this patch changes the UUID as well.
Attachment #223049 -
Attachment is obsolete: true
Attachment #223087 -
Flags: review?(bzbarsky)
Attachment #223049 -
Flags: review?(bzbarsky)
![]() |
||
Comment 6•19 years ago
|
||
Comment on attachment 223087 [details] [diff] [review]
Patch with UUID
>Index: dom/public/idl/xul/nsIDOMXULDocument.idl
>+ * Like trustedGetPopupNode, but gets the
>+ */
The which?
>Index: content/xul/document/src/nsXULDocument.cpp
>+nsXULDocument::GetPopupRangeParent(nsIDOMNode** aRangeParent)
>+ if (NS_SUCCEEDED(rv) && *aRangeParent &&
>+ !nsContentUtils::CanCallerAccess(*aRangeParent)) {
Fix the indent here?
>+nsXULDocument::GetPopupRangeOffset(PRInt32* aRangeOffset)
>+ if (parent && !nsContentUtils::CanCallerAccess(parent))
>+ return NS_ERROR_DOM_SECURITY_ERR;
Brace the if body please?
r=bzbarsky with those nits fixed.
Attachment #223087 -
Flags: superreview+
Attachment #223087 -
Flags: review?(bzbarsky)
Attachment #223087 -
Flags: review+
Comment 7•19 years ago
|
||
Brett: are you going to check this in soon? If not, can you revert the bits of this that landed and caused bug 340320?
Assignee | ||
Updated•19 years ago
|
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•