Commit graph

1301 commits

Author SHA1 Message Date
Drew Willcoxon
3629cb997a Bug 1412170 - Integrate WebExtension page action context menus with the Photon page action context menu: WebExtensions changes. r=mixedpuppy
MozReview-Commit-ID: 4vBNSmCU1a0

--HG--
extra : rebase_source : dd4f1a60479a435565c78ff7561bf3997cc8e049
2017-10-30 17:50:33 -04:00
Phil Ringnalda
c21a471320 Backed out 2 changesets (bug 1412170) for eslint bustage
Backed out changeset a9a646fe54ec (bug 1412170)
Backed out changeset 8b46ed411edf (bug 1412170)

MozReview-Commit-ID: Et3MnX3ieBe
2017-10-30 14:21:45 -07:00
Drew Willcoxon
7cdccba586 Bug 1412170 - Integrate WebExtension page action context menus with the Photon page action context menu: WebExtensions changes. r=mixedpuppy
MozReview-Commit-ID: 4vBNSmCU1a0

--HG--
extra : rebase_source : c80e33fdb0e7dd825987c8bd4b36dcbaa875ebcc
2017-10-30 16:53:42 -04:00
Joel Maher
302c4b5c31 Bug 1405453 - Disable browser/components/extensions/test/browser/test-oop-extensions/browser_ext_browserAction_context.js on windows and mac for frequent failures. r=me, a=testonly 2017-10-30 07:56:25 -04:00
Mark Banner
2f2b926bc0 Bug 1411368 - Automatically fix indent-legacy issues raised when using ESLint 4. r=mossop
MozReview-Commit-ID: BaQ8GXIGV5v

--HG--
extra : rebase_source : 0be52046d11133a54e961d770572d81e5c0dd7f7
2017-10-26 12:20:08 +01:00
Mark Banner
4de6bf22b1 Bug 1411368 - Automatically fix no-multi-spaces issues raised when using ESLint 4. r=mossop
MozReview-Commit-ID: H5YVp3rnzGo

--HG--
extra : rebase_source : 5b45b6c0df834131812d094e975047eaad374e06
2017-10-26 11:47:01 +01:00
Bob Silverberg
05d1c44747 Bug 1411351 - Fix Console error "WeakMap key must be an object..." that happens when opening a new tab, r=aswan
When the New Tab page is opened, the browser object that is passed into the isArticleChangeListener
is not a valid browser from the perspective of tabbrowser.xml, so it is not able to find it in its
_tabForBrowser map. This causes undefined to be passed into tabManager.getWrapper(), which causes
the error.

This patch fixes this by not calling tabManager.getWrapper(), and subsequently firing the onUpdate
event, if the return value from gBrowser.getTabForBrowser() is undefined. Testing shows that that
is only the case when the New Tab page is opened, and that page is not, and is unlikely to be
readerable any time in the foreseeable future (confirmed on IRC), so ignoring this case in the
listener is acceptable.

MozReview-Commit-ID: D9LQRrPmCoU

--HG--
extra : rebase_source : da5c074c2e59babb5385d24a4f768aa4b7ae8997
2017-10-26 14:31:43 -04:00
Sebastian Hengst
319217d574 Backed out changeset ba4a39241953 (bug 1386018) for xpcshell failures, e.g. toolkit/mozapps/extensions/test/xpcshell/test_signed_install.js on Linux debug. r=backout on a CLOSED TREE
--HG--
extra : amend_source : 0b31c5a3d73783a3c60f4126a5c11fdda862d9e3
2017-10-25 00:32:35 +02:00
Mark Striemer
04b924cbdf Bug 1386018 - Tell users that the default search engine was set by an extension r=bsilverberg,jaws
MozReview-Commit-ID: A7uJ2lN0cLF

--HG--
extra : rebase_source : 98875d0bcabbae86f9c25dea9b4fe30d6a3d0109
2017-10-18 14:54:54 -05:00
Wouter Verhelst
900dd77859 Bug 1404421 - Add an empty slot to the test PKCS#11 module r=keeler
It is helpful to have a slot which never has a token, so that the
absense of a token can be asserted in unit tests.

Add a third token that is always empty, and update a number of unit
tests to check for it.

MozReview-Commit-ID: 4apvRRhZJus

--HG--
extra : rebase_source : cd3bb819bcf66c769f36a428ed26ea8fa6c68a26
2017-10-01 12:10:20 +02:00
Luca Greco
35068439d1 Bug 1403349 - Split webNavigation onCreatedNavigationTarget tests to prevent timeouts on linux32 debug. r=aswan
MozReview-Commit-ID: 50JLocTVvfu

--HG--
rename : browser/components/extensions/test/browser/browser_ext_webNavigation_onCreatedNavigationTarget_window_open.js => browser/components/extensions/test/browser/browser_ext_webNavigation_onCreatedNavigationTarget_named_window.js
rename : browser/components/extensions/test/browser/browser_ext_webNavigation_onCreatedNavigationTarget_window_open.js => browser/components/extensions/test/browser/browser_ext_webNavigation_onCreatedNavigationTarget_subframe_window_open.js
extra : rebase_source : 3b21d6786ae666afc5c5174723444f19ad8411b5
2017-10-13 18:19:47 +02:00
Luca Greco
b02bf31d78 Bug 1403349 - Add a new webNavigation test for window.open called with a named window target. r=aswan
MozReview-Commit-ID: Aj8uMtcGwJx

--HG--
extra : rebase_source : 67bb473d07638f261610c156ef61f38c8d8e38e1
2017-09-28 22:04:14 +02:00
Luca Greco
f02af2dbb2 Bug 1403349 - Prevent WebNavigation jsm to leak the sourceTab browser on unpaired CreatedNavigationTarget messages. r=aswan
This applies the following changes:

- store a weak reference to the browser element in the WebNavigation.jsm Manager's map
  of pending CreatedNavigationTarget messages

- when a CreatedNavigationTarget message is received from a sourceTab
  for a created window that is not currently tracked in the map
  (e.g. it has been immediately closed), the message received from the sourceTab
  is not saved in the map of the pending CreatedNavigationTarget (and a message
  is logged in the console to make easier to investigate issues related to discarded
  CreatedNavigationTarget events).

- adds an additional assertion to the related test case to ensure that no CreatedNavigationTarget
  message is still pending in the WebNavigation/jsm's Manager.

MozReview-Commit-ID: FijQ8IqiY8L

--HG--
extra : rebase_source : cd3c072301a1eb24de368c655a96891dd1287c7b
2017-09-27 19:07:41 +02:00
Luca Greco
5b52ad7584 Bug 1403349 - Fix wrong sourceTabId on webNavigation.onCreatedTarget event. r=aswan
This changes fixes the regression introduced by Bug 1355120 and adds a new
test case which contains a browserAction popup which open and immediately
close a new window and ensure that the received onCreatedNavigationTarget
is the expected one.

MozReview-Commit-ID: JIcVCpBTpxj

--HG--
extra : rebase_source : 37a7db29fa91d0e3f0593f7d5d996ccd3fba719d
2017-09-27 14:24:54 +02:00
Sebastian Hengst
3ff7869b72 Backed out changeset 9ad123fb9ce5 (bug 1404421) for eslint failure at security/manager/ssl/tests/unit/test_pkcs11_slot.js:44 and static bustage at security/manager/ssl/tests/unit/pkcs11testmodule/pkcs11testmodule.cpp:119. r=backout on a CLOSED TREE 2017-10-19 00:57:36 +02:00
Wouter Verhelst
92f74a28ce Bug 1404421 - Add an empty slot to the test PKCS#11 module r=keeler
It is helpful to have a slot which never has a token, so that the
absense of a token can be asserted in unit tests.

Add a third token that is always empty, and update a number of unit
tests to check for it.

MozReview-Commit-ID: 4apvRRhZJus

--HG--
extra : rebase_source : 13bfac22fcf4dfbdbcbff25254785e53cbd25920
2017-10-01 12:10:20 +02:00
Mark Banner
42cb2dc6a3 Bug 1230373 - Enable mozilla/use-services for browser/components/ r=mossop
MozReview-Commit-ID: 9m9iss3jUJJ

--HG--
extra : rebase_source : e6a6f9dec168ab1d0e0343236db65f3dd1b44aeb
2017-10-11 15:43:51 +01:00
Masatoshi Kimura
58f00b395f Bug 1409617 - Convert test_ext_history_redirect.html to browser test and make it a bit robust. r=aswan
MozReview-Commit-ID: FKvBB01ntm4

--HG--
rename : browser/components/extensions/test/mochitest/test_ext_history_redirect.html => browser/components/extensions/test/browser/browser_ext_history_redirect.js
extra : rebase_source : 3a42009b063dce8b4b374885fd3ae921824a9dfb
2017-10-18 20:37:39 +09:00
Bob Silverberg
d94a6f7526 Bug 1406379 - Implement windowTypes option for windows.getAll, r=mixedpuppy
This option works in Chrome and is documented to work in Firefox but seems
to have never been implemented.

MozReview-Commit-ID: KOu8TRaCCzL

--HG--
extra : rebase_source : 98605a64c12102e5c09acfd5bfef410cb75d5ba0
2017-10-16 16:01:59 -04:00
Bob Silverberg
272fe41a5f Bug 1408993 - Allow tabs.create to create URLS in reader mode, r=mixedpuppy
MozReview-Commit-ID: B5Nk0ZVvQIC

--HG--
extra : rebase_source : 6f515ef1dbc110c35b527e06f269ae703bb77468
2017-10-16 10:42:45 -04:00
Mike de Boer
8678d63172 Bug 1366646 - Include borders and padding when calculating the offset of a window inside an (i)frame. r=jaws
MozReview-Commit-ID: 58fBRcw1lg3

--HG--
extra : rebase_source : 7e125ba0203ce56e9782152b036ab5c26e0a3aa5
2017-10-18 13:58:36 +02:00
Masatoshi Kimura
cac8494c04 Bug 1406594 - Fix history.search and history.getVisited so that they find hidden items correctly. r=aswan,bsilverberg
I had to add a mochitest because PlacesUtils.history.insertMany cannot create hidden redirects.

I also added a support for the "reload" transition while I am here.

MozReview-Commit-ID: ECQp6pW2r8v

--HG--
extra : rebase_source : d4456d32a57cdadec8ca383a2b09dee29e20b10f
2017-10-07 06:04:56 +09:00
Andrea Marchesini
eadfc30ba5 Bug 1404105 - Sanitize.js must check if QuotaManager returns an error before continuing with cleaning data, r=janv 2017-10-16 11:50:01 +02:00
Sebastian Hengst
1c1a5cef77 Merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 5oI3jfNbQVt
2017-10-13 11:12:47 +02:00
Phil Ringnalda
802759e321 Backed out 3 changesets (bug 1403349) for test-oop-extensions/browser_ext_webNavigation_onCreatedNavigationTarget_window_open.js | This test exceeded the timeout threshold
Backed out changeset 6c50dc08aa42 (bug 1403349)
Backed out changeset 5dbe3db9affc (bug 1403349)
Backed out changeset 0039b4539113 (bug 1403349)

MozReview-Commit-ID: 2jlfAoj8SPn
2017-10-12 18:57:33 -07:00
Nicholas Nethercote
bbfec72b95 Bug 1406296 (part 3) - Remove the profiler's "gpu" feature. r=mstange,jrmuizel.
This allows a bunch of additional stuff to be removed: ContextStateTracker,
ContextStateTrackerOGL, and GPUMarkerPayload.

--HG--
extra : rebase_source : 879045a9f9ac31ca0beb596964c6c3ef30283a53
2017-10-06 17:35:44 +11:00
Nicholas Nethercote
4bedc03a3d Bug 1406296 (part 2) - Remove the profiler's "layersdump" feature. r=mstange.
Because it just doesn't control any behaviour within the profiler, and it just
duplicates gfxPrefs::LayersDumpTexture().

With this gone, PROFILER_FEATURE_ACTIVE can also be removed.

--HG--
extra : rebase_source : d6718894b8a9332cf73729ea6b7bd2de348817bd
2017-10-06 17:34:22 +11:00
Nicholas Nethercote
706daca552 Bug 1406296 (part 1) - Remove the profiler's "displaylistdump" feature. r=mstange.
It's not useful.

--HG--
extra : rebase_source : b18244b6f1e28b29f1f71a4cca55781316e2cdc5
2017-10-06 17:33:30 +11:00
Julian Descottes
12d2d25576 Bug 1361080 - update webextension tests to directly use devtools loader;r=rpl
In the end the webextensions tests that test devtools should be able to load devtools
apis in the same way as devtools tests. This allows to remove the gDevTools getter on
the devtools shim, which makes the paths that can potentially initialize devtools easier
to predict.

MozReview-Commit-ID: AHokH12ygKI

--HG--
extra : rebase_source : 9166f477e2d38351e836aa14c53a420bd9cbddf7
2017-09-29 15:28:19 +02:00
Luca Greco
0b5ad6f6a3 Bug 1403349 - Add a new webNavigation test for window.open called with a named window target. r=aswan
MozReview-Commit-ID: Aj8uMtcGwJx

--HG--
extra : rebase_source : 9e20e35adf0c0198e41c14f5d5a89a4ceb6e7a08
2017-09-28 22:04:14 +02:00
Luca Greco
68f1169aaf Bug 1403349 - Prevent WebNavigation jsm to leak the sourceTab browser on unpaired CreatedNavigationTarget messages. r=aswan
This applies the following changes:

- store a weak reference to the browser element in the WebNavigation.jsm Manager's map
  of pending CreatedNavigationTarget messages

- when a CreatedNavigationTarget message is received from a sourceTab
  for a created window that is not currently tracked in the map
  (e.g. it has been immediately closed), the message received from the sourceTab
  is not saved in the map of the pending CreatedNavigationTarget (and a message
  is logged in the console to make easier to investigate issues related to discarded
  CreatedNavigationTarget events).

