Commit graph

1514 commits

Author SHA1 Message Date
Mark Banner
d61834e58e 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

--HG--
extra : moz-landing-system : lando
2019-04-30 21:25:28 +00:00
myeongjun
02cca2b6c9 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

--HG--
extra : moz-landing-system : lando
2019-04-26 16:06:33 +00:00
Noemi Erli
9db98ad6c0 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
2af6d30c83 Bug 1541317 support homepage setting on upgrade r=rpl,mkaply
Differential Revision: https://phabricator.services.mozilla.com/D28265

--HG--
extra : moz-landing-system : lando
2019-04-26 18:54:19 +00:00
Alexander Surkov
af181e17f0 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

--HG--
extra : moz-landing-system : lando
2019-04-22 20:18:02 +00:00
YUKI "Piro" Hiroshi
eaeb8f7d91 Bug 1541748 - Add tests to verify WebExtensions API compatibility around new tab index r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D27226

--HG--
extra : moz-landing-system : lando
2019-04-22 09:00:57 +00:00
Arpit
474e467436 Bug 1483077 - Replaced reference to getBrowser with gBrowser r=robwu,dao
Differential Revision: https://phabricator.services.mozilla.com/D27418

--HG--
extra : moz-landing-system : lando
2019-04-17 00:04:54 +00:00
Brian Grinstead
9bda39c108 Bug 1519502 - Convert menu bindings to a Custom Element r=surkov
Differential Revision: https://phabricator.services.mozilla.com/D19593

--HG--
extra : moz-landing-system : lando
2019-04-18 16:41:46 +00:00
Rob Wu
4a6f84f91d 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

--HG--
extra : moz-landing-system : lando
2019-04-17 19:03:19 +00:00
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
Dorel Luca
f5a2c905f4 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
d48d388df2 Bug 1519502 - Convert menu bindings to a Custom Element r=surkov
Differential Revision: https://phabricator.services.mozilla.com/D19593

--HG--
extra : moz-landing-system : lando
2019-04-17 15:56:41 +00:00
Luca Greco
b353df61ec Bug 1542842 - Fix remaining references to undefined Ci.nsITelemetry constant in WebExtensions tests. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D27650

--HG--
extra : moz-landing-system : lando
2019-04-16 12:58:30 +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
Drew Willcoxon
c1f323bbe7 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

--HG--
extra : moz-landing-system : lando
2019-04-15 13:15:30 +00:00
Dale Harvey
9bdc33dd43 Bug 1496075 - Part 3: Use webextensions in SearchServices. r=mikedeboer,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D25246

--HG--
rename : browser/components/search/searchplugins/list.json => browser/components/search/extensions/list.json
rename : browser/components/search/searchplugins/images/wikipedia.ico => toolkit/components/search/tests/xpcshell/data/test-extensions/multilocale/favicon.ico
rename : browser/components/search/searchplugins/images/google.ico => toolkit/components/search/tests/xpcshell/data/test-extensions/special-engine/favicon.ico
extra : moz-landing-system : lando
2019-04-11 20:49:31 +00:00
Dale Harvey
7ebe97c465 Bug 1496075 - Part 1: Extensions changes to support search extensions. r=mixedpuppy,robwu
Differential Revision: https://phabricator.services.mozilla.com/D25244

--HG--
extra : moz-landing-system : lando
2019-04-11 21:30:47 +00:00
Shane Caraveo
4bbb97bf45 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

--HG--
extra : moz-landing-system : lando
2019-04-11 02:26:30 +00:00
Shane Caraveo
7df3401a58 Bug 1532165 use prefs to support extension newtab and homepage on startup. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D25808

--HG--
extra : moz-landing-system : lando
2019-04-08 22:36:26 +00:00
Rob Wu
8696d81f53 Bug 1541833 - Clean up getIncognitoWindow in head.js r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D26087

--HG--
extra : moz-landing-system : lando
2019-04-04 14:47:00 +00:00
Luca Greco
2f3db5c142 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

--HG--
extra : moz-landing-system : lando
2019-04-03 17:56:52 +00:00
Jan-Erik Rediger
6bc73bc6a2 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

--HG--
extra : moz-landing-system : lando
2019-04-03 17:12:11 +00:00
Edwin Gao
cf79011546 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

--HG--
extra : moz-landing-system : lando
2019-04-01 18:30:23 +00:00
Brian
d8eb046cd9 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

--HG--
extra : moz-landing-system : lando
2019-03-29 14:55:12 +00:00
Luca Greco
b8a6dba730 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

--HG--
extra : moz-landing-system : lando
2019-03-28 19:03:08 +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
Mark Banner
53b3788bba Bug 1415265 - Implement a central configuration for setting ESLint environments for test directories. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D23849

--HG--
extra : moz-landing-system : lando
2019-03-28 09:38:02 +00:00
ariasuni
7c21782019 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

--HG--
extra : moz-landing-system : lando
2019-03-27 23:16:46 +00:00
Oriol Brufau
43c358adc7 Bug 1538378 - Test that tabs.onCreated fires with active:true. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D24819

