Commit Graph

788 Commits

Author SHA1 Message Date
Tomislav Jovanovic
d84d4dcf9b Bug 1359704 - "page" context items should not appear in "tab" context r=mixedpuppy
MozReview-Commit-ID: 9Lz8ZzzbNhq
2017-04-27 15:59:32 +02:00
Alexandre Poirot
208511b0d3 Bug 1356231 - Use toolkit EventEmitter.jsm instead of devtools module. r=mossop
MozReview-Commit-ID: 49JI7NtLwKK
2017-04-27 17:58:09 +02:00
Doug Thayer
c8eb3cc7f1 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
2017-04-11 09:03:40 -07:00
Bob Silverberg
b7d71cb291 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
2017-04-26 10:18:41 -04:00
Bob Silverberg
8687267bad 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
2017-03-06 13:55:03 -05:00
Iris Hsiao
79335d532a Backed out changeset e08459e83d3f (bug 1299371) for multiple mochitests time out 2017-04-24 16:19:59 +08:00
Matthew Wein
913573d431 Bug 1339250 - Fix error caused by ending an input session immediately after the session is started r=robwu
MozReview-Commit-ID: Gz9B468NTI1
2017-02-14 12:02:40 +00:00
Martin Giger
9e3d6b883e Bug 1299371 - Show context menu in WebExtension popups; r=mixedpuppy
MozReview-Commit-ID: 5bty8uurFns
2017-02-19 11:02:14 +01:00
Mark Banner
5ab31ba811 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
2017-04-20 20:48:16 +01:00
Wes Kocher
a76c3859c5 Merge m-c to inbound, a=merge
MozReview-Commit-ID: Cb0b59wJ0vy
2017-04-21 17:35:24 -07:00
Kris Maglione
2fb27009e1 Bug 1358415: Don't trigger reflow just to compute tab geometry. r=aswan
MozReview-Commit-ID: DnFSbDfOskT
2017-04-21 13:22:34 -07:00
Wes Kocher
e66b36fd81 Merge inbound to m-c a=merge 2017-04-19 17:10:04 -07:00
Tushar Saini (:shatur)
428e824e9c Bug 1337509 - Do not create tab objects with an unsupported 'selected' property. r=bsilverberg,mixedpuppy
MozReview-Commit-ID: 4Bi6LdNUxMo
2017-04-18 22:07:38 +05:30
Joel Maher
12505893fc Bug 1355088 - add BUG_COMPONENT to browser/* files. r=mossop
MozReview-Commit-ID: 88mDTdI0oN7
2017-04-19 08:11:47 -04:00
Joel Maher
2e6572623e 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
a76fde59da merge mozilla-inbound to mozilla-central a=merge 2017-04-18 10:21:31 +02:00
Wes Kocher
aa48997b1e Merge m-c to inbound, a=merge 2017-04-17 13:03:40 -07:00
Thomas Wisniewski
90a1179be9 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
7cb80138f0 Bug 1342207 - chrome.tabs.onActivated does not fire for new windows, r=kmag
MozReview-Commit-ID: D9Nwd9lc57x
2017-04-04 09:43:50 -04:00
Sebastian Hengst
cf93ded4fa merge mozilla-central to autoland. r=merge a=merge 2017-04-15 20:08:03 +02:00
Sebastian Hengst
a1e759a614 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JpAhOPjgvkF
2017-04-15 19:59:24 +02:00
Shane Caraveo
8d79eea464 Bug 1353073 handle contextmenu in sidebar when remote=true, r=kmag
MozReview-Commit-ID: BSmPhaNYmYe
2017-04-15 10:30:44 -07:00
Florian Queze
ddf0cda8da 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
a1ec030ef0 Backed out changeset fc91bd1a27a7 (bug 1353073) for eslint failures a=backout 2017-04-15 00:33:34 -07:00
Shane Caraveo
879fbe7c86 Bug 1353073 handle contextmenu in sidebar when remote=true, r=kmag
MozReview-Commit-ID: GDAd2jYrlf6
2017-04-14 15:15:37 -07:00
Shane Caraveo
faa7c87b80 Bug 1350597 fix reload/upgrade of sidebar addon, r=kmag
MozReview-Commit-ID: FcC7zJn1ka5
2017-04-14 17:01:23 -07:00
Shane Caraveo
ffd2a266fa Bug 1331507 remove release/beta restriction on injecting sidebar button, r=kmag
MozReview-Commit-ID: 9pzyaWQGFn5
2017-04-14 13:40:35 -07:00
Wes Kocher
74eee0ab05 Merge m-c to autoland, a=merge 2017-04-13 17:35:34 -07:00
Kris Maglione
e6a8ac0beb Bug 1355120: Get rid of top-level window ID tracking. r=aswan
MozReview-Commit-ID: y7DzMxXBot
2017-04-12 14:12:22 -07:00
Andy McKay
230cfc0e67 bug 1323311 make tabs.move on multiple tabs more reliable r=kmag
MozReview-Commit-ID: 9o4huF1f60g
2017-04-10 11:18:04 -07:00
Kris Maglione
35ce65b3d6 Bug 1357137: Make sure all content scripts for the same page load into the same sandbox. r=mixedpuppy
MozReview-Commit-ID: xB8kZ2KZdz
2017-04-17 10:24:43 -07:00
Zibi Braniecki
8c433fc56a 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
2017-03-11 18:43:11 -08:00
Sebastian Hengst
017c2ee2bf 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
64bae2dccf 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
2017-03-11 18:43:11 -08:00
Iris Hsiao
445627dd15 Backed out changeset efb859759339 (bug 1323311) for eslint failure 2017-04-10 11:12:20 +08:00
Andy McKay
3e6e882d0c bug 1323311 make tabs.move on multiple tabs more reliable r=kmag
MozReview-Commit-ID: 9o4huF1f60g
2017-04-07 16:52:00 -07:00
Sebastian Hengst
cd36d1bb46 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IkoXCAwjjKu
2017-04-08 22:49:04 +02:00
kernp25
e42851c3cc Bug 1339416 - contextMenus.OnClickData should have the frameId. r=mixedpuppy 2017-04-04 12:00:16 +02:00
Johann Hofmann
6f157e5a1c 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
2017-04-06 11:00:11 +02:00
Mark Banner
7945b07153 Bug 1342459 - Enable no-undef on browser/base, and clean up unnecessary no-undef references. r=mossop
MozReview-Commit-ID: KVrAnAjMD1E
2017-04-03 11:46:56 +01:00
Phil Ringnalda
5a455001b6 Backed out changeset 0a3044dc01d2 (bug 1354342) for eslint bustage 2017-04-06 20:26:36 -07:00
Andy McKay
bb84219010 bug 1354342 allow a relativeUrl for homepage r=mixedpuppy
MozReview-Commit-ID: 86V6vFjO66C
2017-04-06 17:12:57 -07:00
Andy McKay
1d724214ed bug 1354342 allow a relativeUrl for homepage r=mixedpuppy
MozReview-Commit-ID: 86V6vFjO66C
2017-04-07 09:14:08 -07:00
Tomislav Jovanovic
06b6ba54d3 Bug 1328758 - Better error messages for tabs.executeScript r=kmag
MozReview-Commit-ID: PQhltZVepj
2017-04-02 01:05:37 +02:00
Kris Maglione
52b67bf633 Bug 1350522: Part 7 - Merge pageAction/browserAction/sidebarAction/commands helper classes into API instances. r=aswan
MozReview-Commit-ID: 6aRQ1uybAmg
2017-03-26 18:42:59 -07:00
Kris Maglione
ef300362e4 Bug 1350522: Part 6 - Cleanup per-api-instance state logic. r=aswan
MozReview-Commit-ID: 5ixBA34fvFf
2017-03-25 11:36:56 -07:00
Kris Maglione
937291f42b Bug 1350522: Part 4 - Convert browser APIs to lazy loading. r=aswan
MozReview-Commit-ID: BQoWF9nHOuF
2017-04-02 11:59:55 -07:00
Gijs Kruitbosch
4d22728a9a Bug 1356030 - move HiddenFrame.jsm to toolkit, r=kmag
MozReview-Commit-ID: DUuYqamNMdT
2017-04-13 11:42:56 +01:00
Sebastian Hengst
f26e7bf11f Backed out changeset 7b1f88583896 (bug 1342207) for frequently failing browser_ext_tabs_onHighlighted.js. r=backout 2017-04-13 18:09:13 +02:00
Bob Silverberg
8c6b21c565 Bug 1342207 - chrome.tabs.onActivated does not fire for new windows, r=kmag
MozReview-Commit-ID: D9Nwd9lc57x
2017-04-04 09:43:50 -04:00