Closed Bug 862991 Opened 11 years ago Closed 11 years ago

If dictionary member needs cx, so should dictionary itself

Categories

(Core :: DOM: Core & HTML, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla23

People

(Reporter: smaug, Assigned: smaug)

Details

Attachments

(2 files)

Attached patch patchSplinter Review
      No description provided.
Attachment #738665 - Flags: review?(bzbarsky)
Comment on attachment 738665 [details] [diff] [review]
patch

Please fix the indentation on the last line of dictionaryNeedsCx, and r=me.
Attachment #738665 - Flags: review?(bzbarsky) → review+
Attached patch 4 spacesSplinter Review
Comment on attachment 738712 [details] [diff] [review]
4 spaces

Actually, I think it should look more like this:

+    return (any(typeNeedsCx(m.type, descriptorProvider) for m in dictionary.members) or
+            (dictionary.parent and dictionaryNeedsCx(dictionary.parent, descriptorProvider)))
Except without the random line-break bugzilla added.  ;)
https://hg.mozilla.org/mozilla-central/rev/da960202617a
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: