Commit Graph

2014 Commits

Author SHA1 Message Date
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
Neil Deakin
ce9efe8f68 Bug 1519953, replace calls to retrieve boxobject position and size with getBoundingClientRect, r=gijs 2019-03-01 12:26:45 -05: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
Mark Banner
8c15e0aaf9 Bug 1522508 - Port WebExtension tests to work with QuantumBar (simple changes). r=mak
Differential Revision: https://phabricator.services.mozilla.com/D21002
2019-02-28 09:25:05 +00:00
Luca Greco
d6d78c7284 Bug 1285500 - Rewrite browser_ext_browserAction_popup test and avoid intermittency on the 'overflow menu' test. r=mixedpuppy
This patch rewrites the browser_ext_browserAction_popup.js test file to make it easier to follow the
sequence of its test cases (in the previous version of this test file, the logic that was executing
the sequence of test cases was fragmented in a bunch of listeners, in both the test extension and
the privileged test code) and to make the test able to wait for the popups to be fully loaded or
fully destroyed before moving to the next test case.

Differential Revision: https://phabricator.services.mozilla.com/D21427
2019-02-27 21:44:47 +00:00
Oriol Brufau
1ed6cdfc8b Bug 1529411 - Fire onCreated before onRemoved when closing last tab with browser.tabs.closeWindowWithLastTab=false. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D20584
2019-02-28 00:10:30 +00:00
Ciure Andrei
bd80e09d68 Backed out changeset 56d817208b35 (bug 1451079) for failing browser_ext_runtime_setUninstallURL.js CLOSED TREE 2019-02-28 05:38:41 +02:00
sagarwala
40fea49281 Bug 1451079 - Adding fix for setting empty url to set uninstall url during runtime. r=zombie
The bug indicated that the setUninstallURL did not honor empty url during runtime.
Steps to reproduce:
1. Install an extension, uninstall URL is set
2. Update the extension, changing the uninstall URL string to null (empty)
3. Uninstall the extension

Differential Revision: https://phabricator.services.mozilla.com/D18499
2019-02-28 02:15:12 +00:00
Gabriele Svelto
3e3e8f05ab Bug 675539 - Make tab discard functionality work on tab objects directly r=mconley
This removes the need to go through the browser-to-tab mapping when discarding
a tab and simplifies the relevant code. Besides being renamed discardBrowser()
was also split so that one can check if a tab can be discarded prior to trying
it.

Differential Revision: https://phabricator.services.mozilla.com/D20475
2019-02-26 05:35:09 +00:00
Daisuke Akatsuka
86d3bc4d84 Bug 1525533: Stop supporting inspection of addon in Browser Toolbox. r=jdescottes,rpl
Depends on D20786

Differential Revision: https://phabricator.services.mozilla.com/D20971
2019-02-27 01:57:19 +00:00
Shane Caraveo
0c4decd61f Bug 1512353 skip moving windows between pb and non-pb windows r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D20557
2019-02-25 18:38:49 +00:00
Luca Greco
f8dd4bd060 Bug 1488981 - Fix browser_ext_getViews.js popup count failure when getViews is called before inner-window-destroyed. r=robwu
This test was failing intermittently in opt and pgo builds because there was a slightly chance that
the test extension may be calling browser.extension.getViews while the popup context was unloading
but it wasn't still destroyed and so it wasn't yet removed from the set of the extension views.

This patch fixes this intermittency by changing the promiseBrowserContentUnloaded test helper to
ensure that the unloadPromise is resolved when the "inner-window-destroyed" message for the
extension window is being notified to the "observer service" listeners, as it is what
the ExtensionPageChild is listening to decide when the ExtensionPageContextChild should be
unloaded and removed from the set of the extension views.

Differential Revision: https://phabricator.services.mozilla.com/D20658
2019-02-25 11:45:29 +00:00
Christoph Kerschbaumer
3dd19b31a3 Bug 1518454: Part 2, frontend changes, add CSP to loadURIOptions dictionary and pass CSP explicitly from frontend to docshell. r=gijs 2019-02-22 09:19:26 +01:00
Cosmin Sabou
ab95de59aa Bug 1514567 - Added :invalid CSS style for extension's input elements. r=bwinton
Summary: Before this change no style for invalid input fields was included in Firefox and thus invalid text fields where not highlighted as invalid as per the Firefox Photon design guide.

Test Plan:
Screenshot: https://hostux.pics/images/2019/01/25/image5123a27cc99ab189.png

  # Installed my add-on: https://addons.mozilla.org/firefox/addon/mastodon-simplified-federation/
  # Go to settings page and enter some invalid string in the input field.
  # Open add-on debugger and inspect that element.
  # (important!) Disable my workaround I added. (in options.css), see the screenshot at the top right, where I did this.
  # And you can still see the invalid style…

Reviewers: rpl, bwinton

Reviewed By: bwinton

Subscribers: bwinton, caitmuenster

Bug #: 1514567