- adds an additional assertion to the related test case to ensure that no CreatedNavigationTarget
  message is still pending in the WebNavigation/jsm's Manager.

MozReview-Commit-ID: FijQ8IqiY8L

--HG--
extra : rebase_source : 20e5c27ba18f7f05f9076db19091f1c1153a6c39
2017-09-27 19:07:41 +02:00
Luca Greco
82830bb0ac Bug 1403349 - Fix wrong sourceTabId on webNavigation.onCreatedTarget event. r=aswan
This changes fixes the regression introduced by Bug 1355120 and adds a new
test case which contains a browserAction popup which open and immediately
close a new window and ensure that the received onCreatedNavigationTarget
is the expected one.

MozReview-Commit-ID: JIcVCpBTpxj

--HG--
extra : rebase_source : 0966eba7c752068522400b032a8018b96e9dcda9
2017-09-27 14:24:54 +02:00
Marco Bonardo
65ca393243 Bug 1406860 - Make urlbar tests a bit more reliable. r=standard8
MozReview-Commit-ID: 71ZzDbCq8n0

--HG--
extra : rebase_source : 7f93059ce057a8bf98996e31932a47523c555fd1
2017-10-10 01:18:23 +02:00
Sebastian Hengst
d4cf5c3f6e Backed out changeset 1ac7fce0b369 (bug 1406860) for failing xpcshell tests, e.g. toolkit/components/places/tests/unit/test_000_frecency.js. r=backout
--HG--
extra : amend_source : d56cb30d1aa7bb64597e273eef64e9d35056914e
2017-10-11 18:25:57 +02:00
Marco Bonardo
ac4197582b Bug 1406860 - Make urlbar tests a bit more reliable. r=standard8
MozReview-Commit-ID: 71ZzDbCq8n0

--HG--
extra : rebase_source : f919a0f84ff46fcfa56ddbfb2ba8b060b34cb12a
2017-10-10 01:18:23 +02:00
Bob Silverberg
09dfaf4900 Bug 1402921 - Enhance browser_ext_tabs_readerMode to verify that correct isInReaderMode is reported for onUpdated, r=Gijs,mixedpuppy
All of the information needed for an extension to watch for tabs moving in and out
of reader mode is already available in the onUpdated event. This adds some asserts
to the existing test to check that this information is accurate.

MozReview-Commit-ID: 7OkR933MUPl

--HG--
extra : rebase_source : cf7a6bae5b7a4b6678b7fb1cb19027fa0ab97d71
2017-09-28 07:37:35 -04:00
Julian Descottes
ea13b52036 Bug 1407326 - remove references to invertIconForLightTheme in extensions codebase;r=rpl
MozReview-Commit-ID: B2eTpm6qbOh

--HG--
extra : rebase_source : 4435d53e0f96a2beea27d5e727642479fba7d1f2
2017-10-10 19:49:04 +02:00
Mike de Boer
ef74dc495c Bug 1403466 - Don't set a max-height on panelviews used by WebExtensions, because it causes browser contents to be cut-off. r=Gijs
Setting a max-height caused the '_handleDOMChange' method in ext-browser-content.js
to consistently lie about the scrollHeight, since it was never allowed to grow
beyond the maxHeight - even when the document needs to be larger to fit its contents.
We don't need this aggressiveness in Photon panels anyway, so that makes it
doubly safe to remove this code.

MozReview-Commit-ID: HJVMXXHS4By

--HG--
extra : rebase_source : 19cc957619afdd90d04fea0307b6323b33293841
2017-10-10 12:44:04 +02:00
Sebastian Hengst
1a4a26905f merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-10-10 06:12:26 -03:00
Kevin Jones
e25ef66af6 Bug 1406912 - Fix _serializeRangeData does not handle ranges found in same node properly. r=mixedpuppy
--HG--
extra : amend_source : 10c38fa5cf069e7d7bf7d23c7f992149462bd297
2017-10-09 12:42:00 -04:00
Sebastian Hengst
c2d6023454 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 36L7JL73CzG
2017-10-09 23:52:04 +02:00
Ian Moody
53b9116eab Bug 1404568 - Improve webext browser_action icon fallbacks. r=mixedpuppy
Currently if there is no default icon at the specified size, the default icon
falls back to the light text icon at that size. This is wrong in two ways:
First, the default theme uses dark text, so it should fallback to the dark icon
Secondly, authors expect the unsized default_icon to be used if specified

This patch fixes both of these issues, so that the default icon first falls back
to the unsized default_icon, and then only if that is not specified falls back
to the dark icon

MozReview-Commit-ID: C3RRTKhYq6r

--HG--
extra : rebase_source : dc10f5c65c763412edbe467bb75aeb4fbcd32ffc
2017-10-08 13:23:33 +01:00
Joel Maher
400ab2eb53 Bug 1350189 - Disable browser/components/extensions/test/browser/test-oop-extensions/browser_ext_tabs_create.js for frequency failures. r=me, a=test-only 2017-10-09 11:10:33 -04:00
Dan Banner
14ad0fcb62 Bug 1395890 - Change all ESLint rules that are warnings to errors. r=standard8
MozReview-Commit-ID: LJS6m1GppiS

--HG--
extra : rebase_source : 4a14e3309b7d554d9a1aa0d26f464e26bec3291e
2017-09-18 19:07:17 +01:00
Tomislav Jovanovic
4328bf904a Bug 1398514 - Use slower documents for executeScript_runAt test r=kmag
MozReview-Commit-ID: 56FMa4sjO3Z

--HG--
rename : browser/components/extensions/test/browser/file_iframe_document.sjs => browser/components/extensions/test/browser/file_slowed_document.sjs
rename : mobile/android/components/extensions/test/mochitest/file_iframe_document.sjs => mobile/android/components/extensions/test/mochitest/file_slowed_document.sjs
extra : rebase_source : 638741cd4031e875d8d818b24adfd475ebb58a97
2017-10-05 19:22:00 +02:00
Wouter Verhelst
4c3b4661b5 Bug 1405709 - Add missing await to browser.pkcs11 test suite r=zombie
MozReview-Commit-ID: GjQu8QzwHkZ

--HG--
extra : rebase_source : 0703f4e703b81f3fb1591d94e231e3d56854909d
2017-10-04 17:39:36 +02:00
Mark Striemer
ff49d47ca1 Bug 1395074 - Clear browserAction tab data on navigation r=mixedpuppy
MozReview-Commit-ID: 4hugj2q84Rd

--HG--
extra : rebase_source : 519303dcd0261acf5945160bc749f03878c00f07
2017-09-26 16:06:06 -05:00
Wouter Verhelst
81a56d6525 Bug 1357391 - Implement a PKCS#11 management API r=kmag,zombie
This WebExtensions API allows to install, remove, and query installed
PKCS#11 modules as well as to query the the status of available PKCS#11
"slots" for a given module.

Reuses the native application manifests from the "Native Messaging" API,
but using the "pkcs11" type rather than the "stdio" type.

