Brian Grinstead
381332c51e
Bug 1544051 - Part 3 - Scripted change to remove references to AddTask.js r=ahal
...
This was generated with the script at https://bug1544051.bmoattachments.org/attachment.cgi?id=9058672
Differential Revision: https://phabricator.services.mozilla.com/D27761
--HG--
extra : moz-landing-system : lando
2019-04-18 16:51:01 +00:00
Brian Grinstead
ede8c44ef2
Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky
...
This excludes dom/, otherwise the file size is too large for phabricator to handle.
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the simple case where the script src is on the same line as the tag.
This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 2` argument.
Differential Revision: https://phabricator.services.mozilla.com/D27456
--HG--
extra : moz-landing-system : lando
2019-04-16 03:50:44 +00:00
Mark Banner
dba6983e75
Bug 1415265 - Remove now unnecessary .eslintrc.js files or entries. r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D23850
--HG--
extra : moz-landing-system : lando
2019-03-28 09:38:14 +00:00
Marco Bonardo
ea4c1a889c
Bug 1533719 - test_getTypeFromExtension_with_empty_Content_Type.js is not testing what it is supposed to test. r=Felipe
...
The test was broken by a commit in bug 568691 and because the ".txt" extension
skips the code under test, we never noticed that.
Differential Revision: https://phabricator.services.mozilla.com/D25067
--HG--
extra : moz-landing-system : lando
2019-03-27 15:17:18 +00:00
Syeda Asra Arshia Qadri
e3baa66e24
Bug 1532941 - Enable ESLint for uriloader (manual changes). r=Standard8,qdot
...
Differential Revision: https://phabricator.services.mozilla.com/D22478
--HG--
extra : moz-landing-system : lando
2019-03-14 13:33:48 +00:00
Syeda Asra Arshia Qadri
235412b0fc
Bug 1532941 - Enable ESLint for uriloader (automatic changes). r=Standard8,qdot
...
Differential Revision: https://phabricator.services.mozilla.com/D22308
--HG--
extra : moz-landing-system : lando
2019-03-14 11:19:44 +00:00
Dorel Luca
c0b9d28960
Backed out 2 changesets (bug 1532941) for mochitest failures in uriloader/exthandler/tests/mochitest/test_handlerApps.xhtml
...
Backed out changeset bf03fb29b472 (bug 1532941)
Backed out changeset c5190e74039c (bug 1532941)
2019-03-14 10:47:14 +02:00
Syeda Asra Arshia Qadri
7ed6903635
Bug 1532941 - Enable ESLint for uriloader (manual changes). r=Standard8,qdot
...
Differential Revision: https://phabricator.services.mozilla.com/D22478
--HG--
extra : moz-landing-system : lando
2019-03-13 20:50:11 +00:00
Syeda Asra Arshia Qadri
f6fb4db71e
Bug 1532941 - Enable ESLint for uriloader (automatic changes). r=Standard8,qdot
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D22308
--HG--
extra : moz-landing-system : lando
2019-03-13 20:49:28 +00:00
James Willcox
61ca9441b1
Bug 1525959 - Skip some mochitests tests under GeckoView r=geckoview-reviewers,esawin
...
There are few things that are either Fennec-specific or don't work
currently under GeckoView w/ e10s under TestRunnerActivity. Disable
these so we can get some testing going in automation.
This also replaces 'isFennec' with the more correct 'is_fennec'.
Differential Revision: https://phabricator.services.mozilla.com/D19016
--HG--
extra : moz-landing-system : lando
2019-02-27 15:01:43 +00:00
Andreea Pavel
7b1605af56
Backed out 3 changesets (bug 1525959, bug 1526002
) for failing android
...
Backed out changeset de0efca1118e (bug 1526002
)
Backed out changeset 503cbc86e442 (bug 1525959)
Backed out changeset 33ea61c54aea (bug 1525959)
2019-02-12 23:53:05 +02:00
James Willcox
c7a8bf9699
Bug 1526002
- Replace 'isFennec' with 'is_fennec' in mochitest.ini r=gbrown
...
Differential Revision: https://phabricator.services.mozilla.com/D19038
--HG--
extra : moz-landing-system : lando
2019-02-10 19:07:57 +00:00
James Willcox
228b5844d5
Bug 1525959 - Skip some mochitests tests under GeckoView r=geckoview-reviewers,esawin
...
There are few things that are either Fennec-specific or don't work
currently under GeckoView w/ e10s under TestRunnerActivity. Disable
these so we can get some testing going in automation.
Differential Revision: https://phabricator.services.mozilla.com/D19016
--HG--
extra : moz-landing-system : lando
2019-02-12 15:15:28 +00:00
Gijs Kruitbosch
bb91abcfd1
Bug 1252831 - remove 30boxes webcal handler as both possible and default handler, r=paolo,Dolske
...
Differential Revision: https://phabricator.services.mozilla.com/D18073
--HG--
extra : moz-landing-system : lando
2019-02-10 21:28:20 +00:00
Kris Maglione
e930b89c34
Bug 1514594: Part 3 - Change ChromeUtils.import API.
...
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8
This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:
ChromeUtils.import("resource://gre/modules/Services.jsm");
is approximately the same as the following, in the new model:
var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");
Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs
This was done using the followng script:
https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16750
--HG--
extra : rebase_source : 359574ee3064c90f33bf36c2ebe3159a24cc8895
extra : histedit_source : b93c8f42808b1599f9122d7842d2c0b3e656a594%2C64a3a4e3359dc889e2ab2b49461bab9e27fc10a7
2019-01-17 10:18:31 -08:00
Kris Maglione
2fe0de01dc
Bug 1519596: Part 1 - Remove several unnecessary/unused ChromeUtils.import() calls. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D16377
--HG--
extra : rebase_source : 6c4311387d25de425806aeb6c4691e12c9fcb855
2019-01-11 16:59:23 -08:00
Sylvestre Ledru
6f45c666bc
Bug 1513205 - Also update the tests to match the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D14595
--HG--
extra : moz-landing-system : lando
2018-12-14 18:10:35 +00:00
Andrea Marchesini
f399725b04
Bug 1503681 - rel=noopener implicit for target=_blank in anchor and area elements when no rel attribute is set - fix tests, r=me
2018-11-28 08:22:06 +01:00
Brindusan Cristian
025923e8bc
Backed out 3 changesets (bug 1503681) for geckoview failures on org.mozilla.geckoview.test.GeckoSessionTestRuleTest.waitForChromeJS. CLOSED TREE
...
Backed out changeset 211c7dfdc408 (bug 1503681)
Backed out changeset 076cc5bece1d (bug 1503681)
Backed out changeset 7a19fe6be68c (bug 1503681)
2018-11-28 11:10:48 +02:00
Andrea Marchesini
d69ebc1ae7
Bug 1503681 - rel=noopener implicit for target=_blank in anchor and area elements when no rel attribute is set - fix tests, r=me
2018-11-28 08:22:06 +01:00
Paolo Amadini
f6b106efb2
Bug 1496827 - Remove the "notification" binding. r=bgrins
...
Differential Revision: https://phabricator.services.mozilla.com/D11650
--HG--
rename : browser/components/customizableui/content/.eslintrc.js => browser/components/translation/content/.eslintrc.js
rename : browser/components/translation/jar.mn => browser/components/translation/content/jar.mn
rename : browser/components/translation/microsoft-translator-attribution.png => browser/components/translation/content/microsoft-translator-attribution.png
rename : browser/components/customizableui/content/moz.build => browser/components/translation/content/moz.build
rename : browser/components/translation/translation-infobar.xml => browser/components/translation/content/translation-notification.js
extra : rebase_source : 598396d2da96b04782413946976f7bb9fb6be75f
2018-11-13 12:56:42 +00:00
Gijs Kruitbosch
7bdf01dfee
Bug 1371509 - fix issues with comparing window URIs in browser_auto_close_window.js, r=Felipe
...
Differential Revision: https://phabricator.services.mozilla.com/D11456
--HG--
extra : moz-landing-system : lando
2018-11-09 19:11:30 +00:00
Gijs Kruitbosch
0a2c18cafc
Bug 1503050 - ensure we fully open the new window we intend to close before doing so, r=Felipe
...
Differential Revision: https://phabricator.services.mozilla.com/D10134
--HG--
extra : moz-landing-system : lando
2018-10-30 13:00:07 +00:00
Gijs Kruitbosch
8c3a4d7b4a
Bug 1501079 - fix various tests to not race with window focus/activate, r=dao
...
Differential Revision: https://phabricator.services.mozilla.com/D9437
--HG--
extra : moz-landing-system : lando
2018-10-23 10:16:35 +00:00
Felipe Gomes
a75d58e727
Bug 1371509 - Make the test browser_auto_close_window.js wait for the correct URL before continuing. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D9432
--HG--
extra : moz-landing-system : lando
2018-10-22 21:02:55 +00:00
Cristina Coroiu
ecafad1c25
Bug 1371509 - disable browser_auto_close_window.js for frequent failures. r-jmaher
2018-10-20 05:44:00 +03:00
Tim Huang
b0d9c3aa78
Bug 680300 - Part 2: Add a test case for ensuring no error reporting when loading an unknown protocol. r=smaug
...
This test case will try to navigate an iframe to an unknown protocol and
check whether no errors been reported.
Differential Revision: https://phabricator.services.mozilla.com/D3493
--HG--
extra : moz-landing-system : lando
2018-09-23 22:24:05 +00:00
Jonathan Kingston
2ce3b8373f
Bug 1485305 - misc Ensure loadURI always passes a triggeringPrincipal() r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D4560
--HG--
extra : source : 3e184da8273decac0f3e7d88be89125a2a027588
extra : intermediate-source : ddea69395fbca528529f4491bc8ea7c701ff45b4
2018-08-29 15:48:52 +01:00
Brindusan Cristian
1db0587c0e
Backed out 10 changesets (bug 1485305) for browser-chrome failures on docshell/test/browser/browser_loadURI.js. CLOSED TREE
...
Backed out changeset 50439ec01661 (bug 1485305)
Backed out changeset a05e40ef7215 (bug 1485305)
Backed out changeset c99b97b4348b (bug 1485305)
Backed out changeset 75220b2f6669 (bug 1485305)
Backed out changeset e698f2fc1c1a (bug 1485305)
Backed out changeset acce14683c13 (bug 1485305)
Backed out changeset 323773a395cc (bug 1485305)
Backed out changeset 1b74152cabc1 (bug 1485305)
Backed out changeset 4b5c9d5929fc (bug 1485305)
Backed out changeset 238d92348159 (bug 1485305)
2018-09-19 18:47:27 +03:00
Jonathan Kingston
c161024465
Bug 1485305 - misc Ensure loadURI always passes a triggeringPrincipal() r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D4560
--HG--
extra : source : 5a82993174e363a1e06cd35fcec98fddd6250d64
2018-08-29 15:48:52 +01:00
arthur.iakab
d2e647e133
Backed out 10 changesets (bug 1485305)for failing browser chrome tests on browser_loadDisallowInherit.js
...
Backed out changeset 138b8596a9cd (bug 1485305)
Backed out changeset d9f04aeeeef7 (bug 1485305)
Backed out changeset cd063d8afe4e (bug 1485305)
Backed out changeset 2f8a5a03ccb5 (bug 1485305)
Backed out changeset 8085d1eefd7c (bug 1485305)
Backed out changeset 3aaccb374a59 (bug 1485305)
Backed out changeset 3a111e9e5c9c (bug 1485305)
Backed out changeset 61aa1cfb0b01 (bug 1485305)
Backed out changeset bca973d90acc (bug 1485305)
Backed out changeset 4eb33bf25d6f (bug 1485305)
2018-09-18 20:30:07 +03:00
Jonathan Kingston
23bfc5f0ef
Bug 1485305 - misc Ensure loadURI always passes a triggeringPrincipal() r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D4560
--HG--
extra : source : edc4d8898d26a199fb230489a644b88c2fd8f739
2018-08-29 15:48:52 +01:00
Tiberius Oros
3235f6720f
Backed out 10 changesets (bug 1485305) for failures at browser/content/browser.js on a CLOSED TREE
...
Backed out changeset 63c50fd60ae4 (bug 1485305)
Backed out changeset bf0f2adb765e (bug 1485305)
Backed out changeset 721871bb64f1 (bug 1485305)
Backed out changeset e9da73786c5f (bug 1485305)
Backed out changeset e02038177b6b (bug 1485305)
Backed out changeset 35bd32f99f60 (bug 1485305)
Backed out changeset f40900bf8621 (bug 1485305)
Backed out changeset 03632075ac2c (bug 1485305)
Backed out changeset 2fee48378f73 (bug 1485305)
Backed out changeset 6263695b3cb8 (bug 1485305)
2018-09-18 14:46:54 +03:00
Jonathan Kingston
f1ecf040f7
Bug 1485305 - misc Ensure loadURI always passes a triggeringPrincipal() r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D4560
--HG--
extra : source : 5911bc1f2f1fb6d576fba38af242f9d8cb412b16
2018-08-29 15:48:52 +01:00
Kris Maglione
3a5c05e76f
Bug 1484496: Part 5e - Convert remaining nsISimpleEnumerator users to use JS iteration. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D3733
--HG--
extra : rebase_source : c0fac176d7b3d840c4dbb14f8d95ccfc7f83a5a8
extra : histedit_source : a92c40117d0808a3ad68c972f622a7a42c9ae8ba
2018-08-18 18:13:14 -07:00
Kris Maglione
356dd0de4a
Bug 1484466: Part 3a - Update remaining XPCOMUtils.generateQI callers to use ChromeUtils. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D3709
--HG--
extra : rebase_source : 650545d3e58ab92821a9ea2097793cca5996d5b3
2018-08-18 12:44:57 -07:00
Boris Zbarsky
754087a992
Bug 1446940 part 5. Stop getting docshells from windows via getInterface in dom/editor/etc code. r=kmag
2018-08-01 13:07:11 -04:00
Gijs Kruitbosch
3c7235e904
Bug 1476035, r=jkt
...
--HG--
rename : browser/base/content/test/general/browser_registerProtocolHandler_notification.html => browser/components/feeds/test/browser/browser_registerProtocolHandler_notification.html
rename : browser/base/content/test/general/browser_registerProtocolHandler_notification.js => browser/components/feeds/test/browser/browser_registerProtocolHandler_notification.js
extra : rebase_source : 3322967a084f771186a0de05eaadc98059e399c5
2018-07-17 15:36:43 +01:00
Joel Maher
1ef32bf5c6
Bug 1405428 - skip-if = verify on xpcshell tests which do not pass test-verify. r=gbrown
2018-06-13 11:34:40 -04:00
Kris Maglione
a259026c9d
Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
...
This also removes any redundant Ci.nsISupports elements in the interface
lists.
This was done using the following script:
acecb401b7/processors/chromeutils-generateQI.jsm
MozReview-Commit-ID: AIx10P8GpZY
--HG--
extra : rebase_source : a29c07530586dc18ba040f19215475ac20fcfb3b
2018-04-22 20:55:06 -07:00
Kris Maglione
219ed0cc06
Bug 1454813: Part 2b - Rename SpawnTask.js to AddTask.js. r=florian
...
The old name no longer makes sense, since it no longer exports an spawn_task
symbol, and add_task is what we really care about.
MozReview-Commit-ID: IE7B8Czv8DH
--HG--
rename : testing/mochitest/tests/SimpleTest/SpawnTask.js => testing/mochitest/tests/SimpleTest/AddTask.js
extra : rebase_source : 03bca5aa69a7625a49b4455a6c96ce4c59de3a5a
2018-04-18 11:43:45 -07:00
Tooru Fujisawa
bc1ed58f7a
Bug 1448531 - Part 2: Make BrowserTestUtils.waitForNewWindow receive parameters object. r=enndeakin
2018-04-10 12:18:35 +09:00
Tooru Fujisawa
1adba8c1fc
Bug 1442465 - Part 4.2: Stop unnecessarily awaiting on BrowserTestUtils.removeTab (simple part). r=dao
2018-03-19 11:16:45 +09:00
Tooru Fujisawa
3038c58523
Bug 1442465 - Part 2: Use BrowserTestUtils.{waitForTabClosing,waitForSessionStoreUpdate} instead of BrowserTestUtils.tabRemoved. r=dao
2018-03-19 11:12:13 +09:00
Marco Bonardo
42c4dcae3e
Bug 474043 - Part 4 - Cleanup some JSON suffixes. r=Paolo
...
MozReview-Commit-ID: cja118sBOO
--HG--
extra : rebase_source : ab54cb7f9ec3a82add1c08f3a35513b43ec4beee
2018-03-13 17:50:17 +01:00
Marco Bonardo
acd043c0a2
Bug 474043 - Part 3 - Merge common_test_handlerService.js and test_handlerService_json.js into test_handlerService_store.js. r=Paolo
...
MozReview-Commit-ID: Z94rIc893h
--HG--
rename : uriloader/exthandler/tests/unit/common_test_handlerService.js => uriloader/exthandler/tests/unit/test_handlerService_store.js
extra : rebase_source : ee0c1fba1838c9a193605b9fb465f8b61ad6c5c2
2018-03-15 14:35:39 +01:00
Marco Bonardo
afe040fd02
Bug 474043 - Part 1 - Get rid of the remaining mimeTypes.rdf references. r=Paolo
...
MozReview-Commit-ID: 78LHYTVlEtR
--HG--
extra : rebase_source : b16b0c5d202419bd39a287d2868f09fbf6ad45e7
2018-03-12 22:24:07 +01: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
Jonathan Kingston
6429bea50f
Bug 1439651 - Fix uriloader/exthandler/tests/mochitest/test_web_protocol_handlers.html for builds that support not secure registerProtocolHandler. r=baku
...
MozReview-Commit-ID: Cw5iRzxQR3X
--HG--
extra : rebase_source : 5cc4789e57433b70b45dfa2fbf5220d0127c527b
2018-02-26 16:07:24 +00:00
Florian Quèze
682b1ec3b2
Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8.
2018-02-23 20:50:01 +01:00