Commit Graph

2211 Commits

Author SHA1 Message Date
Masayuki Nakano
fa85dc8ad8 Bug 1337718 part.9 Make IMEStateManager::OnClickInEditor() take const WidgetMouseEvent* instead of nsIDOMMouseEvent* r=m_kato
MozReview-Commit-ID: KdoMcxW8lkT

--HG--
extra : rebase_source : a03316e3a6ca7daf937032f32e00f2a4b2fd23fc
2017-02-08 22:29:14 +09:00
Masayuki Nakano
cee96a2b9a Bug 1337718 part.7 Make IMEStateManager::OnMouseButtonEventInEditor() take WidgetMouseEvent* instead of nsIDOMMouseEvent r=m_kato
MozReview-Commit-ID: FDselwSymZq

--HG--
extra : rebase_source : 211e4f91075d0a93bf10fd82273856010957b3ee
2017-02-08 22:02:49 +09:00
Phil Ringnalda
f4d138720a Merge m-c to autoland 2017-02-02 22:11:54 -08:00
Phil Ringnalda
b1aadb3572 Backed out 5 changesets (bug 1285898) for causing the crashes of bug 1336242
Backed out changeset 15b3b9feb54f (bug 1285898)
Backed out changeset 1d0bfb02d6c0 (bug 1285898)
Backed out changeset bc99844772ee (bug 1285898)
Backed out changeset 8bbe285cf5c0 (bug 1285898)
Backed out changeset e56108122b90 (bug 1285898)
2017-02-02 22:02:24 -08:00
Wes Kocher
2dcccc4332 Merge inbound to central, a=merge
MozReview-Commit-ID: 9bhCPrArK3P
2017-02-02 16:39:24 -08:00
Boris Zbarsky
9516d2d41d Bug 1334957 part 3. Remove the use of IsCallerChrome() in NotifyPaintEvent. r=smaug 2017-02-01 18:26:31 -05:00
Boris Zbarsky
48f43b7f91 Bug 1334957 part 2. Remove all the accessors from the XPCOM interface for NotifyPaintEvent. r=smaug 2017-02-02 12:48:48 -05:00
Wes Kocher
ad037c851d Merge m-c to autoland, a=merge
MozReview-Commit-ID: 8vGne2PAweU
2017-02-02 16:45:43 -08:00
Stone Shih
c1cc98fed4 Bug 1304308: Investigate failure of test_pointerevent_setpointercapture_inactive_button_mouse-manual.html. r=masayuki
This test case should be triggered by pointerover and pointerout. Add new test API to fire mouse event at the specified position and refine the synthesized events fired to the test case to trigger it correctly.

MozReview-Commit-ID: DkLYrD6MwYc

--HG--
extra : rebase_source : f0ae002edcb6f39d301e83fea9bf1e74dc21c62a
2017-01-24 13:03:21 +08:00
Wes Kocher
8d4bb91470 Merge m-c to inbound, a=merge
MozReview-Commit-ID: Am6M5iHxmAr
2017-02-01 16:31:23 -08:00
Wes Kocher
f2cb5e7c63 Merge inbound to m-c a=merge
MozReview-Commit-ID: EZrwvZH5DsY
2017-02-01 16:22:11 -08:00
Andrea Marchesini
1e58b980f5 Bug 1285898 - [e10s-multi] Localstorage "storage" event is not fired with multiple content processes. r=asuth
--HG--
extra : rebase_source : 9968fd96960aecd516bfcc5c239b9de85280ab8a
extra : source : 6681b50c1f6d0d2d22d5f631234402e020c0b78a
2017-01-17 15:43:12 -05:00
Masayuki Nakano
7ab96b2cef Bug 1314053 part.2 Change EditorBase::IsAcceptableInputEvent()'s argument from nsIDOMEvent* to WidgetGUIEvent* r=smaug
MozReview-Commit-ID: Jo6EwQubUAM

--HG--
extra : rebase_source : 098b23946f349bbe7641a2059538ffb20ae4f5bb
2017-01-17 17:17:06 +09:00
Andrea Marchesini
e14c51cdfd Bug 1288768 - Better error reporting for network errors in workers, r=bz 2017-01-28 15:39:24 +01:00
Phil Ringnalda
85843f4cff Backed out 4 changesets (bug 1285898) for browser_localStorage_e10s.js failure
Backed out changeset 9c6057cde326 (bug 1285898)
Backed out changeset bd68ebab64fa (bug 1285898)
Backed out changeset 6fdb24e1256d (bug 1285898)
Backed out changeset 6681b50c1f6d (bug 1285898)
2017-01-30 21:49:42 -08:00
Andrea Marchesini
db2311e1e0 Bug 1285898 - [e10s-multi] Localstorage "storage" event is not fired with multiple content processes. r=asuth 2017-01-30 22:47:06 -05:00
Carsten "Tomcat" Book
29cd257175 merge mozilla-inbound to mozilla-central a=merge 2017-01-30 15:59:14 +01:00
Masayuki Nakano
c6705b1fde Bug 1333927 Make ScrollAreaEvent::mClientArea cycle collected r=smaug
ScrollAreaEvent extends a cycle collected class UIEvent.  It also contains a cycle collected DOMRect member field.

MozReview-Commit-ID: D1xsod4es0r

--HG--
extra : rebase_source : 1da827caecec7748ba8d89743b3bab59ba0faa73
2017-01-27 15:57:38 +09:00
Florian Quèze
bdc1ffa608 Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws. 2017-01-30 08:10:22 +01:00
Florian Quèze
b11907c7aa Bug 1334156 - script-generated patch to replace .ownerDocument.defaultView with .ownerGlobal, r=jaws. 2017-01-27 10:51:03 +01:00
Florian Quèze
be4dbae285 Bug 1334199 - script-generated patch to omit getComputedStyle's second argument when it's falsy, r=jaws. 2017-01-27 10:51:02 +01:00
Florian Quèze
f187782ccf Bug 1334250 - script-generated patch to avoid removeEventListener calls when a variable is used for the event name, r=jaws. 2017-01-27 10:48:00 +01:00
Wes Kocher
65216b775b Merge m-c to inbound, a=merge
MozReview-Commit-ID: 5CIctUOTFma
2017-01-26 16:32:26 -08:00
Wes Kocher
8fa84ca644 Merge inbound to central, a=merge
MozReview-Commit-ID: BZgxmhS6OtM
2017-01-26 16:19:05 -08:00
Olli Pettay
121666c25e Bug 1333901, fix hazard issue, r=me
--HG--
extra : rebase_source : 204c37d51ab7534211364ddda8162da678b5734e
2017-01-26 16:09:24 +02:00
Olli Pettay
68d3ebc645 Bug 1333901 - support document.createEvent(ErrorEvent), r=masayuki
--HG--
extra : rebase_source : c0cb764a8d7d99fb681cafb7c99bb334627299c8
2017-01-26 12:00:16 +02:00
Boris Zbarsky
d07b805990 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
200a7e4e9a Backed out changeset 9fae2a07dd43 (bug 1333838) for wplint failures a=backout
MozReview-Commit-ID: D6FEaIbDpMq

