Closed Bug 1446599 Opened 6 years ago Closed 6 years ago

Get rid of nsIDOMProcessingInstruction

Categories

(Core :: DOM: Core & HTML, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

Details

Attachments

(4 files)

      No description provided.
MozReview-Commit-ID: loUmk0rNYV
Attachment #8959768 - Flags: review?(nika)
MozReview-Commit-ID: 51QLffCZeW1
Attachment #8959769 - Flags: review?(nika)
MozReview-Commit-ID: 2v2aA37nYfH
Attachment #8959770 - Flags: review?(nika)
MozReview-Commit-ID: EZVcDlMO3ev
Attachment #8959771 - Flags: review?(nika)
Priority: -- → P2
Attachment #8959768 - Flags: review?(nika) → review+
Comment on attachment 8959769 [details] [diff] [review]
part 2.  Stop using nsIDOMProcessingInstruction in webbrowserpersist

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

::: dom/webbrowserpersist/WebBrowserPersistLocalDocument.cpp
@@ +884,2 @@
>      // Fixup xml-stylesheet processing instructions
> +    if (auto nodeAsPI =

I'm mildly suspicious that this will throw off the no-autoable static analysis (can't remember the exact conditions), but perhaps not.

It might be nice to write the type down, even though it'll be pretty verbose.
Attachment #8959769 - Flags: review?(nika) → review+
Attachment #8959770 - Flags: review?(nika) → review+
Attachment #8959771 - Flags: review?(nika) → review+
> I'm mildly suspicious that this will throw off the no-autoable static analysis

It's green on try.
Pushed by bzbarsky@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/deb82c55b928
part 1.  Stop using nsIDOMProcessingInstruction in serializers.  r=mystor
https://hg.mozilla.org/integration/mozilla-inbound/rev/2baafa65d3bb
part 2.  Stop using nsIDOMProcessingInstruction in webbrowserpersist.  r=mystor
https://hg.mozilla.org/integration/mozilla-inbound/rev/b6b58233ebb3
part 3.  Stop using nsIDOMProcessingInstruction in the XML content sink.  r=mystor
https://hg.mozilla.org/integration/mozilla-inbound/rev/910c72f13436
part 4.  Remove nsIDOMProcessingInstruction.  r=mystor
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: