Граф коммитов

2996 Коммитов

Автор SHA1 Сообщение Дата
Neil Deakin 7f547cba15 Bug 1304243, scroll the current item into view when opening a menulist after it gets positioned so that it scrolls properly if the popup gets cropped, r=ksteuber 2016-10-12 09:18:05 -04:00
Nihanth Subramanya 2275539222 Bug 989194 - Show captive portal notification bar when detected. r=MattN
MozReview-Commit-ID: KFvtTCBpMeS

--HG--
extra : rebase_source : b52a42f1ecd3202165da13afedc38a4835ebff42
2016-06-27 19:12:12 -07:00
Masayuki Nakano ae437d0a9a Bug 1303273 part.4 Add automated tests for bug 1293505, bug 1307703 and bug 1297985 r=m_kato
Now, NativeKey respects following WM_CHAR message.  Therefore, we can create a test for bug 1293505 which a function key causes a printable character.

Additionally, bug 1307703 is now fixed by the previous patch.  So, let's add automated test for it too.

Finally, now, I found a way to test with some keyboard layouts which are not available on old Windows.  Therefore, we should add automated tests for bug 1297985 too.

MozReview-Commit-ID: IqCEPbPYrcQ

--HG--
extra : rebase_source : 451d0264f1180cae7d7035a498f1c13416d53246
2016-10-07 11:42:20 +09:00
Mike Conley 88654a4021 Bug 1241459 - Add regression tests for background tab crashing behaviour. r=Felipe
MozReview-Commit-ID: KkOCdtJqDPQ

--HG--
extra : rebase_source : 3507e848a433a9ff70b08baad0abaee2d3460a35
2016-10-03 18:01:51 -04:00
Julian Descottes aa0341394f Bug 1308998 - remove leaked i variable in browser-test.js;r=mccr8
MozReview-Commit-ID: Ej9KOLvoYLC

--HG--
extra : rebase_source : a535f078125e9a2e98c45e9f3f8c2fe1a4f8f111
2016-10-10 20:18:51 +02:00
Andrew Halberstadt 761071a431 Bug 1308202 - Merge MochitestBase and MochitestDesktop into a single class, r=jmaher
MozReview-Commit-ID: 737L08LhLDp

--HG--
extra : rebase_source : 7fb4db544e04c87a9b729bd34b4e00e5e393cc52
2016-10-06 10:16:06 -04:00
Andrew Halberstadt 5ca5caf353 Bug 1308202 - Remove all b2g and mulet related code from testing/mochitest, r=jmaher
MozReview-Commit-ID: BfIJLp6oGHO

--HG--
extra : rebase_source : 7202f2a6026a4082f0561045dd8e2f4da0baa424
2016-10-06 10:05:27 -04:00
Andrew McCreight e6045b7464 Bug 1305836, part 2 - Remove openedWindows, openedURLs and onDocumentCreated. r=jgriffin,mrbkap
These are now unused.

MozReview-Commit-ID: 45uvWvK8vSo

--HG--
extra : rebase_source : bb1a46da2cc9da6de31e9c5a00c9f06d46e11704
2016-09-27 14:14:59 -07:00
Andrew McCreight e3195a4d80 Bug 1305836, part 1 - Remove CCAnalyzer leak checker. r=jgriffin
This leak checker may be triggering a shutdown leak on Windows,
doesn't work with e10s, and should not be needed now that ttaubert
fixed the ++DOMWINDOW leak detector to work.

The additional GCs and CCs this patch adds used to be run as part of
cc-analyzer.js, and are needed to avoid window leaks in tests.

MozReview-Commit-ID: IzZI6h2SCr2

--HG--
extra : rebase_source : 7bacc70e9f4b41208c1ef057faf53ed3af5d2e12
2016-09-27 13:06:37 -07:00
Dan Minor b6a69257fd Bug 1306717 - Mach command for mochitests ignores --manifest option; r=ahal
MozReview-Commit-ID: E97QUfdG3sY

--HG--
extra : rebase_source : 15751667fa2d19e6d6bcd0b94aad96a6d1861740
2016-10-03 08:23:14 -04:00
Blake Kaplan 9d81d72177 Bug 1304531 - Remove CPOW (via shim usage) from the mochitest harness. r=Felipe
MozReview-Commit-ID: FturnOEMIV5

--HG--
extra : rebase_source : d87bfc63a503e4439b67a8cd0d4d5c6d222380fc
2016-09-19 17:18:07 -07:00
Gijs Kruitbosch 3ed3aaaf19 Bug 1000458 - stop races in location bar <return> handling code, r=mak
MozReview-Commit-ID: IcQCNj0FcCu

--HG--
extra : rebase_source : 863f6f214772252be7d310cacdc49d82be215216
2016-09-28 19:54:25 +01:00
Kirk Steuber 2b313fc731 Bug 1206133 - Fix browser chrome mochitests broken by the popuppositioned patch. r=enndeakin
MozReview-Commit-ID: F3F9L2rXcys

--HG--
extra : rebase_source : 1546780dc817f4a56e590729db3603ba65206047
2016-08-19 14:31:43 -07:00
Prabhjyot Singh Sodhi ebb9f983f1 Bug 1280571 - Add testing/mochitest to the flake8 linter, r=ahal
MozReview-Commit-ID: INBZaZzcPmF

--HG--
extra : rebase_source : c0ba416f110b2768fc744de0fbee21c765081400
2016-09-28 08:28:04 -04:00
Kris Maglione 99044ae3ef Bug 1316780: Part 3 - Capture the current unprivileged stack in browser.test.* assertion functions. r=aswan
MozReview-Commit-ID: AxjMeoodpTX

--HG--
extra : rebase_source : 9879a6d07e0b2c32067ead194106e187f8cc3fbd
2016-11-11 15:25:30 -08:00
Aryeh Gregor 123bc81472 Bug 1271125 part 1 - wrap() only for non-chrome; r=jmaher
Checking window.Components is a heuristic already used at the top of the
file for initializing _EU_C*, and it seems to work on try.

MozReview-Commit-ID: 3nbFAEJMY7h
2016-10-29 22:54:42 +03:00
Greg Mierzwinski 85c034ec6f Bug 1278402 - Add linux64-ccov and linux64-jsdcov as code coverage build platforms to taskcluster. r=dustin,jmaher
These builds can be run on taskcluster to obtain per-test (JSDebugger) code coverage with the linux64-jsdcov build and overall (GCOV) code coverage with the linux64-ccov build. The linux64-jsdcov build also needed to have leak checking disabled for debug mode.

MozReview-Commit-ID: ASgrU2X7RQV

--HG--
extra : rebase_source : b2098e4d01039edd6cff37f3e6a26c2ed3d3d3ba
2016-07-23 11:27:49 -04:00
Carsten "Tomcat" Book 4f900773f5 merge mozilla-inbound to mozilla-central a=merge 2016-09-21 12:03:31 +02:00
Masayuki Nakano 0cf4a632e5 Bug 1300937 part.3 NativeKeyCodes.js should specify scan code to WIN_VK_ABNT_C1 explicitly for avoiding (perhaps) a bug of MapVirtualKeyEx() API r=smaug
Unfortunately, MapVirtualKeyEx() doesn't compute ABNT C1's scan code from its virtual keycode, 0xC1.  Therefore, NativeKeyCodes.js should specify 0x0056 explicitly.  Fortunately, this key in physical keyboard always generates the scan code value with any keyboard layouts.  Therefore, this can test new regressions as expected.

FYI: ABNT C1 key is a key in Brazilian keyboard.  It's at between "ShiftLeft" and "KeyZ".

MozReview-Commit-ID: GmpnFKOsnKD

--HG--
extra : rebase_source : 197b249740056e5c4b7c6f3b556f91f50a838d52
2016-09-13 19:55:29 +09:00
Masayuki Nakano 05960c4ff6 Bug 1300937 part.2 Automated tests which synthesize native key events on Windows should specify scan code value explicitly r=smaug
On Windows, some keys are called "extended key".  Their scan code include 0xE000.  For example, Enter key in standard position is 0x001C but Numpad's Enter key is 0xE01C.  Unfortunately, both of them cause same virtual keycode value, VK_RETURN.  Therefore, currently, nsIDOMWindowUtils.sendNativeKey() can synthesize only one native key event of them (only non-extended key's event).  Additionally, MapVirtualKeyEx() API with MAPVK_VK_TO_VSC (even with MAPVK_VK_TO_VSC_EX) don't return extended scancode value as expected.

For solving these issues, we should include scan code value to the virtual keycode value at calling sendNativeKey().

Fortunately, virtual keycode value on Windows is 0 ~ 255 (0x00 ~ 0xFF) but aNativeKeyCode of sendNativeKey() is int32_t.  So, we can use upper 16 bit for specifying scan code.

This patch explicitly specifies scan code value at defining WIN_VK_* in NativeKeyCodes.js.  Additionally, this patch duplicates native virtual keycode definition for Home, End, Insert, Delete, PageUp, PageDown, ArrowUp, ArrowLeft, ArrowDown, ArrowRight and Enter as WIN_VK_* and WIN_VK_NUMPAD_*.  This makes automated tests can specify both positions' keys explicitly.

Finally, this patch adds some tests to test_keycodes.xul for testing KeyboardEvent.code value of those keys in both positions.

MozReview-Commit-ID: 8n1rQ71dilg