All calls expect an application name, which is not the PKCS#11 friendly
name (the "description" field in the manifest file is used for that) but
instead the application name in the manifest file.

MozReview-Commit-ID: 8dHr5QfEaXv

--HG--
extra : rebase_source : 196ff66a8987be1b21463b725a2e207396e5eb0a
2017-08-22 17:59:38 +02:00
Wes Kocher
32225d9fd6 Backed out changeset 82920c8bb33a (bug 1357391) for xpcshell failures in test_ext_pkcs11_management.js a=backout
MozReview-Commit-ID: JUyVhAEDNs0
2017-09-29 11:22:49 -07:00
Wouter Verhelst
39f5c2a463 Bug 1357391 - Implement a PKCS#11 management API r=kmag,zombie
This WebExtensions API allows to install, remove, and query installed
PKCS#11 modules as well as to query the the status of available PKCS#11
"slots" for a given module.

Reuses the native application manifests from the "Native Messaging" API,
but using the "pkcs11" type rather than the "stdio" type. Update the
code for the Native Messaging API to ignore any manifests for the
"pkcs11" type.

All calls expect an application name, which is not the PKCS#11 friendly
name (the "description" field in the manifest file is used for that) but
instead the application name in the manifest file.

MozReview-Commit-ID: 8dHr5QfEaXv

--HG--
extra : rebase_source : 00cc9c6d8433460c93f9c579f1696e4e17d6d3a0
2017-08-22 17:59:38 +02:00
Mike de Boer
882fa06e25 Bug 1401991 - Ensure that we don't hide panelviews that are already reparented to another multi-view and ensure to hide other panels consistently. r=Gijs
* Harden the new `hideAllViewsExcept()` to not do erroneous things if called when
   the binding is already gone.
 * Generalize things into `hideAllViewsExcept(thisOne)`:
    - Clear `_viewShowing` in there and do the descriptionHeightWorkaround thing
      in there too,
    - For Photon panels, do all the 'current' attribute setting in there. To show
      a panel during transition, I introduced the 'in-transition' attribute.
 * I had to make sure not to over-eagerly dispatch 'ViewShowing' events, because
   that confuses some,
 * Move the temporary panel handling, which contains an ephemeral panelmultiview
   instance, internally. This cleans up the hacky, duplicate PanelUI.js code nicely.
 * Keep a local copy of `_transitionDetails` to ensure it's still there after transition,
 * Harden `_cleanupTransitionPhase()` to only clear the phase that belongs to a
   specific transition, _if_ that's passed in as an argument. This resolves any
   potential raciness that might occur when `showSubView()` is called again mid-transition.
 * Skip the UITour element visibility check when it's inside a panelview, because
   too many things need to happen and that check is too simple to be useful in
   that case.

MozReview-Commit-ID: 5HpJKs1Ny5j

--HG--
extra : rebase_source : b810e1de2dbd75932a42d68e751fdaecd9fee69a
2017-09-29 13:51:51 +02:00
Kris Maglione
c10f9821fe Bug 1402503: Follow-up: Make sure we get a new content process for process hang tests. r=bustage
MozReview-Commit-ID: 1CLUQbahE2W
2017-09-27 20:44:30 -07:00
Kris Maglione
fb9f7d6fe8 Bug 1402503: Part 2 - Add test for extension slow script dialog. r=mixedpuppy
MozReview-Commit-ID: BknBhAttKHS

--HG--
extra : rebase_source : c428dcfd2472fe020514a07395f11768d51c7ab5
extra : histedit_source : 44b7dff6bb414ac705736496cf481ab8734dcd3b
2017-09-25 11:49:39 -07:00
Kris Maglione
a32ad146bd Bug 1402944: Part 8 - Avoid X-ray overhead when cloning event handler responses. r=mixedpuppy
MozReview-Commit-ID: 4CHP80WymuA

--HG--
extra : rebase_source : 612b9d38cc0c6c5146b1863f22a40789c7471808
2017-09-23 13:30:52 -07:00
Kris Maglione
32f579d0e3 Bug 1402944: Part 6 - Optimize getBrowserInfo some more. r=mixedpuppy
MozReview-Commit-ID: 8kdeVqKb889

--HG--
extra : rebase_source : 63282fc295a50ef9743b3e6192e2b1ac726af022
2017-09-23 00:50:46 -07:00
Thomas Wisniewski
9c0a07404c Bug 1388428 - Extend browsingData to restrict removing localStorage to a given list of hostnames; r=asuth,bsilverberg
MozReview-Commit-ID: ELgjLHsVLkv

--HG--
extra : rebase_source : 8df793d8484762670e42fff4c3708df2b3ea1ebe
2017-09-25 16:47:38 -04:00
Dale Harvey
5c22c4c93e Bug 1399642 - Use photon search icon in awesomebar. r=dao
MozReview-Commit-ID: Dzf8DqrGRam

--HG--
rename : browser/themes/shared/icons/find.svg => browser/themes/shared/icons/search-glass.svg
extra : rebase_source : 488ba12e63e58d6b04b7cb41b3c9b5aee332def5
2017-09-26 11:13:56 +01:00
Mark Striemer
a84f31e137 Bug 1314674 - Maintain badge style in new windows and customize r=mixedpuppy
MozReview-Commit-ID: 8f99d6Uqtx1

--HG--
extra : rebase_source : 66da5414a5baf68f276915258947c5886e030f7d
2017-09-20 17:27:48 -05:00
Sebastian Hengst
7e36032551 merge mozilla-central to autoland. r=merge a=merge
--HG--
rename : testing/marionette/wait.js => testing/marionette/sync.js
2017-10-09 23:56:28 +02:00
Luca Greco
105baab825 Bug 1385548 - Part 2: Add new test for tab modals created from a WebExtensions options_ui page. r=kmag
MozReview-Commit-ID: BUExkEQLkuR

--HG--
extra : rebase_source : b39b402bcd2b42d608660f83e6ac672606e281cf
2017-09-19 18:30:22 +02:00
Bob Silverberg
8f848ff9df Bug 1381992 - Add some reader mode support to the tabs API, r=mixedpuppy
This adds two properties to the Tab object:

- isArticle indicates whether the document in the tab is likely able to be
  rendered in reader mode.
- isInReaderMode indicates if the document in the tab is being rendered in
  reader mode.

It also adds a toggleReaderMode() which toggles a tab into and out of reader mode.

There is also a new case in which tabs.onUpdated will fire. When the isArticle
status of a tab changes, an onUpdated event will fire with data {isArticle: boolean}.

MozReview-Commit-ID: AaAQ0V5qm2Z

--HG--
extra : rebase_source : f9cbed6dff56781ecd86281cb46f23f0ec8aecf6
2017-09-08 17:00:27 -04:00
Sebastian Hengst
8abbab2bc7 Backed out changeset 4e174306e0b0 (bug 1381992) for e.g. failing chrome's mobile/android/components/extensions/test/mochitest/test_ext_activeTab_permission.html on Android. r=backout 2017-09-25 18:28:58 +02:00
Bob Silverberg
659e58f274 Bug 1381992 - Add some reader mode support to the tabs API, r=mixedpuppy
This adds two properties to the Tab object:

