Commit Graph

500547 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
27c7333444 Backed out changeset 09093d38540e (bug 1311279) 2016-11-17 15:42:38 +01:00
Ethan Lin
bda758bde7 Bug 1317403 - Add crashtest. r=mstange
--HG--
extra : rebase_source : 8f008257db3adc07ebc8eaed8002bfd3763def0b
2016-11-14 19:35:00 +01:00
Ethan Lin
8786032e84 Bug 1317403 - Check if draw rect is empty beforing creating drawtarget. r=mstange
--HG--
extra : rebase_source : 2535c5878c29eadfee019c33d245763503ca2237
2016-11-14 19:09:00 +01:00
Andrew McCreight
14fad12fec Bug 1317258 - Call HoldJSObjects in VRFrameData's ctor. r=smaug
--HG--
extra : rebase_source : b9143b7c02652002923222b908b96bcc88a8effc
2016-11-17 15:37:25 +01:00
Neil Deakin
5a0853cab6 Bug 1311279, scroll the select popup when click+drag is used, r=mconley 2016-11-17 09:28:27 -05:00
Neil Deakin
4359bb41a3 Bug 1311279, add a chrome-only setCapture method that can ignore the allowed state, r=smaug 2016-11-17 09:28:27 -05:00
Neil Deakin
28bb8afb89 Bug 1314251, close menulist on alt+up/down, r=ksteuber 2016-11-17 09:28:27 -05:00
Neil Deakin
3982f6a6c1 Bug 1313131, don't wrap when using cursor navigation in menus onr dropdowns on Mac, or dropdowns on Windows, r=ksteuber 2016-11-17 09:28:27 -05:00
Neil Deakin
842f358037 Bug 1314647, clear active state of select on mouseup, r=mconley 2016-11-17 09:28:26 -05:00
Carsten "Tomcat" Book
6b449c42cb Backed out changeset 1daa455a877d (bug 1285074) for spidermonkey bustage
--HG--
extra : rebase_source : 68e71978de09db3191b65cd22f938f2f569ae3c6
2016-11-17 15:26:00 +01: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
ca4ffa27c2 Bug 1305458 Part11: Let HTMLInputElement delegate event handling to it's parent class. r=smaug
MozReview-Commit-ID: 3Ms8Rt7Fqny

--HG--
extra : rebase_source : 8a91423451edb3b840b4e4f1906ff702257a896f
2016-11-01 15:36:04 +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
0d63e2a966 Bug 1305458 Part9: Move fire events and set value from HTMLInputElement::GetEventTargetParent to PreHandleEvent. r=smaug
MozReview-Commit-ID: AbbIMmmwZMZ

--HG--
extra : rebase_source : fe88fbdd905ef5f2761aaad43085a0deba588367
2016-10-21 19:04:29 +08:00
Stone Shih
5d53222adf Bug 1305458 Part8: Move dispatch XUL command from nsXULElement::GetEventTargetParent to PreHandleEvent. r=smaug
MozReview-Commit-ID: QuJSgaaAH9

--HG--
extra : rebase_source : f1175017951e4d815fa8ade342991a33d2d285d5
2016-10-21 17:58:34 +08:00
Stone Shih
0d5527c8ef Bug 1305458 Part7: Refine nsXULElement::GetEventTargetParent. r=smaug
MozReview-Commit-ID: 7ubVChOb04x

--HG--
extra : rebase_source : badbfb7238dcd08870065a4650e50e2c486fefab
2016-10-18 16:55:26 +08:00
Stone Shih
8400e13089 Bug 1305458 Part6: Move fire change event from HTMLTextAreaElement::GetEventTargetParent to PreHandleEvent. r=smaug
MozReview-Commit-ID: K0tuWlUOLw7

--HG--
extra : rebase_source : ade1219fe5e90b8c08a596b919a118a0508d23d0
2016-10-21 17:33:41 +08:00
Stone Shih
56a3971717 Bug 1305458 Part5: Move form control frame focus/blur from nsGenericHTMLFormElement::GetEventTargetParent to PreHandleEvent. r=smaug
MozReview-Commit-ID: H8Zn5OdZpyt

--HG--
extra : rebase_source : f4f3c5d46d935f68bd0d765e10e3bbd2a25c1f7f
2016-10-21 16:56:58 +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
Ehsan Akhgari
354db69f04 Bug 1318207 - Remove Navigator.mozPermissionSettings; r=baku 2016-11-17 09:19:13 -05:00
André Bargull
1b5ddd7d54 Bug 1317387: The intrinsic %ThrowTypeError% function should be frozen. r=till 2016-11-16 08:27:51 -08:00
André Bargull
fb41301b0b Bug 1317306: Length property of %TypedArray% is zero in ES2016. r=evilpie 2016-11-14 12:27:30 -08:00
Georg Kilzer
9d001f6f2b Bug 1316079 - Mark JS::PropertyDescriptor as JS_PUBLIC_API to fix linking. r=luke
Don't import JS::PropertyDescriptor into the js:: namespace, to work around
GCC emitting a warning for the attribute specification on a forward decl,
after the definition was already seen.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39159.
2016-11-15 19:31:58 +01:00
Vincent Lequertier
15d1386c74 Bug 1312155 - Move border-width constants out of nsPresContext; r=heycam 2016-11-16 10:11:00 +01:00
Tobias Schneider
bff9de0c6e Bug 1315837 - Crash in mozilla::dom::Element::UpdateIntersectionObservation. r=mrbkap 2016-11-15 15:49:00 +01:00
Ahmed (Gentz) El Gendy
8409f77b66 Bug 1234317 - Update mLastSizeMode when window size mode changes within Windows widget, avoids a window focus problem on Windows 10 with theme changes. r=jimm
MozReview-Commit-ID: FFpH8iZbxXK

