Commit Graph

1076 Commits

Author SHA1 Message Date
Luca Greco
8c05041220 Bug 1300590 - Implement support for $0 and inspect bindings in devtools.inspectedWindow.eval. r=aswan,ochameau
MozReview-Commit-ID: CHuc57tfgzo
2017-02-15 14:54:50 +01:00
Geoff Brown
6cf42f5a8c Bug 1348639 - requestLongerTimeout for test browser_ext_optionsPage_browser_style.js; r=mattw,mixedpuppy 2017-05-31 07:38:27 -06:00
Ryan VanderMeulen
8624c7df43 Backed out 4 changesets (bug 1357490) for causing frequent xpcshell timeouts.
Backed out changeset 916250167bc8
Backed out changeset c2a286511a6c
Backed out changeset 9cc319bef82d
Backed out changeset 29443725aebb
2017-05-30 12:36:43 -04:00
Carsten "Tomcat" Book
4a73993467 merge mozilla-inbound to mozilla-central + UPGRADE_NSS_RELEASE a=merge 2017-05-30 11:37:46 +02:00
Kris Maglione
59ba2a8a5e Bug 1365660: Part 5b - Enable compositing for popups with remote content on Windows. r=bas
MozReview-Commit-ID: GzpCBUnVkdY
2017-05-29 14:58:48 -07:00
Kris Maglione
f14112537f Bug 1357490: Part 2: Run browser xpcshell tests in both in-process and OOP modes. r=aswan
MozReview-Commit-ID: 1ogotK4j3cy
2017-05-29 14:10:27 -07:00
Phil Ringnalda
47e31541cc Backed out 2 changesets (bug 1357490) for promise chain failed to handle a rejection QI failures
CLOSED TREE

Backed out changeset 3737f31a7ec3 (bug 1357490)
Backed out changeset 33f6f0354ade (bug 1357490)

MozReview-Commit-ID: 2Q4bUrnntlZ
2017-05-29 16:34:00 -07:00
Kris Maglione
679752df82 Bug 1357490: Part 2: Run browser xpcshell tests in both in-process and OOP modes. r=aswan
MozReview-Commit-ID: 1ogotK4j3cy
2017-05-29 14:10:27 -07:00
Geoff Brown
b4abd4adbe Bug 1352668 - Skip test browser_ext_browserAction_popup_preload.js on win-opt; r=me,test-only
Test has been failing frequently on Windows since May 12.
2017-05-29 10:36:39 -06:00
Paolo Amadini
e2ac328f74 Bug 1242505 - Part 3 - Detect unhandled rejections of native Promises in browser-chrome tests. r=Mossop
The browser-chrome test suite now detects and reports unhandled rejections of native Promises, in addition to those created by Promise.jsm. The whitelisting mechanism is updated to use primarily the PromiseTestUtils.expectUncaughtRejection function. Tests will fail if a rejection that is not whitelisted occurs, or if a whitelisted rejection does not occur anymore.

MozReview-Commit-ID: 1beGB5GG8Ty
2017-05-28 11:46:45 +01:00
Sebastian Hengst
d3e7375d07 Backed out changeset 8d53be05afc5 (bug 1242505) 2017-05-28 11:31:12 +02:00
Paolo Amadini
0c75b3612c Bug 1242505 - Part 3 - Detect unhandled rejections of native Promises in browser-chrome tests. r=Mossop
The browser-chrome test suite now detects and reports unhandled rejections of native Promises, in addition to those created by Promise.jsm. The whitelisting mechanism is updated to use primarily the PromiseTestUtils.expectUncaughtRejection function. Tests will fail if a rejection that is not whitelisted occurs, or if a whitelisted rejection does not occur anymore.

MozReview-Commit-ID: 1beGB5GG8Ty
2017-05-25 15:00:35 +01:00
Matthew Wein
af9d2254bd Bug 1330369 - Part 3 - Add unit tests for sidebar.browser_style r=mixedpuppy
MozReview-Commit-ID: 9ILOY3s5pci
2017-05-16 22:48:38 -04:00
Shane Caraveo
e6eb930b6f Bug 1365637 place WE sidebars into the photon sidebar dropdown, r=Gijs,mattw
MozReview-Commit-ID: 3ZM9mXjEbWh
2017-05-29 15:20:48 -07:00
Bob Silverberg
8f7ddf916b Bug 1349896 - Part 2: Implement devtools.panels.themeName API property, f?rpl r=mixedpuppy
MozReview-Commit-ID: 8uN2VBIyYyt
2017-05-11 08:54:02 -04:00
Bob Silverberg
2addc83c48 Bug 1364546 - Set the children property for BookmarkTreeNodes without children, r=mixedpuppy
BookmarkTreeNodes without children do not contain a children property, but they should actually
contain a children property which is an empty array. This is what Chrome does as well.

This patch fixes that, and includes a test for a case of getChildren that was previously
untested, which I noticed when working on this code.

MozReview-Commit-ID: CjUwExma760
2017-05-23 15:16:10 -04:00
Johann Hofmann
44c917c82c Bug 1337492 - Split up identity icon into SVG files to avoid slow load on hover. r=jwatt
We know that using multiple SVGs in a single file with :not(:target)
is slower than splitting that file up into several files (see bug 1358998).

This patch attempts to fix an issue where the identity icon will
briefly flicker when hovered the first time by splitting the SVG file up.

MozReview-Commit-ID: 2FJeBvKxKmn
2017-05-22 16:20:42 +02:00
Ben Kelly
4ee13a7ef6 Bug 1366791 Make browser_ext_geckoProfiler_symbolicate.js wait for prefs to be written. r=mstange 2017-05-23 07:30:57 -07:00
Matthew Wein
74f2a47192 Bug 1351418 - Put single checkbox items into submenu on linux r=mixedpuppy
MozReview-Commit-ID: 9swHS0yEoDg
2017-05-15 13:20:41 -04:00
Rob Wu
b00bde8edf Bug 1299053 - Ensure that background pages have windowId -1 in browser.extension.getViews r=aswan
MozReview-Commit-ID: HdayD0JrIBm
2017-04-23 13:03:11 +02:00
Rob Wu
22824f113e Bug 1299053 - support tabId in browser.extension.getViews r=aswan
MozReview-Commit-ID: Ep6pdUdbhmc
2017-04-23 13:01:34 +02:00
Rob Wu
24755d9637 Bug 1299053 - Refactor test/browser/browser_ext_getViews r=aswan
I want to add more tests, based on tabId.
Adding more positional arguments makes the code less readable,
so I moved the check for windowId to a separate method.

MozReview-Commit-ID: 2aTtMftoCZX
2017-04-23 12:44:59 +02:00
Mark Banner
9fc03b12e9 Bug 1365412 - Clean up various ESLint global definitions in browser/. r=mossop
MozReview-Commit-ID: JqAm9x1XGCM
2017-05-16 22:22:42 +01:00
Matthew Wein
947bca800c Bug 1266012 - Add identity indication for the moz-extensions scheme r=mixedpuppy
MozReview-Commit-ID: BtbRGPJbsHs
2017-05-10 15:14:15 -04:00
Marco Bonardo
266b05cbf9 Bug 1344924 - Contextual onboarding for search suggestions in the awesomebar. r=adw
Make the onboarding being opt-in or opt-out depending on the default value of the
browser.urlbar.sugges.searches pref.
In both cases respect userMadeSearchSuggestionChoice though, so we won't further nag users that
made a choice already.

