Commit Graph

586 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
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
Marco Bonardo
5fea7a77a8 Bug 1354681 - Intermittent timeout in browser_ext_omnibox.js. r=mattw
MozReview-Commit-ID: 5gc6IvkMfXt
2017-04-10 12:18:28 +02: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
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
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
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
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
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
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
Tushar Saini (:shatur)
ca4bc56154 Bug 1280582 - Implement browser.history.onTitleChanged. r=bsilverberg,mixedpuppy
MozReview-Commit-ID: jzil9lDYnN
2017-03-08 21:18:19 +05:30
Florian Queze
451928e614 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Sebastian Hengst
f75839c723 Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze
61aabdf237 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Kris Maglione
2461e0c579 Bug 1346607: Follow-up: Fix intermittent failure on Windows. r=me
MozReview-Commit-ID: 9tfJ4ekq7BR
2017-03-23 21:18:42 -07:00
Kris Maglione
a48a112588 Bug 1346607: Begin speculative preload of popups on hover. r=mixedpuppy
Ideally we'd try to detect hover intent here, but the preload is relatively
cheap, so I don't think we have much to lose by starting out simple.

MozReview-Commit-ID: 7pjiohGMJVc
2017-03-11 19:05:09 -08:00
Kris Maglione
74034f0817 Bug 1335180: Fix race in browser_ext_tabs_reload_bypass_cache. r=mixedpuppy
MozReview-Commit-ID: FXqRHwZUll6
2017-03-14 09:20:17 -07:00
Shane Caraveo
ca388f6f17 Bug 1318791 support internal commands to open actions from context menus, r=kmag
MozReview-Commit-ID: 8haLmxc81BM
2017-03-22 10:25:25 -07:00
Mark Banner
ec9074e132 Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws
MozReview-Commit-ID: LH0CQOPfoe6
2017-03-20 12:36:37 +01:00
Luca Greco
00ac3a3d48 Bug 1345722 - Split webNavigation onCreatedNavigationTarget tests to prevent them to fail intermittently. r=mixedpuppy
MozReview-Commit-ID: 9s8qgBrpAfz
2017-03-20 19:38:36 +01:00
Tomislav Jovanovic
d4b3c25736 Bug 1339559 - Identify script that resulted in non-structured-clonable data r=kmag
MozReview-Commit-ID: AURB4Qpwimh
2017-03-13 09:04:45 +01:00