Commit Graph
133 Commits
Author SHA1 Message Date
Chung-Sheng Fu b107d35bcb Bug 1382533 - Add tests for Presentation API fingerprinting resistance. r=schien,smaug
MozReview-Commit-ID: JfVlBMPR0xW
2017-08-31 15:04:33 +08:00
Dan Banner 4728271454 Bug 1351089 - Remove unused PresentationDeviceInfoManager.jsm r=schien,smaug
MozReview-Commit-ID: FoMZNIFtgFM
2017-07-03 19:51:01 +01:00
Florian Quèze ecd98ba423 Bug 1374282 - script generated patch to remove Promise.defer calls, r=Mossop. 2017-06-22 12:51:42 +02:00
Andrew McCreight c46dd42c01 Bug 1359935 - Don't call sendAsyncMessage in mockedSessionTransport.close() after tearDown. r=kershaw
For some reason, when running test_presentation_sender_startWithDevice.html
we end up running mockedSessionTransport.close() late in shutdown. The
special powers code to do sendAsyncMessage has been torn down already,
and we end up leaking in shutdown, without an extra GC.

Also, this patch replaces some leading tabs with spaces.

MozReview-Commit-ID: BnwMBgR8iYZ
2017-04-28 14:13:35 -07:00
Florian Queze 6cc0b6e992 Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws. 2017-04-27 00:25:45 +02:00
Florian Queze ddf0cda8da Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Florian Queze 451928e614 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze aca1103c68 Bug 1356569 - Remove appendElement's last parameter when it is false, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst 4cd95d4a02 Backed out changeset 18d45aa984d6 (bug 1355161) 2017-04-14 23:39:23 +02:00
Sebastian Hengst 42670ceca0 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Sebastian Hengst 4189eac09e Backed out changeset e1f191aad863 (bug 1356569) 2017-04-14 23:39:17 +02:00
Sebastian Hengst f75839c723 Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze 61aabdf237 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze 6c119a88d3 Bug 1356569 - Remove appendElement's last parameter when it is false, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze 9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Florian Queze 35cd8ba883 Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Mark Banner 80c89412fa Bug 1347482 - Change various DOM tests to run the navigator checks in sub-iframes. r=mystor
We have to run the navigator checks in sub-iframes as we need to set preferences which affect navigator's API
which may or may not be already initialised with the current settings. The sub-iframes will have a navigator
object set up with the expected preferences for the test.

The iframes all call into the parent to publish the test results, this is because the SimpleTest infrastructure
doesn't cope with results being published from sub-iframes.

MozReview-Commit-ID: GFVQHMVkbMP
2017-04-04 21:53:27 +01:00
Ehsan Akhgari 7d03b665c2 Bug 1344587 - Fix a leak in test_multicast_dns_device_provider.js; r=schien 2017-03-06 15:06:13 -05:00
Masatoshi Kimura 4f2e64ad3d Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;