--HG--
extra : rebase_source : c33688ef80e6d00aed81498ff7899c578398d70b
2017-01-26 13:13:38 -08:00
Boris Zbarsky
bc88abc700 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
Carsten "Tomcat" Book
e8b6225b69 Backed out changeset fe6d35a774ed (bug 1333901) for causing hazard warnings after landing 2017-01-26 14:40:42 +01:00
Olli Pettay
c479f3ffbf Bug 1333901 - support document.createEvent(ErrorEvent), r=masayuki 2017-01-26 12:00:16 +02:00
Timothy Nikkel
a721701822 Bug 1264798. Include the composite end time in the MozAfterPaint event. r=smaug r=mattwoodrow 2017-01-25 23:01:33 -06:00
Carsten "Tomcat" Book
58b6101373 Merge mozilla-central to autoland 2017-01-26 12:37:41 +01:00
Stone Shih
c46ac6128d Bug 1332527 - [Pointer Event] Remove redundent codes in PointerEvent test cases. r=masayuki
MozReview-Commit-ID: EiV7PvyFBTU

--HG--
extra : rebase_source : 76788d0ba26411b759f1d51f9560ad0257d9e814
2017-01-20 09:58:15 +08:00
Florian Quèze
1907780e48 Bug 1331599 - tests fixed by hand after making addEventListener use the once option when possible, r=jaws. 2017-01-25 07:03:42 +01:00
Florian Quèze
0e0865f4fc Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
Nicholas Nethercote
3d9cfb4679 Bug 1333296 (part 5) - Remove SPS references in devtools/ and dom/. r=mstange.
--HG--
extra : rebase_source : fbbaf2814ea629c9ab6c342005c9bfb6e7aa1281
2017-01-25 09:08:15 +11:00
Nicholas Nethercote
22b6d342d7 Bug 1333296 (part 1) - Rename MOZ_ENABLE_PROFILER_SPS as MOZ_GECKO_PROFILER. r=mstange,glandium.
--HG--
extra : rebase_source : 223f3a17f009645369be503392cc1f0cea7f19a1
2017-01-24 14:15:12 +11:00
Boris Zbarsky
334f1106d6 Bug 1333540. Common up the skippability implementations that are basically copy/pastes of the DOMEventTargetHelper one. r=smaug 2017-01-24 20:40:11 -05:00
Boris Zbarsky
28dabea2ec Bug 1332322 part 3. Rename nsWrapperCache::IsBlackAndDoesNotNeedTracing to nsWrapperCache::HasKnownLiveWrapperAndDoesNotNeedTracing. r=mccr8 2017-01-24 20:39:37 -05:00
Boris Zbarsky
cce1668e68 Bug 1332322 part 2. Rename nsWrapperCache::IsBlack to nsWrapperCache::HasKnownLiveWrapper. r=mccr8 2017-01-24 20:38:58 -05:00
Boris Zbarsky
b39cdf67a8 Bug 1332322 part 1. Add an nsWrapperCache function to mark the wrapper as 'live' for GC purposes. r=mccr8 2017-01-24 20:33:54 -05:00
Bill McCloskey
a1715e6737 Bug 1331804 - New naming scheme for runnables (r=ehsan)
MozReview-Commit-ID: FOfrUXwGYws
2017-01-24 16:34:37 -08:00
Xidorn Quan
6a9f5ff102 Bug 1289642 - Remove prefixed PointerLock API. r=smaug
MozReview-Commit-ID: BUSEojZNIgb

--HG--
extra : rebase_source : bfdf71d5244d3b0877712a63cb07cf119c2e6992
2016-12-19 12:40:02 +11:00
Boris Zbarsky
014c24c2a5 Bug 1335368 part 11. Remove the use of ThreadsafeIsCallerChrome in Event::Init, since that's not really interested in the _caller_ anyway. r=smaug 2017-02-01 15:43:37 -05:00
Masayuki Nakano
fdb5caa8bd Bug 1333925 Make CompositionEvent::mRanges cycle collected r=smaug
CompositionEvent extends a cycle collected class UIEvent.  It also contains a TextClauseArray member field which consists of cycle collected TextClause items.

MozReview-Commit-ID: MYmacUDevB

--HG--
extra : rebase_source : a268cbf90325bcfa9ac76e88e7f4f88007c83ea9
2017-01-26 15:35:09 +09:00
Kearwood (Kip) Gilbert
736ad72326 Bug 1293333 - Part 3: Add VRDisplayEvent to test_all_synthetic_events.html r=Ehsan
MozReview-Commit-ID: 6t5xHUZ96G8

--HG--
extra : rebase_source : b94a891f1f20890f2cd8107a9539383a6b6f076f
2016-11-29 15:34:00 -08:00
Kearwood (Kip) Gilbert
8dc97eb398 Bug 1293333 - Part 1: Implement window.onvrdisplayactivate and window.onvrdisplaydeactivate events r=daoshengmu,Ehsan
MozReview-Commit-ID: 746L5KObBcg

--HG--
extra : rebase_source : 3efa9171be4ec2aa6dc12bd4651e197571cf33c6
2016-10-18 18:18:10 -04:00
Wes Kocher
f7ccafcb58 Backed out 8 changesets (bug 1331804, bug 1332100) for windows vm debug dt5 failures a=backout
Backed out changeset 8bf7f0e27c6c (bug 1331804)
Backed out changeset 600c0b9026c2 (bug 1331804)
Backed out changeset 3a5b5b9ecace (bug 1331804)
Backed out changeset c76432c9954e (bug 1331804)
Backed out changeset 46a9096745e7 (bug 1332100)
Backed out changeset 8b751230fa23 (bug 1331804)
Backed out changeset 2810212347fd (bug 1331804)
Backed out changeset be72b7763910 (bug 1331804)

MozReview-Commit-ID: Ywdsr4GZ4a
2017-01-24 15:12:21 -08:00
Bill McCloskey
187dedfae8 Bug 1331804 - New naming scheme for runnables (r=ehsan)
MozReview-Commit-ID: FOfrUXwGYws
2017-01-24 10:04:55 -08:00
Stone Shih
5df23410c0 Bug 1327185 - Part 2: Forward eDragExit to remote target. r=smaug
MozReview-Commit-ID: 1feeQySngQJ
2017-01-16 17:18:25 +08:00
Stone Shih
d7b2839aa1 Bug 1327185 - Part 1: Refine EventStateManager::FireDragEnterOrExit. r=smaug
MozReview-Commit-ID: Fa8ayrThz4V
2017-01-16 10:50:21 +08:00
Masayuki Nakano
36ead639f1 Bug 1332191 Move CrossProcessSafeEvent() in EventStateManager.cpp to WidgetEvent::CanBeSentToRemoteProcess() r=smaug
It doesn't make sense to check this in a static method of EventStateManager.cpp.  Instead, it should be a class method of WidgetEvent.  Then, everybody can check this in everywhere.

This patch adds mFlags.mNoCrossProcessBoundaryForwarding because when it's true, any events shouldn't be sent to remote process.

MozReview-Commit-ID: oCuxAwotDA

--HG--
extra : rebase_source : 0de8d65f83924859a38c513aff8da17d8571774d
2017-01-19 16:46:59 +09:00
Carsten "Tomcat" Book
709bd29d0a merge mozilla-inbound to mozilla-central a=merge 2017-01-19 16:05:22 +01:00
Michelangelo De Simone
7baf165ae7 Bug 1313155 - Remove dom/settings and related code. r=Ehsan
MozReview-Commit-ID: Gi7frPFQ6yW

--HG--
extra : rebase_source : 69bb31fe3bc96ca460f0e35abb0b0f82d03defb6
2016-12-29 11:26:49 -08:00
Kris Maglione
729b7a2019 Bug 1273251: Part 3 - Allow CallbackObject to contain a null callable. r=peterv
MozReview-Commit-ID: FCXVHouhG3I

--HG--
extra : rebase_source : f3e9325559d40bcb4017ec2505f435275d4fea7f
2016-11-14 21:25:37 -08:00
Andrea Marchesini
c980b8d524 Bug 1323935 - Entries API must use NS_NewLocalFile instead of NS_NewNativeLocalFile, r=smaug 2017-01-18 04:48:29 +01:00
Florian Quèze
85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Michael Layzell
da36f2140e Bug 1330979 - Don't raise NS_ERROR_DOM_SECURITY_ERROR on DataTransfer access violations, r=baku
In our previous code, we would accidentially not perform the correct
security checks when retreiving data from DataTransferItems in some
situations. The regressing patch fixed this behavior and ensured that we
always perform the correct security checks, making any "insecure"
accesses (such as accesses to file data from the OS in DragEnter) would
raise an NS_ERROR_DOM_SECURTY_ERROR. This behavior is not consistent
with Chrome, and thus OneDrive would accidentally trigger an exception
and break its d&d handling logic.

With this patch our behavior for "insecure" accesses to file data from
the OS is more in line with Chrome's, in that we now don't raise an
exception, but instead just produce the value "null" when the data
should not be avaliable yet. From my quick test this fixes the problem
with OneDrive, and should be a fairly trivial patch to uplift to Beta,
with very little risk.

This patch doesn't include a test, as Drag and Drop is a very difficult
component to test in automation, however I am currently working on
defining a set of manual tests for the Drag and Drop component, and I'll
make sure that our behavior for "insecure" accesses is tested in those
tests in the future.

MozReview-Commit-ID: 4pnPyL1tgcV
2017-01-13 15:39:21 -05:00
Andrea Marchesini
2abf88ce1f Bug 1329744 - AudioBuffer ctor updated, r=padenot 2017-01-10 21:30:28 +00:00
Kartikaya Gupta
4e42f89a66 Bug 1328285 - Add support for drag-and-drop via touch in Windows content processes as well. r=smaug
MozReview-Commit-ID: FU7pKgFukDS
2017-01-10 09:21:33 -05:00
Bobby Holley
b32f310e62 Bug 1323649 - Reenable some crashtests. r=me 2017-01-09 11:50:23 -08:00
Cameron McCormack
babad063ff Bug 1328832 - Part 2: Rename mozFlushType to mozilla::FlushType and make it an enum class. r=bzbarsky
MozReview-Commit-ID: D3fIngSHSsl
2017-01-05 15:31:56 +08:00
Xidorn Quan
92aa905e96 Bug 1328806 - Map more state bits from Gecko to Servo. r=bholley
MozReview-Commit-ID: CX54Z1cERBZ

--HG--
extra : rebase_source : 50f9472d623e85066d9a2a7611146fb246143195
extra : amend_source : 0ecf0ab4a49efa1d29b081b08c6a5bdd2d9527da
extra : source : 6dc5adaddc4221bf5268986433c2cc99668139fc
2017-01-06 10:01:59 +11:00
Andrea Marchesini
bc98b07905 Bug 1322550 - Rename DOMStorage to Storage, r=smaug
--HG--
rename : dom/storage/DOMStorage.cpp => dom/storage/Storage.cpp
rename : dom/storage/DOMStorage.h => dom/storage/Storage.h
rename : dom/storage/DOMStorageCache.cpp => dom/storage/StorageCache.cpp
rename : dom/storage/DOMStorageCache.h => dom/storage/StorageCache.h
rename : dom/storage/DOMStorageDBThread.cpp => dom/storage/StorageDBThread.cpp
rename : dom/storage/DOMStorageDBThread.h => dom/storage/StorageDBThread.h
rename : dom/storage/DOMStorageDBUpdater.cpp => dom/storage/StorageDBUpdater.cpp
rename : dom/storage/DOMStorageDBUpdater.h => dom/storage/StorageDBUpdater.h
rename : dom/storage/DOMStorageIPC.cpp => dom/storage/StorageIPC.cpp
rename : dom/storage/DOMStorageIPC.h => dom/storage/StorageIPC.h
rename : dom/storage/DOMStorageManager.cpp => dom/storage/StorageManager.cpp
rename : dom/storage/DOMStorageManager.h => dom/storage/StorageManager.h
rename : dom/storage/DOMStorageObserver.cpp => dom/storage/StorageObserver.cpp
rename : dom/storage/DOMStorageObserver.h => dom/storage/StorageObserver.h
2017-01-04 14:53:01 +01:00
Olli Pettay
0364dbc792 Bug 1326507, remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS, r=mccr8
--HG--
extra : rebase_source : 3ae1207308de120b7299b13ecaa95dd1612b3459
2017-01-03 21:47:55 +02:00
Tim Nguyen
5884019f51 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
Kartikaya Gupta
b2cab8a5ed Bug 1147335 - Add support for drag-and-drop via touch (Windows-only, main-process-only). r=smaug
This patch adds a new non-DOM event type, "mousetouchdrag". The name is horrible, I
know. The "mouse" comes from the fact that it's a WidgetMouseEvent, and the
"touchdrag" comes from the fact that this event is fired at the start of a touch
gesture for drag-and-drop. Right now this event is only fired from the Windows
widget code, when we receive a touch-source doubleclick event from the OS. This
event is sent to us from the OS when it detects the sequence "touchstart, touchend,
touchstart" within certain time/distance constraints. Eventually we may detect
similar gestures for other platforms in the APZ GestureEventListener and dispatch
the "mousetouchdrag" event for those as well.

The only effect of this event is that it begins tracking a drag gesture in the
EventStateManager. Subsequent touchmove events can begin the actual drag-and-drop
operation by calling ::DoDragDrop. See the discussion in bug 1147335 for some
important caveats about DoDragDrop and how it only works with left-mouse-button
events (real or synthetic).

MozReview-Commit-ID: bGyOk6dRoJ
2017-01-03 10:55:48 -05:00
Jan Beich
2941566445 Bug 1326524 - Unbreak build without SPS profiler after bug 1324941. r=mstange
MozReview-Commit-ID: 2E4MlCLQ9lf

--HG--
extra : rebase_source : 2e7644176d0c478a5876b5d2e6604f341c13ea5b
2016-12-31 08:27:27 +00:00
Markus Stange
2319d2881d Bug 1324941 - Add a profiler label and a profiler marker for DOMEvent dispatch. r=smaug
MozReview-Commit-ID: 9nyftWPKRVe

