Commit Graph

1514 Commits

Author SHA1 Message Date
Mark Banner
cda69c97f4 Bug 1545395 - Handle Search Engine urls properly where the search terms are in the url rather than as parameters. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D29014
2019-04-30 21:25:28 +00:00
myeongjun
a9a305e31c Bug 1512171 - Provide better error message when attempt is made to add bookmark folder to root folder. r=robwu,rpl
Differential Revision: https://phabricator.services.mozilla.com/D28337
2019-04-26 16:06:33 +00:00
Noemi Erli
813ba27d62 Backed out changeset f706ae697922 (bug 1541317) for failures in test_ext_settings_overrides_search.js 2019-04-27 02:01:58 +03:00
Shane Caraveo
28c8a8e5ce Bug 1541317 support homepage setting on upgrade r=rpl,mkaply
Differential Revision: https://phabricator.services.mozilla.com/D28265
2019-04-26 18:54:19 +00:00
Alexander Surkov
444d4fcd48 Bug 1519514 - make sure document.l10n is initialized before triggering conext menu over a tab in browser_ext_menus_activeTab.js test r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D28366
2019-04-22 20:18:02 +00:00
YUKI "Piro" Hiroshi
638d7784dc Bug 1541748 - Add tests to verify WebExtensions API compatibility around new tab index r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D27226
2019-04-22 09:00:57 +00:00
Arpit
bf94575434 Bug 1483077 - Replaced reference to getBrowser with gBrowser r=robwu,dao
Differential Revision: https://phabricator.services.mozilla.com/D27418
2019-04-17 00:04:54 +00:00
Brian Grinstead
ba6c105dbc Bug 1519502 - Convert menu bindings to a Custom Element r=surkov
Differential Revision: https://phabricator.services.mozilla.com/D19593
2019-04-18 16:41:46 +00:00
Rob Wu
5ea50ab2dd Bug 1544834 - Replace deprecated generics in test code r=evilpie
- `Array.map` becomes `Array.from`
- Array copying via `Array.slice` becomes `Array.from`.
- `Array.forEach` that did not rely on closures becomes `for`-`of` loops.
- Anything else: `Array.X` becomes `Array.prototype.X`.

Complex cases:

dom/bindings/test/TestInterfaceJS.js and
dom/bindings/test/test_exception_options_from_jsimplemented.html
use `Array.indexOf` to generate an error with a specific error message.
Switched to `Array.prototype.forEach` to generate the same error.

js/src/jit-test/tests/basic/exception-column-number.js
In this test `Array.indexOf()` is used to generate an error. Since the
exact message doesn't matter, I switched to `Array.from()`.

Intentionally not changed:

editor/libeditor/tests/browserscope/lib/richtext/richtext/js/range.js
Did not modify because this is 3rd-party code and the code uses
feature detection as a fall back when Array generics are not used.

testing/talos/talos/tests/dromaeo/lib/mootools.js
Did not modify because mootools adds the `Array.slice` method to the
`Array` object.

Not changed because they check the implementation of Array generics:
js/src/jit-test/tests/basic/arrayNatives.js
js/src/jit-test/tests/basic/bug563243.js
js/src/jit-test/tests/basic/bug618853.js
js/src/jit-test/tests/basic/bug830967.js
js/src/jit-test/tests/jaeger/recompile/bug656753.js
js/src/jit-test/tests/self-hosting/alternate-static-and-instance-array-extras.js
js/src/tests/non262/Array/generics.js
js/src/tests/non262/Array/regress-415540.js
js/src/tests/non262/extensions/regress-355497.js
js/src/tests/non262/extensions/typedarray-set-neutering.js

Depends on D27802

Differential Revision: https://phabricator.services.mozilla.com/D27803
2019-04-17 19:03:19 +00:00
Brian Grinstead
911c8f6800 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
2019-04-18 16:51:01 +00:00
Dorel Luca
cbbe0cd921 Backed out 2 changesets (bug 1519502, bug 1528268) for Crashtest failures in toolkit/content/tests/chrome/test_popupincontent.xul. CLOSED TREE
Backed out changeset 904cc7903feb (bug 1519502)
Backed out changeset f8770d7eebd1 (bug 1528268)
2019-04-18 18:26:41 +03:00
Brian Grinstead
73a601351c Bug 1519502 - Convert menu bindings to a Custom Element r=surkov
Differential Revision: https://phabricator.services.mozilla.com/D19593
2019-04-17 15:56:41 +00:00
Luca Greco
0687f13b7e Bug 1542842 - Fix remaining references to undefined Ci.nsITelemetry constant in WebExtensions tests. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D27650
2019-04-16 12:58:30 +00:00
Brian Grinstead
6bf5cf3d2a 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
2019-04-16 03:50:44 +00:00
Drew Willcoxon
c2c5a74a3a Bug 1541929 - Don't autofill the first result in some cases. r=mak
We need to handle autofilling the first result separately from autofilling results in general (which happens in UrlbarInput.setValueFromResult), so add a new UrlbarInput.autofillFirstResult method. The controller calls it instead of setValueFromResult. I ported the logic from nsAutoCompleteController, as described in the bug.