MozReview-Commit-ID: AzhtdwJwVNg
2017-02-23 06:10:07 +09:00
Nils Ohlmeier [:drno] 10cb27951f Bug 1268262: ignore callbacks after connection got established r=jib
MozReview-Commit-ID: ELrapnbiPy2
2017-02-02 13:17:51 -08:00
Florian Quèze 91f7a2ef3a Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
Mark Banner 55868dde7c Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
MozReview-Commit-ID: 62Hp5ISxowJ
2017-01-18 10:30:39 +00:00
Florian Quèze 63de711857 Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
Phil Ringnalda 3fcfd8b4dd Bug 1304934 - disable test_presentation_mixed_security_contexts.html on Android for constant failures, a=nnoyance 2016-11-17 21:34:35 -08:00
Andrea Marchesini 922dee957d Bug 1315905 - Cleanup Necko http security check - part 2 - tests, r=valentin 2016-11-17 14:53:30 +01:00
Kershaw Chang d4140b5e9b Bug 1259349 - Filter the device availability by URL. r=smaug 2016-11-07 22:13:00 -05:00
Phil Ringnalda 71f0b36a93 Bug 1315867 - Disable test_presentation_sandboxed_presentation.html until its flaky use of setTimeout can be repaired 2016-11-07 20:32:24 -08:00
Sebastian Hengst 7a9fccc261 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/presentation. r=RyanVM
MozReview-Commit-ID: DYwEDeD1ccf
2016-11-05 11:29:17 +01:00
Shih-Chiang Chien 0b35b57949 Bug 1314229 - return undefined/null for defaultRequest/receiver if not in corresponding UA or context. r=smaug.
MozReview-Commit-ID: KUWdfz1u55O
2016-11-02 17:53:31 +08:00
Shih-Chiang Chien 0ae0a12541 Bug 1311375 - promise reject when there is an unsettled presentation start procedure. r=smaug
MozReview-Commit-ID: AL0QeyXBwzb
2016-10-31 15:49:32 +08:00
Shih-Chiang Chien 43a18962a6 Bug 1291971 - Part 1, enable controller idlharness test. r=smaug.
MozReview-Commit-ID: bDuOdLpPDh
2016-10-04 00:22:34 +02:00
Shih-Chiang Chien d3928d343e Bug 1311944 - notify device disconnect only when session termination. r=smaug
MozReview-Commit-ID: JNVDv3L2r6t
2016-10-24 19:11:26 +08:00
Valentin Gosu 51a6d5d808 Bug 1305204 - (Part 4) Comment out test with pseudo-bad URL r=me
MozReview-Commit-ID: DoYEKqgZUnk
2016-10-23 14:24:54 +02:00
Brad Werth deae95651d Bug 1307896 - Fixed spelling of "receive" in the assert messages. r=jdm
MozReview-Commit-ID: HdHQFV9yXG3
2016-10-05 12:16:02 -07:00
Kershaw Chang 85815f337e Bug 1228474 - Support sending blob/arraybuffer for data channel. r=smaug 2016-09-17 19:42:00 -04:00
Kershaw Chang b6c3ca6e76 Bug 1299040 - Implement transport builder constructor. r=smaug 2016-09-16 08:59:00 -04:00
Phil Ringnalda 2f505ce078 Backed out changeset e684bf18e5d9 (bug 1299040) for bad implicit conversion constructor bustage
CLOSED TREE
2016-09-15 19:31:32 -07:00
Kershaw Chang c9efa4f714 Bug 1299040 - Implement transport builder constructor. r=smaug 2016-09-15 07:09:00 -04:00
Shih-Chiang Chien b883ae155c Bug 1264110 - fix timing issue in test cases. r=kershaw.
MozReview-Commit-ID: 2Ia4L7EizrA
2016-09-05 18:18:11 +08:00
Kershaw Chang 34a666a2d9 Bug 1288297 - Construct PresentationRequest with multiple URLs, r=smaug 2016-09-05 01:17:00 +02:00
Shih-Chiang Chien 68e2f19e87 Bug 1228508 - Part 2, maintain the set of availability objects. r=smaug
MozReview-Commit-ID: 8JNWvnfsMU7
2016-08-17 16:15:32 +08:00
Shih-Chiang Chien af3a85e44b Bug 1228508 - Part 1, create new availability object for each getAvailability(). r=smaug.
MozReview-Commit-ID: 8DjlW3C58Tz
2016-08-31 10:31:15 +08:00
Shih-Chiang Chien 0ee0f106c3 Bug 1228526 - Part 1, support device filtering by requested presentation URL. r=smaug
MozReview-Commit-ID: JrqeavLGub1
2016-08-26 10:59:27 +08:00
Shih-Chiang Chien fb80346af9 Bug 1278205 - use preference for exposing presentation API. r=smaug.
MozReview-Commit-ID: AXkZmPe9J6k
2016-06-03 19:50:30 +08:00
Shih-Chiang Chien a7a1a7d679 Bug 1284188 - use nsINetworkInfoService to obtain self IP address. r=smaug.
MozReview-Commit-ID: 1QwjrkV9cEk
2016-08-12 15:27:33 +08:00
Kershaw Chang 4b855f2a89 Bug 1254488 - Run the the prohibits mixed security contexts algorithm and check a priori unauthenticated URL in PresentationRequest, r=smaug 2016-08-10 23:01:00 +02:00
Shih-Chiang Chien f499858e8f Bug 1288600 - reject promise with NotFoundError while no device, and NotAllowedError while canceled by user. r=smaug.
MozReview-Commit-ID: ArQHhdIpQjg
2016-08-09 09:58:14 +08:00
Shih-Chiang Chien 3109061461 Bug 1153134 - Part 3, retry startServer after timeout. r=junior.
MozReview-Commit-ID: 94cyXVPf5FN
2016-08-02 10:48:22 +08:00
Shih-Chiang Chien f7e8b16b93 Bug 1153134 - Part 2, support TLS control server. r=junior.
MozReview-Commit-ID: 2jVShMuEzTi
2016-07-26 10:59:52 +08:00