--HG--
extra : rebase_source : 0ef900fa5c7749dd5bcec32da6b37aad91f0a518
2016-12-23 12:44:35 +01:00
Ho-Pang
298ce9f9e5 Bug 1299209 - Part 4: Test event.pointerId in PE Framework. f=sshih, r=smaug
--HG--
extra : rebase_source : 8f14324e17c0811d4788b40a670337de330bde10
2016-12-27 03:21:00 -05:00
Ho-Pang
41adef3ae2 Bug 1299209 - Part 1: Passing PointerId when a new WidgetMouseEvent is created. h=sshih, r=smaug
--HG--
extra : rebase_source : b123e74425e56c09ab38f5916589abb84c3d5996
2016-12-20 22:53:00 -05:00
Phil Ringnalda
b94a0cbd73 Merge m-i to m-c, a=merge 2016-12-24 16:51:17 -08:00
Wes Kocher
37e6ad7e9e Backed out 7 changesets (bug 1322938) for test_lowDiskSpace.html failures on android a=backout
Backed out changeset 1de6bfc4c973 (bug 1322938)
Backed out changeset 45b81607acd2 (bug 1322938)
Backed out changeset 2f3c2e660d28 (bug 1322938)
Backed out changeset d93937b3f80e (bug 1322938)
Backed out changeset 91c8b6d99e35 (bug 1322938)
Backed out changeset b6bdaf0dd932 (bug 1322938)
Backed out changeset 4b6ed4bb4263 (bug 1322938)
2016-12-23 20:55:55 -08:00
Tim Nguyen
19655e43c1 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
Neil Deakin
d88256a9f9 Bug 1309596, add an updateDragImage method to modify the drag feedback image during the drag, r=smaug 2016-12-23 18:09:44 -05:00
Wes Kocher
1e19e7e80a Backed out 6 changesets (bug 1322938) for android failures in test_lowDiskSpace.html CLOSED TREE a=backout
Backed out changeset 8d9ed256d618 (bug 1322938)
Backed out changeset 0d04a7f9567b (bug 1322938)
Backed out changeset f3bed08a1f6f (bug 1322938)
Backed out changeset 2992c400da4d (bug 1322938)
Backed out changeset cf6c65628dd0 (bug 1322938)
Backed out changeset 4c88ef02c5d4 (bug 1322938)
2016-12-23 13:40:26 -08:00
Michelangelo De Simone
682555bbc4 Bug 1313169 - Remove dom/inputmethod/ and related code. r=Ehsan
MozReview-Commit-ID: 5jkBVon3ZSz

--HG--
extra : rebase_source : e13a061650abe81ea58ffca22f74e3ec6122fede
2016-12-20 16:32:12 -08:00
Carsten "Tomcat" Book
0aed7a4ac5 Merge mozilla-central to mozilla-inbound
--HG--
rename : testing/docker/base-build/HASH => taskcluster/docker/base-build/HASH
rename : testing/docker/base-test/HASH => taskcluster/docker/base-test/HASH
rename : testing/docker/centos6-build-upd/HASH => taskcluster/docker/centos6-build-upd/HASH
rename : testing/docker/centos6-build/HASH => taskcluster/docker/centos6-build/HASH
rename : testing/docker/decision/HASH => taskcluster/docker/decision/HASH
rename : testing/docker/image_builder/HASH => taskcluster/docker/image_builder/HASH
rename : testing/docker/recipes/tooltool.py => taskcluster/docker/recipes/tooltool.py
rename : testing/docker/tester/HASH => taskcluster/docker/tester/HASH
2016-12-22 16:25:35 +01:00
Stone Shih
7448d04902 Bug 1323960 Part3: disable failed test case and remove nit. r=smaug.
MozReview-Commit-ID: KVam1N1Xik5
2016-12-20 10:09:33 +08:00
Stone Shih
d0c20dd3b5 Bug 1323960 Part2: sync test cases from testing/web-platform/tests/pointerevents. r=smaug
MozReview-Commit-ID: 6KIRgC5oQ2Q
2016-12-17 12:54:47 +08:00
Stone Shih
838a09cbf3 Bug 1323960 Part1: dynamically inject mochitest helper js to test cases. r=smaug.
MozReview-Commit-ID: 90q9RPwkWfw
2016-12-20 10:00:44 +08:00
Bill McCloskey
e4426ae30f Bug 1318506 - Label AsyncEventDispatcher runnables with DocGroup (r=ehsan)
I still don't completely understand why we sometimes need to use the global
and sometimes the node. As far as I understand it:
- Not all event targets are nodes, so the node code can't always be used.
- The nsINode::GetOwnerGlobal implementation uses GetScriptHandlingObject,
  which returns null in some cases where GetScopeObject doesn't. Here
  is one:
    http://searchfox.org/mozilla-central/rev/62db1c9021cfbde9fa5e6e9601de16c21f4c7ce4/dom/base/nsDocument.cpp#4627

MozReview-Commit-ID: DdLWeQJIWZx
2016-12-23 11:48:13 -08:00
Tim Nguyen
3a9c63ff99 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
Carsten "Tomcat" Book
d1a09e06c8 Merge mozilla-central to autoland 2016-12-21 17:07:24 +01:00
Carsten "Tomcat" Book
e8b62ac15b merge mozilla-inbound to mozilla-central a=merge 2016-12-21 16:57:08 +01:00
Stone Shih
3efdfea16f Bug 1324380 - Make setting Event's cancelBubble to false a no-op. r=smaug.
MozReview-Commit-ID: x8u7tw6psd

--HG--
extra : rebase_source : a8af0802d969b4a4757530ec9c28572062c71f15
2016-12-20 09:35:17 +08:00
Phil Ringnalda
4f5f9f3222 Merge m-i to m-c, a=merge
MozReview-Commit-ID: EI1fU13SR79
2016-12-20 20:15:20 -08:00
Mantaroh Yoshinaga
90c5d3d372 Bug 1202333 part 1 - Remove excessive animationiteration event. r=birtles
The Firefox fired excessive animationiteration event.
But We fixed specification in order to prevent firing the animationiteration when animation is start.

For detail, See https://github.com/w3c/csswg-drafts/issues/68

MozReview-Commit-ID: 391DRxSpq86

--HG--
extra : rebase_source : 38e6710da4d9ad7422d6313eeae2803402a51b24
2016-12-20 15:57:13 +09:00
Wes Kocher
b5f33578be Merge m-c to inbound, a=merge 2016-12-20 11:47:17 -08:00
Wes Kocher
584a2f0f62 Merge inbound to central, a=merge
MozReview-Commit-ID: Cr9L1dhIzP2
2016-12-20 11:41:57 -08:00
Neil Deakin
3bcbbdcf40 Bug 41708, support scrolling when hovering over the edge of a scrollframe while dragging, r=smaug 2016-12-20 13:39:30 -05:00
Carsten "Tomcat" Book
14b24ddfb5 Backed out changeset 83c4d145e937 (bug 1323916)
--HG--
extra : rebase_source : 4d356aa8982eb273052f422ba80c9bacc7c425ea
2016-12-20 14:46:00 +01:00
Andrea Marchesini
4f29b70d10 Bug 1324537 - Implement the OfflineAudioCompletionEvent constructor, r=smaug 2016-12-20 10:41:30 +01:00
Masayuki Nakano
e0dcff15d2 Bug 1322736 part.3 Remove dom::BeforeAfterKeyboardEvent and InternalBeforeAfterKeyboardEvent r=smaug
MozReview-Commit-ID: Eyz2HjIdQEW

--HG--
extra : rebase_source : 182f4f8236dcfb83f8725a9c66cc46dedbb14f2c
2016-12-16 16:25:22 +09:00
Masayuki Nakano
d48cef4255 Bug 1322736 part.2 Remove "after keydown" and "after keyup" events r=smaug
MozReview-Commit-ID: ICFPyDhgfh7