--HG--
extra : rebase_source : 8215e56ba1ed9fc54c04eb7ca037b12c3ced5c1b
2016-09-13 19:38:23 +09:00
Masayuki Nakano 1042db50c8 Bug 1300937 part.1 Check KeyboardEvent.key and KeyboardEvent.code in test_keycodes.xul r=smaug
MozReview-Commit-ID: AntOqvmTCcW

--HG--
extra : rebase_source : a223980232f1c5bf03b3dc5685afe2990e5dc893
2016-09-13 21:48:45 +09:00
Phil Ringnalda c58d0d6900 Merge m-i to m-c, a=merge 2016-09-17 13:44:34 -07:00
prakhar0409 325fb89029 Bug 1298909 - report slowest test in all cases, even with requestLongerTimeout() is called. r=jmaher
HGcription>. r?jmaher branch 'default'

MozReview-Commit-ID: C8oij8WCQtl

--HG--
extra : rebase_source : 6fbd11fb47a3d58c0ed6443829218f8268bc168b
2016-09-16 23:30:00 +05:30
Marcos Caceres d333449578 Bug 1270704 - Fix intermittent dead CPOW failure in browser_browserLoaded_content_loaded.js. r=mconley 2016-09-16 01:44:00 -04:00
Wes Kocher 9cd8a9ed02 Backed out changeset 9c949b216b37 (bug 1278402) for enabling jobs outside of try that shouldn't be enabled outside of try a=backout CLOSED TREE 2016-09-15 11:43:17 -07:00
Greg Mierzwinski 8875e96f7d Bug 1278402 - Add linux64-ccov and linux64-jsdcov as code coverage build platforms to taskcluster. r=dustin,jmaher
These builds can be run on taskcluster to obtain per-test (JSDebugger) code coverage with the linux64-jsdcov build and overall (GCOV) code coverage with the linux64-ccov build. The linux64-jsdcov build also needed to have leak checking disabled for debug mode.

MozReview-Commit-ID: ASgrU2X7RQV

--HG--
extra : rebase_source : af40a6e582665ffcb575092586731f595a362ae4
2016-07-23 11:27:49 -04:00
Carsten "Tomcat" Book 31fdf0df86 Backed out changeset 6a8bf7596f42 (bug 1300937) for m-oth test failures
--HG--
extra : rebase_source : 187813acb705820a33bddf1cffcd8d22754fe785
2016-09-15 17:04:33 +02:00
Carsten "Tomcat" Book 915d632972 Backed out changeset be88a60abb7a (bug 1300937)
--HG--
extra : rebase_source : 19b90e94e16547a7a718a7c4c2f587e64fbe4b7a
2016-09-15 17:04:16 +02:00
Carsten "Tomcat" Book 9ce8c3febe Backed out changeset e94d6d577103 (bug 1300937)
--HG--
extra : rebase_source : 4d10055ca5e6f67a3e085d7ea06dc4eae90eace3
2016-09-15 17:04:14 +02:00
Masayuki Nakano ca5214b9da Bug 1300937 part.3 NativeKeyCodes.js should specify scan code to WIN_VK_ABNT_C1 explicitly for avoiding (perhaps) a bug of MapVirtualKeyEx() API r=smaug
Unfortunately, MapVirtualKeyEx() doesn't compute ABNT C1's scan code from its virtual keycode, 0xC1.  Therefore, NativeKeyCodes.js should specify 0x0056 explicitly.  Fortunately, this key in physical keyboard always generates the scan code value with any keyboard layouts.  Therefore, this can test new regressions as expected.

FYI: ABNT C1 key is a key in Brazilian keyboard.  It's at between "ShiftLeft" and "KeyZ".

MozReview-Commit-ID: GmpnFKOsnKD

--HG--
extra : rebase_source : 37f78552a1ebba6f61c38add0138b84ddef36c3e
2016-09-13 19:55:29 +09:00
Masayuki Nakano e8eae5c2a2 Bug 1300937 part.2 Automated tests which synthesize native key events on Windows should specify scan code value explicitly r=smaug
On Windows, some keys are called "extended key".  Their scan code include 0xE000.  For example, Enter key in standard position is 0x001C but Numpad's Enter key is 0xE01C.  Unfortunately, both of them cause same virtual keycode value, VK_RETURN.  Therefore, currently, nsIDOMWindowUtils.sendNativeKey() can synthesize only one native key event of them (only non-extended key's event).  Additionally, MapVirtualKeyEx() API with MAPVK_VK_TO_VSC (even with MAPVK_VK_TO_VSC_EX) don't return extended scancode value as expected.

For solving these issues, we should include scan code value to the virtual keycode value at calling sendNativeKey().

Fortunately, virtual keycode value on Windows is 0 ~ 255 (0x00 ~ 0xFF) but aNativeKeyCode of sendNativeKey() is int32_t.  So, we can use upper 16 bit for specifying scan code.

This patch explicitly specifies scan code value at defining WIN_VK_* in NativeKeyCodes.js.  Additionally, this patch duplicates native virtual keycode definition for Home, End, Insert, Delete, PageUp, PageDown, ArrowUp, ArrowLeft, ArrowDown, ArrowRight and Enter as WIN_VK_* and WIN_VK_NUMPAD_*.  This makes automated tests can specify both positions' keys explicitly.

Finally, this patch adds some tests to test_keycodes.xul for testing KeyboardEvent.code value of those keys in both positions.

MozReview-Commit-ID: 8n1rQ71dilg

--HG--
extra : rebase_source : 0f4bb9193aa06cd7985590636b77a6e2a71ac2e4
2016-09-13 19:38:23 +09:00
Masayuki Nakano 748c42b18b Bug 1300937 part.1 Check KeyboardEvent.key and KeyboardEvent.code in test_keycodes.xul r=smaug
MozReview-Commit-ID: AntOqvmTCcW

--HG--
extra : rebase_source : 7f5a550cf7e3464f1d568f9cc30ec2bc97a31c55
2016-09-13 21:48:45 +09:00
Rob Wu a03dbe288b Bug 1300385 - Fix flaws in SimpleTest.isDeeply. r=Waldo
- When one of the parameters to isDeeply is an object/function
  and the other is not, isDeeply returned false. Well, isDeeply
  is supposed to report an error instead of returning a value...

- Change the implementation of isDeeply to have SameValue semantics
  instead of weak equality.

- Change the representation of arrays to look like an array, instead
  of its default toString() value which is indistinguishable from a
  string due to the lack of brackets and quotes.

- Account for missing object properties;
  Distinguish them from "undefined" with the special DNE tag.

MozReview-Commit-ID: F1OJhbXcptl

--HG--
extra : rebase_source : 26091a40445064da3f87d61438bd74bbe7491363
2016-09-03 22:00:45 -07:00
Andrew McCreight 36c2e02c42 Back out de84b1059f7f (bug 1299871) because it doesn't help the issue it was supposed to. 2016-09-07 11:09:15 -07:00
Masayuki Nakano af766dd2bc Bug 1291172 Add eQueryTextRectArray tests which compare with eQueryTextRect result r=smaug
eQueryTextRect is used by widget and eQueryTextRectArray is used by ContentCacheInChild.  So, matching their result guarantees that widget can get same result both in non-e10s mode and e10s mode.  So, the matching should be tested.

MozReview-Commit-ID: 6GfbyvZ9X7H

--HG--
extra : rebase_source : 12511d84cbd94b3f4edf42367a84ee45abc66d9e
2016-09-06 18:59:40 +09:00
Andrew Halberstadt 97f0fbd35d Bug 1300163 - Add support for Android mochitests to interactive loaners, r=armenzg
This will allow developers to request a loaner for an Android mochitest job and then use
|mach mochitest| to run tests.

MozReview-Commit-ID: 4lsKGpizfH7

--HG--
extra : rebase_source : fba9adb6e2d50cc9ac27532bc91b5eb1d909d874
2016-09-02 14:43:53 -04:00
Andrew Halberstadt 4fecf32869 Bug 1300163 - Reuse the 'e10s' value from the mozharness config on interactive loaners, r=armenzg
I noticed that if you request a loaner for a non-e10s job then run mach, it will be run with e10s
enabled. The mach command should accurately reflect the type of job that got requested. This patch
grabs the 'e10s' argument from the mozharness localconfig.json and uses that.

MozReview-Commit-ID: 4lsKGpizfH7

--HG--
extra : rebase_source : 6f7b45146bb7f3431c242d92b4206d41f7217c03
2016-09-02 14:42:36 -04:00
Andrew Halberstadt fb05814e0d Bug 1300163 - Lazy load certain mach context attributes using the 'key' mechanism, r=armenzg
You can set attributes on a mach context by using the 'key' argument to the context_handler. Basically,
whatever gets returned by the handler when <key> is passed in, will get set (i.e cached) on the context
object for fast retrieval next time. This is a way to lazy load these attributes.

Previously I was setting functions like 'find_firefox()' on the context object, and then having the
mach_commands call that directly. But this way is much cleaner.

Now, the loaded 'mozharness_config' can be stored as an attribute on the context. Also 'find_firefox()'
is now an attribute called 'firefox_bin'.

MozReview-Commit-ID: 4lsKGpizfH7

--HG--
extra : rebase_source : af5e32e05a29b8e91d4cd0005689baa8079ec137
2016-09-02 14:35:14 -04:00
Andrew Halberstadt feb9ec8140 Bug 1300163 - Fix hidden tracebacks in mochitest runtests.py, r=armenzg
I had a mistake in my code that resulted in an exception being thrown when starting the
mochitest servers. However, the log just showed a timeout. It was very confusing.

