Commit Graph

63 Commits

Author SHA1 Message Date
Andrea Marchesini
fbf508891d Bug 1359017 - onmessageerror for WindowEventHandlers in case StructuredClone algorithm fails when deserializing, r=masayuki, r=smaug 2017-09-13 05:59:06 +02:00
Sebastian Hengst
dd8f6b6002 Backed out changeset 7b45c1aebf7f (bug 1359017) 2017-09-13 08:56:13 +02:00
Andrea Marchesini
840e3cd91a Bug 1359017 - onmessageerror for WindowEventHandlers in case StructuredClone algorithm fails when deserializing, r=masayuki, r=smaug 2017-09-13 05:59:06 +02:00
Sebastian Hengst
78dfc00999 Backed out changeset e28d6869f6a0 (bug 1359017) 2017-09-12 14:16:31 +02:00
Andrea Marchesini
e3b564f46a Bug 1359017 - onmessageerror for WindowEventHandlers in case StructuredClone algorithm fails when deserializing, r=masayuki, r=smaug 2017-09-12 11:57:26 +02:00
Boris Zbarsky
7e30f6bee2 Bug 1370550. Move the onwheel attribute to GlobalEventHandlers, to follow the spec. r=smaug 2017-07-11 17:49:25 -04:00
Mantaroh Yoshinaga
dfde4dc094 Bug 1302648 part 2 - Add onanimationcancel EventHandler to WebIDL. r=baku
The 'animationcancel' spec is as follow:
https://drafts.csswg.org/css-animations-1/#eventdef-animationevent-animationcancel

MozReview-Commit-ID: 27Ju6DcakzS
2017-02-10 12:32:44 +09:00
Xidorn Quan
7f7fd0d414 Bug 1289642 - Remove prefixed PointerLock API. r=smaug
MozReview-Commit-ID: BUSEojZNIgb
2016-12-19 12:40:02 +11:00
Boris Zbarsky
ef1893752c Bug 1333838. Only treat actual boolean return values from OnErrorEventHandlerNonNull as being able to cancel the event. r=smaug 2017-01-26 15:40:09 -05:00
Wes Kocher
43a4ea53f7 Backed out changeset 9fae2a07dd43 (bug 1333838) for wplint failures a=backout
MozReview-Commit-ID: D6FEaIbDpMq
2017-01-26 13:13:38 -08:00
Boris Zbarsky
9560bf03ad Bug 1333838. Only treat actual boolean return values from OnErrorEventHandlerNonNull as being able to cancel the event. r=smaug 2017-01-26 15:40:09 -05:00
Boris Zbarsky
8bce24cdc6 Bug 1330457. Introduce DocumentAndElementEventHandlers to more closely align with the HTML spec. r=bkelly 2017-01-13 10:41:20 -05:00
Tim Nguyen
781fd2ea03 Bug 1322938 - Emit close event when HTMLDialogElement.prototype.close() is called. r=smaug
MozReview-Commit-ID: 7OKlKFb3lok
2016-12-23 16:01:50 +01:00
Mantaroh Yoshinaga
5a4655bfdf Bug 1264125 part 2 - Add ontransitioncancel EventHandler to WebIDL. r=baku
We moved 'transitioncancel' event to the CSS-Transition Level 1.
The definition of 'transitioncancel' is as follow:
https://drafts.csswg.org/css-transitions-1/#transitioncancle

MozReview-Commit-ID: 62s9R7MpXmk
2016-12-20 16:03:29 +09:00
Kevin Wern
f8e064f837 Bug 1304044 - implement auxclick r=smaug
After click events with button 2 or 3 are fired, fire auxclick, a new
event intended to represent a non-primary mouse click. Because this
event, based on the design examples and blink's implementation, is
intended to be used with content listeners, always dispatch on content
listeners--not just those that force all events to be dispatched (i.e.
document/window). This diverges from the behavior of our click events
from non-primary buttons.

Eventually, we hope this will replace click events for non-primary
buttons. For now, leave those events for compatibility reasons.

Additionally, add handling of this new event, where necessary.

MozReview-Commit-ID: 8osozM4h6Ya
2016-11-30 19:48:02 -05:00
Ting-Yu Lin
2cbd3d4835 Bug 1271549 - Remove details and summary preference. r=bz
Bug 1259889 Part 2 [1] cannot be reverted cleanly, so I manually undo those
changes in this patch. That is, remove the ability for html.css to
invalidate dynamically since it was added specifically for details element.

Although reftest-stylo.list explicit mentions "DO NOT EDIT!", but I still
remove details pref from the file, since it doesn't harm to edit it anyway.

[1] https://hg.mozilla.org/mozilla-central/rev/30aaf3805b56