--HG--
extra : rebase_source : 6d3a9d227ac99710ac2daa036e1e169d31ae9e6a
2016-12-16 16:01:51 +09:00
Masayuki Nakano
abc299239b Bug 1322736 part.1 Remove "before keydown" and "before keyup" events r=smaug
MozReview-Commit-ID: 3umPBwTowLc

--HG--
extra : rebase_source : c77a7f4b9334f261623d655edb3bf50377d1804d
2016-12-16 15:59:25 +09:00
Stone Shih
c383970755 Bug 1323916 - [Pointer Event] Fix errors in pointer event test cases. r=smaug
MozReview-Commit-ID: KEayE2B7aKX
2016-12-13 14:05:10 +08:00
Iris Hsiao
565402ee1b Backed out changeset 8f01cf080e69 (bug 1323983) 2016-12-20 15:30:51 +08:00
Xidorn Quan
be76c082e0 Bug 1323983 part 1 - Ensure to release the pointer even if the document has been detached. r=smaug
MozReview-Commit-ID: FY5lDQBYl6U

--HG--
extra : rebase_source : 47159f623c46549b48c786b28b5c00c246288076
2016-12-21 12:02:24 +11:00
Wes Kocher
0b3c388b2f Merge m-c to autoland, a=merge 2016-12-20 11:48:21 -08:00
Masayuki Nakano
7436f01057 Bug 564411 Move all methods/attributes of nsIEditorIMESupport to nsIEditor r=smaug
Doing QI from nsIEditor to nsIEditorIMESupport doesn't make sense because editor should always support all methods and attributes of nsIEditorIMESupport (it does NOT mean that all nsIEditor implementation need to support IME).

This patch moves all of them to nsIEditor for avoiding redundant QIs.

MozReview-Commit-ID: DzIKuGHG4iy

--HG--
extra : rebase_source : cc5e9a6ae4572ebe461d9770ffa5c23d33dc8526
2016-12-20 21:47:31 +09:00
Xidorn Quan
5c12d2debc Bug 1323983 part 1 - Ensure to release the pointer even if the document has been detached. r=smaug
MozReview-Commit-ID: FY5lDQBYl6U

--HG--
extra : rebase_source : a4d8540f9d22de86549660e173b5a0dc52835b75
2016-12-19 15:28:31 +11:00
Olli Pettay
2f85471cc3 Bug 1323815, FocusEvent.relatedTarget should work consistently with MouseEvent.relatedTarget, r=masayuki
--HG--
extra : rebase_source : ee11583116bd52618f6bfba063e920e8064c1ec3
2016-12-19 13:36:48 +02:00
Daosheng Mu
94effe3091 Bug 1315896 - Part 2: Remove MOZ_GAMEPAD in Gamepad module; r=ted.mielczarek
MozReview-Commit-ID: Hbv6THaI5Rk

--HG--
extra : rebase_source : aa6b247881c45b2d615d5e37576801e91ed77312
2016-12-08 13:00:44 -10:00
Daosheng Mu
755ed03e79 Bug 1315896 - Part 1: Remove MOZ_GAMEPAD in DOM API; r=qdot
MozReview-Commit-ID: IgvMuXlE5BS

--HG--
extra : rebase_source : 6c04c83c583193bb3d4b75c33398411626fffe8e
2016-12-08 12:59:06 -10:00
Boris Zbarsky
6c52415c65 Bug 1324035 part 4. Change nsContentUtils::ResistFingerprinting to just take a dom::CallerType instead of having all its consumers check it. r=qdot 2016-12-17 00:25:52 -05:00
Stone Shih
3774a3f4e1 Bug 1323132 - PointerUp's buttons should be 0 when it's generated from touch. r=smaug
MozReview-Commit-ID: 36FFFPhaChb

--HG--
extra : rebase_source : ff51747daf407562f35b21edafc61c91a6f698a7
extra : histedit_source : a6293003098377a3eac73ad81aa98af79f552d92
2016-12-12 21:44:13 +08:00
Stone Shih
805b755bb1 Bug 1322994 - Update pointerevent web-platform-tests. r=smaug
MozReview-Commit-ID: CFnBxbCaVVk

--HG--
rename : dom/events/test/pointerevents/pointerevent_pointermove-on-chorded-mouse-button.html => dom/events/test/pointerevents/pointerevent_pointermove_on_chorded_mouse_button-manual.html
rename : dom/events/test/pointerevents/pointerevent_suppress_compat_events_on_click.html => dom/events/test/pointerevents/pointerevent_suppress_compat_events_on_click-manual.html
rename : dom/events/test/pointerevents/pointerevent_suppress_compat_events_on_drag_mouse.html => dom/events/test/pointerevents/pointerevent_suppress_compat_events_on_drag_mouse-manual.html
rename : dom/events/test/pointerevents/test_pointerevent_pointermove-on-chorded-mouse-button.html => dom/events/test/pointerevents/test_pointerevent_pointermove_on_chorded_mouse_button-manual.html
rename : dom/events/test/pointerevents/test_pointerevent_suppress_compat_events_on_click.html => dom/events/test/pointerevents/test_pointerevent_suppress_compat_events_on_click-manual.html
rename : dom/events/test/pointerevents/test_pointerevent_suppress_compat_events_on_drag_mouse.html => dom/events/test/pointerevents/test_pointerevent_suppress_compat_events_on_drag_mouse-manual.html
extra : rebase_source : 47e428039914001c64194ab28510f113e7e6dba4
extra : histedit_source : 225f1675260b86f4dd5daa7ed272f6071672e543
2016-12-12 11:21:29 +08:00
Cameron McCormack
366f6eb24d Bug 1323892 - Disable currently crashing stylo crashtests. r=xidorn
MozReview-Commit-ID: 2BNjdBWdT5V
2016-12-16 18:54:41 +08:00
Andrea Marchesini
4f830c36c0 Bug 1322292 - Some fixes for the Performance API in workers - part 3 - TimeStampToDOMHighRes() in workerPrivate, r=bz 2016-12-16 09:08:05 +01:00
Andrea Marchesini
64b687fb1c Bug 1322292 - Some fixes for the Performance API in workers - part 2 - Get rid of NowBaseTimeStamp(), r=bz 2016-12-16 09:07:39 +01:00
Stone Shih
7c9d0a893f Bug 1315245 - Part 2: StopTrackingDragGesture when preventDefault is called. r=smaug 2016-11-29 15:04:37 +08:00
Gijs Kruitbosch
cb6c0c81ac Bug 1322414 - part 2,3,4: use a separate 'primary' attribute for primary child browsers, r=bz,mconley
MozReview-Commit-ID: 2yb0WGFYBsH

--HG--
extra : rebase_source : 376171077c577e41e82cec5e994c425c6d9f2d80
extra : histedit_source : 39aad91381749a263042cd0452fe32019a1974b8
2016-12-09 09:23:24 -10:00
Andrea Marchesini
e566d05769 Bug 1323386 - Get rid of NS_NewDOMStorageEvent, r=smaug 2016-12-15 13:18:31 +01:00
Phil Ringnalda
8794706198 Merge m-c to autoland 2016-12-20 20:20:10 -08:00
Mantaroh Yoshinaga
62c0a16936 Bug 1264125 part 1 - Add transitioncancel event handler. r=masayuki
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: 1rEH0KjBrlL