After some digging, I found that there's a large try/finally block (with no except) in
runtests.py. The exception wasn't being displayed because of the finally block. This
try/finally block had an inner try/except/finally that wrapped part of the code. This
patch simply removes that inner block and dedents the 'except' clause to attach to the
original try/finally.

MozReview-Commit-ID: 4lsKGpizfH7

--HG--
extra : rebase_source : 9d55b967c8384498a4d104730a7bb91c4885bbea
2016-09-02 14:39:34 -04:00
Andrew Halberstadt 0d41359cf5 Bug 1300163 - Add a --adbpath argument to mochitest Android to allow explicitly setting the adb binary, r=gbrown
In mozdevice, it's possible to pass in the path to the adb binary (rather than requiring it to be on the path). The
mochitest android options don't provide any means to set this however (even though the b2g options do). This patch
adds that option in.

This will be used by the mach environment on interactive loaners.

MozReview-Commit-ID: 4lsKGpizfH7

--HG--
extra : rebase_source : 07ad43c8fff3eb83a1eaab9ad0532cd85c4532c7
2016-09-02 14:26:16 -04:00
Andrew McCreight c177086383 Bug 1299871 - Increase leak threshold on OS X to paper over increased layers leak. r=erahm
MozReview-Commit-ID: 2QQa5uxmO5J

--HG--
extra : rebase_source : 9de6443d39bc472ca7c1c0087ce92eb494d663a1
2016-09-01 11:04:09 -07:00
Ryan VanderMeulen 37b200a0c5 Merge autoland to m-c. a=merge 2016-09-01 12:11:51 -04:00
Rob Wu 105b7c01d0 Bug 1298716 - Serialize extension in ExtensionTestUtils.loadExtension r=billm
MozReview-Commit-ID: BUK2QnMmXp7

--HG--
extra : rebase_source : f98d167db8067a59666c1b260e2c031fb6fbbbae
2016-08-28 16:35:00 -07:00
Aryeh Gregor f3e54042f1 Bug 1271115 - Merge ChromeUtils.js into EventUtils.js; r=jmaher
This allows plain mochitests to use the functions as well, which is
necessary to get them to work with e10s.

MozReview-Commit-ID: J4um2mliJcZ
2016-08-25 16:57:09 +03:00
Shane Caraveo 4987c70c34 Bug 1289549 P2 socialapi remove sidebar and chat, r=florian
MozReview-Commit-ID: JzSDh41IPBu
2016-08-23 15:24:06 -07:00
Stone Shih 4c774b11b2 Bug 1292070 - Part 2: Add API to synthesize mouse event with buttons. f=bevistseng, r=smaug
--HG--
extra : rebase_source : c676026e30c857b2a19854285f8bb40c47c58267
extra : histedit_source : c1ee981e9ab821a51d3abb96b1d2d334ffe8e0d2
2016-08-18 11:58:48 +08:00
Igor 175543fda8 Bug 1293384 - Part 2: Rename Snprintf.h header to Sprintf.h. r=froydnj 2016-08-14 23:43:21 -07:00
Igor a57972337d Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj 2016-08-14 23:44:00 -07:00
Rob Wood 969dc17e41 Bug 1281351 - Disable intermittent failure on win 7 e10s debug, r=enndeakin+6102
MozReview-Commit-ID: 10qFWKQFaYv

--HG--
extra : rebase_source : 1b4268ce47524992cb53c511d58b7b9def823548
2016-08-10 14:31:34 -04:00
Andrew Halberstadt e0d54aa2ed Bug 1294099 - Fix 'Namespace object has no attribute 'flavor'' error when running |mach mochitest|, r=jgriffin
MozReview-Commit-ID: Du2fvVCNeHU

--HG--
extra : rebase_source : 75b16326d4529a0ad34cf4a382303c7e9c06611f
2016-08-10 11:50:29 -04:00
Andrew Swan b904b2d437 Bug 1286908 Remove id allocation from SpecialPowers loadExtension() r=kmag
Prior to this change, SpecialPowers used the extension id to identiy
extension instances in inter-process messaging.  This required that
an id be allocated from the content process side when loadExtension()
was called, but that made it impossible to test code that exercises the
code path in the AddonManager that allocates ids for extensions that do
not include an id in the manifest (it also made the loadExtension() api
clunky).

With this change, SpecialPowers allocates an internal identifier for
messaging, but this identifier is separate from extension ids.
Confusingly, we still store the actual extension id in an id property
on the object returned by loadExtension(), but there are enough tests
that reference this that it would be unnecessarily disruptive to get
rid of it so it stays for now...

MozReview-Commit-ID: G6xk1mBJJL8

--HG--
extra : rebase_source : a0891e5ba308972c35813f55274badf9edde62f7
extra : source : e8818ef3c28489e196d1db92cabf224861b693c9
2016-08-02 16:04:37 -07:00
Andrew Halberstadt 795728d89d Bug 1293295 - Replace all mochitest 'flavor' options with a single --flavor argument, r=jmaher
This accomplishes three things:

1) Easier to use CLI when running without the benefit of testing/mochitest/mach_commands.py
2) Guarantees these arguments are mutually exclusive
3) Simplifies a bunch of logic in the test harness

The primary motivation for this change is to slightly improve the UX when running mochitest
from a taskcluster interactive loaner. However, this is more of a bandaid solution that was
easy to implement before the proper fix in bug 1293259 can be landed.

MozReview-Commit-ID: IeHBGrJ0Sji

--HG--
extra : rebase_source : ba1b7e437881e363fe0051dccd3d732221311c59
2016-08-08 11:48:49 -04:00
Andrew Halberstadt 16c7acfe05 Bug 1292660 - Fix |mach mochitest| kwargs['app'] is None error on android, r=gbrown
This fixes a regression from bug 1288827. It happened because I moved the logic that finds
the application path a little later on in the test harness. But there was an instance where
it was being used in the android mach command before that point.

As it turned out, we don't really *need* that value there. This patch grabs the same value
from build_obj.substs which is already an argument to the function.

MozReview-Commit-ID: 3IsI4VzEIIF

--HG--
extra : rebase_source : ceb718b265c7886b831e0378436baebf2b4e7598
2016-08-05 16:40:08 -04:00
Mike Conley cb599d4f08 Bug 1292239 - Add utility to BrowserTestUtils to wait for load of selected browser in a brand new window. r=Felipe
MozReview-Commit-ID: IOChbNs8b3y

--HG--
extra : rebase_source : a778efe8b38aded85a6856a4c37c3b01ebd19894
2016-08-04 15:48:31 -04:00
Neil Deakin 50df5bfcae Bug 1291188, remove unneeded cpow part of test as it was causing failures on some machines, r=felipe 2016-08-03 13:04:39 -04:00
Thomas Wisniewski 30e540bdd6 Bug 1285036 - Part 7: Change SetRequestHeader() and related header code to follow the spec more closely. r=baku 2016-08-02 12:50:10 -04:00
Stone Shih f8f5ef1c1a Bug 1285128 - Should not generate pointer events for those synthesized events that are not dispatched to DOM. r=smaug 2016-07-07 15:28:11 +08:00
Carsten "Tomcat" Book fc8e03f0d8 Merge mozilla-central to autoland 2016-07-30 16:49:41 +02:00
Andrew McCreight bbdc92f231 Bug 1195777 - When LSan detects leaks, tell the user about the report_objects option. r=chmanchester
MozReview-Commit-ID: KWNye8GdEKv
2016-07-29 16:08:06 -07:00
Carsten "Tomcat" Book 1e0260eddf Merge mozilla-central to fx-team 2016-07-28 17:44:58 +02:00
Michael Comella 39ed656f3a Bug 1261494 - Reduce telemetry init delay to 1 second for integration testing. r=gbrown
My one concern is that this change could increase the amount of processing
time spent on telemetry initialization, causing the runtime of the robocop
test suite to increase. Checking my try push [1] against other try pushes,
it doesn't seem to have made a significant difference, but the change
in runtime between pushes can be large (e.g. > 5min) so it's hard to
tell.

[1]: https://treeherder.mozilla.org/#/jobs?repo=try&revision=2017843315fe&selectedJob=24641374

MozReview-Commit-ID: LeeGgNEp74h

--HG--
extra : rebase_source : 21b01fa8a5357de19046fc946b4098cfd0f7b823
extra : amend_source : 457f229e6b92b8834ddd6dfef5837753f47d570b
2016-07-27 08:05:12 -07:00
Dan Minor 439f1b4394 Bug 1289123: Remove test_zmedia_cleanup.html from Autophone WebRTC job manifest; r=drno
MozReview-Commit-ID: CwC1Kr3mU9Q

--HG--
extra : rebase_source : 895780ea63df7e89a2ad16ea736a73e84d2ae936
2016-07-25 09:49:05 -04:00
Andrew McCreight 916e425911 Bug 1287877 - Fail when LeakSanitizer encounters a fatal error. r=jgriffin 2016-07-27 10:11:40 -07:00
Fabrice Desré 7846da76d6 Bug 1287107 - Making transition alive with gaia as chrome:// r=bholley,fabrice
MozReview-Commit-ID: 9uVUrmuVFXQ

