Граф коммитов

25 Коммитов

Автор SHA1 Сообщение Дата
Rob Wu 6a8bd50325 Bug 1393570 - Support cookieStoreId in windows.create extension API r=Gijs,rpl
Other (internal API) changes besides extension API changes:

- This also introduces support for opening a window with multiple tabs
  in a non-default container tab.

- This also adds LOAD_FLAGS_DISALLOW_INHERIT_PRINCIPAL to the
  gBrowser.loadTabs call, unless allowInheritPrincipal is set.
  For backwards-compatibility, this flag defaults to true.

Depends on D4928

Differential Revision: https://phabricator.services.mozilla.com/D4929

--HG--
extra : moz-landing-system : lando
2018-09-19 10:57:48 +00:00
Coroiu Cristina 38507750b2 Backed out 2 changesets (bug 1393570) for build bustage on linux on a CLOSED TREE
Backed out changeset 23f496cd8a42 (bug 1393570)
Backed out changeset e41e69aa9eb5 (bug 1393570)
2018-09-12 20:40:27 +03:00
Rob Wu 3d83d6e742 Bug 1393570 - Support cookieStoreId in windows.create extension API r=Gijs,rpl
Other (internal API) changes besides extension API changes:

- This also introduces support for opening a window with multiple tabs
  in a non-default container tab.

- This also adds LOAD_FLAGS_DISALLOW_INHERIT_PRINCIPAL to the
  gBrowser.loadTabs call, unless allowInheritPrincipal is set. Currently
  there are no callers that set this flag, but in case it's desired,
  I added an opt-in via window.arguments[10] in browser.xul/js.

  For single-argument URLs, the flag is an opt-out, since there are
  multiple callers that rely on principal inheritance (bug 1475201).

Depends on D4928

Differential Revision: https://phabricator.services.mozilla.com/D4929

--HG--
extra : moz-landing-system : lando
2018-09-12 15:15:22 +00:00
Oriol Brufau 77bb63790b Bug 1419132 - Deprecate windowTypes for windows.get, windows.getCurrent and windows.getLastFocused r=mixedpuppy
MozReview-Commit-ID: DsaZy3EnXs6

--HG--
extra : rebase_source : dcacbfa86ce8cb07ec05c882e7b13689c72c794e
2018-05-09 23:32:39 +02:00
Oriol Brufau 0836d04660 Bug 1457673 - Support WINDOW_ID_CURRENT in browser.windows.remove r=mixedpuppy
MozReview-Commit-ID: LkjDD2U9knB

--HG--
extra : rebase_source : 027b33ef40a057fbb9db2c5f7ecb64883d6d090d
2018-05-01 03:25:41 +02:00
Bob Silverberg 456985f68e Bug 1333376 - Support reading the title and setting the title preface of a Window object, r=aswan
Implements a title property on the Window object, and allows for a titlePreface to be set
both via windows.create and via windows.update.

MozReview-Commit-ID: CaWwPN0utzs

--HG--
extra : rebase_source : 20d4310063bc37fccb1a1fe68b5d67ec2cc0e433
2017-07-05 16:53:10 -04:00
Bob Silverberg e00cb0986f Bug 1261963 - createData should be optional for browser.windows.create, r=aswan
MozReview-Commit-ID: GCPFx4kuH9r

--HG--
extra : rebase_source : d11923479d028ee72b0ea92cffc930d1360f559b
2017-02-08 11:32:31 -05:00
Bob Silverberg 799141376a Bug 1308058 - Implement sessions.getRecentlyClosed WebExtensions API, r=aswan
MozReview-Commit-ID: 7AKfMil3Dr4

--HG--
extra : rebase_source : a8a6c35e329c699eea523f1dad794e1106681719
2016-10-25 16:09:28 -04:00
Sebastian Hengst e9bafabd96 Backed out changeset 15760cbfa77a (bug 1308058) for almost permafailing browser_ext_sessions.js on Linux debug in e10s mode. r=backout a=backout
MozReview-Commit-ID: 6uhHHvTHguG
2016-11-05 11:12:19 +01:00
Bob Silverberg 7083cbf0d9 Bug 1308058 - Implement sessions.getRecentlyClosed WebExtensions API, r=aswan
MozReview-Commit-ID: 7AKfMil3Dr4

--HG--
extra : rebase_source : 075f74835aff7f9937d3f456714c64b9a31168db
2016-10-25 16:09:28 -04:00
Kris Maglione a4e557a57b Bug 1289273: Resolve URLs passed to windows.create relative to the caller. r=aswan a=al
MozReview-Commit-ID: 3TUIK6EvO3q