Differential Revision: https://phabricator.services.mozilla.com/D17558
2019-02-23 23:46:23 +02:00
Luca Greco
6e435bd5c3 Bug 1349892 - Fix browser_ext_sidebarAction_contex intermittency. r=mixedpuppy
This test was intermittently timing out, mostly on debug builds, because there
was a chance that from time to time the sidebar could have been loaded for the
first time while the background page of the test extension was still being loaded.

The test was sending an extension test message as soon as the sidebar was loaded
for the first time, and so if the background page didn't yet added its test message
listener, the test cases did never get started and the entire test was getting stuck.

The changes included in this patch prevents this intermittent failures by ensuring
that the test always waits for the background page and the sidebar to be both loaded
and ready before sending the test message that starts to run the test cases.

Differential Revision: https://phabricator.services.mozilla.com/D20657
2019-02-21 14:08:27 +00:00
Rob Wu
be13d50df6 Bug 1503617 - Fix intermittent failures in tests with permission prompts r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D19492
2019-02-20 21:48:21 +00:00
Shane Caraveo
1e0dd4dc35 Bug 1525125 block newtab and homepage overrides in private windows r=rpl,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D18730
2019-02-19 19:19:44 +00:00
Jonathan Kingston
540181c731 Bug 1521549 - Move (de)serializePrincipal from sessionstore Utils to E10SUtils. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D17261
2019-02-19 02:34:09 +00:00
Luca Greco
7e9d604789 Bug 1484789 - Ensure document flushed before triggering context menu in a browserAction popup test. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D19967
2019-02-15 18:10:11 +00:00
Neil Deakin
ca92e4b698 Bug 1519952, replace calls to boxobject screenX and screenY with the equivalent on XULElement, r=paolo 2019-02-15 15:26:17 -05:00
Cosmin Sabou
70938d21db Merge mozilla-inbound to mozilla-central. a=merge 2019-02-15 20:39:45 +02:00
Cosmin Sabou
de12011db0 Merge autoland to mozilla-central. a=merge 2019-02-15 20:36:32 +02:00
Razvan Maries
e54d0a34a1 Backed out changeset 10528ad0d7a1 (bug 1525125) for frequently failing bug 1528134. a=backout 2019-02-15 18:23:14 +02:00
Nicolas Chevobbe
c3ec87944a Bug 1527834 - Rename WebConsoleWrapper:hud to WebConsoleWrapper:webConsoleUI; r=bgrins.
This better reflects what the property is (i.e. a
WebConsoleUI instance), and avoid confusion with
the panel's hud (created in webconsole.js).
We take that as an opportunity to clean things up
a bit (e.g. don't access the webConsoleUI through
JsTerm).

Differential Revision: https://phabricator.services.mozilla.com/D19783
2019-02-15 08:17:43 +00:00
Razvan Maries
a0f464735e Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-02-15 11:59:08 +02:00
Daniel Varga
c09ccb7631 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-02-15 03:51:05 +02:00
Oriol Brufau
c05ae5a09f Bug 1525634 - Preserve lazyness of the old tab when adopted by another window. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D18982
2019-02-14 19:48:58 +00:00
Shane Caraveo
572260cbf2 Bug 1525125 block newtab and homepage overrides in private windows r=rpl,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D18730
2019-02-14 19:46:00 +00:00
Bogdan Tara
2e3873efad Backed out changeset 14f7c02566c2 (bug 1525125) for browser_ext_windows_create_tabId.js failures CLOSED TREE 2019-02-14 17:29:40 +02:00
Alexander Surkov
62ec0b0d61 Bug 1527495 - migrate text-link binding to CE, r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D19595
2019-02-12 19:14:40 -05:00
Shane Caraveo
d83b99e775 Bug 1524001 update manifest to validate manifest.icons, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D18105
2019-02-14 01:32:31 +00:00
Shane Caraveo
d5f0871903 Bug 1525125 block newtab and homepage overrides in private windows r=rpl,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D18730
2019-02-14 12:44:07 +00:00
Gurzau Raul
5837c347f9 Bug 1349892 Disable browser_ext_sidebarAction_context.js on all platforms. r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D19769
2019-02-14 12:12:39 +00:00
Joel Maher
d1c97f8037 Bug 1527369 - re-enable many tests on windows 1803 due to invalid screen resolution whilst testing. r=gbrown
re-enable many tests on windows 1803 due to invalid screen resolution whilst testing

Differential Revision: https://phabricator.services.mozilla.com/D19535
2019-02-12 17:47:39 +00:00
Luca Greco
712cd35b27 Bug 1525200 - Fix history webextension API failing to load when loaded after the bookmarks API. r=zombie
This patch changes ext-history.js and ext-browsingData.js to ensure that these API modules are importing PlacesUtils in the same way as ext-bookmarks.js, because mixing CU.defineModuleGetter and CU.import would raise an error and it would break those two WebExtensions APIs if the ext-bookmarks.js gets loaded first.

Differential Revision: https://phabricator.services.mozilla.com/D18683
2019-02-08 22:30:48 +00:00