- isArticle indicates whether the document in the tab is likely able to be
  rendered in reader mode.
- isInReaderMode indicates if the document in the tab is being rendered in
  reader mode.

It also adds a toggleReaderMode() which toggles a tab into and out of reader mode.

There is also a new case in which tabs.onUpdated will fire. When the isArticle
status of a tab changes, an onUpdated event will fire with data {isArticle: boolean}.

MozReview-Commit-ID: AaAQ0V5qm2Z

--HG--
extra : rebase_source : 579fccb76358dc0d333409ed81669cf45576e67f
2017-09-08 17:00:27 -04:00
Andrea Marchesini
d2b7163264 Bug 1402270 - Sanitizer and BrowsingData should delete QuotaManager storages using the origin directly and not the origin as pattern, r=janv 2017-09-22 11:52:48 +02:00
Phil Ringnalda
9728bc3636 Merge m-c to m-i
MozReview-Commit-ID: LQmIsTRxble
2017-09-21 20:49:43 -07:00
Wes Kocher
640a5d3c46 Merge m-c to inbound, a=merge
MozReview-Commit-ID: IsEMW5gXG3W
2017-09-21 17:04:36 -07:00
Sebastian Hengst
117f151830 Backed out changeset 7e8e47c972f4 (bug 1397975) for eslint failure at browser/components/extensions/ext-chrome-settings-overrides.js:124: windowTracker is not defined. r=backout 2017-09-21 22:56:07 +02:00
Mike de Boer
f7dd6d2d6d Bug 1401383 - remove anchor state after transition even if the transition is canceled, and always set main view as current, r=Gijs
We weren't removing the 'open' attribute from the anchor if the transition didn't complete.
This patch fixes this by moving the addition of 'open' into _transitionViews, and its removal into
_cleanupTransitionPhase.

MozReview-Commit-ID: TS0CcwsHVN

--HG--
extra : rebase_source : 1bdace324f22ee95002024fe68b572a16dd25aac
2017-09-21 22:18:07 +02:00
Michael Kaply
20d1c205fc Bug 1397975 - Show opt-in dialog for is_default with non built-in engines. r=aswan
MozReview-Commit-ID: 67SvzDcM7kK

--HG--
extra : rebase_source : 93ab53e43be09b0b24bb7c7fcd73c0010fc912a2
2017-09-07 19:38:55 -05:00
Michael Kaply
9b7d4d878e Bug 1397975 - Show opt-in dialog for is_default with non built-in engines. r=aswan
MozReview-Commit-ID: 67SvzDcM7kK

--HG--
extra : rebase_source : 674a8e9e4e3e0769a58ed919f268678cb5af48c7
2017-09-07 19:38:55 -05:00
Bob Silverberg
597114a565 Bug 1375546 - Fix sessions.getRecentlyClosed to consider the current tab history index, r=mikedeboer,mixedpuppy
If the back button is used to navigate a tab backwards in its history, and then the tab is closed,
the current implementation of sessions.getRecentlyClosed does not take this into account and
just uses the last item in the tab history for the values returned for the tab. This patch fixes
this by using the values for the current position of the tab in its history.

MozReview-Commit-ID: LcgtA5FqVWi

--HG--
extra : rebase_source : 3b8cd840fd30305471feec643f77d57378bd40d7
2017-09-19 16:05:33 -04:00
Andrea Marchesini
1477716537 Bug 1333050 - Test for BrowsingData.removeIndexedDB, r=kmag 2017-09-21 21:41:52 +02:00
Andrea Marchesini
680323e92f Bug 1333050 - Introduce BrowsingData.removeIndexedDB, r=kmag, r=janv 2017-09-21 21:41:36 +02:00
Sebastian Hengst
bc68e8f407 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 9Z3Ly8icnvh
2017-09-20 11:48:02 +02:00
Kris Maglione
8a6b0ff3bf Bug 1384078: Prevent enter key from closing extension panels. r=Gijs
MozReview-Commit-ID: DnpiIUc4RkH

--HG--
extra : amend_source : f768acea169a593bf7313a58378ca4b7c84d4e87
2017-09-19 16:37:07 -07:00
Luca Greco
51b5ca0e35 Bug 1401288 - Run remote devtools panel browsers in the right TabGroup. r=aswan
This patch ensures that the devtools panel browser elements are associated to
the same TabGroup of the other extension pages from the same extension.

MozReview-Commit-ID: 40TSPqGfTnz

--HG--
extra : rebase_source : 93c429c5a3277407da648e3efa03717b4bd22fbd
2017-09-19 20:06:02 +02:00
Sebastian Hengst
48545a66e9 Backed out changeset f4c33a37fe6d (bug 1395890) for failing browser-chrome's browser/components/extensions/test/browser/browser_ext_find.js. r=backout on a CLOSED TREE 2017-09-19 16:35:31 +02:00
Nan Jiang
dcc9a5e00a Bug 1352459 - Collect rich icons in ContentLinkHandler. r=mak,Mardak
MozReview-Commit-ID: GrjpuyvY7nm

--HG--
extra : rebase_source : a1800ae9f1626aeeea311ea85c81e50b5dd2094c
2017-09-12 09:47:51 -04:00
Luca Greco
7c23181cbd Bug 1383310 - Extensions Devtools panels should not receive messages or ports from content scripts. r=zombie
MozReview-Commit-ID: B5Hq11Tb3Y0

--HG--
extra : rebase_source : 6f0458a10717dfd4264e56ac66422882ddaaee7f
2017-09-14 16:43:45 +02:00
Dan Banner
d9bd75f0cc Bug 1395890 - Change all ESLint rules that are warnings to errors. r=standard8
MozReview-Commit-ID: LJS6m1GppiS

--HG--
extra : rebase_source : 0428c961831f079a63f345c8d6684b869fbcdecd
2017-09-18 19:07:17 +01:00
Wes Kocher
c36e650732 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 7Z1eEWwhzZC
2017-09-18 16:25:06 -07:00
Joel Maher
8277a708a2 Bug 1398514 - Disable browser/components/extensions/test/browser/test-oop-extensions/browser_ext_tabs_executeScript_runAt.js on windows for frequent failures. r=me, a=test-only 2017-09-18 12:00:26 -04:00
Ryan VanderMeulen
17c17bd036 Merge m-c to inbound. a=merge 2017-09-15 14:20:59 -04:00
Luca Greco
19b7ef8391 Bug 1398729 - Support devtools.panels.elements sidebar.setExpression API method. r=aswan
MozReview-Commit-ID: 2tRLF59o8Bg

--HG--
extra : rebase_source : c0371df9af68cf3332194ed6849525b0620cd8d0
2017-09-09 16:39:17 +02:00
Luca Greco
ad4b833918 Bug 1398729 - Share devtools.inspectedWindow.eval helper methods in ext-devtools API module. r=aswan
MozReview-Commit-ID: 9ezZNjEOdUY

