Closed
Bug 847585
Opened 12 years ago
Closed 12 years ago
Paris binding for UIEvent
Categories
(Core :: DOM: Events, defect)
Tracking
()
RESOLVED
FIXED
mozilla22
People
(Reporter: smaug, Assigned: smaug)
References
Details
Attachments
(2 files, 1 obsolete file)
11.53 KB,
patch
|
peterv
:
review+
|
Details | Diff | Splinter Review |
11.55 KB,
patch
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•12 years ago
|
||
This includes various classes in content/event/src and SVGZoomEvent
Assignee | ||
Comment 2•12 years ago
|
||
Perhaps other bugs for other UI events.
https://tbpl.mozilla.org/?tree=Try&rev=21c05465a3db
Assignee: nobody → bugs
Assignee | ||
Comment 3•12 years ago
|
||
Attachment #721914 -
Attachment is obsolete: true
Attachment #722834 -
Flags: review?(peterv)
Comment 4•12 years ago
|
||
Comment on attachment 722834 [details] [diff] [review]
up-to-date
Review of attachment 722834 [details] [diff] [review]:
-----------------------------------------------------------------
::: content/events/src/nsDOMEvent.h
@@ +95,5 @@
> JSContext* aCx, jsval* aVal);
>
> void InitPresContextData(nsPresContext* aPresContext);
>
> + bool Init(mozilla::dom::EventTarget* aGlobal);
Add a comment that this returns if the event should be trusted.
::: content/events/src/nsDOMUIEvent.h
@@ +93,5 @@
> + mozilla::ErrorResult& aRv);
> +
> + virtual JSObject* WrapObject(JSContext* aCx, JSObject* aScope, bool* aTriedToWrap)
> + {
> + return mozilla::dom::UIEventBinding::Wrap(aCx, aScope, this, aTriedToWrap);
Note: the aTriedToWrap argument was removed in bug 848339.
::: dom/webidl/UIEvent.webidl
@@ +1,4 @@
> +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
> +/* This Source Code Form is subject to the terms of the Mozilla Public
> + * 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/.
Trailing whitespace.
Attachment #722834 -
Flags: review?(peterv) → review+
Assignee | ||
Updated•12 years ago
|
Summary: Paris bindings for UIEvent and events inheriting UIEvent → Paris binding for UIEvent
Assignee | ||
Comment 5•12 years ago
|
||
Assignee | ||
Comment 6•12 years ago
|
||
Comment 7•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
Comment 8•12 years ago
|
||
> > + virtual JSObject* WrapObject(JSContext* aCx, JSObject* aScope, bool* aTriedToWrap)
> > + {
> > + return mozilla::dom::UIEventBinding::Wrap(aCx, aScope, this, aTriedToWrap);
>
> Note: the aTriedToWrap argument was removed in bug 848339.
The compiler would have caught this if MOZ_OVERRIDE was used.
Assignee | ||
Comment 9•12 years ago
|
||
compiler caught it even without MOZ_OVERRIDE
You need to log in
before you can comment on or make changes to this bug.
Description
•