Commit Graph

1494 Commits

Author SHA1 Message Date
Florian Quèze
082ca8b2a3 Bug 1421992 - script-generated patch to replace do_check_* functions with their Assert.* equivalents, rs=Gijs. 2017-12-21 11:08:17 +01:00
Kartikaya Gupta
3c1a3e8f0e Bug 1334189 - Enable mochitest-plain for linux64-qr. r=jrmuizel
MozReview-Commit-ID: nbcWhDq5de
2017-12-13 18:38:39 -05:00
Tim Nguyen
f6b8ba5941 Bug 1423626 - Sanitize accent color to ignore alpha channel. r=jaws
MozReview-Commit-ID: KAV0lpuFDzL
2017-12-18 10:50:50 -06:00
Cosmin Sabou
c2881350da Backed out changeset 5d54913a8826 (bug 1423626) for ESlint failure on toolkit/components/extensions/test/browser/browser_ext_themes_alpha_accentcolor.js:27:1 r=backout on a CLOSED TREE 2017-12-15 22:34:19 +02:00
Tim Nguyen
f85e5f68a7 Bug 1423626 - Sanitize accent color to ignore alpha channel. r=jaws
MozReview-Commit-ID: IKo55lZ8b10
2017-12-15 13:52:41 -06:00
Rob Wu
fdd2aba235 Bug 1417828 - Ignore ports in cookies API r=zombie
Fixes regression from bug 1398630, where nsIURI was replaced with DOM
URL. In nsIURI, "host" does not include a port number, but in a DOM URL,
"host" does include a port number and "hostname" has to be used to
obtain the original result.

MozReview-Commit-ID: KxCF6Srn7X4
2017-12-02 02:09:51 +01:00
Bevis Tseng
62340b1ce3 Bug 1414170 - Fix timeout of toolkit/components/extensions/test/mochitest/test_ext_new_tab_processType.html that replies non-comformant Promise handling. r=smaug 2017-12-14 11:20:00 -06:00
Kris Maglione
d38f657e6e Bug 1455176: Follow-up: Fix test which was added after SpawnTask.js rename. r=bustage CLOSED TREE
MozReview-Commit-ID: JeoqVESNGVU
2018-04-19 16:16:58 -07:00
Cosmin Sabou
3defe315fd Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-20 01:38:32 +03:00
Kris Maglione
59b2dd801c 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
2018-04-18 11:43:45 -07:00
Sebastian Hengst
230ac4b916 Backout revived test file of bug 1423626. r=merge-fix a=merge-fix 2017-12-09 23:08:03 +02:00
Andreea Pavel
f83f963a34 Merge inbound to mozilla-central r=merge a=merge 2017-12-09 22:21:17 +02:00
Gurzau Raul
8a2e003aed Backed out changeset 69c0d6c48015 (bug 1423626) on request for filled regressions on a CLOSED TREE 2017-12-09 05:35:52 +02:00
Kris Maglione
c8ea1d4273 Bug 1421459: Update to ESLint 4 "indent" rule. r=aswan
MozReview-Commit-ID: LxLDWlsIlSk
2017-11-28 14:13:59 -08:00
Shane Caraveo
616ecb3d39 Bug 1149250 add support for https upgrades from webextensions, r=bz,mayhemer,rpl
MozReview-Commit-ID: ChIs2Q6bgEn
2017-12-08 12:12:37 -08:00
Tim Nguyen
bf6d33e798 Bug 1423626 - Sanitize accent color to ignore alpha channel. r=jaws
MozReview-Commit-ID: DY5uOjyuxtg
2017-12-07 16:37:19 +00:00
Andreea Pavel
9550833cbf Backed out 1 changesets (bug 1423626) for failing browser chrome toolkit/components/extensions/test/browser/browser_ext_themes_chromeparity.js r=backout on a CLOSED TREE
Backed out changeset 92f0f022897e (bug 1423626)
2017-12-07 14:57:07 +02:00
Tim Nguyen
363121f88b Bug 1423626 - Sanitize accent color to ignore alpha channel. r=jaws
MozReview-Commit-ID: AXQvUXkiLCW
2017-12-07 11:12:49 +00:00
Coroiu Cristina
e5e3e3f91e Backed out changeset 60f434a1d85b (bug 1423626) for browser-chrome failures at browser/base/content/test/urlbar/browser_URLBarSetURI.js r=backout on a CLOSED TREE 2017-12-07 07:22:23 +02:00
Tim Nguyen
bb7ce78b38 Bug 1423626 - Sanitize accent color to ignore alpha channel. r=jaws
MozReview-Commit-ID: 7lkIcmuBCn
2017-12-07 01:17:46 +00:00
Peter Snyder
9308fe1009 Bug 1377689 - merge identical headers in set{Request,Response}Header, r=bz,mixedpuppy
MozReview-Commit-ID: Kpli9YzEvlt
2017-12-04 22:48:54 -06:00
Luca Greco
4f36c2e62a Bug 1406675 - Allow storages in WebExtensions on customized cookieBehavior and lifetimePolicy prefs. r=asuth,aswan
This commit ensures that WebExtension principals always get a nsICookieService::BEHAVIOR_ACCEPT
cookieBehavior and a nsICookieService::ACCEPT_NORMALLY aLifetimePolicy:

- the webextension pages are still able to use indexedDB and localStorage on a globally
  configured:

  "network.cookie.cookieBehavior = 2"

  ("Accept cookies from websites" unchecked in the about:preferences
  "use custom settings for history" section)

- the webextension pages' localStorage does not switch in session-only mode on a globally
  configured:

    "network.cookie.lifetimePolicy = 2"

  ("Keep until I close Firefox" in the about:preferences
  "use custom settings for history" section)


MozReview-Commit-ID: 5LOCvCgcokM
2017-11-10 00:49:33 +01:00
Ben Kelly
b54eb8a170 Bug 1420594 P3 Disable test_ext_contentScripts_register.js on android since it fails without the shutdown delay bug. r=baku 2017-12-04 09:51:32 -05:00
Bob Silverberg
2adf022ca1 Bug 1420969 - API to open search results in new tab, r=mixedpuppy
This introduces browserSettings.openSearchResultsInNewTabs which exposes
the browser.search.openintab preference to extensions.

Note that until bug 1394304 is fixed this only works for searches performed
via the search box, and not for searches performed via the address bar.

MozReview-Commit-ID: HuoJ0uOvMjX
2017-11-29 09:49:46 -05:00
Bob Silverberg
b3a11fe2e4 Bug 1420974 - API to open bookmarks in new tab, r=mixedpuppy
This introduces browserSettings.openBookmarksInNewTabs which exposes
the browser.tabs.loadBookmarksInTabs preference to extensions.

MozReview-Commit-ID: AZlir2GoiCo
2017-11-28 09:20:31 -05:00
Bob Silverberg
b9c6563f90 Bug 1419426 - Implement browserSettings.contextMenuShowEvent, r=kmag
This new API exposes the ui.context_menus.after_mouseup preference to extensions
so mouse gesture add-ons can modify it.

Note that this is not supported on Android, and also calling it with a value of
"mousedown" on Windows is a no-op.

MozReview-Commit-ID: AkhRmAyzuSp
2017-11-21 12:33:15 -05:00
Brindusan Cristian
4e36ea8d5f Backed out changeset e8d475fed206 (bug 1419426) for opt-test-verify failures on extensions/test/xpcshell/test_ext_browserSettings.js. r=backout a=backout on a CLOSED TREE 2017-11-23 16:19:37 +02:00
Bob Silverberg
a55b03f221 Bug 1419426 - Implement browserSettings.contextMenuShowEvent, r=kmag
This new API exposes the ui.context_menus.after_mouseup preference to extensions
so mouse gesture add-ons can modify it.

Note that this is not supported on Android, and also calling it with a value of
"mousedown" on Windows is a no-op.

MozReview-Commit-ID: AkhRmAyzuSp
2017-11-21 12:33:15 -05:00
Cosmin Sabou
c85db00376 Merge mozilla-inbound to mozilla-central r=merge a=merge 2017-11-23 11:42:46 +02:00
Kris Maglione
a2894ea39d Bug 1415352: Part 6 - Test triggering principals and CSP subjection for inline <style> nodes. r=bz
MozReview-Commit-ID: J5ZpYKno1pL
2017-11-07 15:21:25 -08:00
Kris Maglione
09959887ca Bug 1415352: Part 3b - Add tests for triggering principal and CSP subjection of style attributes. r=bz
MozReview-Commit-ID: 9vNQEihXh9G
2017-11-06 19:01:39 -08:00
Tim Nguyen
039d96ce90 Bug 1418603 - Allow setting the urlbar and the searchbar border color. r=jaws
MozReview-Commit-ID: HcALXHaYIV1
2017-11-19 17:05:30 +00:00
Luca Greco
8184c37696 Bug 1332273 - Support programmatically registered content scripts. r=baku,kmag
MozReview-Commit-ID: BiWlyYV7ZvB
2017-11-03 17:01:58 +01:00
Bob Silverberg
c58b21ff61 Bug 1418311 - Avoid overwriting the notifications map in different contexts, r=mixedpuppy
Prior to this patch, the map that holds the list of notifications for an extension was recreated
for each context. This fixes that issue and maintains a list for the extension across all
contexts.

MozReview-Commit-ID: 2wfABoyyqvF
2017-11-17 11:42:04 -05:00
Shane Caraveo
7b17b88014 Bug 1416872 fix canceling request, r=rpl
MozReview-Commit-ID: BqZFsPHo4Ty
2017-11-16 13:07:51 -08:00
Bob Silverberg
fb5f544d9c Bug 1404584 Part 2: Convert ext-chrome-settings-overrides to use update and uninstall events, r=aswan,mkaply
MozReview-Commit-ID: KtagRbDz19S
2017-11-01 09:50:03 -04:00
Andrew Swan
26ec3250a3 Bug 1404584 Part 1: Use extensionId in ExtensionSettingsStore and ExtensionPreferencesManager methods, r=aswan
This code changes all of the functions in the ESS and the EPM to accept an extensionId rather than an
extension object, which is required for responding to the new onUpdate event.

MozReview-Commit-ID: FwMVa0fShGj
2017-10-24 20:18:03 -07:00
Tim Nguyen
2dae86e2ff Bug 1415878 - Accept both Chrome arrays and CSS colors for all properties. r=jaws
MozReview-Commit-ID: 6NkIUZKWkBI
2017-11-16 12:40:53 +00:00
Bob Silverberg
33b8b2103b Bug 1416984 - Remove all cookies at the beginning of test_ext_cookies.html, r=mixedpuppy
This test was failing when running locally during the second run (i.e., the non-oop run).
The problem ocurred because the cookies created during the first run were not removed
prior to the second run. This patch adds code to clean up any existing cookies before
running the test.

MozReview-Commit-ID: LieSZDudawN
2017-11-15 10:00:32 -05:00
Shane Caraveo
460fc01e51 Bug 1419880 first round of TODO/FIXME comment updates, r=mixedpuppy
MozReview-Commit-ID: 6GsqWSBKB2d
2017-11-22 11:54:07 -08:00
Tim Nguyen
3708109370 Bug 1415872 - Implement colors.tab_text and colors.background_tab_text. r=jaws
MozReview-Commit-ID: Gp5CHqmOi6A
2017-11-15 17:34:12 +00:00
Shane Caraveo
0ffa11915e Bug 1404671 check the error string r=mixedpuppy
MozReview-Commit-ID: GEiFEb7JMdh
2017-11-14 17:09:23 -08:00
Noemi Erli
7b30e25f81 Backed out changeset aa3d66cd3c40 (bug 1415872) for ES failure in toolkit/components/extensions/test/browser/head.js:37:7 r=backout on a CLOSED TREE 2017-11-15 12:08:22 +02:00
Tim Nguyen
5359e7d6df Bug 1415872 - Implement colors.tab_text and colors.background_tab_text. r=jaws
MozReview-Commit-ID: Gp5CHqmOi6A
2017-11-10 11:58:50 +00:00
Joel Maher
570a79dc06 Bug 1398120 - Disable toolkit/components/extensions/test/mochitest/test-oop-extensions/test_ext_webrequest_responseBody.html on linux for frequent failures. r=me, a=testonly 2017-11-13 12:20:02 -05:00
Shane Caraveo
a325bb6ea2 Bug 1411646 prevent oauth redirect requests from happening, r=rpl
MozReview-Commit-ID: L8ekyXDeCbp
2017-11-09 15:11:13 -08:00
Tim Nguyen
aadd9d978c Bug 1414512 - Refactor ext-theme.js to have per-theme Theme objects and global tracking variables. r=mixedpuppy
MozReview-Commit-ID: 7omIglzvjsF
2017-11-07 17:22:56 +00:00
Thom Chiovoloni
299bee8fdb Bug 1414997 - Ensure extension storage sync initializes Kinto exactly once r=glasserc
MozReview-Commit-ID: 3vYEp4eqpJO
2017-11-06 19:53:49 -05:00
Mark Banner
45b0812566 Bug 1412893 - Change instances of using getService to Services.jsm where possible in toolkit/components - Part 1. r=mossop
MozReview-Commit-ID: BBnacIvRJBR
2017-10-30 16:29:58 +00:00
Tim Nguyen
4271aaebcb Bug 1412595 - Implement colors.bookmark_text as alias for colors.toolbar_text. r=jaws
MozReview-Commit-ID: HjIgXtbYejZ
2017-10-31 10:35:26 +00:00