--HG--
extra : rebase_source : 82b6cb645b3b6894f98b17f8a474cf3232b20b34
2017-09-09 15:44:35 +02:00
Nicolas Chevobbe
cd3fe07201 Bug 1399460 - Fix browser_ext_devtools_inspectedWindow_eval_bindings.js failure. r=rpl
The bug was failing because we were calling the server but the connection was already closed.
In order to prevent such things, we check the number of nodes of the tree, and if it has only
one, then we wait on a mutation that will ensure that server calls are done.

MozReview-Commit-ID: 7kHAkYs2I4K

--HG--
extra : rebase_source : 0204960d4ea3cca8bd9614908a730a0d4d6b4e69
2017-09-14 17:59:33 +02:00
Liang-Heng Chen
bb17178a61 Bug 1399409 - Ignore about:blank in awaitBrowserLoaded. r=kmag
MozReview-Commit-ID: 8WoN86Zd6PS
2017-09-13 23:46:00 -04:00
Shane Caraveo
c554e8efa5 Bug 1394947 fix toggling the extension sidebars from menus, r=Gijs
MozReview-Commit-ID: G2LGIzSl9Be

--HG--
extra : rebase_source : a92497efe61b50cdbe6455415b4e6ff460872d0f
2017-09-11 14:48:18 -07:00
Shane Caraveo
aac2ef44df Bug 1399070 move launchWebAuthFlow to parent to fix opening auth window when remote, r=zombie
MozReview-Commit-ID: GAdlxYUM6rr

--HG--
rename : toolkit/components/extensions/ext-c-identity.js => toolkit/components/extensions/ext-identity.js
extra : rebase_source : eaec4890e559e0c969b6d7721ee94dcbda85c4f6
2017-09-14 09:18:27 -07:00
Bob Silverberg
7ab3a9f057 Bug 1366290 - Fix the ordering of tabs.onActivated and tabs.onRemoved, r=kmag
Currently tabs.onActivated (for the tab that becomes active after a tab is removed) fires before
tabs.onRemoved (for the tab that was removed). This is neither the order in which Chrome fires
these events, nor is it the order in which the internal TabSelect and TabClose happen in Firefox.
This bug fixes this so tabs.onActivated fires *after* tabs.onRemoved.

Note that this does introduce an issue in in-process mode, where window.close() will not
trigger a tabs.onRemoved event for the window, but Kris says "Meh" about that.

MozReview-Commit-ID: CrFR3jqL2u5

--HG--
extra : rebase_source : 5cc3d2a138bf812d13779e8ca1188b89ddbcdcc1
2017-05-31 12:01:58 -04:00
Mark Striemer
afefcefd15 Bug 1372996 - Clear the URL bar when on ext newtab r=mixedpuppy
MozReview-Commit-ID: 2NNOK2kRPgl

--HG--
extra : rebase_source : ce37a70b67296d8d5ae86dfa46ce769c4479405e
2017-09-01 09:39:24 -05:00
Luca Greco
d5377bce31 Bug 1374590 - Add a new test case for toolbox dock mode switch with a devtools panel addon. r=aswan
MozReview-Commit-ID: 9Rf0OEdKYQl

--HG--
extra : rebase_source : e7a8113e22140caf14b93a2958a6b25e6c6ce6d8
2017-09-11 19:02:12 +02:00
Luca Greco
aa97a9eb65 Bug 1374590 - Fix changing devtools toolbox dock location while using WebExtension devtools panel. r=aswan
MozReview-Commit-ID: 2O1MoNZXZm0

--HG--
extra : rebase_source : fc986e0a9b100453ee14eb7d10947765a094cfb8
2017-09-11 17:32:05 +02:00
Luca Greco
ff48108bf0 Bug 1374590 - Refactoring ParentDevToolsPanel class to provide create/destroyBrowserElement helper methods. r=aswan,ochameau
MozReview-Commit-ID: FsGlCU0H9VG

--HG--
extra : rebase_source : 8a3711bf01460e572d638a98ca3706312ef51518
2017-09-11 15:49:36 +02:00
Sebastian Hengst
45bab258b7 merge mozilla-central to autoland. r=merge a=merge 2017-09-14 00:11:28 +02:00
Sebastian Hengst
7dd2b068b5 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-13 13:35:21 +02:00
Sebastian Hengst
e4a2f44531 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 9SALJlvWgoZ
2017-09-13 13:32:44 +02:00
Sebastian Hengst
1fbe7771e8 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: GUc4LEY8qp4
2017-09-13 11:27:47 +02:00
Sebastian Hengst
a3ed708553 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-13 11:44:38 +02:00
Christoph Kerschbaumer
e328a6db15 Bug 1397652 - Update tests within browser/ to comply with new toplevel data: URI navigation policy. r=gijs 2017-09-13 06:56:42 +02:00
Luca Greco
86c4053dd2 Bug 1398727 - Fix missing tab title on devtools.panels.elements.createSidebarPane tabs. r=gl
MozReview-Commit-ID: G5F9uEC6izs

--HG--
extra : rebase_source : 1e34ddf1d2ee4fe5db7886d824c4279ffcbc7674
2017-09-09 18:23:52 +02:00
Sebastian Hengst
ecf716b8bb merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: CmMBcpJapLy
2017-09-12 11:35:15 +02:00
Mike de Boer
aa0c3dc278 Bug 1374749 - Animate the panelviews differently to make it look as if the view to show is pushing the previous view out of the panel. r=jaws
MozReview-Commit-ID: Dy6UppV3xDH

--HG--
extra : rebase_source : 1c970efaa0b7162450d79f37633afacaadc8d19e
2017-09-12 21:33:25 +02:00
Wes Kocher
7c80405558 Backed out changeset 5ed9b657a1ce (bug 1352459) for xperf failures a=backout CLOSED TREE
MozReview-Commit-ID: 9XmmBsTf39a
2017-09-12 18:06:16 -07:00
Luca Greco
d83e387d9b Bug 1397196 - Fix pageAction icon loading when an extension has a cached browserAction theme-based icon. r=mixedpuppy
MozReview-Commit-ID: Lmi5pLerzul

--HG--
extra : rebase_source : 9c3eb11e65b03c43bb8f30f5f19a904770f82356
2017-09-06 12:40:45 +02:00
Sebastian Hengst
be553422dd merge mozilla-central to autoland. r=merge a=merge 2017-09-13 11:30:55 +02:00
Tomislav Jovanovic
38c090ab9e Bug 1394553 - Part 1: Implement "devtools" permission r=aswan
MozReview-Commit-ID: 89XUmZUhC65

--HG--
extra : rebase_source : 3921d9c5908fdb9e4956b3534976bfb1bef00a00
2017-09-04 21:49:40 +02:00
Kris Maglione
8921830f3b Bug 1398630: Part 5 - User iteration helpers for nsISimpleEnumerator. r=zombie
MozReview-Commit-ID: Iw25XozakK0