--HG--
extra : rebase_source : 20f6f0235667530c21aca4889b5d33e39c2d1a48
2016-03-03 09:58:47 -08:00
Carsten "Tomcat" Book c7846e126c Backed out changeset 16aa7041c009 (bug 1287107) for causing xpcshell and mac tests 2016-07-22 11:30:23 +02:00
Fabrice Desré f5b619fb28 Bug 1287107 - Making transition alive with gaia as chrome:// r=bholley,fabrice
MozReview-Commit-ID: 9uVUrmuVFXQ

--HG--
extra : rebase_source : d0c19fcda5c72ecdce3b0d0bbbafa5a7954d7a4c
2016-03-03 09:58:47 -08:00
Tom Tromey 5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Carsten "Tomcat" Book 8428cd56e3 merge mozilla-inbound to mozilla-central a=merge 2016-07-20 11:20:15 +02:00
David Keeler 56d2f86c86 bug 1284946 - remove usages-related APIs from nsIX509Cert r=Cykesiopka,Felipe,jcj
nsIX509Cert provided the APIs getUsagesArray, requestUsagesArrayAsync, and
getUsagesString. These APIs were problematic in that the synchronous ones would
cause certificate verification to block the main thread and the asynchronous one
was needlessly indirect in its definition (it made use of two additional
special-case xpidl types) and needlessly complex in its implementation (it
required nsNSSComponent to manually manage a background thread without the aid
of recent improvements in that area (e.g. CryptoTask)). Furthermore, these APIs
would return string descriptions of the usages the certificate in question had
been verified for rather than using more concrete identifiers or values. This
paradigm is usable but imprecise. The new nsIX509CertDB API
asyncVerifyCertAtTime is much more expressive, enforces off-main-thread
computation, and makes use of CryptoTask for a simple implementation. Using this
API, previous uses of the old nsIX509Cert APIs can be replaced. As an additional
benefit, this removes a ton of obsolete C++ code.

MozReview-Commit-ID: KXVTcjAKehu

--HG--
extra : rebase_source : 50c51f73b2b61ed0ad4dc9702cc5df470ce998bc
2016-07-06 14:45:36 -07:00
J. Ryan Stinnett fb7f435c7f Bug 1285936 - Make import-*-globals rules into errors for automation. r=me
MozReview-Commit-ID: IrjMIH3fl5K
2016-07-19 12:51:47 -05:00
Andrew Halberstadt e920337e70 Bug 1288827 - Allow running mochitest from test-package without specifying --appname, r=armenzg
Because it is now possible for options.app to get set after 'parse_args' time, we need to make sure
the argument validation happens later. To accomplish this we pass in the parser instance to
'run_test_harness' and do parser.validate there. This unfortunately requires some minor uses of
global to accomplish easily due to how mach handles parsers.

MozReview-Commit-ID: s3Js1aZlSE

--HG--
extra : rebase_source : 3a94debda3dbed839074094707cadf32e7f7337c
2016-07-20 11:13:30 -04:00
Geoff Brown 058d5be563 Bug 1285663 - Optimize profile pushes and do not chmod files on /sdcard; r=bc 2016-07-14 10:36:31 -06:00
Geoff Brown ec5683cac0 Bug 1286697 - Initialize mochitest urlOpts to avoid duplicate options on subsequent runs; r=jmaher 2016-07-14 10:36:30 -06:00
Thomas Zimmermann a610242b37 Bug 1280600: Merge Android and b2g branches in build scripts where possible, r=glandium
B2g now has 'OS_TARGET' set to 'Android'. This patch merges Android
and Gonk branches in the build scripts where possible.

MozReview-Commit-ID: 9hKA0Gc62Xc
2016-07-11 15:16:56 +02:00
Masatoshi Kimura e4ae8f8bff Bug 1282038 - Allow allowfullscreen for rewritten YouTube Flash embeds. r=qdot,jst
MozReview-Commit-ID: I8y0gMA5BxE

--HG--
rename : dom/base/test/test_youtube_flash_embed.html => dom/base/test/file_youtube_flash_embed.html
2016-06-24 19:12:53 +09:00
Bob Clary d111f0ca3f Bug 1281511 - Add getAndroidSdk() to Mochitest SimpleTest.js, r=gbrown, snorp. 2016-06-28 11:14:45 -07:00
Masayuki Nakano 60bb642e47 Bug 1275528 part.1 Support a way to query content relative to insertion point r=smaug
Native IME handler may want to query content relative to start of selection (or composition if there is it). Additionally, in e10s mode, insertion point in actual content may be different from the cache in parent.  Therefore, in some cases, it does make sense to query content with offset relative to start of selection or composition.

This patch implements it simply and only in non-e10s mode.

Additionally, this fixes a bug of nsQueryContentEventResult::GetOffset() which hasn't been accepted its calls even if the event message is valid (eQueryTextContent, eQueryTextRect and eQueryCaretRect).

MozReview-Commit-ID: 34I7vyTUAgO

--HG--
extra : rebase_source : d79ba0dc3e002f7691495ee1ff8bdb3854d8f6fe
2016-06-16 14:10:49 +09:00
Blake Kaplan 5688cefb7f Bug 1163418 - Remove use of CPOWs in safebrowsing tests. r=felipe 2016-06-21 13:46:02 -07:00
Masayuki Nakano d5bf222ecd Bug 1275914 part.7 Add automated tests to query IME selections r=smaug
MozReview-Commit-ID: GwBU6Evcpfa

--HG--
extra : rebase_source : d6a54b3ab227fbae75e723b277f0ff1e95d44044
2016-06-20 16:31:29 +09:00
Andrew Swan cde8becf24 Bug 1270357 Add isDeeply to mochitest eslintrc r=kmag
MozReview-Commit-ID: 6TsspFtPiuZ

--HG--
extra : rebase_source : 620297cd519fc394ac2877f2c5e5b2018791aa56
2016-05-31 16:16:37 -07:00
Phil Ringnalda 8d1174f9a3 Back out 3 changesets (bug 1270357) for test_chrome_ext_native_messaging.html timeouts
CLOSED TREE

Backed out changeset 2e602689376d (bug 1270357)
Backed out changeset e1979d928c7c (bug 1270357)
Backed out changeset e0f9b54febc8 (bug 1270357)
2016-06-08 20:35:32 -07:00
Andrew Swan 4009dee8b9 Bug 1270357 Add isDeeply to mochitest eslintrc r=kmag
MozReview-Commit-ID: 6TsspFtPiuZ

--HG--
extra : rebase_source : c9953a28c999c9e6836f1fcb15c881743ae8a9a5
2016-05-31 16:16:37 -07:00
Mike Conley fbafdc88c5 Bug 1277318 - Make openNewBrowserWindow wait for the initial browser load before resolving. r=Gijs
MozReview-Commit-ID: 7veM7df2npk

--HG--
extra : rebase_source : 4edfb46ff10b8ac0e4baf4ff492dc682e4f67eb7
2016-05-31 18:29:02 -04:00
Carsten "Tomcat" Book 06a7fd0491 Merge mozilla-central to mozilla-inbound
--HG--
rename : toolkit/components/prompts/test/test_bug625187.html => toolkit/components/prompts/test/test_subresources_prompts.html
2016-06-06 12:02:34 +02:00
Dan Minor e1c3cebb1e Bug 1275863 - Remove test_peerConnection_addTrack.html from autophone webrtc manifest; r=bc
This test was removed as part of commit 2a7dbc0411d1, but we still try to run
it.

MozReview-Commit-ID: HfFkugGz2vI

--HG--
extra : rebase_source : 6073292e18b39cd54c976322c89e2371a27d3d24
extra : amend_source : 3b918c333ef0e07a07aa0bc3d957ea3ac65d79ad
2016-06-03 15:53:06 -04:00
Carsten "Tomcat" Book 2a6cd87e82 Merge mozilla-central to fx-team 2016-06-03 12:40:11 +02:00
Kris Maglione d727c780b8 Bug 1266510: Add better logging to browser_ext_windows_events test. r=me
MozReview-Commit-ID: 6aKeZvH7jwk

--HG--
extra : rebase_source : 6459e210c64fb83cc134699433d0126b3ec22bb5
2016-06-02 13:36:57 -07:00
Dan Minor 05af85488c Bug 1263621 - Disable test_peerConnection_addTrack.html on autophone; r=bc
MozReview-Commit-ID: 7v94ZB6DyV0

--HG--
extra : rebase_source : 4a35a9a112cdc5c30d224c02a7cb56d339bb301a
2016-05-26 08:25:48 -04:00
Mike Conley cb9696f49a Bug 1276738 - Ensure that .open() on web content called with chrome privileges results in a new window with the appropriate principal. r=Gijs
MozReview-Commit-ID: IG9ioQLTI78

--HG--
extra : rebase_source : 0ba3de736ba4fd80a7444c9246a8c2bf77308570
extra : source : ea2da46bde0a4a3039d69e198ad40afefc92a5ec
2016-05-02 17:36:12 -04:00
Carsten "Tomcat" Book d8b4ef6666 Backed out changeset ea2da46bde0a (bug 1276738)
--HG--
extra : rebase_source : 70d3c54736de976bacd7a87f22544f85afb41a42
2016-06-02 08:12:34 +02:00
Mike Conley 19f105324d Bug 1276738 - Ensure that .open() on web content called with chrome privileges results in a new window with the appropriate principal. r=Gijs
MozReview-Commit-ID: IG9ioQLTI78