MozReview-Commit-ID: D4rRMRbdMrW
2017-04-05 15:01:02 +02:00
Carsten "Tomcat" Book
f216cbd3b4 Backed out changeset 720c38d9052e (bug 1344924) for crashes at [@ mozilla::net::nsSocketTransport::InitiateSocket] 2017-05-17 10:56:57 +02:00
Marco Bonardo
4d6b9940f4 Bug 1344924 - Contextual onboarding for search suggestions in the awesomebar. r=adw
Make the onboarding being opt-in or opt-out depending on the default value of the
browser.urlbar.sugges.searches pref.
In both cases respect userMadeSearchSuggestionChoice though, so we won't further nag users that
made a choice already.

MozReview-Commit-ID: D4rRMRbdMrW
2017-04-05 15:01:02 +02:00
Shane Caraveo
75f6a84aa8 Bug 1360796 fix intermittent assert, r=mattw
MozReview-Commit-ID: IEQeZ6NwVsz
2017-05-15 14:40:10 -07:00
Tomislav Jovanovic
6fd8d981f9 Bug 1362047 - Fix default value for content script run_at, add tests r=mixedpuppy
MozReview-Commit-ID: CiBaSkZ0TqQ
2017-05-10 02:00:29 +02:00
Florian Quèze
b2499a4c57 Bug 1353542 - smaller script-generated patch converting remaining generators that are likely tasks (actual generators were identified by hand and whitelisted), r=Mossop. 2017-05-12 14:45:01 +02:00
Florian Quèze
ff53eb9a63 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Dão Gottwald
3cb52f881d Bug 1364090 - Detach the reload and stop buttons from the location bar. r=johannh
MozReview-Commit-ID: Ltp6EghiI44
2017-05-11 19:16:05 +02:00
Markus Stange
ee5fa46e90 Bug 1362800 - Expose geckoProfiler.getProfileAsArrayBuffer. r=kmag
MozReview-Commit-ID: 7uFPWAhh25L
2017-05-11 00:32:46 -04:00
Wes Kocher
871bb96369 Backed out 2 changesets (bug 1362800) for eslint failures a=backout
Backed out changeset 0492e6f16df1 (bug 1362800)
Backed out changeset 785cf0c4b67b (bug 1362800)

MozReview-Commit-ID: EY2RYz7lwtI
2017-05-10 14:42:49 -07:00
Markus Stange
5c68ac2882 Bug 1362800 - Expose geckoProfiler.getProfileAsArrayBuffer. r=kmag
MozReview-Commit-ID: 7uFPWAhh25L
2017-05-10 17:09:51 -04:00
Kris Maglione
d90dddf7d5 Bug 1362224: requestAnimationFrame before changing browserAction/pageAction buttons. r=aswan
MozReview-Commit-ID: H9Eq7z5L4Xq
2017-05-05 14:56:19 -07:00
Shane Caraveo
4611875e9c Bug 1336908 implement management APIs needed for theme management, r=aswan
MozReview-Commit-ID: 8tZpCE3nXGr
2017-05-04 11:40:02 -07:00
Martin Giger
c7cdc77246 Bug 1299371 - Show context menu in WebExtension popups; r=mixedpuppy
MozReview-Commit-ID: 5bty8uurFns
2017-02-19 11:02:14 +01:00
Doug Thayer
d28db54125 Bug 1337545 - Use keydown event for keycodes in commands r=kmag
When you create a <key> element, which is what the commands API
does under the hood to allow keyboard shortcuts, the event type
that the handler listens to defaults to keypress. For printable
characters, the keyCode property of a keypress event is 0,
causing keycode bindings for these printable characters to not
work. We could use key for these properties, but the shift key
interacts with the key property in ways that make it simpler to
simply fix the keycode usage for our purposes.

MozReview-Commit-ID: HdWdN7cMfuq
2017-05-01 13:49:18 -07:00
Bob Silverberg
fff108b9ea Bug 1261963 - createData should be optional for browser.windows.create, r=aswan
MozReview-Commit-ID: GCPFx4kuH9r
2017-02-08 11:32:31 -05:00
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