Commit Graph

53 Commits

Author SHA1 Message Date
Peter Van der Beken
c20e0e6db5 Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 2: Various test fixes to prepare for using WebIDL bindings for MessageManager classes. r=bz. 2017-07-04 18:03:18 +02:00
Sebastian Hengst
500c4f7ad2 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)
2018-03-01 11:51:09 +02:00
Florian Quèze
f6add2cafd 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
9a9411c1e1 Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 2: Various test fixes to prepare for using WebIDL bindings for MessageManager classes. r=bz. 2017-07-04 18:03:18 +02:00
Andrew McCreight
272cee1e65 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
2018-02-06 09:36:57 -08:00
Florian Quèze
c5f15a4700 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
082ca8b2a3 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
9934434022 Bug 1305230 - Using createUnique when creating test files in fileapi_chromeScript.js, r=me 2017-10-17 13:21:39 +02:00
Andrea Marchesini
0546a38661 Bug 1305230 - Splitting test_fileapi.html and test_fileapi_worker.html in multiple files, r=me 2017-10-17 13:21:39 +02:00
Andrea Marchesini
c0a5aecd1d Bug 1400098 - Using common_fileReader.js for test_fileapi in workers, r=qdot 2017-10-17 13:21:39 +02:00
Andrea Marchesini
58bc7b6ca6 Bug 1400098 - test_fileapi.html rewritten using Promises, r=qdot 2017-10-17 13:21:39 +02:00
Andrea Marchesini
34be3c4a22 Bug 1305230 - Splitting test_fileapi_slice in four files, r=me 2017-10-17 13:21:39 +02:00
Andrea Marchesini
04cd64c43c Bug 1305230 - Splitting test_fileapi_slice in two files, r=qdot 2017-10-17 13:21:39 +02:00
Andrea Marchesini
af813caf6f Bug 1305230 - Make test_fileapi_slice using promises, r=qdot 2017-10-17 13:21:39 +02:00
Andrea Marchesini
8d0842c2cc Bug 1305230 - removing fileutils.js from tests when not needed, r=qdot 2017-10-17 13:21:38 +02:00
Andrea Marchesini
b65bae2e4b Bug 1305230 - Make test_blobconstructor promise based, r=qdot 2017-10-17 13:21:38 +02:00
Sebastian Hengst
8e4c42cd31 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
4aab47bdb5 Backed out changeset 7ecbcedbab1f (bug 1305230) 2017-10-17 17:04:54 +02:00
Sebastian Hengst
7ea1f2e7ae Backed out changeset db2a7c569b2d (bug 1305230) 2017-10-17 17:04:48 +02:00
Sebastian Hengst
e42e532803 Backed out changeset 557644d57153 (bug 1305230) 2017-10-17 17:04:43 +02:00
Sebastian Hengst
fdc5b14b60 Backed out changeset a62b4707335a (bug 1305230) 2017-10-17 17:04:37 +02:00
Sebastian Hengst
713f64fcbf Backed out changeset d6973896c2e5 (bug 1400098) 2017-10-17 17:04:32 +02:00
Sebastian Hengst
1f1eab9914 Backed out changeset 7d032e676aef (bug 1400098) 2017-10-17 17:04:26 +02:00
Sebastian Hengst
2e0307a357 Backed out changeset e81517c2358c (bug 1305230) 2017-10-17 17:04:20 +02:00
Sebastian Hengst
cfc8062ed5 Backed out changeset 627d872075bc (bug 1305230) 2017-10-17 17:04:15 +02:00
Andrea Marchesini
c4ebc48c98 Bug 1305230 - Using createUnique when creating test files in fileapi_chromeScript.js, r=me 2017-10-17 13:21:39 +02:00
Andrea Marchesini
19a9179065 Bug 1305230 - Splitting test_fileapi.html and test_fileapi_worker.html in multiple files, r=me 2017-10-17 13:21:39 +02:00
Andrea Marchesini
c20e7340ba Bug 1400098 - Using common_fileReader.js for test_fileapi in workers, r=qdot 2017-10-17 13:21:39 +02:00
Andrea Marchesini
b300967afd Bug 1400098 - test_fileapi.html rewritten using Promises, r=qdot 2017-10-17 13:21:39 +02:00
Andrea Marchesini
b899c39b56 Bug 1305230 - Splitting test_fileapi_slice in four files, r=me 2017-10-17 13:21:39 +02:00
Andrea Marchesini
798c626a96 Bug 1305230 - Splitting test_fileapi_slice in two files, r=qdot 2017-10-17 13:21:39 +02:00
Andrea Marchesini
cac084c6ab Bug 1305230 - Make test_fileapi_slice using promises, r=qdot 2017-10-17 13:21:39 +02:00
Andrea Marchesini
8965ff6ce0 Bug 1305230 - removing fileutils.js from tests when not needed, r=qdot 2017-10-17 13:21:38 +02:00
Andrea Marchesini
a1a3e7a423 Bug 1305230 - Make test_blobconstructor promise based, r=qdot 2017-10-17 13:21:38 +02:00
Thomas Wisniewski
db30f3ebfe Bug 1341609 - Don't throw on async XHR send() failures when open() created no channel; r=baku
MozReview-Commit-ID: IKVSbdRXoP8
2017-09-29 11:36:55 -04:00
Christoph Kerschbaumer
829d995d83 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
29a60a2a81 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
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
Andrea Marchesini
1aa48ea51b Bug 1341536 - Get rid of duplicate functions in fileutils.js, r=qdot 2017-02-23 03:24:54 +01:00
Andrea Marchesini
964dd600c8 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
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
Andrea Marchesini
dad92686f3 Bug 1321530 - FileReader.abort() should not throw, r=smaug 2016-12-02 13:16:59 +00:00
Andrea Marchesini
03a560cb36 Bug 1321525 - FileReader.readAs* should throw if called nested, r=smaug 2016-12-01 18:57:36 +01:00
Sebastian Hengst
ac1f0ecad6 Backed out changeset 8c4dcbaa44b9 (bug 1321525) for failing test_fileapi.html and test_fileReader.html. r=backout on a CLOSED TREE 2016-12-01 17:19:12 +01:00
Andrea Marchesini
73ea91c582 Bug 1321525 - FileReader.readAs* should throw if called nested, r=smaug 2016-12-01 15:57:02 +01:00
Andrea Marchesini
37766315d4 Bug 1321261 - create dom/file for File APIs, r=qdot 2016-12-01 15:12:42 +01:00
Sebastian Hengst
903cc3ec3c Backed out changeset d3ef6f3e9193 (bug 1321261) for build bustage (calling missing file BlobParent.h from dom/ipc/TabParent.cpp). r=backout on a CLOSED TREE 2016-12-01 12:27:28 +01:00
Sebastian Hengst
c647537e36 Backed out changeset 75cdb99537b5 (bug 1321261) 2016-12-01 12:25:58 +01:00
Andrea Marchesini
73db05f8a9 Bug 1321261 - create dom/file for File APIs - part 2, r=me 2016-12-01 12:11:09 +01:00
Andrea Marchesini
4982909415 Bug 1321261 - create dom/file for File APIs, r=qdot 2016-12-01 11:43:18 +01:00