MozReview-Commit-ID: FsyTGQTxujh
2016-11-16 14:02:58 +08:00
Mantaroh Yoshinaga
af29a5170b Bug 1287983 part 1 - Add transitionstart/transitionrun event handlers. r=masayuki,smaug
This transitionstart and transitionrun event is defined in
editor's draft of CSS Transition Level 2.

https://drafts.csswg.org/css-transitions-2/#transition-events

MozReview-Commit-ID: 6c0GqlaOOPZ
2016-10-19 15:16:51 +09:00
Ben Tian
e93649f7b1 Bug 1264769 - Part 1: Dispatch loadend event for image loading. r=hsivonen 2016-08-16 12:01:12 +08:00
Wes Kocher
035bf451ff Backed out 2 changesets (bug 1264769) for invalid-src.html wpt failures a=backout
Backed out changeset 7b9d3d0c09f5 (bug 1264769)
Backed out changeset 780f7036c084 (bug 1264769)
2016-08-15 13:35:46 -07:00
Ben Tian
6e58bfa7cd Bug 1264769 - Part 1: Dispatch loadend event for image loading. r=hsivonen 2016-07-20 11:01:46 +08:00
Mantaroh Yoshinaga
4ff89b4a66 Bug 911987 part 4 - Add onwebkitanimation** and onwebkittransitionend event handlers. r=smaug
Add the onwebkit prefixed event handler attributes of CSS-Animation
and CSS-Transition.

We need to support both content attributes and IDL attributes like
onanimation** attributes.

We should support attribute of lower-case and mixed-case. But currently
Gecko defined as mixed-case only. [1][2]

[1] https://dxr.mozilla.org/mozilla-central/rev/6608e5864780589b25d5421c3d3673ab30c4c318/dom/base/nsContentUtils.cpp#747
[2] https://dxr.mozilla.org/mozilla-central/rev/6608e5864780589b25d5421c3d3673ab30c4c318/dom/events/EventNameList.h#977

So we can't find the related Atom when we set content attributes as lower-case. [3]

[3] https://dxr.mozilla.org/mozilla-central/rev/6608e5864780589b25d5421c3d3673ab30c4c318/dom/base/nsGlobalWindow.h#818

In this patch, I add two Atoms in order to support mixed and lower case.

MozReview-Commit-ID: 8nOfVGQ8h7R
2016-08-05 14:12:38 +09:00
Mantaroh Yoshinaga
f568e4b882 Bug 911987 part 1 - Add onanimation** and ontransitionend event handlers. r=masayuki,smaug
This event handler is defined CSS-Animation and CSS-Transition.
https://drafts.csswg.org/css-animations-1/#event-animationevent
https://github.com/w3c/csswg-drafts/pull/344

MozReview-Commit-ID: ARgsibd7wST
2016-08-05 08:12:14 +09:00
Neil Deakin
cd4afe0ce0 Bug 1284914, add support in html for the ondragexit attribute, r=smaug 2016-08-03 07:45:46 -04:00
Xidorn Quan
a0d5210d47 Bug 991899 part 3 - Disable prefixed PointerLock API by default. r=smaug
Given that Blink has removed prefixed PointerLock API for quite a while
without receiving compatibility issue, I'd suggest we try dropping the
prefixed version directly.

We will either pref the prefixed API on if we see enough compatibility
issue, or remove the whole bunch of prefixed PointerLock API after the
unprefixed API reaches release channel without issues.

MozReview-Commit-ID: ACC69nqSBiH
2016-07-28 17:15:21 +10:00
Sebastian Hengst
319e31ce99 Backed out changeset 6acbad99a3ff (bug 1284914) for not updated expected results. r=backout 2016-07-25 16:59:41 +02:00
Neil Deakin
884e940ff9 Bug 1284914, add support in html for the ondragexit attribute, r=smaug 2016-07-25 09:08:39 -04:00
Xidorn Quan
9a6c771b0a Bug 1270386 - Move unprefixed fullscreen event handlers from GlobalEventHandlers to Document. r=smaug
MozReview-Commit-ID: FfQhDoD5Wf3
2016-05-24 13:21:22 +10:00
Phil Ringnalda
20e9322535 Back out 8 changesets (bug 931445, bug 1274104, bug 1270386) for frequent e10s APZ mochitest failures starting with test_group_mouseevents.html
CLOSED TREE