--HG--
extra : rebase_source : c1d6ba635dd23cafcd0352b35e6c6cc714bb3ac4
2016-12-20 16:03:28 +09:00
Kevin Wern
b2052e9ddc 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

--HG--
extra : rebase_source : 558261dd0d0b9241efa84ca168c50455850af03a
2016-11-30 19:48:02 -05:00
Ho-Pang Hsu
d55a047498 Bug 1302297 - Part 5: Update related testcases. f=stone, r=smaug 2016-12-09 03:40:00 +01:00
Ho-Pang Hsu
c792e99520 Bug 1302297 - Part 4: Remove every button and buttons used in testcases. f=stone, r=smaug
--HG--
extra : amend_source : adeed4ae5de8c14a9d652057669f6f1e81876ce2
2016-10-22 08:42:00 +02:00
Ho-Pang Hsu
54867b498b Bug 1302297 - Part 3: Enhance sendMouseEvent() and sendTouchEvent(). f=stone, r=smaug 2016-12-09 03:39:00 +01:00
Ho-Pang Hsu
e39cc0d995 Bug 1302297 - Part 2: Introduce mouse and touch event helpers. f=stone, r=smaug 2016-12-09 03:38:00 +01:00
Ho-Pang Hsu
cd01580e31 Bug 1302297 - Part 1: Enhance the new window test container for PE testcases. f=stone, r=smaug 2016-10-22 08:40:00 +02:00
Cameron McCormack
f5bb6f2dfd Bug 1322185 - Rename some StyleDisplay enum values for consistency. r=xidorn
MozReview-Commit-ID: K27LmXKWNdk
2016-12-05 21:36:28 -10:00
Wes Kocher
e9e921d4f4 Merge inbound to central, a=merge 2016-12-02 13:06:38 -08:00
Stone Shih
64a9ec7fa7 Bug 1251659 - test_bug967796.html should use SpecialPowers.pushPrefEnv. r=smaug 2016-10-19 09:24:12 +08:00
Tooru Fujisawa
515ef9ba45 Bug 1321218 - Remove legacy generator from dom/. r=smaug 2016-12-01 18:11:32 +09:00
Stone Shih
d5527884b7 Bug 1298970 - Move UIEvent.cancelBubble to Event. r=smaug
MozReview-Commit-ID: JPc1JwfqpaZ

--HG--
extra : rebase_source : 9cad67011a76b0084bdc8b271de8356666068e0d
2016-11-29 10:28:21 +08:00
Mats Palmgren
cd7a370a02 Bug 1312997 - Store 'aTargetFrame' in 'mCurrentTarget' before doing anything else, then use 'mCurrentTarget' throughout PostHandleEvent. r=smaug
This is a safer way of accessing the target frame because 'mCurrentTarget'
is a nsWeakFrame which will be nulled out in case the frame is destroyed.
2016-11-30 01:37:13 +01:00
Masayuki Nakano
bd5c351eec Bug 1274503 part.0 Move "MediaFastForward" to "Media Keys" section for keeping same order with the spec r=smaug
MozReview-Commit-ID: 4eGNIDmbPds

--HG--
extra : rebase_source : 9702ff391f4d4f7ddabdc9aefdfafdd381d5d69f
2016-11-03 22:01:10 +09:00
Tom Schuster
78e10f98ab Bug 755821 - Parse arguments of Function constructor properly. r=shu 2016-10-15 11:47:00 +09:00
Frederik Braun
69f0475f79 Bug 1316826 - parserCreated should be false for inline events. r=dveditz
MozReview-Commit-ID: 66QkX30BZ77

--HG--
extra : rebase_source : c3b14dc269634f611f423c3016891fc0e303bc51
2016-11-21 15:14:02 -05:00
Masayuki Nakano
c28dd06954 Bug 1318635 Set "dblclick" event's time and timeStamp to mouseup event's time and timeStamp r=smaug
MozReview-Commit-ID: 4c3GsNf9CKi

--HG--
extra : rebase_source : 37537b6d297636a6d68db354600b5edbf904fb87
2016-11-18 20:35:20 +09:00
Phil Ringnalda
61baa2aa9a Merge m-i to m-c, a=merge
MozReview-Commit-ID: A3wgReQAalj
2016-11-17 19:21:20 -08:00
Stone Shih
a4fbee5fbd Bug 1305458 Part14: Refine assertion in EventTargetChainItem::Create r=smaug
--HG--
extra : rebase_source : 5a0a15405e72cdcdf4a808072c1c015be0171a3e
2016-11-15 16:42:29 +08:00
Stone Shih
16335c6088 Bug 1305458 Part13: Refine event target chain creation. r=smaug
MozReview-Commit-ID: 6DEJDoAzjiu

--HG--
extra : rebase_source : 1f7cea9867c99c1f69cfcee27cf3a8119f9c5a25
2016-11-03 11:01:06 +08:00
Stone Shih
e5ea1805f2 Bug 1305458 Part12: Refine EventTargetChain flags to reduce overheads. r=smaug
MozReview-Commit-ID: CxiMsVw3ydz

--HG--
extra : rebase_source : b5d2d8acb3d93e69aab6b8551b9e5ab225949f12
2016-11-02 11:39:32 +08:00
Stone Shih
d4a632d2e2 Bug 1305458 Part10: Add test case. r=smaug
MozReview-Commit-ID: 77r8TkLqiil

--HG--
extra : rebase_source : 99011c1e379980cff81f9cd74c4c0b767be58274
2016-10-26 13:07:18 +08:00
Stone Shih
07066e00ca Bug 1305458 Part4: Call EventTargetChainItem::PreHandleEvent even it sets mCanHandle=false. r=smaug
MozReview-Commit-ID: H9UAHNJGiOD

--HG--
extra : rebase_source : 4d2a3d8944ed1019ac8e87739eb65441b976dd01
2016-10-22 08:47:30 +08:00
Stone Shih
8f2ec136e1 Bug 1305458 Part3: Add EventTargetChainItem::GetFirstEventTarget. r=smaug
MozReview-Commit-ID: 7EuGKsG9maX

--HG--
extra : rebase_source : 3eb173356333458c0a7b2a53b3868c6412071e10
2016-10-22 09:21:40 +08:00
Stone Shih
6df624de3f Bug 1305458 Part2: Add nsIDOMEventTarget::PreHandleEvent. r=smaug
MozReview-Commit-ID: HiCDTXgNr0l

--HG--
extra : rebase_source : ce3318fac96a1baf86059274230b1e6cae750347
2016-10-21 11:29:34 +08:00
Stone Shih
1ed10ff082 Bug 1305458 Part1: Rename nsIDOMEventTarget::PreHandleEvent to nsIDOMEventTarget::GetEventTargetParent. r=smaug
MozReview-Commit-ID: FM3vDUyLOCb