--HG--
extra : rebase_source : 908314589379b93b91b2d2a93a25b33f2e6ddb03
extra : histedit_source : 0af5d232e5dea98218ab838641e8d8a2acbd3c8e
2016-05-02 17:36:12 -04:00
Tooru Fujisawa b7cc988f18 Bug 92737 - Part 7: Open multiple windows when multiple items are dropped on New Window button. r=enndeakin 2015-08-15 07:30:03 +09:00
Ralph Giles c8210f43ce Bug 1275439 - Switch debugging to MOZ_LOG. r=erahm
This is shorter than MOZ_LOG_MODULES and equally clear.

Add a deprecation warning to encourge folks to migrate,
and update references in the test runner.

MozReview-Commit-ID: HYY3Q9tSu13

--HG--
extra : rebase_source : 83dfe510a34fa82681d6bf7b628bcca075122544
2016-05-16 15:49:20 -07:00
Geoff Brown dd65ba7f12 Bug 1274395 - Delete pending crash reports before running tests; r=jmaher 2016-05-25 14:48:42 -06:00
Joel Maher 3ff44ada49 Bug 1270962 - move tests which access the clipboard to subsuite 'clipboard'. r=bgrins,ryanvm,armenzg
MozReview-Commit-ID: IZziPmwFtHj
2016-05-25 15:28:24 -04:00
Gijs Kruitbosch a41e908395 Bug 1270144 - use error() rather than warning() in order to ensure this shows up on the treeherder summary, rs=emorley-over-irc
MozReview-Commit-ID: COtfpoU14vg

--HG--
extra : rebase_source : 0bfd093b6dc762498a5a737cab3b6c85fe186ec0
2016-05-25 15:14:56 +01:00
Carsten "Tomcat" Book c715836c7f merge mozilla-inbound to mozilla-central a=merge 2016-05-25 15:04:00 +02:00
Xidorn Quan 67c37d08a3 Bug 1274104 part 1 - Allow mochitest main document to request fullscreen. r=jmaher
MozReview-Commit-ID: 4x40C0yGGKR

--HG--
extra : source : 92b3d49fd9af8bc88b37d7ee0278899548870bc9
2016-05-25 09:39:38 +10:00
Wes Kocher f6aab6a144 Backed out 4 changesets (bug 1274104) because test_videocontrols.html started failing when it merged to m-c a=backout
Backed out changeset 4326af8f70cd (bug 1274104)
Backed out changeset 834445b4a5f1 (bug 1274104)
Backed out changeset 9bec2581c224 (bug 1274104)
Backed out changeset ae650554f519 (bug 1274104)
2016-05-24 11:31:44 -07:00
Xidorn Quan e8257db902 Bug 1274104 part 1 - Allow mochitest main document to request fullscreen. r=jmaher
MozReview-Commit-ID: 4x40C0yGGKR

--HG--
extra : source : fa300a4470f3622023132bcfbe81463249175df7
2016-05-24 13:21:22 +10:00
Wes Kocher d44c985d66 Merge m-c to inbound, a=merge 2016-05-24 11:36:47 -07:00
Masayuki Nakano 4205d9edae Bug 1272578 part.3 Rename key name VolumeMute to AudioVolumeMute except on B2G r=smaug
VolumeMute was renamed to AudioVolumeMute in the latest draft and Chromium uses the new name. Therefore, we need to update this but Gaia uses the old name. So, we shouldn't rename on B2G until Gaia is fixed.

Note that this patch changes tests but they are not used by B2G. Therefore, just replacing with new name is enough.

Only forms.js is necessary #ifdef because the main purpose of forms.js is for B2G's IME framework. However, it's available on the other platforms if chrome needs to use it.

MozReview-Commit-ID: KSkcPbIovin

--HG--
extra : rebase_source : 4ff5d92b000599806367b002fd08aa5ae858ee4d
2016-05-21 00:57:18 +09:00
Masayuki Nakano 65d3998d32 Bug 1272578 part.2 Rename key name VolumeUp to AudioVolumeUp except on B2G r=smaug
VolumeUp was renamed to AudioVolumeUp in the latest draft and Chromium uses the new name. Therefore, we need to update this but Gaia uses the old name. So, we shouldn't rename on B2G until Gaia is fixed.

Note that this patch changes tests but they are not used by B2G. Therefore, just replacing with new name is enough.

Only forms.js is necessary #ifdef because the main purpose of forms.js is for B2G's IME framework. However, it's available on the other platforms if chrome needs to use it.

MozReview-Commit-ID: KzLVL5Y2dIN

--HG--
extra : rebase_source : d7a70f556684cdc99989e408e0e87a04e2da43d9
2016-05-21 00:55:48 +09:00
Masayuki Nakano 97f043ea9e Bug 1272578 part.1 Rename key name VolumeDown to AudioVolumeDown except on B2G r=smaug
VolumeDown was renamed to AudioVolumeDown in the latest draft and Chromium uses the new name. Therefore, we need to update this but Gaia uses the old name. So, we shouldn't rename on B2G until Gaia is fixed.

Note that this patch changes tests but they are not used by B2G. Therefore, just replacing with new name is enough.

Only forms.js is necessary #ifdef because the main purpose of forms.js is for B2G's IME framework. However, it's available on the other platforms if chrome needs to use it.

MozReview-Commit-ID: cq98qJnS8M

--HG--
extra : rebase_source : 98653e5427d9d4720d19011673cbb0f9cdf36f1a
2016-05-21 00:52:03 +09:00
Phil Ringnalda db3e2c7d7f Back out 8 changesets (bug 931445, bug 1274104, bug 1270386) for frequent e10s APZ mochitest failures starting with test_group_mouseevents.html
CLOSED TREE

Backed out changeset 6db35dcc6885 (bug 1274104)
Backed out changeset 0c2fc088a46d (bug 1274104)
Backed out changeset 17786141f3ac (bug 1274104)
Backed out changeset f7c6b58dddc1 (bug 1274104)
Backed out changeset 67407d1829a3 (bug 1270386)
Backed out changeset 82d2c5404d84 (bug 931445)
Backed out changeset 0921152b9f08 (bug 931445)
Backed out changeset f73352ab6f99 (bug 931445)
2016-05-23 18:42:32 -07:00
Xidorn Quan 35dd574052 Bug 1274104 part 1 - Allow mochitest main document to request fullscreen. r=jmaher
MozReview-Commit-ID: 4x40C0yGGKR

--HG--
extra : source : fa300a4470f3622023132bcfbe81463249175df7
2016-05-23 09:03:32 +10:00
Andrew Halberstadt 0c9c35e1fc Bug 1274002 - Disable e10s when running mochitest-chrome locally with mach, r=jmaher
MozReview-Commit-ID: 1r2aZtnB3lo

--HG--
extra : rebase_source : 7cc01168a37b2c79d1de1250932c63033c744a3b
2016-05-18 15:17:13 -04:00
Wes Kocher 4a048a0f4b Merge m-c to fx-team, a=merge 2016-05-17 14:18:01 -07:00
Matthew Noorenberghe 98916e4224 Bug 1197310 - Return a promise from pushPrefEnv/popPrefEnv/flushPrefEnv. r=jmaher
MozReview-Commit-ID: HQxXeo37XS5
2016-05-17 14:14:53 -07:00
Andrew McCreight 9f333887e3 Bug 1273246 - Fix use of bindir in mochitest mach --dmd code. r=ahal 2016-05-17 07:55:49 -07:00
Chris Peterson 353ee65255 Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
Gijs Kruitbosch 40ea68f72f Bug 1270144 - fix message from timed out tests to indicate the following crash is caused by us terminating the browser process, r=ahal,RyanVM
MozReview-Commit-ID: Hyr7xkZdbqc

--HG--
extra : rebase_source : 013339bec54f1ecb0123fa1388dbb350258790df
extra : amend_source : 26e6c904d7031e700560ca32057edba65ad1632d
2016-05-10 22:53:17 +01:00
Jonathan Kingston 11a106fd9b Bug 1252068 - Adding in reset prefs button on SSLNetError page. r=gijs
MozReview-Commit-ID: BJQ0cYlrS6O

--HG--
extra : transplant_source : %C7%FA%195%1C%87%1BDp%04%1CZI%A3N%94%F5%1Ch%3B
2016-05-04 17:10:45 +01:00
Neil Deakin a4ee9d8df2 Bug 1249522, when a file is present, only specify file type, r=smaug 2016-05-11 10:04:19 -04:00
Xidorn Quan 54b9c867d3 Bug 1270301 - Add test for SimpleTest.waitForCondition. r=jmaher
MozReview-Commit-ID: KNLvWJ7VQID

--HG--
extra : transplant_source : t%F9d%E2ih%F3%BF%B3%29%DA%87s%84%B8%28I%11%E2%AB
2016-05-09 15:23:55 +10:00
Andreas Tolfsen 90edca9757 Bug 1123506 - Update references to __webDriverArguments; r=automatedtester
__marionetteParams was renamed to __webDriverArguments.

MozReview-Commit-ID: 9t1skl5MESf
2016-05-09 16:08:27 +01:00
Nathan Froyd bb3fb2eca6 Bug 1269349 - make robocop honor --timeout; r=gbrown
Our testsuites normally disable timeouts when --debugger or similar
options are specified.  Robocop doesn't do this, because apparently the
best way to debug Robocop tests is to |mach robocop [TEST-NAMES...]|,
wait for the browser window to show, and then connect a debugger.  This
setup seems suboptimal.