--HG--
extra : rebase_source : cccf23ce3edc1543f15223c677645c42be0ff7a6
extra : histedit_source : 42bdc39ad4c4bdc01e3d094f8d62eae11f3532ba
2016-10-05 20:27:06 +01:00
Tomislav Jovanovic 0c231aa27e bug 1301227 - add allowScriptsToClose option to windows.create(), r=kmag
MozReview-Commit-ID: 4p8A1y2FALX

--HG--
extra : rebase_source : 5be607adae5c5eb8de8061a76461d1c056786161
2016-09-23 23:40:24 +02:00
Kris Maglione a4884b4563 Bug 1288085: Remove spurious "windows" permission. r=me
MozReview-Commit-ID: Cce7PLJJGPY
2016-08-08 11:12:59 -07:00
Kris Maglione 8706c945fd Bug 1253133: [webext] Support changing window geometry via windows.update. r=aswan
MozReview-Commit-ID: LQGXyB9WuiI

--HG--
extra : rebase_source : 840ec6f25eb4409383b6e0c7a43ba03dc3cddf9b
2016-03-22 23:13:11 +01:00
Kris Maglione 5c47b4916d Bug 1253130: [webext] Support the `alwaysOnTop` in the browser.windows API. r=gabor
MozReview-Commit-ID: FNBCsDt0UT8

--HG--
extra : rebase_source : 80ec6a949237e4e59b17a9a9b31b5001d9f09606
2016-03-22 23:11:35 +01:00
Tom Schuster 7fe37de259 Bug 1253134 - Support drawAttention in browser.windows.update. r=kmag 2016-03-17 12:59:11 +01:00
Tom Schuster 1f813aa1a3 Backed out changeset 41042ab2e4bc (wrong patch) 2016-03-16 15:02:26 +01:00
Tom Schuster 2fe587fac4 Bug 1223634 - Support exclude_globs/include_globs in webext manifests. r=kmag 2016-03-16 14:59:20 +01:00
Kris Maglione d53da79b1c Bug 1253128: [webext] Support type=popup in the browser.windows API. r=billm
MozReview-Commit-ID: ALgprY2w7w9

--HG--
extra : rebase_source : 3608b83eb0538f1ff90a65ee064e2df544abddac
2016-03-03 18:44:18 -08:00
Kris Maglione ebd03d7771 Bug 1253132: [webext] Support window states in browser.windows APIs. r=billm
MozReview-Commit-ID: LIw6swRAB3h

--HG--
extra : rebase_source : ab313986de1b12e9a38d341da16c8338cc3ea5e5
2016-03-05 09:59:35 -08:00
Kris Maglione eb18e4d151 Bug 1234020: Part 2k - [webext] Return promises from the windows API. r=rpl
--HG--
extra : commitid : 7aWMMY5x2Jw
extra : rebase_source : 5209f8fca41a347fd5cba62c2e5be2a84d7f82db
2016-02-01 18:28:00 -08:00
Kris Maglione 278a332b02 Bug 1225715: Part 5 - Add schema for extension manifests. r=billm
This currently forbids unknown top-level schema properties, and unknown
permissions. In the future, I'd like to make those warnings rather than
errors, for compatibility purposes, but I think errors are fine for now.

--HG--
extra : commitid : 9jGEwCU9AhR
extra : rebase_source : db16f1e5f9962fb7b24c0e52c05832ae646a57c2
2016-01-30 10:27:02 -08:00
Bill McCloskey 505a9bb407 Bug 1208257 - [webext] windows.json (r=kmag) 2015-12-06 08:50:24 -08:00
Phil Ringnalda 39a033069a Backed out 7 changesets (bug 1208257) for b2g emulator mochitest and reftest and b2g desktop Gu startup hangs
CLOSED TREE

Backed out changeset c074d2c82fd1 (bug 1208257)
Backed out changeset b0110c958530 (bug 1208257)
Backed out changeset 256b993d4ffc (bug 1208257)
Backed out changeset 5af1998a1366 (bug 1208257)
Backed out changeset a1c13811fea4 (bug 1208257)
Backed out changeset 53004d642d8d (bug 1208257)
Backed out changeset a23147905fb3 (bug 1208257)
2015-12-02 22:21:36 -08:00
Bill McCloskey 7dc7358738 Bug 1208257 - [webext] windows.json (r=kmag) 2015-12-02 20:26:49 -08:00