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
Tomislav Jovanovic
7246699e3e
Bug 1359704 - "page" context items should not appear in "tab" context r=mixedpuppy
...
MozReview-Commit-ID: 9Lz8ZzzbNhq
--HG--
extra : rebase_source : 8e66c4cfcccde065bbad74efeb5c3d549d23e2ec
2017-04-27 15:59:32 +02:00
Alexandre Poirot
c90bccb53a
Bug 1356231 - Use toolkit EventEmitter.jsm instead of devtools module. r=mossop
...
MozReview-Commit-ID: 49JI7NtLwKK
--HG--
extra : rebase_source : 7fb015f56be94c4bbe2d56506653f069c9ad8dd3
2017-04-27 17:58:09 +02:00
Doug Thayer
979585d6ed
Bug 1326572 - Provide an API for nsIProfiler r=kmag,mstange
...
In order to rewrite the Gecko Profiler add-on as a WebExtension,
we need an API for the profiler which allows us to control the
nsIProfiler, and symbolicate the stacks that it provides. This
is the implementation of the simpler parts of that API.
TODO:
- Support profiling of remote targets through a new devtools
API.
- Support the dump_syms breakpad code which was asm.js in the
old extension by directly calling into native code.
- Figure out a faster way to send the large volume of data from
getSymbols all the way from our extension down to the content
process and then into the page's context.
MozReview-Commit-ID: JzDbV4l2eXd
--HG--
extra : rebase_source : fee9acfaa522372c22c61f9b0f1cab13d5da2a86
2017-04-11 09:03:40 -07:00
Bob Silverberg
9e0ccac709
Bug 1359806 - Fix sessions.restore to return an object instead of an array, r=mixedpuppy
...
sessions.restore should always have returned an object, but landed returning an array.
MozReview-Commit-ID: EMP9UZaI6UV
--HG--
extra : rebase_source : 433a39c36aa186029255c45e642b0a56ae0300b2
2017-04-26 10:18:41 -04:00
Bob Silverberg
99b1794055
Bug 1344087 - Update browser_ext_sessions_getRecentlyClosed_tabs.js to use a URL with an identical title, r=mixedpuppy
...
This is to confirm that the fix that landed in https://bugzilla.mozilla.org/show_bug.cgi?id=1344857
MozReview-Commit-ID: 7pndTsHxn1b
--HG--
extra : rebase_source : 195365fae2ebb8878ec14e88749a9a56d11784e0
2017-03-06 13:55:03 -05:00
Iris Hsiao
b38be6eedc
Backed out changeset e08459e83d3f (bug 1299371) for multiple mochitests time out
2017-04-24 16:19:59 +08:00
Matthew Wein
e4c65a0681
Bug 1339250 - Fix error caused by ending an input session immediately after the session is started r=robwu
...
MozReview-Commit-ID: Gz9B468NTI1
--HG--
extra : rebase_source : 628be1212a4859f1937fd0e863ebee2ba65d8903
2017-02-14 12:02:40 +00:00
Martin Giger
03dd157689
Bug 1299371 - Show context menu in WebExtension popups; r=mixedpuppy
...
MozReview-Commit-ID: 5bty8uurFns
--HG--
extra : rebase_source : 3c56af748921fc1917f4e5c994ed472e9758eb27
2017-02-19 11:02:14 +01:00
Mark Banner
f10153a407
Bug 1358213 - Give WebExtension created menuitems in the context menu an ID. r=kmag
...
This matches the rest of the context menu and is better for unit tests.
MozReview-Commit-ID: 509HH4wnClN
--HG--
extra : rebase_source : 61456ee75f75baefd38fd9dd53e9cce9b7e3fefa
2017-04-20 20:48:16 +01:00
Wes Kocher
4a05296446
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: Cb0b59wJ0vy
2017-04-21 17:35:24 -07:00
Kris Maglione
f5b580e5e9
Bug 1358415: Don't trigger reflow just to compute tab geometry. r=aswan
...
MozReview-Commit-ID: DnFSbDfOskT
--HG--
extra : rebase_source : e6829657b250fa8ec893b3e73b7d9956dfe34424
extra : amend_source : f20cfab374b29b7d3475579a0fe5e11ab2e6dcb4
2017-04-21 13:22:34 -07:00
Wes Kocher
cb8ce82cca
Merge inbound to m-c a=merge
2017-04-19 17:10:04 -07:00
Tushar Saini (:shatur)
163e27b705
Bug 1337509 - Do not create tab objects with an unsupported 'selected' property. r=bsilverberg,mixedpuppy
...
MozReview-Commit-ID: 4Bi6LdNUxMo
--HG--
extra : rebase_source : 52baba39e08bc9d250ace3f4b46a591d7f641d47
2017-04-18 22:07:38 +05:30
Joel Maher
6af97db02d
Bug 1355088 - add BUG_COMPONENT to browser/* files. r=mossop
...
MozReview-Commit-ID: 88mDTdI0oN7
2017-04-19 08:11:47 -04:00
Joel Maher
58b4255414
Bug 1354681 - Intermittent browser/components/extensions/test/browser/test-oop-extensions/browser_ext_omnibox.js. temporarily disable on debug and asan. r=gbrown
...
MozReview-Commit-ID: LJaepBjFxfE
2017-04-18 12:34:41 -04:00
Carsten "Tomcat" Book
bb87f43c09
merge mozilla-inbound to mozilla-central a=merge
2017-04-18 10:21:31 +02:00
Wes Kocher
b53f4d8806
Merge m-c to inbound, a=merge
2017-04-17 13:03:40 -07:00
Thomas Wisniewski
886e74cea3
Bug 1334266 - Add support for WebExtension APIs browser.sessions.{forgetClosedTab|forgetClosedWindow}. r=bsilverberg, r=mixedpuppy
2017-04-07 23:30:36 -04:00
Bob Silverberg
c608331f52
Bug 1342207 - chrome.tabs.onActivated does not fire for new windows, r=kmag
...
MozReview-Commit-ID: D9Nwd9lc57x
--HG--
extra : rebase_source : 65ff7814eaddd00acaf0ce88bd96309448a6d003
2017-04-04 09:43:50 -04:00
Sebastian Hengst
cfea98eabf
merge mozilla-central to autoland. r=merge a=merge
2017-04-15 20:08:03 +02:00
Sebastian Hengst
8bd051237a
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: JpAhOPjgvkF
2017-04-15 19:59:24 +02:00
Shane Caraveo
b5b8babab9
Bug 1353073 handle contextmenu in sidebar when remote=true, r=kmag
...
MozReview-Commit-ID: BSmPhaNYmYe
--HG--
extra : rebase_source : 28bfeba3128e6e344b819b9b24aa37c9ea767118
2017-04-15 10:30:44 -07:00
Florian Queze
4c6a68d1c9
Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj.
2017-04-14 18:29:12 +02:00
Wes Kocher
4aaf266707
Backed out changeset fc91bd1a27a7 (bug 1353073) for eslint failures a=backout
2017-04-15 00:33:34 -07:00
Shane Caraveo
beeff82ee3
Bug 1353073 handle contextmenu in sidebar when remote=true, r=kmag
...
MozReview-Commit-ID: GDAd2jYrlf6
--HG--
extra : rebase_source : 22a4244d55975513bdfc288c94cf112fcd0e90fd
2017-04-14 15:15:37 -07:00
Shane Caraveo
fd8887b9cd
Bug 1350597 fix reload/upgrade of sidebar addon, r=kmag
...
MozReview-Commit-ID: FcC7zJn1ka5
--HG--
extra : rebase_source : 860e43a19619acaaf4762c5810d489dab1d6ef73
2017-04-14 17:01:23 -07:00
Shane Caraveo
da56d950c3
Bug 1331507 remove release/beta restriction on injecting sidebar button, r=kmag
...
MozReview-Commit-ID: 9pzyaWQGFn5
--HG--
extra : rebase_source : 1b22a1be71e1081cd36020ed7a29f6ce4d2f0840
2017-04-14 13:40:35 -07:00
Wes Kocher
20dd5f52c2
Merge m-c to autoland, a=merge
2017-04-13 17:35:34 -07:00
Kris Maglione
307bb6e57e
Bug 1355120: Get rid of top-level window ID tracking. r=aswan
...
MozReview-Commit-ID: y7DzMxXBot
--HG--
extra : rebase_source : 0c68bc16eaa016bc7d0e228a95e10d9348dda59f
2017-04-12 14:12:22 -07:00
Andy McKay
a51c96851d
bug 1323311 make tabs.move on multiple tabs more reliable r=kmag
...
MozReview-Commit-ID: 9o4huF1f60g
--HG--
extra : rebase_source : 392718783a20d59860cf8315b1687985799f076e
2017-04-10 11:18:04 -07:00
Kris Maglione
c279528885
Bug 1357137: Make sure all content scripts for the same page load into the same sandbox. r=mixedpuppy
...
MozReview-Commit-ID: xB8kZ2KZdz
--HG--
extra : amend_source : 05eb10e99b8cd1a2857c53750d6fb928d6100d7f
2017-04-17 10:24:43 -07:00
Zibi Braniecki
a1a4f0b7c9
Bug 1346616 - Migrate callsites that are retrieving requested locale from pref, to use LocaleService::GetRequestedLocales. r=jfkthame,Pike
...
I'm adding a helper function mozILocaleService::GetRequestedLocale to simplify
most of the callsites that are looking for the first of the requested locales.
In most cases, I'm just matching the behavior of the code with reusing
LocaleService API instead of direct manipulation on the prefs.
That includes how I handle error case scenarios.
In case of sdk/l10n/locale.js I am reusing LocaleService heuristics over
the custom one from the file since the ones in LocaleService are just
more correct and unified accross the whole platform.
In case of FallbackEncoding I have to turn it into a nsIObserver to listen
to intl:requested-locales-changed.
MozReview-Commit-ID: 7rOr2CovLK
--HG--
extra : rebase_source : 883a91b249b6953b7872bfb9a8851e8be7257c7b
2017-03-11 18:43:11 -08:00
Sebastian Hengst
7b30105d39
Backed out changeset 60d72c2dd49d (bug 1346616) for eslint failure in DirectoryLinksProvider.jsm. r=backout on a CLOSED TREE
2017-04-18 00:48:16 +02:00
Zibi Braniecki
cce53c69bc
Bug 1346616 - Migrate callsites that are retrieving requested locale from pref, to use LocaleService::GetRequestedLocales. r=jfkthame,Pike
...
I'm adding a helper function mozILocaleService::GetRequestedLocale to simplify
most of the callsites that are looking for the first of the requested locales.
In most cases, I'm just matching the behavior of the code with reusing
LocaleService API instead of direct manipulation on the prefs.
That includes how I handle error case scenarios.
In case of sdk/l10n/locale.js I am reusing LocaleService heuristics over
the custom one from the file since the ones in LocaleService are just
more correct and unified accross the whole platform.
In case of FallbackEncoding I have to turn it into a nsIObserver to listen
to intl:requested-locales-changed.
MozReview-Commit-ID: 7rOr2CovLK
--HG--
extra : rebase_source : 2f166cf1746f389a035f7cf557edcadeacb10fa0
2017-03-11 18:43:11 -08:00
Iris Hsiao
adc828742f
Backed out changeset efb859759339 (bug 1323311) for eslint failure
2017-04-10 11:12:20 +08:00
Andy McKay
0cfe55b71e
bug 1323311 make tabs.move on multiple tabs more reliable r=kmag
...
MozReview-Commit-ID: 9o4huF1f60g
--HG--
extra : rebase_source : 53e7b0830f7ee3ce7b99bea39d2ae7e2967596fb
2017-04-07 16:52:00 -07:00
Sebastian Hengst
6a5fe3bae0
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: IkoXCAwjjKu
2017-04-08 22:49:04 +02:00
kernp25
656efd183a
Bug 1339416 - contextMenus.OnClickData should have the frameId. r=mixedpuppy
2017-04-04 12:00:16 +02:00
Johann Hofmann
9cd3d14848
Bug 1337772 - Part 2 - Explicitly trigger a mousedown event before opening the context menu in browser_context_menu.js. r=MattN
...
MozReview-Commit-ID: ADTskzMoK9t
--HG--
extra : rebase_source : 6133986c9e3c470f6e2fb3c5a172a82c0f07fd8a
2017-04-06 11:00:11 +02:00
Mark Banner
585bf398ea
Bug 1342459 - Enable no-undef on browser/base, and clean up unnecessary no-undef references. r=mossop
...
MozReview-Commit-ID: KVrAnAjMD1E
--HG--
extra : rebase_source : 7a9651c055e2c6e959d42d08e5be9de2e2265346
2017-04-03 11:46:56 +01:00
Phil Ringnalda
3654f8f62b
Backed out changeset 0a3044dc01d2 (bug 1354342) for eslint bustage
2017-04-06 20:26:36 -07:00
Andy McKay
da7650dff2
bug 1354342 allow a relativeUrl for homepage r=mixedpuppy
...
MozReview-Commit-ID: 86V6vFjO66C
--HG--
extra : rebase_source : b6017ed9a4f50008d20fc6c5684a70a4a740aef7
2017-04-06 17:12:57 -07:00
Andy McKay
9d4cc67f87
bug 1354342 allow a relativeUrl for homepage r=mixedpuppy
...
MozReview-Commit-ID: 86V6vFjO66C
--HG--
extra : rebase_source : e692822b0b60ac553b63671406c8f6ffd7a06714
2017-04-07 09:14:08 -07:00
Tomislav Jovanovic
357f3dea5b
Bug 1328758 - Better error messages for tabs.executeScript r=kmag
...
MozReview-Commit-ID: PQhltZVepj
--HG--
extra : rebase_source : 1e18dc65864bcc715436a3ff003d2279a6e7b087
2017-04-02 01:05:37 +02:00
Kris Maglione
6a150bced4
Bug 1350522: Part 7 - Merge pageAction/browserAction/sidebarAction/commands helper classes into API instances. r=aswan
...
MozReview-Commit-ID: 6aRQ1uybAmg
--HG--
extra : source : 069dbaa8300ef045b157d6fa081829d4b2a77cd5
extra : histedit_source : 03f0e98ac60626380247f3b8b3bf8afec67548b3
2017-03-26 18:42:59 -07:00
Kris Maglione
56c459b23c
Bug 1350522: Part 6 - Cleanup per-api-instance state logic. r=aswan
...
MozReview-Commit-ID: 5ixBA34fvFf
--HG--
extra : source : 650808cfe044339ceae30dbd79ef931330f78049
extra : histedit_source : 30316d0b7321bdceaf93fa9dde096579b6251354
2017-03-25 11:36:56 -07:00
Kris Maglione
e6d84db845
Bug 1350522: Part 4 - Convert browser APIs to lazy loading. r=aswan
...
MozReview-Commit-ID: BQoWF9nHOuF
--HG--
rename : browser/components/extensions/ext-desktop-runtime.js => browser/components/extensions/ext-browser.js
extra : source : 7fd4ade8811856e835506310a57725dbd355c786
extra : histedit_source : c1775902971f858bfaa386977ca8d579c0ce3c61%2C489e3ed33d4c1bb47c3afbe30849b42e83771f48
2017-04-02 11:59:55 -07:00
Gijs Kruitbosch
519b14ab26
Bug 1356030 - move HiddenFrame.jsm to toolkit, r=kmag
...
MozReview-Commit-ID: DUuYqamNMdT
--HG--
rename : browser/modules/HiddenFrame.jsm => toolkit/modules/HiddenFrame.jsm
extra : rebase_source : 7624e178fd2ba0ca9ba6d624ff2d18156e8d90fe
2017-04-13 11:42:56 +01:00
Sebastian Hengst
c037a153ff
Backed out changeset 7b1f88583896 (bug 1342207) for frequently failing browser_ext_tabs_onHighlighted.js. r=backout
2017-04-13 18:09:13 +02:00