The setup being what it is, though, implies that runrobocop.py has no
knowledge of a debugger being connected, and therefore no idea that the
test really shouldn't time out.  Which then leads to the test going away
at that crucial moment when you are this > < close to figuring out the
bug.  Let's make runrobocop.py understand that --timeout means something
useful for such a context.
2016-05-05 11:25:54 -04:00
Xidorn Quan ebe6f7b562 Bug 1205938 part 1 - Add waitForCondition() function to SimpleTest. r=jmaher
This function is roughly copied from browser/base/content/test/general/head.js.
It has been widely used in browser chrome mochitests, and should be fine to
have it available to all mochitests via SimpleTest.

MozReview-Commit-ID: DhIfgJiUhXK

--HG--
extra : rebase_source : 95ab1cd6c1ab5f6c0d8f0171865722ca76b41c6e
2015-09-18 11:06:47 +08:00
Wes Kocher e570132b9f Backed out changeset 751ca24ae2c2 (bug 1249522) for android m(16) bustage 2016-05-04 10:51:21 -07:00
Neil Deakin 10d25a9f48 Bug 1249522, when a file is present, only specify file type, r=smaug 2016-05-04 10:07:10 -04:00
Byron Campen [:bwc] ba155973d6 Bug 1231981 - Part 4: Pull in the necessary python dependencies in CI. r=ahal
MozReview-Commit-ID: AkmzbnI4Lq5

--HG--
extra : rebase_source : 7f1d48ce6b6d042c01efa68cf84a3afd4f43384c
2016-03-15 16:27:36 -05:00
Byron Campen [:bwc] 73c29a05f5 Bug 1231981 - Part 3: Set up TURN server for webrtc mochitests, when configured to. r=drno
MozReview-Commit-ID: CVbAYPrwpuB

--HG--
extra : rebase_source : 7b9b7cc850a7968e9ad778a42e87b9df196307f1
2016-03-04 15:45:57 -06:00
Byron Campen [:bwc] 5409a43830 Bug 1231981 - Part 2.1: Only run the websocket/process bridge for media tests. r=ahal
MozReview-Commit-ID: 3GBAGTSR08c

--HG--
extra : rebase_source : 3564d1c1de1438ab9d979f8da16f9d5b65b9d8a0
2016-04-27 13:13:40 -05:00
Byron Campen [:bwc] e1f116b2c7 Bug 1231981 - Part 2: A websocket-to-process bridge script that can be used by JS to launch an ICE server for testing. r=ahal
MozReview-Commit-ID: FbfNzyw9SZp

--HG--
extra : rebase_source : 340531e580f5035be044807def4927fbd138d0ed
extra : source : 717ac54d91b1c341c35d9fb9fdc620dabd6040d9
2016-03-15 17:02:00 -05:00
Andrea Marchesini 1c0c183890 Bug 1261009 - Remove the Data Store API, r=fabrice 2016-04-29 09:02:45 +08:00
Wes Kocher 922724920a Merge m-c to fx-team, a=merge
MozReview-Commit-ID: 6anAKItZV1O
2016-04-27 14:30:20 -07:00
Wes Kocher 20598f44f6 Backed out changesets baa6c68ec413,5b8583070c9e,2942bb31152c,dd2ad6863f53,c68772362633,c8db6695b991 (bug 1231981) a=backout
MozReview-Commit-ID: EoGyz071RoN

--HG--
extra : amend_source : 69d6593ae0a946ed6366513a2e186b43c7435440
extra : histedit_source : cdce5a0698d6e7996ae731cff56263abc202ae65%2Ca62e94bdb37fc3e9266884f283d732e61e0f4715
2016-04-27 10:24:37 -07:00
Gijs Kruitbosch 1d863b1c09 Bug 1267289 - add more URL bar tests and fix issue with error pages, r=mikedeboer,mconley
This adds tests for issues brought up in bug 231393, bug 264610, bug 302575 and bug 1129564,
all of which fed into the current implementation of userTypedClear/userTypedValue. I intend
to move us away from userTypedClear, but I'm keen not to regress any of these issues, so
I'm adding automated tests to ensure that doesn't happen.

MozReview-Commit-ID: 1up2MIXzkzG

--HG--
extra : rebase_source : 4d37f13895b8c7e7aba5331664718582c6b2136c
2016-04-25 17:27:35 +01:00
Byron Campen [:bwc] a4e2b3e713 Bug 1231981 - Part 5: Install python packages we need in the virtualenv if not present. r=gps
MozReview-Commit-ID: 9PUHLMxHhQP

--HG--
extra : rebase_source : 5e863a5cf5d60c698d97c0f65070b89b2d8295bd
extra : source : 6848d362c947bf306b650cac7bb6a89981af474b
2016-03-16 15:40:17 -05:00
Byron Campen [:bwc] d7586bf7c1 Bug 1231981 - Part 4: Pull in the necessary python dependencies in CI. r=ahal
MozReview-Commit-ID: AkmzbnI4Lq5

--HG--
extra : rebase_source : 52c5cf00cca6acab4bfa1a7de927c322f9539ace
extra : source : 9060aea1dd3a91974484ef00fe3d2831ea22a985
2016-03-15 16:27:36 -05:00
Byron Campen [:bwc] 903901c97b Bug 1231981 - Part 3: Set up TURN server for webrtc mochitests, when configured to. r=drno
MozReview-Commit-ID: CVbAYPrwpuB

--HG--
extra : rebase_source : 81f06e74ab74558cfba435cac79bc6fee0d7409c
extra : source : 9249495e35aa39f4cf4f5604a9e1b56608c8775a
2016-03-04 15:45:57 -06:00
Byron Campen [:bwc] 91dc57493a Bug 1231981 - Part 2: A websocket-to-process bridge script that can be used by JS to launch an ICE server for testing. r=ahal
MozReview-Commit-ID: FbfNzyw9SZp

--HG--
extra : rebase_source : 38fe539b1f2ec1e6dc15e9630c37a6dec590f6c2
extra : source : 717ac54d91b1c341c35d9fb9fdc620dabd6040d9
2016-03-15 17:02:00 -05:00
Carsten "Tomcat" Book 1fe3914869 Backed out changeset de3f062c9a99 (bug 1231981) 2016-04-25 16:28:55 +02:00
Carsten "Tomcat" Book 94cebd7b33 Backed out changeset a9fcd0e98cc3 (bug 1231981) 2016-04-25 16:28:53 +02:00
Carsten "Tomcat" Book a41ff18ffd Backed out changeset 507145be7f82 (bug 1231981) 2016-04-25 16:28:52 +02:00
Carsten "Tomcat" Book e9599aa66e Backed out changeset 5a0d061f7548 (bug 1231981) 2016-04-25 16:28:50 +02:00
Byron Campen [:bwc] c87769deb2 Bug 1231981 - Part 5: Install python packages we need in the virtualenv if not present. r=gps
MozReview-Commit-ID: 9PUHLMxHhQP

--HG--
extra : rebase_source : f7a4bcff98f436242167dac03cf58973be0e26e6
2016-03-16 15:40:17 -05:00
Byron Campen [:bwc] c51311eeca Bug 1231981 - Part 4: Pull in the necessary python dependencies in CI. r=ahal
MozReview-Commit-ID: AkmzbnI4Lq5

--HG--
extra : rebase_source : f028c9f67f6e3ed9ef9aff7d5deffbb2f44d1331
2016-03-15 16:27:36 -05:00
Byron Campen [:bwc] 50135632ac Bug 1231981 - Part 3: Set up TURN server for webrtc mochitests, when configured to. r=drno
MozReview-Commit-ID: CVbAYPrwpuB

--HG--
extra : rebase_source : f52583fe21269d4d4214b93315cc75f0535de55d
2016-03-04 15:45:57 -06:00
Byron Campen [:bwc] 008efedd31 Bug 1231981 - Part 2: A websocket-to-process bridge script that can be used by JS to launch an ICE server for testing. r=ahal
MozReview-Commit-ID: FbfNzyw9SZp

--HG--
extra : rebase_source : f1404f32ab81d378b695a66bbdc6c184af20f9b0
2016-03-15 17:02:00 -05:00
Wes Kocher e80ed17c41 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 5AQXGbI0ke2
2016-04-21 15:02:19 -07:00
Junior Hsu 6d15e2b50b Bug 1260076 - [Mochitest] implement SpecialPowers.loadPrivilegedScript, r=bholley 2016-04-20 19:47:00 +02:00
Dan Minor c09452f2f6 Bug 1263621 - Update autophone-webrtc.ini manifest r=bc
This adds bug numbers for skipped tests in the manifests and the tests
under the identity subdirectory which are also all skipped.

MozReview-Commit-ID: 7SRAgyrKfTb

--HG--
extra : rebase_source : 934d8f8c6f720bc81dbfab007585fbf8d8875f95
extra : amend_source : 3fc07c882688379b689511fe479be3167bffe827
2016-04-13 12:38:24 -04:00
Nathan Froyd 8ac1e51406 Bug 1266198 - support --setenv options for robocop tests; r=gbrown 2016-04-21 11:13:14 -04:00
Dan Minor 04368e5dbc Bug 1264772 - Use subsuite name for chunk-by-runtime; r=ahal
We currently hard code the runtime name to be mochitest-plain. This
changes things to use the subsuite name if available.

MozReview-Commit-ID: JZKewOD81M8