--HG--
extra : moz-landing-system : lando
2019-03-26 00:50:22 +00:00
Oriol Brufau
feb4f8fa49 Bug 1538378 - Back out bug 1529411. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D24818

--HG--
extra : moz-landing-system : lando
2019-03-26 02:40:18 +00:00
Philipp Kewisch
52aa5b978e Bug 1507709 - Move WebExtensions geckoProfiler API to toolkit. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D12100

--HG--
rename : browser/components/extensions/ProfilerGetSymbols-worker.js => toolkit/components/extensions/ProfilerGetSymbols-worker.js
rename : browser/components/extensions/ProfilerGetSymbols.jsm => toolkit/components/extensions/ProfilerGetSymbols.jsm
rename : browser/components/extensions/parent/ext-geckoProfiler.js => toolkit/components/extensions/parent/ext-geckoProfiler.js
rename : browser/components/extensions/profiler_get_symbols.js => toolkit/components/extensions/profiler_get_symbols.js
rename : browser/components/extensions/schemas/geckoProfiler.json => toolkit/components/extensions/schemas/geckoProfiler.json
rename : browser/components/extensions/test/xpcshell/test_ext_geckoProfiler_control.js => toolkit/components/extensions/test/xpcshell/test_ext_geckoProfiler_control.js
rename : browser/components/extensions/test/xpcshell/test_ext_geckoProfiler_schema.js => toolkit/components/extensions/test/xpcshell/test_ext_geckoProfiler_schema.js
extra : moz-landing-system : lando
2019-03-22 13:18:01 +00:00
Mark Banner
da3d75151a Bug 1530675 - Enable WebNavigation transistion notifications for WebExtensions with QuantumBar. r=mak,rpl
Differential Revision: https://phabricator.services.mozilla.com/D21218

--HG--
extra : moz-landing-system : lando
2019-03-20 20:22:35 +00:00
Rob Wu
a24fe1187f Bug 1492895 - Fix intermittent failure in browser_ext_search.js r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D23503

--HG--
extra : moz-landing-system : lando
2019-03-15 08:27:48 +00:00
Rob Wu
f55e72505d Bug 1525729 - Stop blocking extension startup on searchInitialized r=aswan
Depends on D23311

Differential Revision: https://phabricator.services.mozilla.com/D19701

--HG--
extra : moz-landing-system : lando
2019-03-13 18:48:57 +00:00
Edwin Gao
a5bef7a7c7 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

--HG--
extra : moz-landing-system : lando
2019-03-13 19:47:25 +00:00
Oana Pop Rus
39feeaf9a5 Merge inbound to mozilla-central. a=merge 2019-03-13 12:09:03 +02:00
Andrew Swan
42db01a54d Bug 1534796 Tweak default search prompts r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D23227

--HG--
extra : rebase_source : 07c7a0c165f1067c3f970efe48b9eac4b3e32a8a
2019-03-12 14:32:24 -07:00
Edouard Oger
d391c790bc Bug 1532514 - Update sinon to v7.2.7. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D22046

--HG--
extra : moz-landing-system : lando
2019-03-12 19:32:40 +00:00
Dorel Luca
eb794cd9b8 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
565385661c Bug 1532514 - Update sinon to v7.2.7. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D22046

--HG--
extra : moz-landing-system : lando
2019-03-12 00:18:16 +00:00
sagarwala
5703e13838 Bug 1451079 - Fix runtime.setUninstallURL to honor empty string, r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D18499

--HG--
extra : moz-landing-system : lando
2019-03-11 17:46:44 +00:00
Shane Caraveo
981bfc4fb9 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

--HG--
extra : moz-landing-system : lando
2019-03-05 14:17:36 +00:00
Andreea Pavel
5d350a5796 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
1027eb159f 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

--HG--
extra : moz-landing-system : lando
2019-03-01 17:55:38 +00:00
Shane Caraveo
8073d84e30 Bug 1529582 prevent addon-set external home pages in private browsing without permission r=rpl,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D21228

--HG--
extra : moz-landing-system : lando
2019-02-28 18:12:46 +00:00
Narcis Beleuzu
682099b9bb Backed out changeset 52747743fe65 (bug 1525729) for XPCShell failures on test_ext_chrome_settings_overrides_update.js . CLOSED TREE
--HG--
extra : rebase_source : 1b62b48e4d2865a86f630d5fa6b615e9b84234c8
2019-02-28 22:59:55 +02:00
Rob Wu
05d16fa0fd Bug 1525729 - Ignore searchInitialized promise on shutdown r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D19701

--HG--
extra : moz-landing-system : lando
2019-02-28 17:39:18 +00:00
Luca Greco
d59c650c62 Bug 1285500 - Re-enable browser_ext_browserAction_popup.js on windows opt. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D21524

--HG--
extra : moz-landing-system : lando
2019-02-28 13:42:24 +00:00
Shane Caraveo
b1330fa6e6 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

--HG--
extra : moz-landing-system : lando
2019-02-28 13:40:58 +00:00
Mark Banner
7daa082ad7 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

--HG--
extra : moz-landing-system : lando
2019-02-28 09:25:36 +00:00