Commit graph

111 commits

Author SHA1 Message Date
ISHIKAWA, Chiaki
be2b50a7f8 Bug 1248252 - Improper outdated octal constant syntax in M-C tree. Use '0o' prefix. r=dao
Be warned. Do not attemp to change the .js "test" source code in ./js
They are meant to check

 - the outdated 0666 octal constant is still parsed correctly,
 - the outdated 0666 octal constant raises syntax error flag
   in strict mode, etc.

So leave them alone.
2016-02-15 08:57:00 +01:00
Dave Townsend
86f03db916 Bug 1229142: Link browser and toolkit test directory to the shared eslintrc files. r=Standard8
--HG--
extra : commitid : CKT2WDkxE4k
extra : rebase_source : 0be50c483317355b1e9af5985d53e85604748432
extra : histedit_source : 65d203f57ebd38b8c130e5db9aaa8ae3f507e7ac
2015-11-30 13:05:00 -08:00
Phil Ringnalda
c86db83adf Bug 1208199 - Skip test_osfile_async_setDates.js on b2g debug, where it fails constantly 2015-12-09 18:40:57 -08:00
Valentin Gosu
39e3e75879 Bug 1163028 - stop escaping [ and ] in toFileURI r=yoric 2015-11-02 13:54:59 +01:00
David Rajchenbach-Teller
dafb3000c9 Bug 1208199 - test_osfile_async_setDates.js doesn't need to handle pending/finished state manually;r=yoric
--HG--
extra : transplant_source : %3C%D9%92Fw-%1E%B3%C6B%15Zgc%0Ex%04%DA%7F%9D
2015-09-29 11:53:30 +02:00
Tooru Fujisawa
3f9809017c Bug 1207498 - Part 2: Remove use of expression closure from tests in toolkit/components/. r=Gijs
--HG--
extra : commitid : J57uE7zSSsN
extra : rebase_source : b81cb1977b5beb9abc7cf132cd70648f406eb8ed
2015-09-24 20:36:01 +09:00
Tooru Fujisawa
816c72630a Backed out changeset 55b45f61cfd2 (bug 1207498) for Linux pgo M(oth) failure
--HG--
extra : commitid : 5g4QL4KrAot
2015-09-27 23:42:27 +09:00
Tooru Fujisawa
41ec522633 Bug 1207498 - Part 2: Remove use of expression closure from tests in toolkit/components/. r=Gijs
--HG--
extra : commitid : 1xymr2vWeyn
extra : rebase_source : 286757f28e8e392760d216f1b8bd25925ffe43b7
2015-09-24 20:36:01 +09:00
Shu-yu Guo
64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Ryan VanderMeulen
72cacbae1b Bug 1197986 - Request a longer timeout for tests that started timing out after increasing the number of B2G debug xpcshell chunks from 2 to 4. 2015-08-25 20:56:16 -04:00
Ryan VanderMeulen
d01fa354cb Bug 1197986 - Request a longer timeout for tests that started timing out after increasing the number of B2G debug xpcshell chunks from 2 to 4. 2015-08-25 18:31:35 -04:00
Christoph Kerschbaumer
3a846e95d6 Bug 1167053 - Convert NetUtil.newChannel2 callsites to use new API - update asyncFetch2 (r=sicking,paolo) 2015-05-21 19:51:40 -07:00
Alessio Placitelli
de418f9f22 Bug 1164822 - Add xpcshell test coverage for |OS.File.remove| ignoreAbsent flag. r=Yoric 2015-05-19 14:10:11 -07:00
ziyunfei
e1db0f779e Bug 1102219 - Part 4: Replace String.prototype.contains with String.prototype.includes in chrome code. r=till 2015-04-30 00:32:05 +09:00
Tooru Fujisawa
cf2e4ba315 Bug 891107 - Part 1: Show information about value, type, function, and argument number in type conversion error messages in js-ctypes. r=jorendorff 2015-04-23 13:41:10 +09:00
Ganesh Sahukari
4b15c2aa09 Bug 1022816 - OS.File will now be able to change the readOnly, hidden, and system file attributes on Windows. r=paolo 2015-03-13 15:51:53 +00:00
Andrew Sutherland
1adc0f5ef7 Bug 1125989 - Avoid OS.File request lossage during worker shutdown, r=yoric
OS.File requests like OS.File.stat would potentially be lost on b2g during
auto-shutdown/auto-killing of the worker thread. This patch corrects the
queue management so races with killing are not possible. A test is added that
fails without the fix and passes with it. See the comments in the test and
test for further details. Also, the bug is nice.
2015-02-25 00:43:13 -05:00
Andrew Sutherland
b0b2c340eb Backed out changeset 9110f18c19aa (bug 1125989) 2015-02-24 13:46:27 -05:00
Andrew Sutherland
566180e08d Bug 1125989 - Avoid OS.File request lossage during worker shutdown, r=yoric
OS.File requests like OS.File.stat would potentially be lost on b2g during
auto-shutdown/auto-killing of the worker thread.  This patch corrects the
queue management so races with killing are not possible.  A test is added that
fails without the fix and passes with it.  See the comments in the test and
test for further details.  Also, the bug is nice.
2015-02-24 10:59:46 -05:00
Christoph Kerschbaumer
7082ffe2b7 Bug 1087744: Make JS callers of ios.newChannel call ios.newChannel2 in toolkit/ - tests (r=gijs) 2015-02-11 08:51:35 -08:00
Phil Ringnalda
490561155f Back out 35e75bce4db4 (bug 1087744) for xpcshell bustage
CLOSED TREE
2015-02-10 23:05:42 -08:00
Christoph Kerschbaumer
01f03b1b49 Bug 1087744: Make JS callers of ios.newChannel call ios.newChannel2 in toolkit/ - tests (r=gijs) 2015-02-10 20:49:49 -08:00
Jon Coppeard
0e23adfc34 Bug 1077354 - Transfer buffers to OS.File methods rather than passing a pointer r=froydnj 2015-01-08 11:31:21 +00:00
Gaurav Rai
3962e29eb3 Bug 1075438 - Removed readTo function from two files and fixed read function to work without readTo.Also removed the test for readTo function from mochi and xpcshell tests. r=Yoric 2014-10-27 06:59:00 +01:00
Carsten "Tomcat" Book
059bc8bcd2 Backed out changeset 48099863baec (bug 1075438) for add-on bustage 2014-10-29 12:57:14 +01:00
Gaurav Rai
086f2a8caa Bug 1075438 - Removed readTo function from two files and fixed read function to work without readTo.Also removed the test for readTo function from mochi and xpcshell tests. r=Yoric 2014-10-27 06:59:00 -04:00
Andrew Halberstadt
d292ee73f1 Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Iaroslav Sheptykin
5ebafccaf7 Bug 1023685 - Support writing encoded zero-byte strings in OS.File.writeAtomic. r=yoric
Patch originally created by KeyboardFire <andy@keyboardfire.com>.
2014-09-23 06:50:00 -04:00
Wes Kocher
6e187f49f8 Merge m-c to inbound a=merge 2014-09-15 16:41:45 -07:00
Shu-yu Guo
59ccd2fecb Bug 1001090 - Part 5: Fix errors in tests throughout the tree. (r=robcee,gavin) 2014-09-15 16:30:47 -07:00
Paul Rouget
bfba482515 Backed out changeset a6d02cff43d3 (bug 1037235) for breaking WebIDE (bug 1067331)
--HG--
extra : amend_source : a7bfb1e931122663e7c14a7362a849520388e495
2014-09-15 16:23:04 +02:00
Erik Vold
d3d9b5a320 Bug 1037235 - toolkit/loader doesn't check module compatibility r=Mossop 2014-09-09 18:33:55 -07:00
Lynn Tran
7f93484c48 Bug 999748 - Add the user trash directory to OS.Constants.Path. r=yoric 2014-08-26 08:51:24 -04:00
David Rajchenbach-Teller
ce2b9814dc Bug 1044700 - Make OS.Path.join and OS.File.makeDir more resilient to denormalized paths. r=froydnj 2014-08-20 07:39:00 -04:00
Paolo Amadini
1492e70b40 Bug 1023402 - API review for OS.File.setPermissions. r=Yoric
--HG--
rename : toolkit/components/osfile/tests/xpcshell/test_osfile_async_setPerms.js => toolkit/components/osfile/tests/xpcshell/test_osfile_async_setPermissions.js
2014-07-09 14:26:41 +01:00
Lynn Tran
029d85bf33 Bug 1003336 - OS.Constants.Sys.Name should not be "Android" for Firefox OS. r=yoric 2014-07-04 18:20:49 -04:00
Zack Weinberg
6f9f35438c Bug 1001849: expose general chmod, and chmod-to-umask, support in OS.File. r=yoric 2014-06-20 19:54:06 -04:00
Ryan VanderMeulen
028ca01a20 Merge inbound to m-c. a=merge 2014-06-10 00:45:12 -04:00
David Rajchenbach-Teller
43ebf8cc06 Bug 1014484 - Fix 'toString is read-only' errors on B2G. r=froydnj 2014-06-09 08:26:00 -04:00
David Rajchenbach-Teller
f7fd2e76e3 Bug 1011158 - Tighten the lock around OS.File |kill| operation. r=froydnj 2014-06-09 06:25:00 -04:00
Ed Morley
2dd911fd12 Backed out changeset e28e73446d88 (bug 1018169) for Android & B2G xpcshell failures in worker_test_constants.js; CLOSED TREE 2014-06-06 11:59:22 +01:00
kushagra singh[:kushagra]
f08a7a530c Bug 1018169 - [OS.File] Write a test to check if OS.Constants is accessible from a worker. r=Yoric 2014-06-05 12:43:00 -07:00
kushagra singh[:kushagra]
0999dad2bb Bug 991883 - [OS.File] Move test_constants from main_test_osfile_async.js to an xpcshell test. r=Yoric 2014-05-26 09:52:00 -04:00
David Rajchenbach-Teller
d6f5da42b5 Bug 994951 - Activate OS.File xpcshell tests on B2G. r=froydnj 2014-05-05 06:53:00 -04:00
kushagra singh[:kushagra]
e08aaf6c19 Bug 819068 - Implementing OS.File.queue. r=Yoric 2014-04-12 21:02:06 -04:00
Nils Maier
86cfc9cc0f Bug 952997 - Fix OS.File large file support. r=yoric 2014-04-08 03:40:00 +02:00
David Rajchenbach-Teller
cb7efd3977 Bug 961317 - Clean up OS.File shutdown race condition and rework OS.File reset/shutdown. r=froydnj 2014-04-02 11:42:51 -04:00
Ryan VanderMeulen
ce35bbbf54 Backed out changeset 4eb0d4408fd2 (bug 961317) for Windows xpcshell failures. 2014-04-01 10:46:44 -04:00
David Rajchenbach-Teller
af1d8aa35a Bug 961317 - Clean up OS.File shutdown race condition and rework OS.File reset/shutdown. r=froydnj 2014-04-01 08:57:25 -04:00
David Rajchenbach-Teller
f5db5c387e Bug 934283 - Add option to OS.File.makeDir to recursively make directories;r=froydnj 2014-03-28 17:33:36 -07:00