Commit Graph

719 Commits

Author SHA1 Message Date
Maksim Lebedev
8bce9ef498 Bug 979497 - Once DispatchPointerFromMouseOrTouch is called, aFrame can be deleted. r=smaug 2015-04-14 11:46:39 -04:00
Kartikaya Gupta
8a87c2918e Bug 1146349 - Make the native event synthesization functions in DOMWindowUtils async. r=smaug 2015-04-14 11:36:36 -04:00
Ms2ger
2aad41dbe8 Bug 949614 - Use === for SimpleTest.is; r=Waldo
This is more likely to be correct, and a necessary step in case we ever want
to move to Object.is.

This keeps ise as an alias for is, and introduces is_loosely for the old
behaviour.
2015-04-14 15:28:13 +02:00
Masayuki Nakano
468f1a76da Bug 492394 part.1 NS_QUERY_CHARACTER_AT_POINT should also return tentative caret offset for the point r=smaug, sr=smaug 2015-04-14 14:27:37 +09:00
Nathan Froyd
68d9d5628d Bug 1153267 - part 1 - use smart-pointer .forget() instead of NS_ADDREF+assign; r=ehsan 2015-03-31 10:03:49 -04:00
Masayuki Nakano
6d714c39d6 Bug 1124608 Support D3E EventModifierInit r=smaug 2015-04-13 16:16:13 +09:00
David Anderson
d53b1eacf2 Fix tests that depend on synchronous scrolling. (bug 1140293, r=mstange,masayuki,kgilbert) 2015-04-13 00:51:43 -04:00
Masayuki Nakano
a95321e23d Bug 1152229 Define FnLock as a KeyboardEvent.code value r=smaug 2015-04-09 12:03:31 +09:00
William Chen
a5537eed32 Bug 1150308 - Use flattened tree parent when settings event state on ancestors. r=smaug 2015-04-08 18:13:48 -07:00
Olli Pettay
d7df95fdb8 Bug 936092, initial DnD support for e10s, r=enndeakin,karlt 2015-04-08 21:48:11 +03:00
Ryan VanderMeulen
02c28e6477 Backed out changesets 33d37539c4ab and 55524bdeb708 (bug 936092) for suspicion of causing e10s test_bug417418.html asserts on Linux.
CLOSED TREE
2015-04-08 13:52:21 -04:00
Olli Pettay
c299942977 Bug 936092, initial DnD support for e10s, r=enndeakin,karlt 2015-04-08 18:30:03 +03:00
Carsten "Tomcat" Book
094daed941 Backed out changeset 1158acbea753 (bug 1140293) for frequent windows m-oth test failures in test_wheeltransaction.xul 2015-04-08 10:22:34 +02:00
Masayuki Nakano
7d1768828a Bug 1151186 part.2 nsHTMLEditor should accept composition events even while there is no active editing host but it has composition r=ehsan 2015-04-08 11:50:13 +09:00
dvander@alliedmods.net
7e5ca15a1a Fix tests that depend on synchronous scrolling. (bug 1140293, r=mstange,masayuki,kgilbert) 2015-04-07 18:20:43 -07:00
Ryan VanderMeulen
7b24f34150 Backed out changeset 8882af540247 (bug 1029451) for intermittent timeouts in the newly-added test. 2015-04-06 11:22:00 -04:00
Tom Tromey
95011c43c2 Bug 1029451 - Preserve mIsSynthesizedForTests on mouse events. r=ehsan 2015-04-03 08:17:00 -04:00
Kartikaya Gupta
9cffc6129c Bug 1146843 - Revert part of cset 33c30e283fa8 because the code is used in Fennec. r=snorp 2015-04-02 20:45:50 -04:00
Mike Hommey
ee117642af Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd 2015-04-01 13:51:45 +09:00
Wes Kocher
9b4388ff25 Merge m-c to inbound a=merge 2015-03-27 17:31:19 -07:00
Ryan VanderMeulen
c956f7c20d Merge m-c to fx-team. a=merge 2015-03-27 12:21:41 -04:00
Tom Tromey
a21b167040 Bug 1144820 - Use rvalue reference in AddProfileTimelineMarker. r=smaug 2015-03-27 08:41:00 -04:00
Timothy Nikkel
67581c6b64 Bug 1144951. Rename ConvertAppUnits to ScaleToOtherAppUnits. r=mats 2015-03-26 16:44:40 -05:00
Kearwood (Kip) Gilbert
d978a83d39 Bug 969250 - Part 1: Implement scroll snapping for scrollbars (v7 Patch),r=roc 2015-03-25 11:40:31 -07:00
Wes Kocher
cad55266a2 Backed out 2 changesets (bug 969250) on the other theory that it broke lots of tests, forcing a prolonged CLOSED TREE
Backed out changeset 3c1005c81e52 (bug 969250)
Backed out changeset 3ed9d5170d13 (bug 969250)
2015-03-25 14:46:47 -07:00
Kearwood (Kip) Gilbert
906ca87f97 Bug 969250 - Part 1: Implement scroll snapping for scrollbars (v7 Patch),r=roc 2015-03-25 11:40:31 -07:00
Ryan VanderMeulen
d70bbe5871 Backed out changeset a6b9c152a7d1 (bug 1140293) for mochitest failures.
CLOSED TREE
2015-03-25 08:42:46 -04:00
David Anderson
b23b745a66 Fix some tests that depend on synchronous scrolling. (bug 1140293 part 1, r=masayuki,mstange,kgilbert) 2015-03-25 01:03:48 -07:00
David Anderson
a939ce2deb Don't route wheel events through APZ if they require custom deltas. (bug 1146674, r=kats) 2015-03-24 14:58:49 -07:00
William Chen
8addb0b26c Bug 1145910 - Cross ShadowRoot boundary when updating ancestor state in event state manager. r=smaug 2015-03-24 03:55:52 -07:00
Ehsan Akhgari
5cccea6f0f Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Boris Zbarsky
8ae61c1c99 Bug 1144802 part 4. Stop returning true from ByteCodeEmitter::needsImplicitThis based on the compileAndGo flag. r=luke 2015-03-20 00:34:08 -04:00
Boris Zbarsky
988b8e01be Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp.  The
rest of this diff was generated by running the following commands:

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Kartikaya Gupta
af299ba137 Bug 1144324 - Remove the codepaths that conditionally enable touch events based on touch the presence of touch listeners. r=smaug,jimm 2015-03-19 06:37:39 -04:00
Robert O'Callahan
a6b743d3be Bug 1143972. Return 0,0 for offsetX/Y when the document has no presentation. r=mats 2015-03-18 02:04:32 +13:00
Tim Taubert
a87b3d072c Bug 1124409 - Fix test_bug659071.html to properly reset page zoom before finishing r=smaug 2015-03-17 22:05:58 +01:00
Tim Taubert
400ee71350 Bug 1124409 - Fix intermittent browser_bug1015721.js failures by ensuring the EventStateManager has a document before trying to dispatch ZoomChangeUsingMouseWheel r=smaug 2015-03-17 22:05:06 +01:00
Ryan VanderMeulen
702123c445 Backed out changeset dccbdda5be64 (bug 1124409) for Linux mochitest-e10s permafail.
CLOSED TREE
2015-03-17 14:12:39 -04:00
Tim Taubert
eb643e0034 Bug 1124409 - Fix intermittent browser_bug1015721.js failures by ensuring the EventStateManager has a document before trying to dispatch ZoomChangeUsingMouseWheel r=smaug 2015-03-17 12:34:18 +01:00
Catalin Badea
f010899ae9 Bug 1142015 - Add source for messages dispatched to a Service Worker. r=baku 2015-03-16 22:23:42 +02:00
Robert O'Callahan
cae6c20e26 Bug 69787. Implement MouseEvent.offsetX/Y. r=mats,smaug 2015-03-14 00:50:10 +13:00
Jonathan Griffin
8873726f67 Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Carsten "Tomcat" Book
9511e52432 Backed out changeset fdd33ef9606e (bug 969250) for m5 test failures 2015-03-11 10:33:52 +01:00
Kearwood (Kip) Gilbert
97eae3728a Bug 969250 - Part 1: Implement scroll snapping for scrollbars (v5 Patch). r=roc 2015-03-03 17:40:00 +01:00
Kartikaya Gupta
e475723c6e Bug 1137267 - Remove unneeded flags to track touch listeners and touch caret. r=smaug,dvander,botond 2015-03-10 09:29:25 -04:00
dvander@alliedmods.net
82c3273e96 Don't async scroll overflowed single-line text boxes in APZ. (bug 1126090 part 6, r=botond) 2015-03-06 14:26:59 -08:00
dvander@alliedmods.net
aecbcf59c8 Wait for all paints to flush before synthesizing scroll events. (bug 1126090 part 5, r=smaug) 2015-03-06 14:26:59 -08:00
dvander@alliedmods.net
e3d4680337 If APZ is enabled, do not handle wheel-event scrolling in layout. (bug 1126090 part 1, r=smaug) 2015-03-06 14:26:59 -08:00
Timur Valeev
f3a3ed962d Bug 1135627 - Add implementation of DragEvent constructor. r=jdm r=smaug 2015-03-04 17:52:03 +03:00
Kearwood (Kip) Gilbert
bbc4c7b4e8 Bug 945584: Part 6 - Implementation of scroll snapping (v10 Patch), r=roc, r=kats
- Implemented CSS scroll snapping (http://dev.w3.org/csswg/css-snappoints/)
2015-02-19 15:53:30 -08:00