Commit Graph

2116 Commits

Author SHA1 Message Date
Josh Matthews
9eb14e014e Bug 1134330 - Mark fetch events as reloads appropriately. r=smaug 2015-03-23 13:36:44 -04:00
Kartikaya Gupta
0b2c448446 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
Nikhil Marathe
d50fe835f6 Bug 1130688 - Implement additional scope checking in service worker registration. r=bkelly,ehsan 2015-03-09 18:57:06 -07:00
Botond Ballo
b7b1daa972 Bug 1139675 - Simplify the APIs for getting and setting the pres shell resolution. r=mstange,mattwoodrow 2015-03-06 18:07:59 -05:00
Markus Stange
02b07f6efa Bug 1142211 - Add layerization testing mechanisms to reftest. r=roc
This adds support for class="reftest-opaque-layer" and for
reftest-assigned-layer="some-layer-name" to the reftest harness.

From reftest/README.txt:

Opaque Layer Tests: class="reftest-opaque-layer"
================================================

If an element should be assigned to a PaintedLayer that's opaque, set the class
"reftest-opaque-layer" on it. This checks whether the layer is opaque during
the last paint of the test, and it works whether your test is an invalidation
test or not. In order to pass the test, the element has to have a primary
frame, and that frame's display items must all be assigned to a single painted
layer and no other layers, so it can't be used on elements that create stacking
contexts (active or inactive).

Layerization Tests: reftest-assigned-layer="layer-name"
=======================================================

