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

62 Коммитов

Автор SHA1 Сообщение Дата
Mark Banner 11134bf8a1 Bug 1515616 - Fix various DOM tests to use nsIFile.NORMAL_FILE_TYPE rather than the unknown nsIFile.FILE_TYPE. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D15082

--HG--
extra : moz-landing-system : lando
2018-12-20 18:17:22 +00:00
Mark Banner b1c872942c Bug 1508980 - Add more .eslintrc.js files for dom/ and update .eslintignore. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D12529

--HG--
extra : moz-landing-system : lando
2018-11-21 14:27:27 +00:00
Andrea Marchesini 7194843a04 Bug 1507893 - Fetch() should consume DOM Files on the target thread only - test, r=twisniewski 2018-11-20 18:08:34 +01:00
Daniel Varga 153ba7a50e Backed out changeset 6babd3b956aa (bug 1502403) for wpt leak at mozilla::dom::FileReader::ReadFileContent 2018-10-30 12:50:37 +02:00
Andrea Marchesini c549894865 Bug 1502403 - FileReader should dispatch loadstart asynchronously, r=smaug 2018-10-30 07:57:31 +01:00
Andrea Marchesini a8f7b3a10f Bug 1480354 - Better approach for nested blobs construction, r=smaug 2018-08-03 08:58:32 +02:00
Joel Maher 50b91c0a14 Bug 1405428 - skip-if = verify on mochitests which do not pass test-verify. r=gbrown 2018-06-10 05:01:47 -04:00
Kris Maglione 8134b33e89 Bug 1462964: Remove obsolete nsIDOMBlob interface. r=bz
MozReview-Commit-ID: 2HIlaSrvfBe

--HG--
extra : rebase_source : 944a6244dbfe1f0a37dd34a041d1329624a86f93
extra : histedit_source : d7859be664fed00f8504e40969480d3af3d674e7%2C4456b502db338bd06823654306e47c2583101396
2018-05-21 17:32:44 -07:00
Andrea Marchesini b4b5d38767 Bug 1458883 - Remove File.lastModifiedDate, r=qdot 2018-05-04 14:39:53 +02:00
Peter Van der Beken 9cab86f20d Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 2: Various test fixes to prepare for using WebIDL bindings for MessageManager classes. r=bz.
--HG--
extra : rebase_source : cbf2c71a956a0c57e7d57a1c1c132bb57bc48c37
2017-07-04 18:03:18 +02:00
Sebastian Hengst 3a10644021 Backed out 6 changesets (bug 888600) for beta simulation failures: build bustage on Linux and Windows opt (bug 1442036) and devtools failure browser_net_view-source-debugger.js (bug 1441961). a=backout
Backed out changeset 83c87140dc3d (bug 888600)
Backed out changeset 2efb9b1753f6 (bug 888600)
Backed out changeset af5303781961 (bug 888600)
Backed out changeset 79ef59047e63 (bug 888600)
Backed out changeset 30d568d628dd (bug 888600)
Backed out changeset c7bd4c6c9741 (bug 888600)

