Nick Lockwood 963a53b1a7 Fixed XHR tests
Summary:
The XMLHttpRequest jest tests were attempting to call a private method in XMLHttpRequestBase.js (denoted by an _ prefix).

JS doesn't actually have any language-level support for private methods, the use of _ prefix is just a convention. But to prevent casually calling private methods externally, we have a transform that mangles the names of prefixed methods so that that attempting to call them will fail.

Using a double _ bypasses this name-mangling mechanism, while still making it clear that the method is intended to be private.

Reviewed By: javache

Differential Revision: D3276261

fb-gh-sync-id: e0c17e1003d2df09d1a16f78ae9d95bef923d74e
fbshipit-source-id: e0c17e1003d2df09d1a16f78ae9d95bef923d74e
2016-05-09 10:36:24 -07:00
..
2015-07-24 08:41:58 -08:00
2016-04-20 20:45:22 -07:00
2016-05-03 19:20:26 -07:00
2016-05-09 07:08:22 -07:00
2016-05-09 10:36:24 -07:00
2016-04-06 09:21:53 -07:00
2016-04-22 18:02:28 -07:00
2016-04-10 18:02:20 -07:00
2016-04-25 03:31:19 -07:00
2016-04-27 19:16:32 -07:00