If two elements should be assigned to the same PaintedLayer, choose any string
value as the layer name and set the attribute reftest-assigned-layer="yourname"
on both elements. Reftest will check whether all elements with the same
reftest-assigned-layer value share the same layer. It will also test whether
elements with different reftest-assigned-layer values are assigned to different
layers.
The same restrictions as with class="reftest-opaque-layer" apply: All elements
must have a primary frame, and that frame's display items must all be assigned
to the same PaintedLayer and no other layers. If these requirements are not
met, the test will fail.
2015-03-11 14:51:59 -04:00
Mantaroh Yoshinaga
46662b3fb2 Bug 1106905 - Modify mobile desktop mode implementation to use a desktop viewport. r=kats 2015-03-12 12:14:55 -04:00
Boris Zbarsky
8fc3649b64 Bug 1137334. Remove nsIDOMWindowUtils.getParent. r=bholley. We still have a CLOSED TREE, sadly. 2015-02-26 15:58:59 -05:00
Wes Kocher
34716e99af Backed out changeset 01abd154ac05 (bug 1137334) for potentially busting m-e10s-dt on a CLOSED TREE 2015-02-26 23:17:00 -08:00
Boris Zbarsky
6371501610 Bug 1137334. Remove nsIDOMWindowUtils.getParent. r=bholley 2015-02-26 15:58:59 -05:00
Masayuki Nakano
483fbc830f Bug 1119609 part.18 Add nsITextInputProcessor.commitCompositionWith() and drop aCommitString from nsITextInputProcessor.commitComposition() r=smaug, sr=smaug 2015-02-19 15:50:21 +09:00
Masayuki Nakano
60d702a190 Bug 1119609 part.12 nsITextInputProcessor should take KeyboardEvent as an argument of composition releated methods for dispatching key events around composition events r=smaug, sr=smaug 2015-02-19 15:50:20 +09:00
Masayuki Nakano
d1a96d851a Bug 1119609 part.11 TextEventDispatcher shouldn't allow to begin input transaction during dispatching a event r=smaug 2015-02-19 15:50:20 +09:00
Masayuki Nakano
08fdbb2ac3 Bug 1119609 part.8 nsITextInputProcessor.keydown() and nsITextInputProcessor.keyup() should be able to only modify its modifier state without dispatching key events r=smaug, sr=smaug 2015-02-19 15:50:19 +09:00
Masayuki Nakano
1d6da0c4e1 Bug 1119609 part.7 Make TextInputProcerros possible to share modifier state r=smaug, sr=smaug 2015-02-19 15:50:19 +09:00
Masayuki Nakano
be3248be75 Bug 1119609 part.6 TextInputProcessor should manage modifier key state and set it to dispatching key events automatically r=smaug, sr=smaug 2015-02-19 15:50:19 +09:00
Masayuki Nakano
a05a4768db Bug 1119609 part.5 Compute KeyboardEvent.location and .keyCode if they are 0 r=smaug, sr=smaug 2015-02-19 15:50:19 +09:00
Masayuki Nakano
b6df689270 Bug 1119609 part.4 Add keydown() and keyup() to nsITextInputProcessor r=smaug, sr=smaug 2015-02-19 15:50:19 +09:00
Josh Matthews
be893961ee Bug 1065216 - Dispatch a fetch event to workers when controlled pages initiate a network load. r=baku,mayhemer,smaug 2015-02-18 20:34:29 -05:00
Ryan VanderMeulen
e41adc7788 Backed out changeset 25f90464e93b (bug 1065216) for Android mochitest failures. 2015-02-18 16:00:33 -05:00
Josh Matthews
c1a7e4eed2 Bug 1065216 - Dispatch a fetch event to workers when controlled pages initiate a network load. r=baku,mayhemer,smaug 2015-02-18 14:10:52 -05:00
Kartikaya Gupta
ac598c5c78 Bug 1131695 - Ensure that mouse and touch events sent via BrowserElementParent to the child are offsetted correctly. r=fabrice 2015-02-16 21:41:49 -05:00
Carsten "Tomcat" Book
8dfe592dbc Backed out changeset 969d634fe396 (bug 1131695) for android m4 perma failures on a CLOSED TREE 2015-02-17 09:27:25 +01:00
Kartikaya Gupta
80d00d9760 Bug 1131695 - Ensure that mouse and touch events sent via BrowserElementParent to the child are offsetted correctly. r=fabrice 2015-02-16 21:41:49 -05:00
Wes Kocher
a78b056f0d Backed out 2 changesets (bug 1131695) for mochitest-1 failures on a CLOSED TREE
Backed out changeset 13af514d6aea (bug 1131695)
Backed out changeset 6823625f2042 (bug 1131695)
2015-02-13 12:43:20 -08:00
Kartikaya Gupta
c9c82c55da Bug 1131695 - Ensure that mouse and touch events sent via BrowserElementParent to the child are offsetted correctly. r=fabrice 2015-02-13 14:33:09 -05:00
Boris Zbarsky
c1347d4d64 Bug 975699. Remove mozIndexedDB. r=khuey 2015-02-12 18:39:26 -05:00
Andrea Marchesini
3557feb052 Bug 984050 - Persist ServiceWorkerRegistrations. r=bent, r=nsm 2015-02-11 06:53:00 -05:00
Carsten "Tomcat" Book
a0acb2cde4 Backed out changeset b3a1efe7900a (bug 984050) for cpp unitest failures on a CLOSED TREE 2015-02-11 13:29:16 +01:00
Andrea Marchesini
937507217d Bug 984050 - Persist ServiceWorkerRegistrations. r=bent,nsm 2015-02-11 10:10:23 +01:00
Ting-Yu Chou
d1bc636129 Bug 1127189 part 2 - Initialize browser API directly to get rid of nsBrowserElement observers. r=kanru 2015-02-09 15:04:18 +08:00
Masayuki Nakano
6cea2a629c Bug 1131026 Rename nsITextInputProcessor.init() and .initForTests() to .beginInputTransaction() and .beginInputTransactionForTests() r=smaug, sr=smaug 2015-02-10 17:09:29 +09:00
Carsten "Tomcat" Book
c7083de26b Backed out changeset 2f31942e18b5 (bug 1127189) 2015-02-09 13:22:25 +01:00
Ting-Yu Chou
7d7f2fce93 Bug 1127189 - part 2 - Initialize browser API directly to get rid of nsBrowserElement observers. r=kanru
--HG--
extra : rebase_source : 84f091ace43aebdb1c71e3060aa5a8220561977d
2015-02-09 15:04:18 +08:00
Phil Ringnalda
8b344901ef Back out 3da63ccbadef (bug 984050) for Windows cppunit bustage
CLOSED TREE
2015-02-06 19:49:42 -08:00
Andrea Marchesini
dff0b85534 Bug 984050 - Persist ServiceWorker registrations, r=bent, r=nsm 2015-02-06 23:31:33 +00:00
Ryan VanderMeulen
ebe6b0c0e7 Backed out 4 changesets (bug 671389) for frequent B2G debug test_tcpsocket_client_and_server_basics.html crashes.
Backed out changeset b782435e5640 (bug 671389)
Backed out changeset 0f8d62109bfe (bug 671389)
Backed out changeset 8d6021f66c49 (bug 671389)
Backed out changeset cd3e227df9dc (bug 671389)
2015-02-05 16:48:18 -05:00
Deian Stefan
f3d5c54eea Bug 671389 - Part 1: Implement CSP sandbox directive r=ckerschb,smaug 2015-02-03 23:40:00 +01:00
Alexandre Lissy
5ef4736bea Bug 1128489 - Direct communication between SettingsService and SettingsRequestManager. r=qdot 2015-02-03 02:45:00 +01:00
Paul Rouget
609bd58ca6 Bug 1118134 - expose a method to set chromemargin. r=mstange r=bz 2015-02-02 13:14:00 +01:00
Markus Nilsson
582d543ca6 Bug 1084505 - Fix explicit permission lookup for trusted hosted apps r=fabrice 2015-01-31 11:10:50 -08:00
Masayuki Nakano
f1abe83b3f Bug 936313 part.1 Remove DOM_KEY_LOCATION_MOBILE and DOM_KEY_LOCATION_JOYSTICK r=smaug+mwu+cpeterson, sr=smaug 2015-01-28 22:36:53 +09:00
Masayuki Nakano
b3a2564e22 Bug 917322 part.19 Add nsITextInputProcessorCallback r=smaug+xyuan, sr=smaug 2015-01-28 15:27:33 +09:00
Masayuki Nakano
d972563d7a Bug 917322 part.14 Remove sendCompositionEvent() and createCompositionStringSynthesizer() of nsIDOMWindowUtils and nsICompositionStringSynthesizer r=smaug, sr=smaug 2015-01-28 15:27:32 +09:00
Masayuki Nakano
df28389cf4 Bug 917322 part.11 Create nsITextInputProcessor and implement it as mozilla::TextInputProcessor r=smaug, sr=smaug
--HG--
rename : dom/base/CompositionStringSynthesizer.cpp => dom/base/TextInputProcessor.cpp
rename : dom/base/CompositionStringSynthesizer.h => dom/base/TextInputProcessor.h
2015-01-28 15:27:32 +09:00
Nikhil Marathe
0c086acc76 Bug 1089778 - ServiceWorkerRegistration is keyed by scope for event dispatch and invalidation. r=baku
--HG--
extra : rebase_source : 012bcfa0aef20bc6b79e030cb7439f03799e9370
2014-10-27 11:52:57 -07:00
Kartikaya Gupta
e116db3134 Bug 1121353 - Implement SynthesizeNativeTouchPoint in the gonk widget to allow injecting touch events into APZ. r=mwu 2015-01-20 00:38:00 +01:00
Carsten "Tomcat" Book
ce135ea776 Merge mozilla-central to b2g-inbound 2015-01-22 14:41:48 +01:00
Dimi Lee
1b2902b630 Bug 1105666 - [BrowserAPI] Add an API to indicate this iframe could receive NFC event. r=smaug, kanru, yoshi 2015-01-22 17:40:17 +08:00
Nikhil Marathe
595bb41b83 Bug 1113555 - Update ServiceWorker registration lifecycle. r=baku
Folded:
Allow file: serviceworkers
Registration fixes WIP
Queue updatefound instead of immediately firing
Initial "atomically" steps of registration should also be a part of the job
Fix some compiler errors
Be sure not to null out various workers too early during activation
Integrated ServiceWorkerGlobalScope::Update into the ServiceWorkerRegisterJob.

--HG--
extra : rebase_source : 14dd02d18e1209147acd3fd118807c9bd8d4d300
2014-12-19 02:00:29 -08:00
L. David Baron
5f2e31d6c4 Bug 1115691 patch 2 - Expose counts of frames constructed and reflowed on DOMWindowUtils. r=roc
This counts are intended to be useful for:
 * tests
 * perhaps developer tools
that need to determine whether frame construction or reflow has happened
in a particular interval.
2015-01-11 15:43:10 -08:00