--HG--
extra : rebase_source : 6d092566a4f20c07f2b8944c6a0e9e683dc39663
2016-10-26 16:49:11 -06:00
Robin Templeton
a34e46e54f Bug 1188586 - Fix exponentiation of non-primitive values. r=jandem
--HG--
extra : rebase_source : a76c03fa57b1da59f190120a7ff63d7c3eff0bdc
2016-11-16 23:38:00 +01:00
Sean Stangl
4fb677b7e6 Bug 1285074 - Make ICacheMap manipulation signal-safe. r=luke
--HG--
extra : rebase_source : 1008782cffe6b8b66bc0acee5c4de89991bc3263
2016-11-14 16:07:00 +01:00
Taahir Ahmed
06af5e9e9c Bug 1294042 - Implement constant folding for MPow r=h4writer
Fold MPow instructions that have constant `x` and `p` arguments.

--HG--
extra : rebase_source : 73d5ba820651b947e804a31be9cc94fe3352c9cd
2016-11-14 09:52:00 +01:00
Andrea Marchesini
3120de1ea7 Bug 1315905 - Cleanup Necko http security check - part 2 - tests, r=valentin 2016-11-17 14:53:30 +01:00
Andrea Marchesini
d5b0cbe35a Bug 1315905 - Cleanup Necko http security check - part 1, r=valentin 2016-11-17 14:52:16 +01:00
Carsten "Tomcat" Book
2c792af8f0 Merge mozilla-central to mozilla-inbound 2016-11-17 14:39:33 +01:00
Carsten "Tomcat" Book
e0ff800a74 merge mozilla-inbound to mozilla-central a=merge 2016-11-17 14:34:44 +01:00
Alastor Wu
1c128b5ce5 Bug 1317167 - only need to do the untrust JS checking in play(). r=jwwang
The first checking condition in the IsAllowedPlay() is used to prevent the play() operation
is called by untrusted JS when media.autoplay.enabled=false. Therefore, we don't need to check
that in CanActivateAutoplay().

MozReview-Commit-ID: 6yqoG8ISyra

--HG--
extra : rebase_source : a3e52a1a5591691f503d7d4ca78dda63c05aef27
2016-11-17 15:09:59 +08:00
Timothy Nikkel
0b046c7ab4 Bug 1317552. Send unlocked draw notifications for images async when asked to. r=aosmond 2016-11-17 00:25:53 -06:00
Astley Chen
a23a5e9202 Bug 1303654 - Enable support for basic shapes in clip-path, on nightly & aurora. r=dholbert
MozReview-Commit-ID: 4zcoJ6c7Vne

--HG--
extra : rebase_source : 406c35b381c5a0914edc69d3c876e6c431285966
2016-11-17 10:34:18 +08:00
Chris Peterson
26308b5b88 Bug 1317111 - Remove RealPlayer plugin quirk handling. r=mats 2016-11-16 13:44:24 -08:00
Tooru Fujisawa
2e362c67db Bug 1317824 - Check debugger resumption value of generator and async function. r=jimb 2016-11-17 14:19:51 +09:00
Jeff Gilbert (:jgilbert)
34864e743e Bug 1290831 - Clarify TexUnpackBlob::TexOrSubImage's fallibility and update callers. - r=cleu
MozReview-Commit-ID: EmkzXwek8JW
2016-11-16 20:44:30 -08:00
Jeff Gilbert (:jgilbert)
bc823bdc70 Bug 1316530 - Normalized int/uint count as fixed, and should be treated like floats in BlitFramebuffer. - r=ethlin
MozReview-Commit-ID: FBV0qTDk4pS
2016-11-16 20:44:28 -08:00
Phil Ringnalda
150481a1d0 Merge m-c to m-i
MozReview-Commit-ID: qtLxGnxKfu
2016-11-16 20:43:27 -08:00
Trevor Saunders
e4892518b5 bug 1270916 - switch to use the new mutation event queue system r=davidb
This puts events in the queue instead of the event tree, and then fires them
based on the queue.  Some tests need to be adjusted to make sure they check
constraints on event order correctly.
2016-11-16 23:47:02 -05:00
Trevor Saunders
ea6ea16d57 bug 1270916 - use accessible->IndexInParent() in DocAccessibleChildBase::ShowEvent() r=davidb
Since we will fire events in the correct order we can use the index of the
event target at the time the event is fired.  This protects from weird cases
where the target is inserted, and then children before the target are removed.
2016-11-16 23:47:01 -05:00
Trevor Saunders
44c897cc27 bug 1270916 - call CreateSubtree() before firing a show event for the tree root
r=davidb

This ensures that if creating the sub tree creates events to fire they will go
before the show event for the root of the tree.  It is fine to fire show events
for the subtree before the root because they will just get coalesced away
anyway.  However it is important that any hide events come before the hidden
subtree appears in the new tree.
2016-11-16 23:46:59 -05:00
Trevor Saunders
ac89878cfd bug 1270916 - add methods to maintain a queue of mutation events to coalesce or fire r=davidb
Mutation events are kept in a queue before firing.   The queue is only
coalesced when necessary, at present this is when queueing a hide event, or
just before firing all the events.  It may be possible to do without the
former, but that is left as future work.  The state of what types of events an
accessible is a target of is stored in the accessible.  Combining that with a
map from accessible and type pairs to events we can quickly remove unnecessary
events from the queue when we need to coalesce.
2016-11-16 23:46:58 -05:00