--HG--
extra : rebase_source : 0cd4d5694f9a0448f33cc620e2c0b520e4fe4be8
2016-04-14 13:57:05 -04:00
Gijs Kruitbosch b3cfc1eada Bug 1236991 - part 3: allow use of todo() from ContentTask, r=mconley
MozReview-Commit-ID: EfucLgxcf8Y

--HG--
extra : rebase_source : 28908b2bd9160da75c76fb57441901e734f920e5
extra : histedit_source : 94415281799070b577f6c204ad6255b034871688
2016-04-11 17:11:35 +01:00
Jared Wein a24156ff6c Bug 1254145 - Use BrowserTestUtils.removeTab instead of gBrowser.removeTab in BrowserTestUtils.withNewTab since BrowserTestUtils.removeTab is more deterministic since it waits for SessionStore to update. r=gijs
MozReview-Commit-ID: 8DoAiwCuGKl
MozReview-Commit-ID: 5quEUBvfSOR
2016-03-07 07:31:00 +01:00
Timothy Nikkel 04885cc7cd Bug 1199023. Remove 'scrolling="no"' from iframe in which mochitest-chrome tests are run. r=ted
This makes the iframe more like the iframe that houses the root content document, and more like almost every other iframe.

This does cause real differences in practice when testing, eg https://bugzilla.mozilla.org/show_bug.cgi?id=1177018#c3
2015-09-23 01:29:37 -05:00
Joel Maher 585b69b5f8 Bug 1262954 - Explicitly set the 'layers.acceleration.disabled' pref to true on Windows XP e10s test runs. r=ahal
MozReview-Commit-ID: 2KsBZDNvsdU

--HG--
extra : rebase_source : 0869acfae1af0ab92ae142797b9e4b1a4e452781
2016-04-08 14:46:25 -04:00
Dan Minor 2bfe3e1901 Bug 1262532 - Add WebRTC autophone manifest r=bc
MozReview-Commit-ID: 48hYjjKo7Ft

--HG--
extra : rebase_source : b2f14569ae638663fb82c8d8bbf331579a728204
2016-03-30 12:07:34 -04:00
Timothy Nikkel 39de1dcd99 Backed out changeset d7d0413af62b (bug 1199023) for test failures. 2016-04-10 17:54:11 -05:00
Timothy Nikkel b10f463dc4 Bug 1199023. Remove 'scrolling="no"' from iframe in which mochitest-chrome tests are run. r=ted
This makes the iframe more like the iframe that houses the root content document, and more like almost every other iframe.

This does cause real differences in practice when testing, eg https://bugzilla.mozilla.org/show_bug.cgi?id=1177018#c3
2015-09-23 01:29:37 -05:00
Mike Conley 78f39fef6f Bug 1262946 - Add focus tests for newly opened windows. r=Gijs
MozReview-Commit-ID: 2353D0oA0yO

--HG--
extra : rebase_source : 62ccd25884848fd79a29daae8f3127fddd7487fc
2016-04-07 17:05:54 -04:00
Francois Marier 13fc6775d0 Bug 663581 - remove unused test_bug362788.xhtml. r=jmaher
MozReview-Commit-ID: ketJSTBbQ7

--HG--
extra : rebase_source : 6c92beb5634c730686d432af937f20e17762e048
2016-04-04 15:57:57 -07:00
Andrew Halberstadt 1092076e36 Bug 1243083 - Enable e10s by default when running mochitests, r=jmaher
MozReview-Commit-ID: NlTGwdQ2nw

--HG--
extra : rebase_source : 65ec39f39b1e231fe8b9e3228f4f604736b2cb84
2016-04-01 10:59:12 -04:00
Chris Manchester a7138cfc10 Bug 1242051 - Install test files to the objdir lazily rather than with each invocation of mach. r=gps
This moves test installation for test files out of the monolithic install
manifest for $objdir/_tests, and determines the test and support files
to install based on the object derived from all-tests.json. Additionally,
the files resulting from TEST_HARNESS_FILES are installed, as some tests
will depend on them.

As a result, the time to install tests when invoking the test runner will
scale with the number of tests requested to run rather than the entire set
of tests in the tree, resulting in significantly less overhead.

MozReview-Commit-ID: LeIrUVh1yD4
2016-04-04 14:56:52 -07:00
Kartikaya Gupta 2f1e35dda6 Bug 1261816 - Guard against the mochitest harness finish()ing a test that already finished. r=jmaher
MozReview-Commit-ID: 3w5xfSgJteG
2016-04-04 13:46:12 -04:00
Ryan VanderMeulen 1144ba9c95 Merge m-c to inbound. a=merge 2016-04-02 13:55:51 -04:00
Andrew McCreight 7d94b64012 Bug 1260148 - Make sendWheelAndPaint wait for the system wheel event. r=masayuki
This ensures that all of the legacy events have been fired.
2016-04-02 10:30:30 -07:00
Jared Wein 8092fe6da1 Bug 1259531 - [e10s] Fix test_bug451286.xul to run in e10s by converting to a mochitest-browser test. r=mikedeboer
MozReview-Commit-ID: 6Rt0dM6md06
2016-03-31 20:41:00 -04:00
JW Wang 3191a9a1a8 Bug 1259651 - Add the ability to register callback functions to be notified when a mochitest times out to SimpleTest. r=ted.
MozReview-Commit-ID: 2p7qqFMxHpW
2016-04-01 07:42:43 +08:00
Ryan VanderMeulen 5044fd9c12 Merge m-c to inbound. a=merge
--HG--
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-a.pinning2.example.com-badca.pem => security/manager/ssl/tests/unit/test_pinning_dynamic/a.pinning2.example.com-badca.pem
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-a.pinning2.example.com-badca.pem.certspec => security/manager/ssl/tests/unit/test_pinning_dynamic/a.pinning2.example.com-badca.pem.certspec
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-a.pinning2.example.com-pinningroot.pem => security/manager/ssl/tests/unit/test_pinning_dynamic/a.pinning2.example.com-pinningroot.pem
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-a.pinning2.example.com-pinningroot.pem.certspec => security/manager/ssl/tests/unit/test_pinning_dynamic/a.pinning2.example.com-pinningroot.pem.certspec
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-b.pinning2.example.com-badca.pem => security/manager/ssl/tests/unit/test_pinning_dynamic/b.pinning2.example.com-badca.pem
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-b.pinning2.example.com-badca.pem.certspec => security/manager/ssl/tests/unit/test_pinning_dynamic/b.pinning2.example.com-badca.pem.certspec
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-b.pinning2.example.com-pinningroot.pem => security/manager/ssl/tests/unit/test_pinning_dynamic/b.pinning2.example.com-pinningroot.pem
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-b.pinning2.example.com-pinningroot.pem.certspec => security/manager/ssl/tests/unit/test_pinning_dynamic/b.pinning2.example.com-pinningroot.pem.certspec
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-x.a.pinning2.example.com-badca.pem => security/manager/ssl/tests/unit/test_pinning_dynamic/x.a.pinning2.example.com-badca.pem
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-x.a.pinning2.example.com-badca.pem.certspec => security/manager/ssl/tests/unit/test_pinning_dynamic/x.a.pinning2.example.com-badca.pem.certspec
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-x.a.pinning2.example.com-pinningroot.pem => security/manager/ssl/tests/unit/test_pinning_dynamic/x.a.pinning2.example.com-pinningroot.pem
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-x.a.pinning2.example.com-pinningroot.pem.certspec => security/manager/ssl/tests/unit/test_pinning_dynamic/x.a.pinning2.example.com-pinningroot.pem.certspec
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-x.b.pinning2.example.com-badca.pem => security/manager/ssl/tests/unit/test_pinning_dynamic/x.b.pinning2.example.com-badca.pem
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-x.b.pinning2.example.com-badca.pem.certspec => security/manager/ssl/tests/unit/test_pinning_dynamic/x.b.pinning2.example.com-badca.pem.certspec
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-x.b.pinning2.example.com-pinningroot.pem => security/manager/ssl/tests/unit/test_pinning_dynamic/x.b.pinning2.example.com-pinningroot.pem
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-x.b.pinning2.example.com-pinningroot.pem.certspec => security/manager/ssl/tests/unit/test_pinning_dynamic/x.b.pinning2.example.com-pinningroot.pem.certspec
rename : widget/gtk/gtk3drawing.c => widget/gtk/gtk3drawing.cpp
extra : rebase_source : 8ba87bb4e8b334a68152458bda8da15398c78ddc
2016-03-25 11:42:42 -04:00
Nihanth Subramanya b45807e877 Bug 1255066 - Wrap condition fn for BrowserTestUtils.waitForCondition in Task.spawn. r=mak
MozReview-Commit-ID: 8YoDfF6d15G
2016-03-21 01:41:54 -07:00
Matthew Noorenberghe 85256f4a5d Bug 1258607 - Output task names when entering and leaving in SimpleTest. r=jmaher
This uses the same text as the equivalent code in browser-test.js.

MozReview-Commit-ID: 2CzZEjf8ojn