Other changes are related to the new test for this.

As part of this work, I was interested in learning how awesomebar handles browser_autoFill_typed.js, so I added it to the legacy tests, with a small tweak in the test for awesomebar.

Differential Revision: https://phabricator.services.mozilla.com/D26852
2019-04-15 13:15:30 +00:00
Dale Harvey
6bc5b736e5 Bug 1496075 - Part 3: Use webextensions in SearchServices. r=mikedeboer,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D25246
2019-04-11 20:49:31 +00:00
Dale Harvey
062752de53 Bug 1496075 - Part 1: Extensions changes to support search extensions. r=mixedpuppy,robwu
Differential Revision: https://phabricator.services.mozilla.com/D25244
2019-04-11 21:30:47 +00:00
Shane Caraveo
652ce87375 Bug 1543538 fix TV failure in browser_ext_tabs_newtab_private.js due to async test r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D27015
2019-04-11 02:26:30 +00:00
Shane Caraveo
b371837b78 Bug 1532165 use prefs to support extension newtab and homepage on startup. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D25808
2019-04-08 22:36:26 +00:00
Rob Wu
28cf36b91f Bug 1541833 - Clean up getIncognitoWindow in head.js r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D26087
2019-04-04 14:47:00 +00:00
Luca Greco
613e2adfca Bug 1540112 - Enable addonsManager telemetry event category before the AddonManager/XPIProvider have been started. r=aswan,chutten
Differential Revision: https://phabricator.services.mozilla.com/D25380
2019-04-03 17:56:52 +00:00
Jan-Erik Rediger
5fec79a3f4 Bug 1529696 - Rename DATASET_RELEASE_CHANNEL_OPTOUT/OPTIN to DATASET_ALL/PRERELEASE_CHANNELS everywhere r=chutten
Depends on D25934

Differential Revision: https://phabricator.services.mozilla.com/D25935
2019-04-03 17:12:11 +00:00
Edwin Gao
6d3a965c0a Bug 1538785 - disable plugin-related tests from windows10-aarch64 r=jmaher
Disabled plugin related tests.

Added `crashreporter` dependency for browser_restore_isAppTab.js.

Differential Revision: https://phabricator.services.mozilla.com/D25504
2019-04-01 18:30:23 +00:00
Brian
83c5bc6d2e Bug 1523763 - Move tab context menu strings to FTL file loaded on-demand. r=Gijs,flod
Moved tab context menu out of browser.dtd to browser.xul except for sendPageToDevice, sendLinkToDevice, moveTabOptions, moveSelectedTabOptions, undoCloseTab. Not sure if tabbrowser.js and tabbrowser.xul are working as intended.

Differential Revision: https://phabricator.services.mozilla.com/D19312
2019-03-29 14:55:12 +00:00
Luca Greco
09e7969398 Bug 1348536 - Fix browser_ext_tabs_onUpdated frequent intermittent failures on the test_url test case. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D25271
2019-03-28 19:03:08 +00:00
Mark Banner
d5029e0dae Bug 1415265 - Remove now unnecessary .eslintrc.js files or entries. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D23850
2019-03-28 09:38:14 +00:00
Mark Banner
330c125649 Bug 1415265 - Implement a central configuration for setting ESLint environments for test directories. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D23849
2019-03-28 09:38:02 +00:00
ariasuni
835e6ceca1 Bug 1394376 - Resolve browser.tabs.duplicate() promise as soon as possible r=zombie
Don’t wait for tab to be fully loaded to resolve the promise.

Differential Revision: https://phabricator.services.mozilla.com/D15337
2019-03-27 23:16:46 +00:00
Oriol Brufau
b55cdc4483 Bug 1538378 - Test that tabs.onCreated fires with active:true. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D24819
2019-03-26 00:50:22 +00:00
Oriol Brufau
fb21f6e419 Bug 1538378 - Back out bug 1529411. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D24818
2019-03-26 02:40:18 +00:00
Philipp Kewisch
b20b6a24fc Bug 1507709 - Move WebExtensions geckoProfiler API to toolkit. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D12100
2019-03-22 13:18:01 +00:00
Mark Banner
95232e5aa5 Bug 1530675 - Enable WebNavigation transistion notifications for WebExtensions with QuantumBar. r=mak,rpl
Differential Revision: https://phabricator.services.mozilla.com/D21218
2019-03-20 20:22:35 +00:00
Rob Wu
c9ee179b58 Bug 1492895 - Fix intermittent failure in browser_ext_search.js r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D23503
2019-03-15 08:27:48 +00:00
Rob Wu
b51d89ac07 Bug 1525729 - Stop blocking extension startup on searchInitialized r=aswan
Depends on D23311

