Closed Bug 875784 Opened 11 years ago Closed 11 years ago

Move MozTimeManager to WebIDL

Categories

(Core :: DOM: Device Interfaces, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla24

People

(Reporter: Ms2ger, Assigned: Ms2ger)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached patch Patch v1 (deleted) — Splinter Review
I'm not sure how Navigator::Invalidate() works exactly, do I dunno if the MozTimeManager -> MozTimeManager wrapper -> Window wrapper -> Window -> Navigator -> MozTimeManager is broken correctly.
Attachment #753797 - Flags: review?(bugs)
Comment on attachment 753797 [details] [diff] [review]
Patch v1

update uuid of nsIDOMMozNavigatorTime
Attachment #753797 - Flags: review?(bugs) → review+
test_time.html now fails because it relies on having an XPIDL interface. See <https://tbpl.mozilla.org/php/getParsedLog.php?id=23651757&tree=Try>. Can you deal with that?
Flags: needinfo?(dchan+bugzilla)
Flags: needinfo?(amarchesini)
Depends on: 878814
(In reply to :Ms2ger from comment #2)
> test_time.html now fails because it relies on having an XPIDL interface. See
> <https://tbpl.mozilla.org/php/getParsedLog.php?id=23651757&tree=Try>. Can
> you deal with that?

I'll apply your patch and work on a fix for the permissions tests. I think I need to perform a QI to get the correct type and check that.
Flags: needinfo?(dchan+bugzilla)
I tested the patch in bug 878814 with your changes and it works. test_time.html will need a slight change from
 23     idl: "nsIDOMMozTimeManager",
to
 23     webidl: "MozTimeManager",
Flags: needinfo?(amarchesini)
Thanks!
https://hg.mozilla.org/mozilla-central/rev/4eba1004b5eb
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: