Commit Graph

463113 Commits

Author SHA1 Message Date
Andreas Tolfsen
a683538e91 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

--HG--
extra : histedit_source : 70f70a8aeffef3fca18addfa3fca575a9128e11a
extra : rebase_source : c251c58a7a086c606d3d3941adfeee26ecc49504
extra : commitid : 8XlX4zVZQUN
extra : source : 6bb93562a57656e6cc744c3c901a5ec80f9ec4d8
extra : intermediate-source : ad5bf32d8fef351a0bc4d6249bd16a34aa83f548
2016-02-03 18:56:02 +00:00
Andreas Tolfsen
f363202bb1 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

--HG--
extra : histedit_source : 06b82234371ca8cd6bb0ede9cbf03f848fc66d82
extra : rebase_source : da99b4329baba3fa8a604b9b2952692568b96a75
extra : commitid : BTgnO71SGbB
extra : source : 5da7628c376765842c013f90566d4264f9e9312a
extra : intermediate-source : 68a6dda373d2efffd8cf76103a80f1003c969093
2016-02-03 18:54:23 +00:00
Andreas Tolfsen
3ce634a949 Bug 1245153 - Convert frame-manager.js to a module; r=automatedtester
MozReview-Commit-ID: HNCvHitE3Fh

--HG--
extra : histedit_source : f2b002f19e5d50378bff47939884a1dbd8d774b5
extra : rebase_source : bad2ebd1e5869cfea01e02041d20f928d4c159fa
extra : commitid : 17ftSZYTuNL
extra : source : bd41e4ab829df58950b4262d5d3ab6c457eee9fa
extra : intermediate-source : 6ebd9fde50c0303daeffc5cbe055afbf148113b3
2016-02-03 18:52:37 +00:00
Andreas Tolfsen
7e40dc6044 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

--HG--
extra : histedit_source : aaa2005b8872127d8314fd6ad5c15b91d09555b9
extra : rebase_source : 1dbc1d1b97c6ca3abc3e9b78ce54c0a5a5883f6e
extra : commitid : 6AkmEPFP2Y4
extra : source : ee7ee24cc65e1b0b316963cc7963425f254e67cc
extra : intermediate-source : e41a5b41859a904042168dbbc9e5b983a5688b98
2016-02-03 18:50:17 +00:00
Andreas Tolfsen
44e470a2bb 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

--HG--
rename : testing/marionette/EventUtils.js => testing/marionette/event.js
extra : histedit_source : f2fea53f3c7a5f49d1f0ef6f2bef4b98aa3566f2
extra : rebase_source : 6094b11b4325b279dc40b844df327d61a9b90ca6
extra : commitid : GvNeDeClc50
extra : source : 4b2a5ee7199efd86e2b8db1f80c492378649f8dc
extra : intermediate-source : 048d7007075192bad292d312d65920b27aaf6a1f
2016-02-03 18:47:08 +00:00
Andreas Tolfsen
cd049d0804 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

--HG--
extra : histedit_source : a6e620e3e4b6bfa4e1d77df48eaab59ffbc3cdce
extra : rebase_source : a94ae7fff63530a4cc4d1875bb4894657834ecb0
extra : commitid : HObqpKV7a9s
extra : source : d75ad1397656e43d22d0d69211df9fce3a667f0d
extra : intermediate-source : eff85dc0eaa9da4c4dff306cdb9a7474df29ccf1
2016-02-03 18:44:55 +00:00
Andreas Tolfsen
993e7e8a4e 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

--HG--
extra : histedit_source : c35a686b6b9cea4ae50d0d63223f4cdde6f6e4a2
extra : rebase_source : 4aad87845982cc81fec375ae9f63223a58003aec
extra : commitid : 825ScXhXQSy
extra : source : 1f5e37f8e44641e5434d8393f307f2ea4e80cdc6
extra : intermediate-source : dc6460e0f336c151be27bd124935b52361ea9557
2016-02-03 18:43:37 +00:00
Andreas Tolfsen
4b2e6ac6c6 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

--HG--
extra : histedit_source : 77fd0e6b6471b18528c27954e6348f93fc520d64
extra : rebase_source : 0e6d2085c37f2a2646c560b10e0c35eead6fcd3a
extra : commitid : F50Xhg2Q86e
extra : source : aec0a01666851a1e03dcb139e1766bae0c1b0fd7
extra : intermediate-source : 36526a2e8b0071b9f51cc30d5b6e0b5c345ec437
2016-02-03 18:41:37 +00:00
Gian-Carlo Pascutto
6f34c40f5c Bug 1247741 - Additional checks for pointer validity in LdrLoadDLL detour. r=aklotz 2016-02-18 00:56:00 +01:00
Gregory Szorc
1f9b71ef94 Bug 1249857 - Reference proper cache attribute; r=nalexander
self._pushhead_cache no longer exists. But self._tree_cache does!

This was causing AttributeError when running `mach artifact clear-cache`
and other misc `mach artifact` sub-commands.

MozReview-Commit-ID: CP8NL6eCfhD

--HG--
extra : rebase_source : 0afd11722e304c8e0ecd9a305023d43dff79dddd
extra : amend_source : ad3df6d780e7b968573588e9a1029f1a1c9d18b0
2016-02-20 21:44:56 -08:00
Gregory Szorc
e35e937238 Bug 1249857 - Do not print times when running mach from config.status; r=nalexander
Currently, config.status runs `mach artifact install`. mach commands prefix
output lines with elapsed time by default. When running from `mach build`,
there will be 2 sets of times in `mach artifact install` output lines.
When config.status is run directly, there will be no times printed
except for `mach artifact install`. It is weird both ways.

Fix it by not printing lines when running `mach artifact install` from
config.status.

MozReview-Commit-ID: GVinyI4Z0qr

--HG--
extra : rebase_source : 80aa5714a0249d9974becee183e7cfde7143f556
extra : amend_source : a89bca7af847f73efd18fb0a09bc9e76d8943577
2016-02-20 21:44:44 -08:00
Matthew S
f91b1ade98 Bug 1247450 - Rename LayerComposite::GetShadowTransform to GetShadowBaseTransform. r=botond
MozReview-Commit-ID: 4HkKFCDQW4l
2016-02-20 19:05:59 -05:00
Kartikaya Gupta
cfeae7187c Bug 1246480 - Update test to not wait for a scroll event that might never arrive. r=botond
MozReview-Commit-ID: JZmRmqFCJAG

--HG--
extra : rebase_source : bc321b991f27dafaa694c610f33bac5a68b01c4e
2016-02-17 15:53:45 -05:00
Phil Ringnalda
9a24b4ade0 Merge m-c to m-i, a=merge CLOSED TREE 2016-02-20 17:56:32 -08:00
Phil Ringnalda
11999f3ffc Bug 1238433 followup, we should be high as an int, not as a string, a=bustage
CLOSED TREE
2016-02-20 17:44:00 -08:00
Phil Ringnalda
7ff44a9839 Merge m-c to m-i 2016-02-20 17:35:10 -08:00
Phil Ringnalda
1a1ec5b8bb Merge f-t to m-c, a=merge 2016-02-20 17:25:14 -08:00
Sebastian Hengst
693a23497c Bug 1249608 - Don't run UI migration steps with new profiles. Follow up: Add missing closing parenthesis. r=dao over IRC. CLOSED TREE 2016-02-20 15:15:01 +01:00
Jan de Mooij
9f638a1e8e Bug 1248598 part 3 - Enable i64 on x64 and various related changes. r=sunfish 2016-02-20 14:46:44 +01:00
Jan de Mooij
bf32789a64 Bug 1248598 part 2 - Reject wasm i64 imports/exports as JS doesn't have an int64 type. r=luke 2016-02-20 14:45:34 +01:00
Dão Gottwald
4238c3c5cd Bug 1249608 - Don't run UI migration steps with new profiles. r=gijs 2016-02-20 14:04:03 +01:00
Dão Gottwald
594c008fcb Bug 1014185 - Remove about:customizing and use about:blank for customize mode instead. r=jaws 2016-02-20 14:03:25 +01:00
Olli Pettay
945a19d7cd Bug 1249795 - Clear strong refs to message managers once we've destroyed nsFrameLoader, r=billm 2016-02-20 12:33:30 +02:00
Steve Fink
2fd69645f5 Bug 1247666 - Correctly test isSuppressConstructor, r=jonco
--HG--
extra : rebase_source : cb756ce8aa84d17c8279e272d49281fd5a55e338
extra : amend_source : 5efe68066999a3429d6e9d0bffd8d92c3f5de3fe
2016-02-15 15:40:47 -08:00
Steve Fink
8624ceb0db Bug 1249448 - Handled unified (C4) constructors, r=terrence
--HG--
extra : rebase_source : 0cb4b233c588db1fb1c69bb71c28b18d37b7bff3
2016-02-18 14:52:56 -08:00
Steve Fink
ab3550c2df Bug 1247666 - Do not require all functions to have a PEdgeCallInstance, r=jonco
--HG--
extra : rebase_source : 04ce7c5af4b09972c03633e7306ad5cca81cc534
2016-02-15 15:40:32 -08:00
Steve Fink
ad179d42f2 Bug 1249183 - Suppress GC harder, r=terrence
--HG--
extra : rebase_source : f6d1c9deda5da4fa0c8852705995d87a8d7c0d19
2016-02-17 17:42:12 -08:00
Kris Maglione
e2f52be2a6 Bug 1213895: Part 1 - Correctly support crop="none" in XUL labels. r=neil
MozReview-Commit-ID: 9OiVjcJy99g

--HG--
extra : rebase_source : ae225dd56f1c94e0e56c236a810ca7b4663ccbdf
extra : source : d61da023339cd16d65aa60c93ce463617f10a5c8
2016-02-10 20:12:00 -08:00
Chenxia Liu
0b2f76300a Backed out changeset a47d5f97fca8. r=bustage, CLOSED TREE
MozReview-Commit-ID: 6AoqIQWcOKd
2016-02-19 20:18:08 -08:00
Chenxia Liu
79ff021ecb Bug 1246130 - Gather onboarding telemetry experiments separately from other active experiments. r=margaret
MozReview-Commit-ID: INBoGNmVndw

--HG--
extra : rebase_source : cfec6b8dc4471608557574dab0eff8237cad227b
2016-02-16 19:08:43 -08:00
Chenxia Liu
41566cb4f8 Bug 1243216 - Run pngquant on images to compress them further. r=mfinkle
MozReview-Commit-ID: ISx9rUsB4PX

--HG--
extra : rebase_source : 11fb3f3853bc30c72d5b2180b5274e9e7d8b177a
2016-02-18 18:45:15 -08:00
Kris Maglione
cdb5df1500 Bug 1248501 - Allow fuller use of the CLD2 API from LanguageDetector.detectLanguage. r=florian r=azakai
MozReview-Commit-ID: 9UGcu0lssGa

--HG--
extra : rebase_source : be38961867398228a6e959961f4ca0cb74b3c30f
2016-02-18 13:59:59 -08:00
Brian Grinstead
d363cb45e3 Bug 1249714 - Use jsterm.focus instead of inputNode.focus;r=linclark
MozReview-Commit-ID: 7LOW7S5rX5Y
2016-02-19 14:49:42 -08:00
Eric Hu
5e925e97c3 Bug 1245910 - Enforce correct types in Histograms.json. r=gfritzsche
- Convert string values to integer and boolean values for Histograms
- Add compile time type checks on Histograms.json
- Remove string to int/bool coercion for the Histogram keys:
  - n_buckets
  - n_values
  - low
  - high
  - keyed
- Remove check_numeric (redundant with check_expression_types)
2016-02-17 21:14:31 +07:00
Mark Finkle
c3569f843e Bug 1249314 - Cleanup 'tabstray' Telemetry method r=liuche 2016-02-19 14:56:43 -05:00
Mark Finkle
6cf210ffe8 Bug 1249094 - Add UI Telemetry probes for application foreground / background changes r=margaret 2016-02-19 14:56:40 -05:00
Michael Kaply
ea9d3ac61a Bug 1249630 - Add language support to distribution.js; r=mixedpuppy 2016-02-19 10:59:15 -06:00
Ryan VanderMeulen
1edc194331 Bug 1249508 - Update pdf.js to version 1.4.83. r=bdahl, r=Mossop
--HG--
extra : rebase_source : 189a0f9b12826348f1ef6e43450046ca06dcf2eb
2016-02-18 22:01:35 -05:00
Carsten "Tomcat" Book
ef7d4492cc Merge mozilla-central to fx-team 2016-02-19 17:22:14 +01:00
Carsten "Tomcat" Book
cab348d1b5 Backed out changeset c34fe673bb97 (bug 1014185) for perma failures in browser_bug1163570.js 2016-02-19 17:19:19 +01:00
Gijs Kruitbosch
8e1f9ecb9d Bug 1228754 - bustage followup, rs=me,bustage
MozReview-Commit-ID: Lg2aDejV4Er

--HG--
extra : rebase_source : f4864efb3081b227a548642a771d39ef875062a2
2016-02-19 15:44:04 +00:00
Carsten "Tomcat" Book
fd2c2d9b1a merge mozilla-inbound to mozilla-central a=merge 2016-02-19 12:02:26 +01:00
Carsten "Tomcat" Book
b845cb4d06 merge fx-team to mozilla-central a=merge 2016-02-19 12:00:33 +01:00
Randell Jesup
d4303cccdf Bug 1240760: Update DataChannel::Close() r=mcmanus
MozReview-Commit-ID: 7nN9h3M3O8w
2016-02-19 01:08:07 -05:00
Jean-Yves Avenard
78520c7e66 Bug 1248909: [MSE] Use MOZ_DIAGNOSTIC_ASSERT. r=gerald a=me
MozReview-Commit-ID: 5HPdLKopGGa

--HG--
extra : commitid : 4gzf89nVCVD
2016-02-18 14:03:47 -08:00
Wes Kocher
65549ec832 Backed out changeset 3a68483ad70c (bug 1248909) for frequent wpt crashes during mediasource-append-buffer.html a=backout
--HG--
extra : commitid : LhYTeSRxyIP
2016-02-18 13:55:24 -08:00
Chenxia Liu
d99519b435 Bug 1249331 - Update copy for datasaving firstrun panel. r=margaret
MozReview-Commit-ID: 5B6SlddSwDW

--HG--
extra : rebase_source : 16fe99ca21abc428dec7ca034f30bb44feaaa0ac
2016-02-18 09:44:49 -08:00
Wes Kocher
a157b8b9b1 Backed out changeset b7450f64aa87 (bug 1219794) for adding a failing test
--HG--
extra : commitid : 5KlZnmIYrKv
2016-02-18 17:05:09 -08:00
bsilverberg
04f5066ce6 Bug 1246748 - Complete the implementation of chrome.i18n.getUILanguage, r=kmag
Implement chrome.i18n.getUILanguage including tests

Add API to content scripts

MozReview-Commit-ID: IcDlLj8Et73

--HG--
extra : rebase_source : 9996c7da79d3a132bce73b167dfea7031083ad3a
2016-02-18 07:50:17 -05:00
Jeff Gilbert
c363c26c53 Bug 1247764 - Disable STENCIL_TEST on mac+intel when not needed. - r=jrmuizel 2016-02-18 17:59:24 -08:00