Backed out changeset 6db35dcc6885 (bug 1274104)
Backed out changeset 0c2fc088a46d (bug 1274104)
Backed out changeset 17786141f3ac (bug 1274104)
Backed out changeset f7c6b58dddc1 (bug 1274104)
Backed out changeset 67407d1829a3 (bug 1270386)
Backed out changeset 82d2c5404d84 (bug 931445)
Backed out changeset 0921152b9f08 (bug 931445)
Backed out changeset f73352ab6f99 (bug 931445)
2016-05-23 18:42:32 -07:00
Xidorn Quan
93a864fd6a Bug 1270386 - Move unprefixed fullscreen event handlers from GlobalEventHandlers to Document. r=smaug
MozReview-Commit-ID: FfQhDoD5Wf3
2016-05-23 09:03:32 +10:00
Xidorn Quan
6fff082aa9 Bug 1268749 part 4 - Hide unprefixed Fullscreen API from content when disabled. r=smaug
MozReview-Commit-ID: KpjNFYYyCWh
2016-05-02 14:26:04 +10:00
Ting-Yu Lin
24385dcb45 Bug 1225412 Part 2 - Add support to dispatch toggle events to details element. r=smaug
Add ontoggle event handler, and dispatch toggle events to the details
element if the open attribute is added or changed. According to the
spec, if a new toggle event has been queued, previous toggle events
should be aborted.

MozReview-Commit-ID: EN6Jf5hVHHD
2016-03-12 19:53:51 +08:00
Xidorn Quan
b3af14b27f Bug 743198 part 6 - Add unprefixed fullscreen events. r=smaug 2016-02-17 08:47:11 +08:00
Boris Zbarsky
11fbbc1cbe Bug 1225188. Implement window.onstorage. r=smaug 2015-11-17 18:09:53 -05:00
Michael Layzell
96aa0b429b Bug 571294 - Part 1: Implement selection events behind the dom.select_events.enabled pref, r=smaug 2015-09-12 17:56:44 -04:00
Andreas Pehrson
4265b64156 Bug 992685 - Part 1. Make onresize event handler global and forwarded. r=smaug 2014-12-04 17:26:00 +01:00
Carsten "Tomcat" Book
2ba5dcadf2 Backed out changeset 142031795f33 (bug 992685) for failing w3 and w4 tests 2015-01-20 11:21:51 +01:00
Andreas Pehrson
e44dca34f1 Bug 992685 - Part 1. Make onresize event handler global and forwarded. r=smaug 2014-12-04 17:26:00 +01:00
Mounir Lamouri
f0dc689be6 Bug 889335 - Implement navigator.languages and languagechange event. r=sicking,smaug 2014-05-12 13:48:15 +02:00
Maksim Lebedev
5a1f19ec5f Bug 968148 - Implement PointerCapture for pointer events. r=smaug 2014-04-04 10:09:10 -07:00
Tom Schuster
4f36f4aa76 Bug 355430 - Add the thrown error object to the dom error event. r=bz 2014-01-03 01:04:15 +00:00
Oleg Romashin
4033cee7ab Bug 977695 - Update bubbles/cancelable attribute for pointer events. r=smaug 2014-02-27 16:13:05 -08:00
Boris Zbarsky
d57a0a8d8a Bug 952365. Add a TreatNonObjectAsNull annotation for WebIDL callback functions and use it for event handlers, since web sites depend on assigning non-callable objects to them in some cases. r=peterv 2014-01-13 15:08:56 -05:00
Oleg Romashin
ef5079867e Bug 822898 - Implement pointer events. Interface. r=smaug 2013-11-20 21:44:22 -08:00
Oleg Romashin
c278eab2f6 Backed out 3 changesets (bug 822898) for mochitest bustage on B2G ICS emulator 2013-11-20 16:08:36 -08:00
Oleg Romashin
8111f3270e Bug 822898 - Implement pointer events. Interface. r=smaug 2013-11-20 13:05:39 -08:00
Peter Van der Beken
e46609f302 Bug 918345 - Turn on WebIDL binding generation for Window and hook it up to quickstubs. r=bz. 2013-10-08 17:51:42 +02:00
Ms2ger
69b50c2dad Backout changeset 2e466ccc7bd0 for devtools test failures. 2013-10-26 17:02:20 +02:00
Peter Van der Beken
d659070fdf Bug 918345 - Turn on WebIDL binding generation for Window and hook it up to quickstubs. r=bz. 2013-10-08 17:51:42 +02:00
Peter Van der Beken
eafa9f5458 Bug 922160 - Bring EventHandler.webidl more in line with the spec, remove NodeEventHandlers. r=bz. 2013-10-08 17:51:15 +02:00
Peter Van der Beken
32b4689341 Bug 922160 - Bring EventHandler.webidl more in line with the spec, rename BeforeUnloadEventHandler to OnBeforeUnloadEventHandler. r=bz. 2013-10-08 17:51:15 +02:00