Closed Bug 825285 Opened 12 years ago Closed 11 years ago

Move ArchiveReader to Paris bindings

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla22

People

(Reporter: Ms2ger, Assigned: Ms2ger)

References

(Blocks 1 open bug)

Details

Attachments

(2 files, 2 obsolete files)

      No description provided.
I don't really see the point in passing around a struct with one member, and I'd prefer not having to change the type all over (because this is an XPIDL dictionary, not a WebIDL one).
Attachment #696481 - Flags: review?(bent.mozilla)
Attachment #696481 - Flags: review?(bent.mozilla) → review?(khuey)
Comment on attachment 696482 [details] [diff] [review]
Part b: Move ArchiveReader to Paris bindings, remove XPCOM goop

Sorry, I'm swamped. I'll defer to khuey.
Attachment #696482 - Flags: review?(bent.mozilla) → review?(khuey)
Attachment #696481 - Attachment is obsolete: true
Attachment #696481 - Flags: review?(khuey)
Attachment #714494 - Flags: review?(khuey)
Attachment #696482 - Attachment is obsolete: true
Attachment #696482 - Flags: review?(khuey)
Attachment #714495 - Flags: review?(khuey)
Blocks: 842498
By the way, do we need this interface at all? It is pref'ed off, neither W3C nor WHATWG has a spec about this, and nobody is going to proceed.
Comment on attachment 714495 [details] [diff] [review]
Part b: Move ArchiveReader to Paris bindings, remove XPCOM goop (v2)

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

::: dom/file/ArchiveReader.cpp
@@ +27,1 @@
>  {

MOZ_ASSERT aBlob?  and maybe PrefEnabled() too?

@@ +49,1 @@
>    MOZ_COUNT_CTOR(ArchiveReader);

Remove MOZ_COUNT_CTOR while you're here.  This object is refcounted so this is pointless.

@@ +52,5 @@
>  }
>  
>  ArchiveReader::~ArchiveReader()
>  {
>    MOZ_COUNT_DTOR(ArchiveReader);

Ditto.

::: dom/file/ArchiveReader.h
@@ +32,5 @@
>  /**
>   * This is the ArchiveReader object
>   */
> +class ArchiveReader MOZ_FINAL : public nsISupports
> +                              , public nsWrapperCache

super-nit: , after nsISupports please.
Attachment #714495 - Flags: review?(khuey) → review+
https://hg.mozilla.org/mozilla-central/rev/10fa33c73a0b
https://hg.mozilla.org/mozilla-central/rev/c79295994ef8
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
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: