Closed Bug 798565 Opened 12 years ago Closed 12 years ago

touch.target may point to native anonymous content

Categories

(Core :: DOM: Events, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: smaug, Assigned: smaug)

Details

Attachments

(2 files)

...and content can't access NAC, it gets an exception. nsDOMTouch::GetTarget could be *aTarget = mTarget; nsCOMPtr<nsIContent> content = do_QueryInterface(mTarget); if (content && content->IsInNativeAnonymousSubtree() && !nsContentUtils::CanAccessNativeAnon()) { *aTarget = content->FindFirstNonNativeAnonymous(); } NS_IF_ADDREF(*aTarget); return NS_OK;
Assignee: nobody → bugs
Attachment #668641 - Flags: review?(wjohnston) → review+
Attachment #668641 - Flags: review?(jst) → review+
Attached patch up-to-dateSplinter Review
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: