Commit Graph

1568 Commits

Author SHA1 Message Date
Greg Tatum
0cf317d3e7 Bug 1447338 - Add thread "responsiveness" as a configurable feature to the Gecko Profiler; r=mstange
MozReview-Commit-ID: KTJRvQzUwsf
2018-03-28 15:28:54 -05:00
Rob Wu
8af3a68015 Bug 1461115 - Emit menus.onShown even if there is no tab r=mixedpuppy
MozReview-Commit-ID: 6Bc7HHvaCRW
2018-05-18 13:55:09 +02:00
Andreea Pavel
b449d7ce91 Backed out changeset 42abedd98732 (bug 1460910) for failing browser chrome at browser/components/extensions/test/browser/test-oop-extensions/browser_ext_sidebarAction.js on a CLOSED TREE 2018-05-18 22:59:25 +03:00
Michael Kaply
4f627c3c26 Bug 1460910 - Allow sidebar to be closed at install. r=mixedpuppy
MozReview-Commit-ID: 5UWW7DNQKzr
2018-05-18 10:30:04 -05:00
Michael Kaply
edbe31c3ec Bug 1461805 - Don't show doorhanger for distribution add-ons. r=aswan,mstriemer
MozReview-Commit-ID: GjtVOWO8UFg
2018-05-15 15:26:39 -05:00
Nan Jiang
8e8ea76383 Bug 1425494 - Make browser-open-newtab-start notify with extra info. r=dmose,mstriemer
MozReview-Commit-ID: EjDFjUvreEp
2018-05-16 11:15:47 -04:00
Mark Banner
a6205d63b1 Bug 1461997 - Enable ESLint rule mozilla/require-expected-throws-or-rejects for browser/components. r=Gijs
MozReview-Commit-ID: JXqwIyF6v6k
2018-05-16 20:23:06 +01:00
Brindusan Cristian
081f5f9312 Backed out changeset 35089098baf8 (bug 1447338) for mochitest chrome failures on test_perf-settings-features.html CLOSED TREE 2018-05-17 19:48:34 +03:00
Cosmin Sabou
ce49f3b5fd Merge mozilla-central to autoland. a=merge 2018-05-17 18:29:40 +03:00
Gabriel Luong
f206a1bb57 Bug 1433718 - Enable 3 pane inspector in nightly and make unit tests pass. r=pbro 2018-05-04 09:38:47 -04:00
Oriol Brufau
c88d606d92 Bug 1461130 - Don't convert filtered out windows in windows.getAll r=mixedpuppy
MozReview-Commit-ID: 2NkBIq5J4VF
2018-05-12 20:54:01 +02:00
Greg Tatum
9f7ab95fbb Bug 1447338 - Add thread "responsiveness" as a configurable feature to the Gecko Profiler; r=mstange
MozReview-Commit-ID: KTJRvQzUwsf
2018-03-28 15:28:54 -05:00
Ciure Andrei
5b0bcecd77 Backed out changeset 134bf057ca61 (bug 1447338) for Android build bustages on builds/worker/workspace/build/src/tools/profiler/core/platform.cpp a=backout CLOSED TREE 2018-05-17 01:54:07 +03:00
Greg Tatum
a2801c7af3 Bug 1447338 - Add thread "responsiveness" as a configurable feature to the Gecko Profiler; r=mstange
MozReview-Commit-ID: KTJRvQzUwsf
2018-03-28 15:28:54 -05:00
Markus Stange
8ad5132afe Bug 1461056 - Remove browser_ext_geckoProfiler_symbolicate test. r=dthayer
The thing that it's testing is being removed.
I couldn't think of something that I could replace the test with. Maybe once we have
bug 1457481 we can check in an actual ELF binary and check that we're dumping its
symbol table correctly.

