Commit Graph

284043 Commits

Author SHA1 Message Date
Andreas Tolfsen
e8affcb130 Bug 1245153 - Remove testing/marionette/ChromeUtils.js; r=automatedtester
This does not appear to be in use.

MozReview-Commit-ID: B4M335Lb1UM
2016-02-03 19:18:30 +00:00
Andreas Tolfsen
3aae77a4ec Bug 1245153 - Rename interactions.js to interaction.js; r=automatedtester
MozReview-Commit-ID: F51ENbkcoR2
2016-02-03 19:15:54 +00:00
Andreas Tolfsen
637941b9c0 Bug 1245153 - Rename elements.js to element.js; r=automatedtester
MozReview-Commit-ID: KAGGXOHMvyM
2016-02-03 19:14:10 +00:00
Andreas Tolfsen
35dda9623c Bug 1245153 - Remove testing/marionette/atoms; r=automatedtester
MozReview-Commit-ID: 1aeRNnvqmcS
2016-02-03 19:00:46 +00:00
Andreas Tolfsen
687112e2a8 Bug 1245153 - Add event.js module and remove EventUtils.js and sendkeys.js from manifest; r=automatedtester
MozReview-Commit-ID: 9KqUpfp6KHG
2016-02-03 18:56:45 +00:00
Andreas Tolfsen
3c6b5f3f9e Bug 1245153 - Employ new modules throughout Marionette; r=automatedtester
This change removes almost all the remaining uses of loadSubScript and
global scope pollution.  The only remaining use is for common.js, which
is resolved by a later bug for evaluating scripts.

MozReview-Commit-ID: 96h0yLElauq
2016-02-03 18:56:02 +00:00
Andreas Tolfsen
240495431c Bug 1245153 - Convert interactions.js and elements.js to modules; r=automatedtester
To simplify the dependency chain and reduce the number of duplicate
functions in Marionette, a number of functions have been removed from
interactions.js and added to elements.js.  This makes them more easily
re-usable and works around a circular dependency issue.