--HG--
extra : histedit_source : 791b22f6770f4fead2f909478a93d65d85829fe0%2Cbb387309e90f53e1dde45dcf8cf4ebedcc6e5c5e
2018-03-01 11:51:09 +02:00
Florian Quèze c714053d73 Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
Peter Van der Beken e0424a7bae Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 2: Various test fixes to prepare for using WebIDL bindings for MessageManager classes. r=bz.
--HG--
extra : rebase_source : a07b1490df5f1a55121d01c0f9bb9fd20c890091
2017-07-04 18:03:18 +02:00
Andrew McCreight 5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Florian Quèze 2b1c8dccb6 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Florian Quèze 032c961e0a Bug 1421992 - script-generated patch to replace do_check_* functions with their Assert.* equivalents, rs=Gijs. 2017-12-21 11:08:17 +01:00
Andrea Marchesini c9234eab7c Bug 1305230 - Using createUnique when creating test files in fileapi_chromeScript.js, r=me 2017-10-17 13:21:39 +02:00
Andrea Marchesini 2fc80505b6 Bug 1305230 - Splitting test_fileapi.html and test_fileapi_worker.html in multiple files, r=me
--HG--
rename : dom/file/tests/test_fileapi.html => dom/file/tests/test_fileapi_basic.html
rename : dom/file/tests/test_fileapi_worker.html => dom/file/tests/test_fileapi_basic_worker.html
rename : dom/file/tests/test_fileapi.html => dom/file/tests/test_fileapi_encoding.html
rename : dom/file/tests/test_fileapi_worker.html => dom/file/tests/test_fileapi_encoding_worker.html
rename : dom/file/tests/test_fileapi.html => dom/file/tests/test_fileapi_other.html
rename : dom/file/tests/test_fileapi_worker.html => dom/file/tests/test_fileapi_other_worker.html
rename : dom/file/tests/test_fileapi.html => dom/file/tests/test_fileapi_twice.html
rename : dom/file/tests/test_fileapi_worker.html => dom/file/tests/test_fileapi_twice_worker.html
2017-10-17 13:21:39 +02:00
Andrea Marchesini faf078bd88 Bug 1400098 - Using common_fileReader.js for test_fileapi in workers, r=qdot 2017-10-17 13:21:39 +02:00
Andrea Marchesini 546f84767b Bug 1400098 - test_fileapi.html rewritten using Promises, r=qdot 2017-10-17 13:21:39 +02:00
Andrea Marchesini 1e20889292 Bug 1305230 - Splitting test_fileapi_slice in four files, r=me
--HG--
rename : dom/file/tests/test_fileapi_slice2.html => dom/file/tests/test_fileapi_slice_memFile_1.html
rename : dom/file/tests/test_fileapi_slice2.html => dom/file/tests/test_fileapi_slice_memFile_2.html
rename : dom/file/tests/test_fileapi_slice.html => dom/file/tests/test_fileapi_slice_realFile_1.html
rename : dom/file/tests/test_fileapi_slice.html => dom/file/tests/test_fileapi_slice_realFile_2.html
2017-10-17 13:21:39 +02:00
Andrea Marchesini 3f03532be3 Bug 1305230 - Splitting test_fileapi_slice in two files, r=qdot 2017-10-17 13:21:39 +02:00
Andrea Marchesini 55ddd1cb9b Bug 1305230 - Make test_fileapi_slice using promises, r=qdot 2017-10-17 13:21:39 +02:00
Andrea Marchesini 2339456703 Bug 1305230 - removing fileutils.js from tests when not needed, r=qdot 2017-10-17 13:21:38 +02:00
Andrea Marchesini 5bf48c9e57 Bug 1305230 - Make test_blobconstructor promise based, r=qdot 2017-10-17 13:21:38 +02:00
Sebastian Hengst 8360803d7d Backed out changeset 1378bcab8986 (bug 1305230) for failing mochitest dom/file/tests/test_fileapi_slice_realFile_2.html on Windows. r=backout 2017-10-17 17:05:26 +02:00
Sebastian Hengst f2942d6e08 Backed out changeset 7ecbcedbab1f (bug 1305230) 2017-10-17 17:04:54 +02:00
Sebastian Hengst d6f98a8084 Backed out changeset db2a7c569b2d (bug 1305230) 2017-10-17 17:04:48 +02:00
Sebastian Hengst 86b4ca0f94 Backed out changeset 557644d57153 (bug 1305230) 2017-10-17 17:04:43 +02:00
Sebastian Hengst 0589950706 Backed out changeset a62b4707335a (bug 1305230)
--HG--
rename : dom/file/tests/test_fileapi_slice_realFile_2.html => dom/file/tests/test_fileapi_slice.html
rename : dom/file/tests/test_fileapi_slice_memFile_2.html => dom/file/tests/test_fileapi_slice2.html
2017-10-17 17:04:37 +02:00
Sebastian Hengst a3cc2279e8 Backed out changeset d6973896c2e5 (bug 1400098) 2017-10-17 17:04:32 +02:00
Sebastian Hengst 4a6ef4d29e Backed out changeset 7d032e676aef (bug 1400098) 2017-10-17 17:04:26 +02:00
Sebastian Hengst 3c21e7d99d Backed out changeset e81517c2358c (bug 1305230)
--HG--
rename : dom/file/tests/test_fileapi_twice.html => dom/file/tests/test_fileapi.html
rename : dom/file/tests/test_fileapi_twice_worker.html => dom/file/tests/test_fileapi_worker.html
2017-10-17 17:04:20 +02:00
Sebastian Hengst 2f49a0c0b7 Backed out changeset 627d872075bc (bug 1305230) 2017-10-17 17:04:15 +02:00
Andrea Marchesini 44860178be Bug 1305230 - Using createUnique when creating test files in fileapi_chromeScript.js, r=me 2017-10-17 13:21:39 +02:00
Andrea Marchesini 5eb6117bb3 Bug 1305230 - Splitting test_fileapi.html and test_fileapi_worker.html in multiple files, r=me
--HG--
rename : dom/file/tests/test_fileapi.html => dom/file/tests/test_fileapi_basic.html
rename : dom/file/tests/test_fileapi_worker.html => dom/file/tests/test_fileapi_basic_worker.html
rename : dom/file/tests/test_fileapi.html => dom/file/tests/test_fileapi_encoding.html
rename : dom/file/tests/test_fileapi_worker.html => dom/file/tests/test_fileapi_encoding_worker.html
rename : dom/file/tests/test_fileapi.html => dom/file/tests/test_fileapi_other.html
rename : dom/file/tests/test_fileapi_worker.html => dom/file/tests/test_fileapi_other_worker.html
rename : dom/file/tests/test_fileapi.html => dom/file/tests/test_fileapi_twice.html
rename : dom/file/tests/test_fileapi_worker.html => dom/file/tests/test_fileapi_twice_worker.html
2017-10-17 13:21:39 +02:00
Andrea Marchesini 72c79e182d Bug 1400098 - Using common_fileReader.js for test_fileapi in workers, r=qdot 2017-10-17 13:21:39 +02:00
Andrea Marchesini de661f1d28 Bug 1400098 - test_fileapi.html rewritten using Promises, r=qdot 2017-10-17 13:21:39 +02:00
Andrea Marchesini 87100dfe4e Bug 1305230 - Splitting test_fileapi_slice in four files, r=me
--HG--
rename : dom/file/tests/test_fileapi_slice2.html => dom/file/tests/test_fileapi_slice_memFile_1.html
rename : dom/file/tests/test_fileapi_slice2.html => dom/file/tests/test_fileapi_slice_memFile_2.html
rename : dom/file/tests/test_fileapi_slice.html => dom/file/tests/test_fileapi_slice_realFile_1.html
rename : dom/file/tests/test_fileapi_slice.html => dom/file/tests/test_fileapi_slice_realFile_2.html
2017-10-17 13:21:39 +02:00
Andrea Marchesini 91ed8fdbd6 Bug 1305230 - Splitting test_fileapi_slice in two files, r=qdot 2017-10-17 13:21:39 +02:00
Andrea Marchesini 152f7eeac2 Bug 1305230 - Make test_fileapi_slice using promises, r=qdot 2017-10-17 13:21:39 +02:00
Andrea Marchesini 7c8284011e Bug 1305230 - removing fileutils.js from tests when not needed, r=qdot 2017-10-17 13:21:38 +02:00
Andrea Marchesini f35e7cc013 Bug 1305230 - Make test_blobconstructor promise based, r=qdot 2017-10-17 13:21:38 +02:00
Thomas Wisniewski 81d59581ae Bug 1341609 - Don't throw on async XHR send() failures when open() created no channel; r=baku
MozReview-Commit-ID: IKVSbdRXoP8