--HG--
extra : rebase_source : 5a513af84718a6d591f77437a0704984c8fc2b67
2016-10-21 10:11:07 +08:00
Andrea Marchesini
3120de1ea7 Bug 1315905 - Cleanup Necko http security check - part 2 - tests, r=valentin 2016-11-17 14:53:30 +01:00
Carsten "Tomcat" Book
2c792af8f0 Merge mozilla-central to mozilla-inbound 2016-11-17 14:39:33 +01:00
Wes Kocher
609b9922f7 Merge m-c to autoland, a=merge 2016-11-16 17:29:05 -08:00
Aryeh Gregor
0e4353d48a Bug 1002256 - Support CompositionEvent constructor; r=bkelly
All other browsers support a constructor here.  Per current spec, the
constructor does not support .locale, although initCompositionEvent
does.  If we ever decide to standardize .locale, the constructor can be
updated at that point.  (Edge also supports .locale in
initCompositionEvent but not the constructor.  Chrome doesn't support
.locale at all.)
2016-11-16 22:16:22 +02:00
Boris Zbarsky
04caf50b43 Bug 1317759. Remove LegacyIsCallerChromeOrNativeCode use in Event::GetScreenCoords in favor or caller type checks at the entrypoints where we really care about pretending that our screen is client-area sized. r=smaug 2016-11-16 14:10:22 -05:00
Boris Zbarsky
be79f7def4 Bug 1317990. Remove Event::IsChrome in favor of passing CallerType arguments. r=smaug,bkelly 2016-11-16 14:10:22 -05:00
Andrea Marchesini
ad23bdeed0 Bug 1313420 - Implement Performance.timeOrigin - part 2 - tests, r=bz 2016-11-17 10:00:26 +01:00
Michelangelo De Simone
4b90783184 Bug 1317853 - Remove DOM/speakermanager and related code. r=jst
MozReview-Commit-ID: AHkMHalG99K

--HG--
extra : rebase_source : 7f0f47374d1208de97fad90ac9f3098dd5b2b330
2016-11-16 13:14:36 -08:00
Ehsan Akhgari
eac76d9772 Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact.  Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app.  In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed.  In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID.  Other notions of appId which were restricted to this
API have been removed.
2016-11-16 09:13:38 -05:00
Carsten "Tomcat" Book
e7ca75286b Merge mozilla-central to inbound 2016-11-16 14:53:15 +01:00
Carsten "Tomcat" Book
3eacc680db Backed out changeset 7d1f7dd996f7 (bug 1310845) 2016-11-16 14:50:44 +01:00
Michelangelo De Simone
1c12c5271d Bug 1313788 - Remove DOM/wifi and related code. r=jst
MozReview-Commit-ID: BRT6bSvPpT

--HG--
extra : rebase_source : c5ae9e88e80ae1a9c46bf80439388bd9ef2ba4df
2016-11-08 15:02:45 -08:00
Andi-Bogdan Postelnicu
65ae72060c Bug 1317241 - Use C++11's override and remove virtual where applicable in dom/ r=baku
MozReview-Commit-ID: 8jUAehd1odv

--HG--
extra : rebase_source : 13375a14447ce344214fa30babf540de0a394c6a
2016-11-15 13:09:07 +02:00
Andi-Bogdan Postelnicu
aaf2063029 Bug 1317241 - Replace default bodies of special member functions with = default in dom/. r=baku
MozReview-Commit-ID: 12AHOhrpaNO

--HG--
extra : rebase_source : 7881277a13fe7389b95635ee9b94f1686f56d142
2016-11-14 11:40:37 +02:00
Stone Shih
86e2bca74e Bug 1315862 Part2: Add a test case to ensure pointer events aren't dispatched in the system group. r=masayuki
MozReview-Commit-ID: 4FR62yYlxAY

--HG--
extra : rebase_source : 634cef3c217ab427d12e8f961c59ed3a1248b267
2016-11-15 10:34:13 +08:00
Stone Shih
5d6aec8c60 Bug 1315862 Part1: Stop dispatching pointer events in the system group. r=masayuki,smaug
MozReview-Commit-ID: 8Xqp3bxlRFt

--HG--
extra : rebase_source : 25afbefb19e5ae613e9e493ea2f275a36004d523
2016-11-11 18:02:37 +08:00
Stone Shih
386540035e Bug 1303704 Part3: [Pointer Event] Add test case to ensure preventDefault on pointerdown doesn't impact firing click event. r=masayuki
MozReview-Commit-ID: LiDffeN7hk6

--HG--
extra : rebase_source : e6d14606d07ebe9a17a39b48e13c8c21d11c99d3
2016-11-10 10:11:16 +08:00
Stone Shih
3a1d8c22f0 Bug 1303704 Part2: [Pointer Event] Enable prevent default on pointerdown related test cases. r=masayuki
MozReview-Commit-ID: CqwCm3uAYMW

--HG--
extra : rebase_source : effc632654b0215c5ef87358516d668c0562e1ee
2016-10-14 10:31:28 +08:00
Ehsan Akhgari
cb369370b3 Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact.  Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app.  In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed.  In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID.  Other notions of appId which were restricted to this
API have been removed.
2016-11-15 18:31:46 -05:00
Boris Zbarsky
784a52fd02 Bug 1317720. Use NeedsCallerType instead of NeedsSubjectPrincipal for DataTransfer.types. r=mystor 2016-11-15 12:46:32 -05:00
Boris Zbarsky
dda84c3ef8 Bug 1317599. Get rid of LegacyIsCallerChromeOrNativeCode use in datatransfer code. r=mystor 2016-11-15 12:46:32 -05:00
Olli Pettay
40390feb7f Bug 1317030 - Removing/reattaching an element from the DOM triggers spurious mouseenter events, r=masayuki
--HG--
extra : rebase_source : 16852ef14f57b5133484db9a03bad5c4be78740b
2016-11-14 13:19:11 +02:00
Christoph Kerschbaumer
c267f70f91 Bug 1299483 - CSP: Implement 'strict-dynamic', enforcement changes. r=dveditz,freddyb 2016-11-08 12:55:23 +01:00
Sebastian Hengst
e499270f62 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/events. r=RyanVM
MozReview-Commit-ID: 4BEA01lxikl

--HG--
extra : rebase_source : c1956c3135d5a88ef79c0019089ca3788e6a23f9
2016-11-05 11:29:16 +01:00
Phil Ringnalda
c9fdc270b6 Merge m-c to autoland
--HG--
rename : dom/media/webaudio/compiledtest/TestAudioEventTimeline.cpp => dom/media/webaudio/gtest/TestAudioEventTimeline.cpp
2016-11-03 20:02:24 -07:00
Michelangelo De Simone
80af1b3196 Bug 1310864 - Remove DOM/(contacts, mobileconnection, icc) and related code. r=jst
MozReview-Commit-ID: Az4PTYFUKW8

--HG--
extra : rebase_source : 4c31210ec079a1d2f18deca4e3e1d6bdbc797f76
2016-11-03 13:55:36 -07:00
Phil Ringnalda
393b414467 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 48WAQwKUCpw
2016-11-02 19:28:38 -07:00
Kevin Wern
19f18efeac Bug 687787: support focusin/focusout based on webkit/blink r=smaug
Blink and webkit launch focusin after focus and focusout after blur. Despite
this contradiction with the spec, it is best to mirror this new way, as there
is little guidance or existing code to clarify implementation amiguities that
can arise from the spec.

If focus/blur is fired on a window or document, or the event triggers a change
of focus, do not fire the corresponding focusin/focusout. Otherwise, always
fire the corresponding event.

Additionally, add a mochitest and a w3c-platform-test.