MozReview-Commit-ID: TZc3VZzHqM
2016-02-03 18:54:23 +00:00
Andreas Tolfsen
cdd52c1c32 Bug 1245153 - Convert frame-manager.js to a module; r=automatedtester
MozReview-Commit-ID: HNCvHitE3Fh
2016-02-03 18:52:37 +00:00
Andreas Tolfsen
d2ef504c22 Bug 1245153 - Convert atoms.js to a module; r=automatedtester
Through some very clever hacking of the arguments to each of the atoms,
we are able to contain this in a JS module: Atoms normally extract their
arguments directly from the function scoped `arguments' variable, but
by explicitly naming `window' as the last argument in the functions'
prototype we are able to set the `window' variable used inside.

This is obviously a big hack, but it encapsulates the atoms and we are
moving away from atoms in the long term.

MozReview-Commit-ID: KGO77fjRN2d
2016-02-03 18:50:17 +00:00
Andreas Tolfsen
b2d9b68362 Bug 1245153 - Convert EventUtils.js to a module; r=automatedtester
testing/marionette/sendkeys.js has been merged into the
new testing/marionette/event.js module, together with
testing/marionette/EventUtils.js.

There is a lot of functionality still left in this module that we can
probably remove, as it is not in use by Marionette.

MozReview-Commit-ID: GrjNuK9VPjp
2016-02-03 18:47:08 +00:00
Andreas Tolfsen
50123c8439 Bug 1245153 - Wrap errors before they are passed through the IPC channel; r=automatedtester
error.wrap acts as a no-op if it is passed a prototype which is already
of the WebDriverError prototypal chain.

MozReview-Commit-ID: Gd9kUEvsgNv
2016-02-03 18:44:55 +00:00
Andreas Tolfsen
ecd87e078d Bug 1245153 - Add error.wrap to wrap Error prototypes; r=automatedtester
Generally, Error prototypes that are not based on WebDriverError must
be wrapped so that they can be serialised across the AsyncMessageChannel.

MozReview-Commit-ID: EtkpEOBhrST
2016-02-03 18:43:37 +00:00
Andreas Tolfsen
f47f12bbfb Bug 1245153 - error.isError must recognise built-in Error prototypes; r=automatedtester
Due to a previous programming error, error.isError only recognised
the base Error prototype.  It must also test for the other built-in
prototypes, such as TypeError et al.

MozReview-Commit-ID: HLkiOAg0Jl1
2016-02-03 18:41:37 +00:00
Alexander Surkov
a75d979c6e Bug 1247364 - use AllChildrenIterator::Seek by a11y tree walker, r=davidb 2016-02-11 08:24:38 -05:00
Alexander Surkov
a2cfdd1d79 Bug 1247364 - add AllChildrenIterator::Seek, r=bz 2016-02-11 08:22:39 -05:00
Kartikaya Gupta
125288610d Bug 1245925 - Revert cset 2ae6e19e2caf now that a proper fix has landed. r=me 2016-02-11 08:14:17 -05:00
Dan Minor
258efa8164 Bug 1244143 - Record whether or not an artifact build was used in build telemetry data r=gps
This adds a substs field and cherrypicks the MOZ_ARTIFACT_BUILDS field so
we can determine whether or not an artifact build occurred.

MozReview-Commit-ID: 8aio8mP8pmR
2016-02-01 14:41:13 -05:00
Gijs Kruitbosch
1fd6231886 Bug 1239744 - no longer automatically show an on-screen keyboard for programmatic focus changes, tidy up osk logic in IMEHandler, r=masayuki 2016-02-09 19:39:55 +00:00
Matt Woodrow
72b481bf88 Bug 1216832 - Add crashtest. r=roc 2016-02-12 00:19:19 +13:00
Matt Woodrow
cf93906bfb Bug 1216832 - Handle preserve-3d visible regions during display list building by always transforming from the preserve-3d root each time. r=roc 2016-02-12 00:18:55 +13:00
Joel Maher
edf0d95304 Bug 1246174 - fix tp5o responsiveness calculation for reporting to perfherder. r=parkouss
MozReview-Commit-ID: 3MP9ugObja4
2016-02-10 18:32:16 -08:00
Carsten "Tomcat" Book
ed302f7126 Merge mozilla-central to mozilla-inbound 2016-02-11 11:56:20 +01:00
Carsten "Tomcat" Book
0a555533a6 merge mozilla-inbound to mozilla-central a=merge 2016-02-11 11:52:01 +01:00
Carsten "Tomcat" Book
1b78803718 merge fx-team to mozilla-central a=merge 2016-02-11 11:47:12 +01:00
Carsten "Tomcat" Book
7021be8b0e Backed out changeset b9aecc2e6334 (bug 1234813) for test failures in connect-src-beacon-blocked.sub.html 2016-02-11 11:33:06 +01:00
Carsten "Tomcat" Book
c1a1ca6e7e Backed out changeset 84b8eef80b22 (bug 1234813) 2016-02-11 11:32:32 +01:00
J. Ryan Stinnett
12a47df8bd Bug 1244226 - Fix promise error in simulator test. r=ochameau
MozReview-Commit-ID: B6UpRTlJYDM
2016-02-11 00:43:59 -06:00
Carsten "Tomcat" Book
38b8addd44 Backed out changeset 5bf07e98c4ee (bug 1243750) for breaking Linux and OS X Nightly Builds 2016-02-10 16:08:27 +01:00
Carsten "Tomcat" Book
3847eaf3bd merge mozilla-inbound to mozilla-central a=merge 2016-02-10 11:47:34 +01:00
Edgar Chen
4e4d5687d3 Bug 1245398 - Use in-tree script for all mulet tests; r=ahal
MozReview-Commit-ID: AntB37HzGXa
2016-02-10 18:12:02 +08:00
Gian-Carlo Pascutto
816dbc9e45 Bug 1230768. r=jesup 2016-02-10 17:15:28 +01:00
Brian Grinstead
4a87e7e277 Bug 1246843 - Add a default page for mozscreenshots mochitest;r=MattN
MozReview-Commit-ID: Cv74fVKrUkQ
2016-02-09 19:57:34 -08:00
Nicholas Nethercote
0925e2081e Bug 1246855 (part 2) - Measure CompartmentPrivates during memory reporting. r=terrence.
This also expands the coverage to include the hash table elements in the
mWrappedJSMap.
2016-02-10 08:41:38 +11:00
Nicholas Nethercote
1103e7d6df Bug 1246855 (part 1) - Remove the in-advance measurement of CompartmentPrivates. r=terrence.
Measuring in advance confuses DMD. It's better to measure during reporting.
The next patch will reinstate the measurement, but during reporting.
2016-02-10 08:36:35 +11:00
Phil Ringnalda
1438bf5807 Back out edf118eb93d2 (bug 1227344) for multiple-update.https.html bustage 2016-02-09 21:22:54 -08:00
Trevor Saunders
7407d1ba03 bug 1246772 - work around x87 floating point truncation issues in gecko r=dholbert
test_value_storage.html needs floating point numbers to round trip through css
parsing and serialization, but floating point isn't exact so we should be
careful what numbers we test.  It turns out the value 0.9 the test was using is
close to the border between 229 and 230 when converted to an 8 bit int, but 0.8
is safer so change to that since the test doesn't depend on the value.  Note
that this does not fix the issue that numbers don't always round trip, but only
wall papers over it by changing the test.
2016-02-10 00:10:56 -05:00
Jim Chen
0c9549bd87 Bug 1241558 - Re-enable testInputConnection on 4.3; r=gbrown 2016-02-09 23:36:41 -05:00
Jim Chen
906cd783ea Bug 1241558 - Add test to testInputConnection; r=esawin 2016-02-09 23:36:41 -05:00
Jim Chen
45c8ed0b53 Bug 1241558 - Don't ignore Gecko selection when Gecko commits composition; r=esawin
When Java is changing the composition, we should ignore the Gecko
selection. However, when Gecko is committing its composition, we should
not be ignoring the corresponding Gecko selection change. In other
words, we should only ignore selection changes when we know the change
is from Java.
2016-02-09 23:36:41 -05:00
Ting-Yu Lin
7ea335f8e8 Bug 1246572 - Remove the two blue bars of the text selection for Fennec. r=snorp 2016-02-09 23:19:43 +08:00
Kris Maglione
fc4359080e Backout one changeset from bug 1213895 for M-oth bustage. r=bustage
MozReview-Commit-ID: KQFSnPH49Bl
2016-02-10 19:14:21 -08:00
Kris Maglione
23d762a107 Bug 1235571: Add an adoptTab method to <tabbrowser> and remove duplicated code. r=billm 2016-02-10 15:27:08 -08:00
Nicholas Nethercote
d0f6c7140c Bug 1246834 - Fix memory reporting of nsFontFamily{List,Name}. r=jfkthame. 2016-02-09 12:16:34 +11:00
Ben Kelly
69a0c61f4a Bug 1227344 Try to ensure script content is always different in update tests by using .clock(). r=jdm 2016-02-09 19:55:23 -08:00
Ehsan Akhgari
8871bbfc26 Bug 1237363 - Part 3: Add a test for a mochitest finishing without unregistering its service worker; r=jdm 2016-02-09 19:33:41 -08:00
Ehsan Akhgari
c66f59b94b Bug 1237363 - Part 2: Fail mochitests which register a service worker without unregistering it; r=jdm 2016-02-09 19:33:41 -08:00
Ben Kelly
ccbd386fb7 Bug 1238954 P2 Fix csp service worker tests to register and unregister separate scopes. r=ehsan 2016-02-09 19:33:40 -08:00
Ben Kelly
d9246c22d5 Bug 1238954 P1 Purge potentially controlled document entries when evicting service worker registrations. r=ehsan 2016-02-09 19:33:40 -08:00
Bogdan Postelnicu
a4a4ed6732 Bug 1239269 - as lastIndex cannot be negative change it's storage class from int32_t to uint32_t, r=Waldo 2016-02-08 13:51:47 +02:00
Boris Zbarsky
59ce5da6f2 Bug 1241349 part 5. Start using binding_detail::UnprivilegedJunkScopeOrWorkerGlobal in dictionary ToJSON conversions. r=bholley 2016-02-10 23:31:33 -05:00