Commit Graph

2190 Commits

Author SHA1 Message Date
Gijs Kruitbosch
572dbf7379 Bug 1519434 - remove plugin click to play pref as running without it won't make sense anymore, r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D34212
2019-06-13 08:40:59 +00:00
Andreea Pavel
cc37a3c8a9 Backed out 7 changesets (bug 1519434) for mochiest failures e.g test_bug1165981.html on a CLOSED TREE
Backed out changeset 1314623831ad (bug 1519434)
Backed out changeset 6dd4fa67e209 (bug 1519434)
Backed out changeset b241c580b293 (bug 1519434)
Backed out changeset b48dca2f487f (bug 1519434)
Backed out changeset 49c64ed2e67b (bug 1519434)
Backed out changeset dd009a001c6c (bug 1519434)
Backed out changeset 5b6ec4d2f0ab (bug 1519434)
2019-06-12 23:31:16 +03:00
Gijs Kruitbosch
74e20f32e6 Bug 1519434 - remove plugin click to play pref as running without it won't make sense anymore, r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D34212
2019-06-12 18:49:30 +00:00
Rob Wu
2c14a0b120 Bug 1551490 - Fix browser_ext_browserAction_contextMenu.js when HTML about:addons is enabled r=rpl
When HTML `about:addons` is enabled, the "Manage extension" button still
opens the add-on's details page, but without automatically loading the
inline options.

The test assumed that it did and failed. This patch switches to a
different way of detecting that the menu item works as expected.

Differential Revision: https://phabricator.services.mozilla.com/D34209
2019-06-08 12:37:40 +00:00
Rob Wu
cd1d601702 Bug 1551490 - Fix test failures with inline options in HTML about:addons r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D34078
2019-06-09 11:18:54 +00:00
Edouard Oger
64400aec84 Bug 1555771 p2 - Disable test_tab_events_incognito_monitored. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D33815
2019-06-05 18:15:53 +00:00
Kris Maglione
b78162a8a0 Cleanup some nonsense. r=me,test-only (no bug) 2019-06-03 13:39:54 -07:00
Daniel Varga
3cc8938b87 Merge mozilla-central to mozilla-inbound 2019-06-01 12:45:58 +03:00
Mark Striemer
d06bb40abc Bug 1532724 - Part 2: Handle HTML about:addons options page in APIs r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D30731
2019-05-31 16:21:02 +00:00
Marco Bonardo
dfc3f5f327 Bug 1547285 - Add the registerProvider function API. r=adw,mixedpuppy
This implements the first part of the new urlbar API to be used by many future
mozilla-signed experiments. This part sets the foundation for the "urlbar"
permission and API, and introduces a first API to register an extension provider.

Further API calls will be added in dependencies of Bug 1547279, and in particular
Bug 1547666 will add a way for these extension providers to return results for
the urlbar.

Differential Revision: https://phabricator.services.mozilla.com/D32332
2019-05-31 09:30:15 +00:00
Andrea Marchesini
5cde15b155 Bug 1554464 - Merge nsICookie2 and nsICookie in 1 single interface, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D33031
2019-05-31 09:36:44 +00:00
Brian Grinstead
5caf04c8f7 Bug 1553188 - Part 4 - Update remaining references to browser.xul;r=bdahl
These are generally:
- Code comments to browser.xhtml
- Testcases, assertions that were mostly using browser.xul as a generic chrome URL
- References to the browser.xul path in tree

Differential Revision: https://phabricator.services.mozilla.com/D33208
2019-05-28 16:40:42 -07:00
Andrea Marchesini
da871a46a1 Bug 1551798 - Rename nsICookie2.SAMESITE_UNSET to nsICookie2.SAMESITE_NONE, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D31214
2019-05-29 15:55:03 +00:00
arthur.iakab
f6d085aa58 Backed out 5 changesets (bug 1551798) for multiple build bustages on StaticPrefList.h CLOSED TREE
Backed out changeset c89daff34d97 (bug 1551798)
Backed out changeset bbc3f88b8c03 (bug 1551798)
Backed out changeset b87996b8a411 (bug 1551798)
Backed out changeset d88b0002d736 (bug 1551798)
Backed out changeset 0fe740c90e2b (bug 1551798)
2019-05-29 18:07:26 +03:00
Andrea Marchesini
f2a2bcb708 Bug 1551798 - Rename nsICookie2.SAMESITE_UNSET to nsICookie2.SAMESITE_NONE, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D31214
2019-05-24 15:18:49 +00:00
Kartikaya Gupta
16b91885f0 Bug 1553593 - Turn on browser-mochitests for windows-qr. r=jrmuizel
Depends on D32471

Differential Revision: https://phabricator.services.mozilla.com/D32472
2019-05-24 13:44:35 +00:00
Andrew Swan
1ab513d145 Bug 1519577 Convert toolbarbutton to a custom element r=surkov
Differential Revision: https://phabricator.services.mozilla.com/D31941
2019-05-20 10:01:02 -07:00
Daniel Varga
c00a52755f Merge mozilla-central to mozilla-inbound. a=merge 2019-05-16 00:33:52 +03:00
Boris Zbarsky
6babe3ddd4 Bug 1551657 part 3. Stop using [array] in findLogins. r=MattN
I audited the results from
https://searchfox.org/mozilla-central/search?q=%5B%5EA-Za-z_%5D%5BFf%5DindLogins%5B%5EA-Za-z_%5D&case=true&regexp=true&path=

Differential Revision: https://phabricator.services.mozilla.com/D31119
2019-05-14 19:28:52 +00:00
Luca Greco
8990e1c8fb Bug 1550529 - Load tabprompts.css as document stylesheet in the XUL about:addons page. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D30655
2019-05-13 20:29:48 +00:00
Jonathan Watt
97a9ed4a1a Bug 1551609. Make printUtils.js consistent about internal/external naming. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D31096
2019-04-29 19:15:48 +01:00
Tim Nguyen
c8f64bc332 Bug 1548769 - Remove WebExtensions icons theming support. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D29802
2019-05-08 20:28:24 +00:00
Andreea Pavel
c52e0461c1 Backed out changeset e8dbcc5c516f (bug 1548769) test_ext_manifest_themes.js on a CLOSED TREE 2019-05-08 23:10:44 +03:00
Tim Nguyen
a124757fd2 Bug 1548769 - Remove WebExtensions icons theming support. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D29802
2019-05-08 18:31:29 +00:00
Shane Caraveo
b53bd5c5ef Bug 1541317 fix extension failures when setting homepage on upgrade r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D29912
2019-05-08 01:30:25 +00:00
Luca Greco
9ae2145e93 Bug 1544928 - Add Report extension in browserAction context menu. r=flod,jaws,mstriemer
Depends on D27294

Differential Revision: https://phabricator.services.mozilla.com/D29120
2019-05-06 18:38:19 +00:00
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