MozReview-Commit-ID: 9AXUwqPrivl
2018-05-14 23:41:43 -04:00
Markus Stange
45abeb5b6b Bug 1461056 - Remove haveAbsolutePath and tweak some error messages. r=dthayer
MozReview-Commit-ID: IyQIyNaKBy3
2018-05-14 16:03:24 -04:00
Markus Stange
cdc646de29 Bug 1461056 - Remove unneeded function urlForSymFile. r=dthayer
MozReview-Commit-ID: 4OZws4zihDq
2018-05-14 23:37:18 -04:00
Markus Stange
ad74e2e76a Bug 1461056 - Remove the "remoteBreakpad" symbol rule, because it's no longer needed. r=dthayer
MozReview-Commit-ID: 6c2hWCtZ0UH
2018-05-11 23:18:44 -04:00
Oriol Brufau
cab069859d Bug 1419132 - Deprecate windowTypes for windows.get, windows.getCurrent and windows.getLastFocused r=mixedpuppy
MozReview-Commit-ID: DsaZy3EnXs6
2018-05-09 23:32:39 +02:00
Luca Greco
8e799efe94 Bug 1451795 - Move lazy devtools initialization helper into a static method of the ExtensionAPI. r=aswan
MozReview-Commit-ID: KOxQcgsKXoB
2018-04-11 18:36:05 +02:00
Marco Bonardo
3c03d8e82f Bug 834541 - Remove the public History.hasHistoryEntries synchronous API. r=standard8
MozReview-Commit-ID: KJW9YNwoSZb
2018-05-08 10:26:36 +02:00
Jared Wein
db7b884c93 Bug 1459066 - Overflow menu WebExtension subview header should use the default browser styling instead of the extension's styling. r=mixedpuppy
MozReview-Commit-ID: EtQ6VS5OH0e
2018-05-07 13:06:46 -04:00
Mark Striemer
2bf1582449 Bug 1455040 - Enable tab hiding API by default r=mixedpuppy
MozReview-Commit-ID: HtzpV7bySeY
2018-05-07 12:27:41 -05:00
Shane Caraveo
a2bd2efef7 Bug 1449700 refactor addTab/moveTabTo patterns, r=aswan,dao
Calculate all positioning of the tab during addTab to avoid extraneous events and to provide an accurate tab id during TabOpen.

MozReview-Commit-ID: AgcrAJ9hotF
2018-04-26 10:38:18 -05:00
Marco Bonardo
1f42ed0f31 Bug 1354531 - Remove PlacesUtils.asyncHistory to make History internals access less convenient. r=standard8
MozReview-Commit-ID: K9oQTJbVAZF
2018-05-03 15:08:06 +02:00
Mark Striemer
0789fc45b3 Bug 1438363 - Show a doorhanger when an extension first hides a tab r=aswan,dao
MozReview-Commit-ID: DQCr3SSaZTV
2018-04-24 09:07:32 -05:00
Oriol Brufau
7a86e036f2 Bug 1457673 - Support WINDOW_ID_CURRENT in browser.windows.remove r=mixedpuppy
MozReview-Commit-ID: LkjDD2U9knB
2018-05-01 03:25:41 +02:00
Michael Ratcliffe
9e44b893f6 Bug 1456923 - can't switch to dev-tools add-on that is loaded temporarily r=pbro
MozReview-Commit-ID: EOw2S34zqPa
2018-04-30 15:57:39 +01:00
Kris Maglione
fd7e9e6a69 Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
This also removes any redundant Ci.nsISupports elements in the interface
lists.

This was done using the following script:

acecb401b7/processors/chromeutils-generateQI.jsm

MozReview-Commit-ID: AIx10P8GpZY
2018-04-22 20:55:06 -07:00
Daisuke Akatsuka
64b0108981 Bug 1455573 - Part 1: Introduce extensionId to the tool definition for web extension. r=rpl
MozReview-Commit-ID: Fu6EfU71LHO
2018-04-27 06:29:04 +09:00
Rob Wu
a6a15124ab Bug 1399348 - Explicitly wait and check for error in test browser_ext_tabs_executeScript_bad r=rpl
I think that the intermittent error in the bug may be caused by
a pending executeScript call that is somehow handled around the
shutdown of the extension.

To verify this hypothesis, the test now explicitly waits for the
result of the first executeScript call before executing the last
script that is responsible for test completion.

The test should explicitly be checking for the error anyway.

And clean up comments and add reference to bug 1435100 in an
existing comment.

MozReview-Commit-ID: 6gV30Z6zQc4
2018-04-23 15:28:41 +02:00
Rob Wu
77a949f94f Bug 1392067 - Disconnect open extension ports when the message manager goes away
- Previously, if a port is disconnected by the other end, then memory
  would be leaked to `ProxyMessenger.ports` in ExtensionParent.jsm.
  To fix this, the port descriptor is now saved separately, keyed by
  port ID instead of message manager.

- Previously, when a message manager was disconnected (e.g. window
  closed/tab crashed), the port is disconnected only if the port was
  created from that page.
  This patch adds bookkeeping to keep track of the message managers at
  both the sender and receiver's side, so that the port is always
  disconnected when the other side goes away.

- The new test browser_ext_port_disconnect_on_crash.js checks whether
  the ports are disconnected as expected. Previously, the subtest
  connect_from_tab_to_bg_and_crash_tab failed because of the previous
  point.

- Although not as deterministic as the crash test, the new
  browser_ext_port_disconnect_on_window_close.js reproduces the original
  test failure and serves as a regression test for the bug.

- Previously, the data structure in ProxyMessenger.ports contained
  the original `sender` and `recipient`. For the purpose of sending
  port disconnection messages, these are not necessary and therefore
  they have been removed.

- Fix incorrect JSDoc (type of portId is number, not string)

