Commit Graph

2396 Commits

Author SHA1 Message Date
Ben Kelly
ed9cde1414 Bug 1425975 P17 Make web extension tests wait for service worker to activate to avoid races. r=kmag 2018-01-05 12:10:23 -05:00
Chung-Sheng Fu
3d7c36ab0b Bug 1381197 - Add tests for browser.cookies APIs with first-party isolation. r=robwu,rpl
MozReview-Commit-ID: 25Cx65Cr8Ry
2017-11-07 15:32:19 +08:00
Chung-Sheng Fu
1764fc9110 Bug 1381197 - Fix failures on existent cookies API tests. r=robwu,rpl
MozReview-Commit-ID: 9zVaBw1tt2W
2017-11-09 17:45:35 +08:00
Chung-Sheng Fu
327da2bd09 Bug 1381197 - browser.cookies APIs support firstPartyDomain. r=robwu,rpl
MozReview-Commit-ID: 2bryWgDLpcF
2017-11-07 15:31:22 +08:00
Andrew Swan
7a8a1b3fa7 Bug 1426363 Fix host permission parsing for permission strings r=rpl a=abillings
MozReview-Commit-ID: BeisQwgKak9
2017-12-21 11:37:34 -08:00
Geoff Brown
9385a88cef Bug 1408609 - Disable test_ext_i18n.js on Linux, for ongoing intermittent failures; r=me, a=test-only 2017-12-28 10:57:34 -07:00
Andreea Pavel
35130a6b8b Merge inbound to mozilla-centra r=merge a=merge 2017-12-22 11:54:07 +02:00
Shane Caraveo
edd834648b Bug 1425267 fix url param schema for launchWebAuthFlow, r=rpl 2017-12-21 15:18:26 -08:00
Andrew Swan
e53f9296c7 Bug 1426259: Revamp processing of manifest.json for themes r=kmag
MozReview-Commit-ID: 6dWy8wwrobY
2017-12-20 16:06:50 -08:00
Andrew Swan
b59f56db9a Bug 1426259: Create common base object for webextensions manifest schema r=kmag
MozReview-Commit-ID: 3KcGEZbIf1G
2017-12-19 14:53:07 -08:00
Andrew Swan
e9a7ab4dae Bug 1426259: Implement import for webextensions schemas r=kmag
MozReview-Commit-ID: LFYh8SzpCVN
2017-12-19 14:32:35 -08:00
Florian Quèze
b7450770d6 Bug 1421992 - Hand written cleanup patch to make tests pass after removing obsolete xpcshell functions. r=Gijs,ochameau a=Aryx 2017-12-21 11:11:57 +01:00
Florian Quèze
1838aa9e08 Bug 1421992 - script-generated patch to replace do_execute_soon, do_print and do_register_cleanup with executeSoon, info and registerCleanupFunction, rs=Gijs. 2017-12-21 11:10:23 +01:00
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
Mark Banner
2008979d83 Bug 1369722 - Disable ESLint browser environment for jsm files. r=mossop
MozReview-Commit-ID: IVAyPmTqtCB
2017-11-07 22:59:09 +00:00
Andrew Swan
97a1f212b5 Bug 1423425 Initial draft of WebExtensions API documentation r=bsilverberg
MozReview-Commit-ID: EwcE881XGfp
2017-12-05 18:54:34 -08:00
Andrew Swan
9ae021cd5e Bug 1423425 Make some extensions comments jsdoc-compatible r=kmag
MozReview-Commit-ID: 3mUKR9IuEKA
2017-12-05 18:53:15 -08: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
Dustin J. Mitchell
cb2823906c Bug 1403519 - only build docs when necessary r=gps
This marks **/docs/** as exclusively docs, and code that is autodoc'd as
inclusively docs.

That means that a change that purely modifies documentation files will *only*
run `docs` tasks, while a change that modifies autodoc'd source code will
*additionaly* run `docs` tasks.  The tasks do not run by default.

MozReview-Commit-ID: G9tOK0AwtrI
2017-10-02 18:22:56 +00:00
Csoregi Natalia
e6d6677d94 Merge inbound to mozilla-central r=merge a=merge 2017-12-16 11:37:48 +02:00
Cosmin Sabou
e0a5c2495c Backed out 3 changesets (bug 1423425) for frequent browser chrome failures r=backout on a CLOSED TREE
Backed out changeset c3ac950b0b8a (bug 1423425)
Backed out changeset d64fd69a4b88 (bug 1423425)
Backed out changeset 04017639642a (bug 1423425)
2017-12-16 02:45:41 +02:00
Andrew Swan
6fe1eb5e6d Bug 1423425 Initial draft of WebExtensions API documentation r=bsilverberg
MozReview-Commit-ID: EwcE881XGfp
2017-12-05 18:54:34 -08:00
Andrew Swan
80b2221edc Bug 1423425 Make some extensions comments jsdoc-compatible r=kmag
MozReview-Commit-ID: 3mUKR9IuEKA
2017-12-05 18:53:15 -08:00
Kris Maglione
1b63faa086 Bug 1424835: Prevent inline options browsers from continuing to grow after certain rounding errors. r=aswan
MozReview-Commit-ID: Q2DVZ7iR7N
2017-12-15 11:55:52 -06: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
Masatoshi Kimura
1dfecd5932 Bug 1418914 - Move E10SUtils.jsm into toolkit/. r=mossop
MozReview-Commit-ID: EgDzEEKAeh1
2017-12-12 21:35:16 +09: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
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
Oriol Brufau
9f671e6f20 Bug 1419940 - Allow browserAction set* methods to accept a null value. r=aswan
MozReview-Commit-ID: H2UfUITBEMm
2017-11-29 05:50:00 +01: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
Andrea Marchesini
7245afe6b9 Bug 1421655 - Using imgITools::decodeImageFromArrayBuffer instead coping data into a string, r=aosmond 2017-11-30 14:48:47 +01: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
af464fdaf9 Bug 1408472 - Read-only browserSettings should return false on write attempts, r=mixedpuppy
This updates browserSettings so that calling set and clear return false, rather than undefined,
for read-only settings. It also returns "not_controllable" rather than "controllable_by_this_extension"
for levelOfControl from calls to get for read-only settings.

MozReview-Commit-ID: 9c0bKDaYIC7
2017-11-28 12:11:23 -05:00
vladikoff
08cf9992c1 Bug 1369257 - add "scrollbars" to window features for identity.launchWebAuthFlow r=mixedpuppy
MozReview-Commit-ID: FTwyOUxG3K0
2017-11-27 21:21:22 -05:00
tushararora
fa5e677c46 Bug 1334782 - tabs.query should pattern match the title r=zombie
MozReview-Commit-ID: 5WaKLaOP7Nc
2017-11-16 16:17:45 +05:30