MozReview-Commit-ID: AgQ8JBxKIqK
2016-10-06 21:39:53 -04:00
Andrea Marchesini
3a9551a834 Bug 1284987 - Entries API - part 2 - FileSystemEntry.getParent, r=smaug 2016-11-03 07:55:30 +01:00
Wes Kocher
df5dbf81cc Merge central to inbound a=merge 2016-11-02 17:31:08 -07:00
Phil Ringnalda
16522e6c40 Backed out changeset 27695ca9f8cd (bug 1310864) for failures in test_navigator_resolve_identity.html, test_bug707564.html, and test_dom_xrays.html 2016-10-31 19:39:06 -07:00
Michelangelo De Simone
8b355547fc Bug 1310864 - Remove DOM/(contacts, mobileconnection, icc) and related code. r=jst
MozReview-Commit-ID: 2tWZc6hMtk5

--HG--
extra : rebase_source : 609688dd1fa430827c18e1cd0095c07fb17fce67
2016-10-28 17:53:58 -07:00
Michelangelo De Simone
6314d37360 Bug 1310020 - Remove DOM/bluetooth and related code. r=jst
MozReview-Commit-ID: IEhwzzBgb3x

--HG--
extra : rebase_source : 664e30c1d3babc71b2ef77c00e393fa767f4c159
2016-10-28 14:25:23 -07:00
Andrea Marchesini
c73c377b2d Bug 1313006 - Remove of MessageEvent.setSource, r=qdot 2016-10-26 22:00:43 +02:00
Andrea Marchesini
92035ed242 Bug 1313004 - ServiceWorkerMessageEvent can be generated code, r=qdot 2016-10-26 22:00:17 +02:00
Phil Ringnalda
0a5faee022 Merge m-c to autoland 2016-10-25 22:08:13 -07:00
Andrea Marchesini
c11a158627 Bug 1310967 - Update MessageEvent to the latest spec, r=smaug 2016-10-25 07:48:05 +02:00
Sebastian Hengst
1d68ef32e7 Backed out changeset 1fc115bbc7be (bug 1310967) for failing test_messageEvent_init.html. r=backout 2016-10-24 19:14:38 +02:00
Andrea Marchesini
1a3cb83d92 Bug 1310967 - Update MessageEvent to the latest spec, r=smaug 2016-10-24 17:10:46 +02:00
Ryan VanderMeulen
3079f45ce5 Merge inbound to m-c. a=merge 2016-10-23 20:04:42 -04:00
Michelangelo De Simone
8641036d15 Bug 1310859 - Remove DOM/nfc and related code. r=jst
MozReview-Commit-ID: FiS7uGytipN

--HG--
extra : rebase_source : cd9be62d334568b4abd850398467bce4c4eb1544
2016-10-18 15:16:56 -07:00
Ryan VanderMeulen
a57d15ff6a Merge inbound to m-c. a=merge 2016-10-23 13:16:27 -04:00
Adam Velebil
e7dddd42f0 Bug 1312173 - Convert NS_STYLE_USER_INPUT_* to an enum class; r=manishearth,xidorn
MozReview-Commit-ID: sYiJrZryrA

--HG--
extra : rebase_source : dbb7bae56bea6203176097af8de119cae0a6391c
2016-10-23 00:08:18 +02:00
Mantaroh Yoshinaga
3d795f2c3e 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

--HG--
extra : rebase_source : 9d16572634a388da25e16096f06087e808ec57ae
2016-10-19 15:16:51 +09:00
Ho-Pang Hsu
d9e7012d7a Bug 1311269 - Part 2: Update related testcases. f=sshih, r=smaug 2016-10-19 20:35:00 -04:00
Ho-Pang Hsu
459af0b367 Bug 1311269 - Part 1: Improve PE test automation framework. f=sshih, r=smaug 2016-10-19 20:31:00 -04:00
Eric Rahm
a2f7bff287 Bug 1311759 - Remove unused references to nsISupportsArray. r=froydnj
This removes various references to nsISupportsArray throughtout the tree that
aren't used.

MozReview-Commit-ID: EtgD1DRwY8e
2016-10-21 16:34:42 -07:00
Michael Layzell
91e603e271 Bug 1306645 - Don't add application/x-moz-file entries from the clipboard to dataTransfer with e10s, r=enndeakin
application/x-moz-file entries on the clipboard are not able to be
successfully transmitted across synchronous IPC due to bug 1308007, thus
they appear as useless null files.

This patch hides those useless null files, and thus unhides image data
which may have been on the clipboard but was previously hidden by the
presence of an application/x-moz-file file

MozReview-Commit-ID: 4RmQe9kDZLe
2016-10-20 15:09:43 -04:00
Michael Layzell
ca1ad87346 Bug 1303999 - Check our kind after filling in external data in GetAsFile and GetAsString, r=baku
MozReview-Commit-ID: CbHWTDTY3Xs
2016-10-20 15:09:13 -04:00
Stone Shih
2253df5001 Bug 1323916 - [Pointer Event] Fix errors in pointer event test cases. r=smaug
MozReview-Commit-ID: KEayE2B7aKX
2016-12-13 14:05:10 +08:00
Aryeh Gregor
a47006fa39 Bug 1313943 - Legacy event initializers should all do nothing during dispatch; r=bkelly
DOM's initEvent says that it must do nothing during dispatch.  UI Events
says they behave the same as initEvent, so the legacy initializers
defined there also shouldn't do anything during dispatch.  Previously we
only did this for initEvent itself, but other legacy initializers would
function normally during dispatch.

Edge passes the wpt test that's updated in this commit.  Chrome passes
all but initCustomEvent.  It would be nice to expand the test to have
coverage for all our legacy initializers, but the likelihood of
real-world compat issues from this behavior is slim enough that I didn't
think it was worth the effort.

MozReview-Commit-ID: IYLOuwlPGSj
2016-11-01 17:19:59 +02:00
Chris Pearce
e90255c806 Bug 1311252 - Make MediaKeyMessageEvent.webidl patch spec. r=smaug
Update our copy of EncryptedMediaExtensions.idl to match upstream
Web Platform Tests, so we keep passing.

MozReview-Commit-ID: IHaVX45GrYx
2016-10-19 20:33:54 +13:00
Eric Rahm
1eb4ae7e0d Bug 1309698 - Remove usage of nsISupportsArray from nsIDragService. r=smaug 2016-10-18 11:56:20 -07:00
Wes Kocher
8f8236ba1e Backed out 2 changesets (bug 1310967) for failures in messageEvent tests a=backou
Backed out changeset dac69b2b8d26 (bug 1310967)
Backed out changeset 133feae49330 (bug 1310967)
2016-10-18 10:53:44 -07:00
Jon Coppeard
556585c65f Bug 1297558 - Remove explicit calls to Expose*ToActiveJS r=mccr8 2016-10-18 17:58:19 +01:00
Andrea Marchesini
8a55aab649 Bug 1310967 - Update MessageEvent to the latest spec - part 2, r=me 2016-10-18 18:25:26 +02:00
Andrea Marchesini
8349366911 Bug 1310967 - Update MessageEvent to the latest spec, r=smaug 2016-10-18 18:19:59 +02:00
Benjamin Smedberg
fe7d577d2e Bug 1307445 part B - remove the gecko code that support :moz-type-unsupported and :moz-type-unsupported-platform, r=qdot
MozReview-Commit-ID: Dybppkfrb7E

--HG--
extra : rebase_source : 8dedfafb0edefa54b4a73a0f0204be46f989c87f
2016-10-06 13:25:56 -04:00