Differential Revision: https://phabricator.services.mozilla.com/D19701
2019-03-13 18:48:57 +00:00
Edwin Gao
33d266792b Bug 1531590, 1531598, 1534811, 1336075, 1531571, 1531572, 1531572, 1531574, 1534855, 1534857, 1535082 - skip tests in mochitest-dev-tools and mochitest-browser-chrome suites for windows10-aarch64 r=jmaher
Bug 1531598 - disable browser_markup_copy_image_data.js
Bug 1531598 - disable browser_markup_links_04.js
Bug 1531598 - disable browser_inspector_menu-01-sensitivity.js
Bug 1534811 - disable accessible/tests/browser/general
Bug 1336075 - disable browser_largeAllocation_non_win32.js
Bug 1531571 - disable browser_jsterm_context_menu_labels.js
Bug 1531572 - disable browser_jsterm_helper_dollar_x.js
Bug 1531573 - disable browser_jsterm_no_input_and_tab_key_pressed.js
Bug 1531574 - disable browser_jsterm_syntax_highlight_output.js
Bug 1534855 - disable accessible/tests/browser/
Bug 1534857 - disable browser_ext_slow_script.js
Bug 1535082 - disable browser_jsterm_helper_dollar_dollar.js

Differential Revision: https://phabricator.services.mozilla.com/D23369
2019-03-13 19:47:25 +00:00
Oana Pop Rus
56669d88a4 Merge inbound to mozilla-central. a=merge 2019-03-13 12:09:03 +02:00
Andrew Swan
3753935bea Bug 1534796 Tweak default search prompts r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D23227
2019-03-12 14:32:24 -07:00
Edouard Oger
fbcc2b613c Bug 1532514 - Update sinon to v7.2.7. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D22046
2019-03-12 19:32:40 +00:00
Dorel Luca
163580f51c Backed out changeset 4b280518c7b1 (bug 1532514) for Browser-chrome failures in browser/components/syncedtabs/test/browser/browser_sidebar_syncedtabslist.js. CLOSED TREE 2019-03-12 03:59:56 +02:00
Edouard Oger
1afa261c1b Bug 1532514 - Update sinon to v7.2.7. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D22046
2019-03-12 00:18:16 +00:00
sagarwala
35dbe131dc Bug 1451079 - Fix runtime.setUninstallURL to honor empty string, r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D18499
2019-03-11 17:46:44 +00:00
Shane Caraveo
ddba318067 Bug 1529394 fix tests for pref'ing on incognito not_allowed r=rpl
This patch addresses remaining test issues when pref'ing on.  These are tests that
previously ran some tests in private contexts that now require the use of incognitoOverride.
This also fixes an xpcshell test wrapper to set the permission when overridden.

Differential Revision: https://phabricator.services.mozilla.com/D21300
2019-03-05 14:17:36 +00:00
Andreea Pavel
6abd33d328 Backed out 2 changesets (bug 1529394) for bc failures at automation.py on a CLOSED TREE
Backed out changeset 7f3e254c982c (bug 1529394)
Backed out changeset 3a8c338af709 (bug 1529394)
2019-03-05 01:34:50 +02:00
Shane Caraveo
b4a71ecc49 Bug 1529394 fix tests for pref'ing on incognito not_allowed r=rpl
This patch addresses remaining test issues when pref'ing on.  These are tests that
previously ran some tests in private contexts that now require the use of incognitoOverride.
This also fixes an xpcshell test wrapper to set the permission when overridden.

Differential Revision: https://phabricator.services.mozilla.com/D21300
2019-03-01 17:55:38 +00:00
Shane Caraveo
093ebb26fb Bug 1529582 prevent addon-set external home pages in private browsing without permission r=rpl,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D21228
2019-02-28 18:12:46 +00:00
Narcis Beleuzu
fa44140bd3 Backed out changeset 52747743fe65 (bug 1525729) for XPCShell failures on test_ext_chrome_settings_overrides_update.js . CLOSED TREE 2019-02-28 22:59:55 +02:00
Rob Wu
5fa40d4191 Bug 1525729 - Ignore searchInitialized promise on shutdown r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D19701
2019-02-28 17:39:18 +00:00
Luca Greco
379b6d25fc Bug 1285500 - Re-enable browser_ext_browserAction_popup.js on windows opt. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D21524
2019-02-28 13:42:24 +00:00
Shane Caraveo
cbc9b93286 Bug 1523605 fix intermittent failure in browser_ext_sidebarAction_incognito.js r=rpl
Sometimes about:blank would match a non-private window, ensure we're looking
for a url specific to the private window.

Differential Revision: https://phabricator.services.mozilla.com/D21454
2019-02-28 13:40:58 +00:00
Mark Banner
ded1e126a7 Bug 1522508 - Port browser_ext_omnibox.js to work with QuantumBar. r=mak
The timer cancelling in UnifiedComplete.js seems to make the tests more stable with QuantumBar for some reason. Without it, some of the sub-tests would tend to time out. This might be better once we can implement a proper waitForResult() that doesn't have to wait for the entire search to be complete.

Differential Revision: https://phabricator.services.mozilla.com/D21006
2019-02-28 09:25:36 +00:00