--HG--
extra : rebase_source : 6f85751dae1bf7413598a3ddc381bee86545de9b
2017-09-29 11:36:55 -04:00
Christoph Kerschbaumer 9048e3f216 Bug 1397655 - Update tests within dom/ to comply with new toplevel data: URI navigation policy. r=smaug 2017-09-10 13:24:07 +02:00
Kate McKinley 76ebee76e8 Bug 1237868 - Don't set URI_IS_LOCAL_RESOURCE on media streams. r=baku
This patch only sets URI_IS_LOCAL_RESOURCE if the resource is a blob or
font table entry, to avoid having media streams treated as local
objects.

MozReview-Commit-ID: GOVr8FPByQy
2017-04-01 15:11:53 -04:00
Masatoshi Kimura 7be7b11a1c 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

--HG--
extra : rebase_source : e8f90249454c0779d926f87777f457352961748d
2017-02-23 06:10:07 +09:00
Andrea Marchesini 43fa40bb63 Bug 1341536 - Get rid of duplicate functions in fileutils.js, r=qdot 2017-02-23 03:24:54 +01:00
Andrea Marchesini 8cf1cb8c2f Bug 1335536 - File.createFromNsIFile and File.createFromFileName should be async - part 1 - tests, r=smaug 2017-02-08 10:18:32 +01:00
Florian Quèze 85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00