--HG--
extra : rebase_source : f64d52b1d5289db410de9d6237d35cebf6adfb32
2016-03-22 16:48:59 -04:00
Mike de Boer dbed6c745f Bug 1253233 - Make preparations to allow testing of remote browser elements in mochitest-chrome tests. r=felipe 2016-03-11 19:27:17 +01:00
Ehsan Akhgari 77e528556e Bug 1258532 - Port test_bug574596.html to mochitest-plain in order to enable it on e10s; r=mrbkap 2016-03-22 09:57:58 -04:00
Ryan VanderMeulen dd9dced81d Merge inbound to m-c. a=merge 2016-03-19 11:22:28 -04:00
Ryan VanderMeulen d37d8fbb9a Bug 1257708 - Move dom/push/test back into mochitest-plain instead of a separate test suite. 2016-03-19 11:02:04 -04:00
Honza Bambas 3d5960cd1f Bug 1248565 - Make test infra use MOZ_LOG_FILE and MOZ_LOG_MODULES. r=jmaher 2016-03-11 08:27:00 -05:00
Ehsan Akhgari 8590248100 Bug 1256984 - Indicate whether tests ran in e10s mode in the mochitest-* summary; r=mconley 2016-03-18 16:09:12 -04:00
Geoff Brown 29977660c0 Bug 1251013 - Update android_version annotations in test manifests - mochitest; r=jmaher 2016-03-17 10:00:48 -06:00
Carsten "Tomcat" Book 038b38598a Merge mozilla-central to m-i 2016-03-17 11:14:21 +01:00
Bob Clary c5a7e2811c Bug 1256343 - Autophone - add subsuite=media to testing/mochitest/manifests/autophone-media.ini, r=jmaher. 2016-03-16 23:17:01 -07:00
Dave Townsend 20eb15d792 Bug 1255520: BrowserTestUtils.withNewTab should just accept a url argument. r=Gijs
Most of the time the test just wants to open a page in the current window. In
that case there is no need to pass an object with the gBrowser, we can just find
it directly. This makes using this function less verbose in most cases.

MozReview-Commit-ID: eUyyOi5HgC

--HG--
extra : rebase_source : 887c552a324a95bcf93f33c199d9bdaff4965b50
extra : amend_source : b1a9dcd751f58a29df03dfbbbf59c1936e46e60f
2016-03-10 10:17:54 -08:00
Paolo Amadini 2bb7d8e7ba Bug 1256297 - Exceptions and rejections with add_task in SpawnTask.js should fail tests. r=jmaher
MozReview-Commit-ID: LEZaU9tYOAX

--HG--
extra : rebase_source : 9f2982979de5dc58ffc035f68509eed2987e5539
2016-03-14 13:46:42 +00:00
Mike de Boer ef1625aff4 Bug 1093153: introduce 'BrowserTestUtils#synthesizeKey', 'BrowserTestUtils#synthesizeComposition' and 'BrowserTestUtils#synthesizeCompositionChange' to allow mochitests to remotely invoke EventUtils' text composition utilities. Changes to EventUtils include 1) removed dependency on the 'navigator' object when 'nsIXULRuntime' is available and 2) make '_getKeyboardEvent' more robust when used in frame scripts. r=Enn 2016-03-15 11:09:31 +01:00
Boris Zbarsky 95bb8802ec Bug 1256364. If we have an exception stack in the onerror handler in SimpleTest, include it in the error message. r=jmaher 2016-03-14 20:48:21 -04:00
Marco Castelluccio 2fb9c40ec1 Bug 1250453 - Remove DOMApplicationRegistry.allAppsLaunchable property and related testing API. r=myk 2016-03-14 16:29:11 +00:00
Jared Wein 530aa3f068 Bug 1254296 - [e10s] Fix browser_CTP_plugins.js to run in e10s. r=gfritzsche
MozReview-Commit-ID: JsOQz7r14Ms

--HG--
extra : rebase_source : 13afe974a943b9a4d2a52b2f4407f2dfe682e39b
2016-03-22 17:40:02 -04:00
Neil Deakin 895e698fb9 Bug 1254988, remove correct listener in waitForFocus, r=jmaher 2016-03-11 08:50:22 -05:00
Carsten "Tomcat" Book 25fbf67b66 Backed out changeset 878c54ec3954 (bug 1250453) 2016-03-10 14:45:59 +01:00
Marco Castelluccio 1902f1c620 Bug 1250453 - Remove DOMApplicationRegistry.allAppsLaunchable property and related testing API. r=myk 2016-03-10 11:12:38 +00:00
Carsten "Tomcat" Book 1c95c143d4 merge mozilla-inbound to mozilla-central a=merge 2016-03-10 11:51:35 +01:00
Matthew Noorenberghe 70da2ea8f6 Bug 1251139 - Follow-up to properly rebase over bug 1153128. r=me
on a CLOSED TREE

MozReview-Commit-ID: 35xb0uBoOrf
2016-03-09 14:53:52 -08:00
Matthew Noorenberghe b539cc9f1b Bug 1251139 - Support running a function in the parent with loadChromeScript. r=jmaher
MozReview-Commit-ID: 3t7g2bjaFmA

--HG--
rename : testing/mochitest/tests/Harness_sanity/test_SpecialPowersLoadChromeScript.html => testing/mochitest/tests/Harness_sanity/test_SpecialPowersLoadChromeScript_function.html
2016-03-09 12:11:44 -08:00
Andrew Halberstadt ca7c71bcd9 Bug 1250616 - Update extension names in runrobocop.py, r=gbrown
MozReview-Commit-ID: 5QAJiIL3pph

--HG--
extra : rebase_source : 07612c51848cb2aa08fc301f2614ede0d2d2e1ee
extra : amend_source : 6be821ac5bfcba416ace71cf888516710756a6f0
extra : source : 2f25d03334b252b0abc2124d065c4b33d7b8214f
2016-03-08 10:35:38 -05:00
Sebastian Hengst 263fc3de3c Backed out changeset 912825aa7ee1 (bug 1254145) for failing bc7 tests. r=backout 2016-03-08 10:48:15 +01:00
Jared Wein 96d1f59f9c Bug 1254145 - Use BrowserTestUtils.removeTab instead of gBrowser.removeTab in BrowserTestUtils.withNewTab since BrowserTestUtils.removeTab is more deterministic since it waits for SessionStore to update. r=gijs
MozReview-Commit-ID: 8DoAiwCuGKl
2016-03-07 07:31:00 +01:00
Honza Bambas a827d3166e Bug 1254059 - init MochitestBase.nsprLogs, r=jmaher 2016-03-07 04:14:00 +01:00
Myk Melez db9a40ca42 Bug 1238079 - remove the desktop web runtime; r=fabrice,mossop,gps,jryans,jmaher,marco 2016-03-07 13:33:12 -08:00
Hiroyuki Ikezoe 199a3521ec Bug 1153128 - Add sendSyncMessage to SpecialPowers.loadChromeScript. r=jmaher
MozReview-Commit-ID: AsbBiOkhhLo

--HG--
extra : rebase_source : 435440d581de51ff986fde9cd5b0d6e0cc3e5388
2016-02-24 21:43:23 -08:00
Mike de Boer 03bd1469f2 Bug 1241930: Part 1 - make all Assert.jsm assert methods available for use in ContentTasks. r=mconley 2016-03-04 14:32:22 +01:00
Neil Deakin 88f01808f9 Bug 1246669 - Enable browser_sanityException2.js for e10s. r=jmaher 2016-03-04 08:49:48 +01:00
Kris Maglione fbcae3eafe Bug 1253148: [webext] Cleanup running extensions on test failure. r=billm
MozReview-Commit-ID: HTFZk6y6ZEp

--HG--
extra : rebase_source : 476d51fba97989b8bcbcdb6720d53f1820db8fc9
2016-03-02 20:58:28 -08:00
Mike Shal aeffe80634 Bug 1242632 - Remove TESTING_FILES from moz.build; r=glandium
MozReview-Commit-ID: ALy4s6Xpg7f
2016-01-25 13:41:22 -05:00
Dão Gottwald a6771d2da3 Bug 1159268 - Make browser_bug1015721.js work with e10s. r=billm
--HG--
extra : rebase_source : 8cde4030435a82b7bc3bbfcb1af3c67d9f30f41c
2016-03-03 23:32:54 +01:00
Carsten "Tomcat" Book 82cf3c3383 merge mozilla-inbound to mozilla-central a=merge 2016-03-03 11:54:40 +01:00
Stanley Mwangi ecaaff970b Bug 1243083 - Added --disable-e10s to mochitest_options.py and reftestcommandline.py. r=ahal
MozReview-Commit-ID: I3UIS8eEZ8D

--HG--
extra : rebase_source : cad52821f891915b2d174f60c250fb80ec307525
extra : amend_source : fe1a47030662a58c409e3cf2b42dc0ace452178d
2016-03-02 16:33:13 -05:00
J. Ryan Stinnett 2a55d065b7 Bug 1238160 - Rename OriginAttributes.mInBrowser and associated methods. r=bz,mayhemer
This change renames OriginAttributes.mInBrowser to mInIsolatedMozBrowser and
nsIPrincipal::GetIsInBrowserElement to GetIsInIsolatedMozBrowserElement.  Other
methods that pass these values around also have name changes.

Tokens such as "inBrowser" have previously been serialized into cache keys, used
as DB column names, stored in app registries, etc.  No changes are made to any
serialization formats.  Only runtime method and variable names are updated.

No behavior changes are made in this patch, so some renamed methods may have
nonsensical implementations.  These are corrected in subsequent patches
focused on behavior.

MozReview-Commit-ID: 66HfMlsXFLs
2016-03-02 10:35:56 -06:00
Geoff Brown 2fc80985f9 Bug 1252868 - Do not install superfluous addons for Android tests; r=jmaher 2016-03-02 09:23:42 -07:00