MozReview-Commit-ID: BoaKRVAUKuq
2018-04-25 22:31:03 +02:00
Kris Maglione
b3990a2d91 Bug 1456686: Part 1 - Fix unused and shadowed explicit imports. r=standard8
These issues were previously ignored due to the nature of our global import
rules. They need to be fixed before that rule can be updated.

MozReview-Commit-ID: DCChktTc5TW
2018-04-24 20:18:09 -07:00
Brindusan Cristian
d891135dee Merge inbound to mozilla-central. a=merge 2018-04-25 00:50:59 +03:00
Stefan Hindli
9e4c3200db Bug 1381305 - disable browser_ext_user_events.js for frequent failures on Linux. r=jmaher 2018-04-24 02:01:00 +03:00
Oriol Brufau
83995b1abf Bug 1390464 - Add windowId parameter in sidebarAction methods r=mixedpuppy
MozReview-Commit-ID: eSJnVzpNvO
2018-01-28 20:46:24 +01:00
Cosmin Sabou
3defe315fd Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-20 01:38:32 +03:00
Kris Maglione
59b2dd801c Bug 1454813: Part 2b - Rename SpawnTask.js to AddTask.js. r=florian
The old name no longer makes sense, since it no longer exports an spawn_task
symbol, and add_task is what we really care about.

MozReview-Commit-ID: IE7B8Czv8DH
2018-04-18 11:43:45 -07:00
Mike de Boer
84755893e0 Bug 1034036 - Part 6: Tests that use ss.setBrowserState() or ss.setWindowState() should wait until the window is restored to continue. r=dao
MozReview-Commit-ID: 5d1E5TjKnIR
2018-04-11 12:06:12 +02:00
Mike de Boer
15e60d9e71 Bug 1034036 - Part 2: Rename and shorten getMostRecentBrowserWindow to getTopWindow and modernize the style used in BrowserWindowTracker.jsm. r=dao
MozReview-Commit-ID: EvgAhq4uR3a
2018-04-11 12:05:59 +02:00
Mike de Boer
2271d50b55 Bug 1034036 - Part 1: Merge RecentWindow.jsm and UpdateTopLevelContentWindowIDHelper.jsm into one module called 'BrowserWindowTracker.jsm'. r=dao
MozReview-Commit-ID: 9qzq1aGvjDu
2018-04-11 12:05:56 +02:00
Andrea Marchesini
c407e0573b Bug 1252998 - StorageActivityService - part 4 - Introduce ServiceWorkerCleanUp.jsm to clean up ServiceWorker data, r=asuth 2018-04-18 18:19:12 +02:00
Coroiu Cristina
3ca1ef71f0 Merge inbound to mozilla-central a=merge 2018-04-18 13:44:22 +03:00
Kris Maglione
4ea193556c Bug 1452299: Make browser_ext_settings_overrides_search a less-dodgy xpcshell test. r=mkaply
MozReview-Commit-ID: CffGpvV9vck
2018-04-06 17:34:23 -07:00
Rob Wu
0d3a080b8a Bug 1453163 - Ensure that the ?discoTest tab is closed r=aswan
Apparently BrowserTestUtils.removeTab(gBrowser.selectedTab) does not
close the ?discoTest tab, which causes the test to fail eventually.
See comment 6 of bug 1453163 for more details.

MozReview-Commit-ID: 3UgEaVW083i
2018-04-13 19:57:27 +02:00
Brian Grinstead
d229e08fa3 Bug 1454012 - Part 2 - Remove NEW_CONSOLE_OUTPUT_ENABLED since it's now always true;r=nchevobbe
MozReview-Commit-ID: 2PaXZqDGMOi
2018-04-16 10:38:11 -07:00
Jan Odvarko
09a00eb5a0 Bug 1436665 - Fix WebExtensions devtools.network tests; r=ochameau,rpl
MozReview-Commit-ID: JjJowr1grNP
2018-04-17 14:40:44 +02:00
Jan Odvarko
27240cd3d4 Bug 1436665 - Do not fire events on window, update tests; r=ochameau
MozReview-Commit-ID: BbZJQiipg3K
2018-04-17 14:38:25 +02:00
Narcis Beleuzu
5aae1271ef Backed out 3 changesets (bug 1436665) for talos damp failures on toolbox/panels-in-background.js. CLOSED TREE
Backed out changeset 2120b4c84746 (bug 1436665)
Backed out changeset b3702a775b16 (bug 1436665)
Backed out changeset 3ddbbd0330a1 (bug 1436665)
2018-04-17 15:09:29 +03:00
Jan Odvarko
2e904d8219 Bug 1436665 - Fix WebExtensions devtools.network tests; r=ochameau,rpl
MozReview-Commit-ID: LDS6zxz7Ivi
2018-04-17 13:14:44 +02:00