--HG--
extra : rebase_source : 4e88954bece9293acb168c79b096dafaed6ad7c9
2017-09-10 15:35:46 -07:00
Kris Maglione
daa3085d2b Bug 1398630: Part 3 - Use document.docShell rather than longer/slower XPC paths. r=zombie
MozReview-Commit-ID: 5oD0Uvv1pvx

--HG--
extra : rebase_source : 977b6df718df231082f1c7594f25d954cfa50a5f
2017-09-11 14:53:20 -07:00
Sebastian Hengst
bd180901c7 merge mozilla-central to autoland. r=merge a=merge 2017-09-10 23:17:36 +02:00
Shane Caraveo
73b473d1aa Bug 1385630 fix extension sidebar restore after app update, r=Gijs
MozReview-Commit-ID: IR0UDJgrp58

--HG--
extra : rebase_source : 6bb066650a94c3991e05c72ff3fb28cdb0e5a021
2017-09-10 13:36:54 -07:00
Kris Maglione
cea09f3f8f Bug 1397448: Part 2 - Speed up about:addon child frame checks. r=mixedpuppy
MozReview-Commit-ID: 4wLw0KnQvsT

--HG--
extra : rebase_source : 0b9695a25a7051a606ff5ed08cfbdc7229057e19
2017-09-08 17:11:13 -07:00
Sebastian Hengst
3c3aa7ed62 Backed out changeset 39a94e16a369 (bug 1034036)
MozReview-Commit-ID: IcSi7Zbp96e
2017-09-09 12:58:33 +02:00
Bob Silverberg
bad1c19a1b Bug 1397383 - Add loadReplace option to tabs.update, r=mixedpuppy
This adds a loadReplace option into the updateOptions object for tabs.update()
which, when set to true, will cause the loading of the new URL to replace the
current URL in the tab's history.

MozReview-Commit-ID: KZTuEl7cgb0

--HG--
extra : rebase_source : 24f006fe197f56b3102cb00e226d53036b9ba93b
2017-09-08 08:31:39 -04:00
Kris Maglione
b055a02b6f Bug 1399216: Move HiddenFrame.jsm to testing-common. r=Mossop,glandium
MozReview-Commit-ID: GTBRCYEoYq2

--HG--
extra : rebase_source : 927843056383ab238a4f3b6d8e3f6eefce5400b1
2017-09-12 11:56:57 -07:00
Tomislav Jovanovic
3dce599c63 Bug 1394348 - Fix document_idle run_at timing r=kmag
MozReview-Commit-ID: FBPlw6CiUE2

--HG--
extra : rebase_source : b72037e7ce600eafb15de639ec7e98e8abb580b3
2017-09-08 00:36:50 +02:00
Beekill95
72ce1c7a57 Bug 1034036 - Part 3: Tests that use set state should wait until window is restored to continue. r=mikedeboer
MozReview-Commit-ID: 5SZ9ePGMKF1

--HG--
extra : rebase_source : 0078e02a310374b5f54b68e17c824367547b0cc5
2017-08-15 14:45:08 +07:00
Nan Jiang
f94db93911 Bug 1352459 - Collect rich icons in ContentLinkHandler. r=mak,Mardak
MozReview-Commit-ID: GrjpuyvY7nm

--HG--
extra : rebase_source : a1800ae9f1626aeeea311ea85c81e50b5dd2094c
2017-09-12 09:47:51 -04:00
Sebastian Hengst
71854680c0 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-08 00:07:48 +02:00
Shane Caraveo
64c09f5ee2 Bug 1380597 - Ensure the url can be loaded by the extension. r=kmag
MozReview-Commit-ID: GH31FlHxpVu
2017-09-07 17:09:40 -04:00
Bob Silverberg
43c7b2e3ed Bug 1397081 - Update browserSettings to report the current home page and new tab page in all cases, r=mixedpuppy
This updates the browserSettings API to report the current value of the home page and the new tab page regardless of whether they are currently overridden by an extension.

MozReview-Commit-ID: 3usY3F4oIxl

--HG--
extra : rebase_source : f8a04b4d7e70db7133c664d60cd46f8b4cd5471f
2017-09-05 16:11:04 -04:00
Gijs Kruitbosch
fd7064ce6b Bug 1374315 - fix CSS overflow:hidden in overflow panel and page action panel to fix rounded corners, r=mikedeboer
MozReview-Commit-ID: B5lHCaAMvyu

--HG--
extra : rebase_source : 4b0995e4ef6558ad418c8782f4bdfdf5cba1f91d
2017-08-15 13:03:33 +01:00
Mark Striemer
0875bd29d9 Bug 1374463 - Show extension identity when controlling newtab r=mixedpuppy
MozReview-Commit-ID: 2phlLhlAvGd

--HG--
extra : rebase_source : 7459d7efe0cb06ae64f25004fde2affd85292de3
2017-08-31 12:23:48 -05:00
Bob Silverberg
ab10610842 Bug 1293853 - Part 3: Add support for separators to bookmarks API, r=mixedpuppy
This adds support for separators to the bookmarks API. Separators can now be created
and will be returned by any method that returns BookmarkTreeNodes. They will also be
included in data for the onCreated and onRemoved events.

BookmarkTreeNodes will now contain a `type` property which will be one of bookmark,
folder or separator. When creating a bookmark object, one can specify the type, or one
can rely on the Chrome-compatible behaviour which treats any bookmarks without a URL
as a folder. To create a separator one must specify a type as part of the CreateDetails
object.

MozReview-Commit-ID: BoyGgx8lMAZ

--HG--
extra : rebase_source : 95a06fe81d21d660aeecbd86b71ca6bbcd66eb10
2017-08-28 17:05:55 -04:00
Kris Maglione
a2ec0b79b6 Bug 1396017: Redact window titles without the appropriate tabs permissions. r=mixedpuppy
MozReview-Commit-ID: 2QJYvJlqt9l

--HG--
extra : rebase_source : 33c4670a0eded6e0af4f931a1ac4cd57f6115995
extra : amend_source : 915bfac6f2c05024acd840c8fa9e282bfc31c296
2017-09-01 12:20:10 -07:00
Kevin Jones
c103f1eb75 Bug 1377733 - Add discarded property to tabs.Tab on desktop. r=zombie, r=kmag
--HG--
extra : histedit_source : 618b98850265ef2d26695366d023459e6d0cd2a7
2017-08-31 16:14:26 -06:00
Gijs Kruitbosch
c47048d751 Bug 1385630 - Backed out changeset d159686d279c for regressing bug 1374048, rs=mixedpuppy
MozReview-Commit-ID: BkV6C3m7LWx

--HG--
extra : rebase_source : 2537cd400cf6622c365a67d8c9e9e3236f6f023d
2017-09-01 17:22:40 +01:00
Sebastian Hengst
d04d8633ad Bug 1313372 - Disable browser/components/extensions/test/browser/browser_ext_browserAction_popup.js on linux32 debug: Fix test annotationsyntax. r=bustage-fix on a CLOSED TREE 2017-08-31 20:47:02 +02:00
Joel Maher
0c0c7c019b Bug 1313372 - Disable browser/components/extensions/test/browser/browser_ext_browserAction_popup.js on linux32 debug. r=gbrown 2017-08-31 13:50:13 -04:00
Lee Bousfield
c9deae8e08 Use extension ID instead of URL UUID for tab.mutedInfo (bug 1391168) r=kmag
MozReview-Commit-ID: 4U2oDzli9oX

--HG--
extra : rebase_source : cf32733f026e7d3b9b22c4bc2eeb13317b1b8ad0
2017-08-17 20:29:36 -06:00
Sebastian Hengst
ca3d97b658 merge mozilla-central to autoland. r=merge a=merge 2017-08-29 20:31:58 +02:00
Wes Kocher
d03d9bee49 Merge m-c to inbound, a=merge
MozReview-Commit-ID: BJmeuDcuHke
2017-08-28 17:45:07 -07:00
Kevin Jones
6fd6a2a03c Bug 1322060 - Extension API to store persistent values on window/tab using get/set/remove methods. r=kmag, r=bsilverberg
--HG--
extra : amend_source : f241d6ac188e840549fa858ed477d4ab5b0ee894
2017-08-27 16:42:00 -04:00
Bob Silverberg
e98081a6dd Bug 1322308 - Allow WebExtensions to read the overriden homepage and newTab values, r=mixedpuppy
This introduces browser.browserSettings.homepageOverride and browser.browserSettings.newTabPageOverride
which will return the values of the overridden home page and the overridden new tab page.

These browserSettings are read-only.

MozReview-Commit-ID: A9vJP2QIaoA

--HG--
rename : browser/components/extensions/test/browser/browser_ext_url_overrides_home.js => browser/components/extensions/test/browser/browser_ext_chrome_settings_overrides_home.js
extra : rebase_source : 7c3fc91a5ca489b909a8b60d5b4a882180a0276e
2017-07-17 14:16:02 -04:00
Wes Kocher
68149d6a59 Merge inbound to central, a=merge
MozReview-Commit-ID: 3N9jinnrmjb
2017-08-25 16:21:57 -07:00
Ryan VanderMeulen
4a6e771437 Bug 1332144 - Fix no-extra-semi ESLint failure in ext-find.js. r=me 2017-08-25 15:39:39 -04:00
Luca Greco
631994bd76 Bug 1377401 - Fix devtools.inspectedWindow test intermittent. r=aswan
MozReview-Commit-ID: ICghVmM5q5F

--HG--
extra : rebase_source : c14f72a9edfb3793124e106263a69fd374e40844
2017-08-24 13:11:52 +02:00
Kevin Jones
841456a51c Bug 1332144 - Add browser.find extension API. r=mikedeboer, r=mixedpuppy
Provides access to the browser's internal Find APIs.  Can search,
get range data and rect data on found results, and highlight results.

--HG--
extra : amend_source : dfa2b36794543378db58e411ca4e317a64921831
2017-08-24 18:24:00 -04:00
Michael Kaply
4fc473da9c Bug 1378882 - Support is_default for built-in engines only. r=mixedpuppy
MozReview-Commit-ID: C4iM2boQhK3

--HG--
extra : rebase_source : b29b61ffdddcb30ee5d3a9456c0fd9b285d4f03b
2017-07-18 11:28:33 -05:00
Sebastian Hengst
ee9a2c2c54 Backed out changeset 5d5c1a6c3f3a (bug 1378882) for eslint failures at ext-chrome-settings-overrides.js:37 and ext-chrome-settings-overrides.js:37. r=backout 2017-08-24 18:28:02 +02:00
Michael Kaply
daf2df6528 Bug 1378882 - Support is_default for built-in engines only. r=mixedpuppy
MozReview-Commit-ID: C4iM2boQhK3

--HG--
extra : rebase_source : d1d0b629184c28e6ddd9d0e46ed783d5b767e77a
2017-07-18 11:28:33 -05:00
Dão Gottwald
10caf949d2 Bug 1390359 - Replace faded out (i) icon with a search icon when the location bar is empty or modified. r=adw
MozReview-Commit-ID: 8Q6MeB1XuyD

--HG--
extra : rebase_source : 5152c5077e951afad4932b938e4022c3704d2a05
2017-08-24 09:30:39 +02:00
Wes Kocher
e3d5db5c9a Backed out changeset df24976c2a46 (bug 1390359) for test_chrome_element_css.py failures a=backout
MozReview-Commit-ID: I0zHTpanBS0
2017-08-24 00:13:25 -07:00
Dão Gottwald
3e3744e717 Bug 1390359 - Replace faded out (i) icon with a search icon when the location bar is empty or modified. r=adw
MozReview-Commit-ID: BQJ8ZiFAzco

--HG--
extra : rebase_source : f42aa26361094f6b072975a7bd86f10b9960e7c6
2017-08-23 09:41:48 +02:00
Shane Caraveo
dee4aba6b9 Bug 1385630 ensure elements are attached to all windows before onReady, r=Gijs
MozReview-Commit-ID: Jb0t9FREsTh

--HG--
extra : rebase_source : 962ca0771c121b40d5763843514fc65b0ea1b99b
2017-08-23 09:13:55 -07:00
Dão Gottwald
fc65927e70 Bug 1391017 - Use a .bookmark-item placeholder for the bookmarks toolbar items in the toolbar while customizing. r=Gijs
MozReview-Commit-ID: JB9OSshDLKy

--HG--
extra : rebase_source : 2eded7e6868e231ae5ac91a693848cc42a221236
2017-08-23 13:01:06 +02:00
Julian Descottes
d9fd1ad2a1 Bug 1392531 - add test for devtools extensions using inspected window from panel;r=rpl
MozReview-Commit-ID: F1ZXG9JoySr

--HG--
extra : rebase_source : 4d65d40201313a53539e6d0a73fb4f1b085a8f01
2017-08-22 16:32:14 +02:00
Julian Descottes
68384c971b Bug 1392531 - create dedicated tab target instance for web-extensions;r=jdescottes
MozReview-Commit-ID: G7EOfYnZuZw

--HG--
extra : rebase_source : f363f9cb0027b20d9c8c5cb684af3b295b9ad289
2017-08-22 16:31:44 +02:00
Luca Greco
e401b67d1c Bug 1382487 - Fix devtools onSelectionChanged API event test case intermittency. r=aswan
MozReview-Commit-ID: GvljckBZpgN

--HG--
extra : rebase_source : 2bd4f32bee4078df8e87f963ccab20d1c43db54d
2017-08-15 17:08:27 +02:00
Luca Greco
43ae29fe27 Bug 1341305 - Implement devtools.panels.elements.createSidebarPane and sidebar's setObject APIs. r=aswan
MozReview-Commit-ID: 2OhNuUWY9CP

--HG--
extra : rebase_source : 1d9186f6c3e67891647351c7e660d3c3b6627ebc
2017-07-24 16:58:55 +02:00