Closed Bug 826703 Opened 11 years ago Closed 11 years ago

Convert CDATA sections and processing instructions to WebIDL

Categories

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

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla21
Tracking Status
firefox19 --- unaffected
firefox20 + fixed
firefox21 --- fixed
firefox-esr17 --- unaffected
b2g18 --- unaffected

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

Details

(Keywords: regression, sec-critical, Whiteboard: [adv-main20-])

Attachments

(4 files, 1 obsolete file)

If we do that, we can nix so hasXPConnectImpls bits.
Whiteboard: [need review]
Attachment #697937 - Flags: review?(peterv)
Attachment #697939 - Flags: review?(peterv)
Comment on attachment 697938 [details] [diff] [review]
part 3.  Rename nsXMLProcessingInstruction to mozilla::dom::ProcessingInstruction.

Review of attachment 697938 [details] [diff] [review]:
-----------------------------------------------------------------

::: content/xml/content/src/nsXMLProcessingInstruction.cpp
@@ +141,1 @@
>                                          bool aDumpAll) const

Indentation

::: content/xml/content/src/nsXMLProcessingInstruction.h
@@ +3,5 @@
>   * License, v. 2.0. If a copy of the MPL was not distributed with this
>   * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
>  
> +#ifndef mozilla_dom_XMLProcessingInstruction_h
> +#define mozilla_dom_XMLProcessingInstruction_h

Drop the XML
Fixed those nits.
Attachment #698197 - Flags: review?(peterv)
Attachment #697939 - Attachment is obsolete: true
Attachment #697939 - Flags: review?(peterv)
Blocks: 827468
Attachment #697936 - Flags: review?(peterv) → review+
Attachment #697937 - Flags: review?(peterv) → review+
Attachment #697938 - Flags: review?(peterv) → review+
Attachment #698197 - Flags: review?(peterv) → review+
Blocks: 824823
Attachment #697936 - Flags: approval-mozilla-aurora?
[Approval Request Comment]
Bug caused by (feature/regressing bug #): Bug 824823
User impact if declined: Probably expoitable, given bug 827468
Testing completed (on m-c, etc.): Green on inbound.
Risk to taking this patch (and alternatives if risky): I think this is low-risk.  The
   alternative is to back out the CharacterData and Text parts of bug 824823, which is
   probably just as much risk.
String or UUID changes made by this patch: None.

Note: Private comment, since nothing else here indicates any sort of security thing....
Attachment #697937 - Flags: approval-mozilla-aurora?
Attachment #697938 - Flags: approval-mozilla-aurora?
Attachment #698197 - Flags: approval-mozilla-aurora?
Aand just closing this up, since bug 827468 just got marked sec-sensitive.
Group: core-security
Comment 9 is private: false
Blocks: 828168
Blocks: 827689
Comment on attachment 697936 [details] [diff] [review]
part 1.  Rename nsXMLCDATASection to mozilla::dom::CDATASection.

Approving on aurora considering it is sec-crit & the back-out of the regression is equally risky.
Attachment #697936 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Attachment #697937 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Attachment #697938 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Attachment #698197 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Depends on: 836809
Depends on: 842561
Whiteboard: [adv-main20-]
Group: core-security
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: