Jonathan Watt
2a9a0b264a
Bug 1702501 - Remove print.tab_modal.enabled pref and old frontend print preview code. r=mstriemer
...
Differential Revision: https://phabricator.services.mozilla.com/D134699
2022-01-06 18:55:38 +00:00
Jonathan Watt
ac90ddff59
Bug 1745452 - Remove the print progress dialog code. r=mstriemer,bobowen,webdriver-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D133500
2021-12-16 15:12:33 +00:00
Butkovits Atila
7d46682c0e
Backed out changeset 51d7c5d96ceb (bug 1745452) for causing failures at browser_all_files_referenced.js. CLOSED TREE
2021-12-16 15:13:34 +02:00
Jonathan Watt
f2d22001b0
Bug 1745452 - Remove the print progress dialog code. r=mstriemer,bobowen,webdriver-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D133500
2021-12-16 11:45:59 +00:00
Tomislav Jovanovic
0b1c358ede
Bug 1708243 - Part 3: Use actor messaging for tabs.detectLanguage, stop loading MessageChannel.jsm, r=robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D126623
2021-09-29 16:52:59 +00:00
Richa Sharma
fd0ae3c342
Bug 1683058 - Change tabs API internals to support container access. r=robwu,rpl
...
Differential Revision: https://phabricator.services.mozilla.com/D100232
2021-04-20 12:59:26 +00:00
Emilio Cobos Álvarez
9afefdd884
Bug 1705757 - Move FrameLoader.print to BrowsingContext.print. r=nika,remote-protocol-reviewers,marionette-reviewers,extension-reviewers,zombie
...
This makes it trivial to choose the right BrowserParent to print a
browsing context, by removing the OuterWindowID / FrameLoader
indirections.
Differential Revision: https://phabricator.services.mozilla.com/D112412
2021-04-17 18:41:11 +00:00
Rob Wu
f4e9de17e6
Bug 1695346 - Skip tabs amidst restoration in tabs.onUpdated r=Gijs,rpl
...
`swapBrowsersAndCloseOther` calls `SessionStore.setTabState`, but the
latter may trigger several tab events before the tab has fully been
restored. This results in duplicate tabs.onUpdated events and in
unexpected access to properties of the tab/browser (which in turn
triggers the reported bug).
Fix this specific case by ignoring events that happen while the tab is
amidst a restoration.
Differential Revision: https://phabricator.services.mozilla.com/D108259
2021-03-26 19:51:14 +00:00
Luca Greco
5e265ad659
Bug 1698158 - part 2 - Remove unnecessary jsm imports in existing WebExtensions API modules. r=mixedpuppy
...
Depends on D108226
Differential Revision: https://phabricator.services.mozilla.com/D108227
2021-03-16 18:15:40 +00:00
Rob Wu
ca5b342494
Bug 1680279 - Support "url" properties in filter r=rpl
...
The patch for bug 1498432 will include a unit test that uses
tabs.onUpdated with the "url" filter for "properties".
The updated test here verifies that the tabs.onUpdated event does not
include other properties in changeInfo when filtering by "status".
Differential Revision: https://phabricator.services.mozilla.com/D106733
2021-03-07 16:16:36 +00:00
Alexandru Michis
7b98a02461
Backed out 2 changesets (bug 1498432, bug 1680279) for causing bc failures in browser_ext_tabs_discard_reversed.js
...
CLOSED TREE
Backed out changeset 9ce142e600af (bug 1498432)
Backed out changeset 4c8c60ac262a (bug 1680279)
2021-03-05 02:50:58 +02:00
Rob Wu
a328d739f1
Bug 1680279 - Support "url" properties in filter r=rpl
...
The patch for bug 1498432 will include a unit test that uses
tabs.onUpdated with the "url" filter for "properties".
The updated test here verifies that the tabs.onUpdated event does not
include other properties in changeInfo when filtering by "status".
Differential Revision: https://phabricator.services.mozilla.com/D106733
2021-03-04 20:50:35 +00:00
Emilio Cobos Álvarez
915f02d25c
Bug 1694951 - Remove printing.trigger telemetry. r=jwatt,marionette-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D106465
2021-03-01 11:36:43 +00:00
Rob Wu
252ef583b9
Bug 1694699 - Minimize access to tab.hasTabPermission r=rpl,geckoview-reviewers,agi
...
tab.hasTabPermission indirectly triggers an access to
browser.currentURI, which for lazy tab browsers causes an incorrect
value to be cached. To avoid this, skip the call to hasTabPermission.
Differential Revision: https://phabricator.services.mozilla.com/D106622
2021-02-26 21:34:54 +00:00
Rob Wu
43ff27ed9a
Bug 1694699 - Avoid unnecessary string->URI conversions r=rpl
...
Differential Revision: https://phabricator.services.mozilla.com/D106317
2021-02-26 21:34:54 +00:00
Kris Maglione
e6237071e6
Bug 1685801: Part 6 - Move some front-end code from BrowserUtils to a separate module. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D101486
2021-01-28 20:58:43 +00:00
Mihai Alexandru Michis
040e2ea5d0
Backed out 12 changesets (bug 1685801) for causing bc failures in browser_ctrlTab.js
...
CLOSED TREE
Backed out changeset 021924b62f13 (bug 1685801)
Backed out changeset 38cc10101c1f (bug 1685801)
Backed out changeset 9ab9574ac72a (bug 1685801)
Backed out changeset 1a7f259cc2ec (bug 1685801)
Backed out changeset b267b19a7f6e (bug 1685801)
Backed out changeset 7dfcf0257487 (bug 1685801)
Backed out changeset ee0d0169b079 (bug 1685801)
Backed out changeset 0c358ee51951 (bug 1685801)
Backed out changeset 338ab91af557 (bug 1685801)
Backed out changeset a49415007aaf (bug 1685801)
Backed out changeset b91098299143 (bug 1685801)
Backed out changeset edf6209861a8 (bug 1685801)
2021-01-28 22:55:11 +02:00
Kris Maglione
69c936d646
Bug 1685801: Part 6 - Move some front-end code from BrowserUtils to a separate module. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D101486
2021-01-28 05:25:03 +00:00
Butkovits Atila
7decdccbdc
Backed out 12 changesets (bug 1685801) for causing failures on browser_fission_maxOrigins.js. CLOSED TREE
...
Backed out changeset 0d7153110519 (bug 1685801)
Backed out changeset 5175062925c7 (bug 1685801)
Backed out changeset 2c1250e786f0 (bug 1685801)
Backed out changeset 0ce3c773ba74 (bug 1685801)
Backed out changeset 9d51c6e24dee (bug 1685801)
Backed out changeset 3f4dc6349441 (bug 1685801)
Backed out changeset a80de9abb9f8 (bug 1685801)
Backed out changeset 30786893a5e7 (bug 1685801)
Backed out changeset 8007b12d6e32 (bug 1685801)
Backed out changeset fa814f4b7125 (bug 1685801)
Backed out changeset 14e4e47ee99f (bug 1685801)
Backed out changeset d9f1feba9454 (bug 1685801)
2021-01-28 07:15:59 +02:00
Kris Maglione
5b2b2517a2
Bug 1685801: Part 6 - Move some front-end code from BrowserUtils to a separate module. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D101486
2021-01-28 03:32:43 +00:00
Robbendebiene
cdec8d59d8
Bug 1679688 - make host permissions grant access to privileged parts of the tabs API and fix Bug 1686443 r=robwu,geckoview-reviewers,agi
...
Differential Revision: https://phabricator.services.mozilla.com/D98471
2021-01-23 14:09:22 +00:00
Oriol Brufau
97892639fb
Bug 1580003 - Remove isLastMultiSelectChange parameter. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D45245
2021-01-20 11:56:54 +00:00
Narcis Beleuzu
f108cdcd91
Backed out changeset 81be428b9df0 (bug 1580003) for bc failures on browser_multiselect_tabs_close_other_tabs.js. CLOSED TREE
2021-01-14 21:19:04 +02:00
Oriol Brufau
04f94d6d52
Bug 1580003 - Remove isLastMultiSelectChange parameter. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D45245
2021-01-14 15:32:24 +00:00
Sonia Singla
970cc13ce5
Bug 1458764 - Removed the references with extensions.webextensions.tabhide.enabled pref. r=rpl
...
Differential Revision: https://phabricator.services.mozilla.com/D97092
2020-12-17 19:14:07 +00:00
Liz Krane
e65db138f1
Bug 1650956 - browser.tabs.remove() now calls removeTabs(). r=robwu,Gijs
...
Removing multiple tabs via extensions now calls `gBrowser.removeTabs()`
once for each window that has tabs being removed. Also adds automated
browser tests for removing one tab or multiple tabs.
Differential Revision: https://phabricator.services.mozilla.com/D93438
2020-11-19 19:01:40 +00:00
Razvan Maries
aa6c94921b
Backed out changeset b952d7de3e3e (bug 1650956) for perma failures on browser_ext_tabs_successors.js. CLOSED TREE
2020-10-30 01:29:15 +02:00
Liz Krane
ab5ae8ff2a
Bug 1650956 - browser.tabs.remove() now calls removeTabs(). r=robwu
...
Removing multiple tabs via extensions now calls `gBrowser.removeTabs()`
once for each window that has tabs being removed. Also adds automated
browser tests for removing one tab or multiple tabs.
Differential Revision: https://phabricator.services.mozilla.com/D93438
2020-10-29 20:36:34 +00:00
Emilio Cobos Álvarez
4e68e78542
Bug 1669925 - Add a printing.trigger keyed scalar to record what triggers a particular print dialog. r=jwatt,marionette-reviewers,maja_zf
...
In order to avoid over/under-counting, we need to treat window.print()
specially. The new UI was using aOpenWindowInfo.isForPrintPreview for
that, but that doesn't quite work for the old UI (because it will
trigger a regular print, not a preview).
But since isForPrintPreview was only really needed to distinguish
window.print(), just rename it and set it to true when the old UI is
triggered by window.print() as well.
Differential Revision: https://phabricator.services.mozilla.com/D92925
2020-10-09 14:59:46 +00:00
Agi Sferro
ffd9c2aa20
Bug 1664522 - Fix tabs.captureVisibleTab for mobile. r=robwu,zombie,snorp
...
There are two things wrong with captureVisibleTab on mobile:
* ownerGlobal is not available on nativeTab, this patch uses
this.browser.ownerGlobal instead.
* ZoomManager is not available on mobile, this patch moves that code to
browser/../ext-tabs.
Differential Revision: https://phabricator.services.mozilla.com/D90009
2020-09-16 22:08:33 +00:00
Dorel Luca
36eb42a5a8
Backed out 3 changesets (bug 1664522) for Mochitest failures in extensions/test/mochitest/test_ext_tabs_captureTab.html. CLOSED TREE
...
Backed out changeset 30b8a0e3514b (bug 1664522)
Backed out changeset 04b61d3d734a (bug 1664522)
Backed out changeset c951834c99c7 (bug 1664522)
2020-09-17 00:26:59 +03:00
Dorel Luca
cef5008fd7
Backed out 4 changesets (bug 1665162, bug 1664522, bug 1620324) for XPCshell failures and build bustages. CLOSED TREE
...
Backed out changeset a31efbcf3ff5 (bug 1664522)
Backed out changeset c985209d3ced (bug 1665162)
Backed out changeset ea2f00c4049e (bug 1620324)
Backed out changeset 2ee894a67a93 (bug 1620324)
2020-09-17 00:55:33 +03:00
Dorel Luca
70bfa5c776
Backed out 3 changesets (bug 1664522) for Mochitest failures in extensions/test/mochitest/test_ext_tabs_captureTab.html. CLOSED TREE
...
Backed out changeset 30b8a0e3514b (bug 1664522)
Backed out changeset 04b61d3d734a (bug 1664522)
Backed out changeset c951834c99c7 (bug 1664522)
2020-09-17 00:26:59 +03:00
Agi Sferro
8647758548
Bug 1664522 - Fix tabs.captureVisibleTab for mobile. r=robwu,zombie,snorp
...
There are two things wrong with captureVisibleTab on mobile:
* ownerGlobal is not available on nativeTab, this patch uses
this.browser.ownerGlobal instead.
* ZoomManager is not available on mobile, this patch moves that code to
browser/../ext-tabs.
Differential Revision: https://phabricator.services.mozilla.com/D90009
2020-09-16 20:12:00 +00:00
Emilio Cobos Álvarez
5b82674837
Bug 1660739 - Fix tabs.printPreview API with the new print preview design. r=mstriemer,mixedpuppy
...
Return a promise from PrintUtils.printPreview which resolves when the
new print preview dialog is closed.
Differential Revision: https://phabricator.services.mozilla.com/D88013
2020-08-26 03:10:47 +00:00
Emma Malysz
511f442a94
Bug 1659859, make sure printing from context menu uses correct pref value r=mstriemer
...
Differential Revision: https://phabricator.services.mozilla.com/D87778
2020-08-21 23:33:17 +00:00
Jonathan Kew
7e5e4c7638
Bug 1653354 - Make the WebExtensions API tabs.saveAsPDF work via the Cocoa printing code on macOS. r=jwatt,extension-reviewers,zombie
...
Differential Revision: https://phabricator.services.mozilla.com/D85891
2020-08-04 16:58:20 +00:00
Jonathan Watt
b7e932192e
Bug 1652270. Convert nsFrameLoader::Print to return a Promise. r=farre,remote-protocol-reviewers,marionette-reviewers,jgraham,whimboo,mixedpuppy
...
(Instead of requiring callers to pass an nsIWebProgressListener.)
Differential Revision: https://phabricator.services.mozilla.com/D83249
2020-07-22 23:17:45 +00:00
Narcis Beleuzu
687f235fbc
Backed out changeset f95c19e45ab2 (bug 1652270) for reftest failures on test-text.html . CLOSED TREE
2020-07-22 20:36:53 +03:00
Jonathan Watt
8c0fb25348
Bug 1652270. Convert nsFrameLoader::Print to return a Promise. r=farre,remote-protocol-reviewers,marionette-reviewers,jgraham,whimboo,mixedpuppy
...
(Instead of requiring callers to pass an nsIWebProgressListener.)
Differential Revision: https://phabricator.services.mozilla.com/D83249
2020-07-22 15:54:01 +00:00
Kris Maglione
9d78661f88
Bug 1649221: Update ChromeUtils.generateQI callers to pass strings. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,preferences-reviewers,agi,whimboo,Bebe,twisniewski
...
Differential Revision: https://phabricator.services.mozilla.com/D81594
2020-07-10 23:58:28 +00:00
Mélanie Chauvel (ariasuni)
0d23813d28
Bug 1402256 - Add WebExtensions API to “warm up” a tab r=mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D71873
2020-06-25 11:45:47 +00:00
Mélanie Chauvel (ariasuni)
f115f8d25f
Bug 1376088 - make tab active immediately in tabs.duplicate r=robwu,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D73732
2020-06-25 11:45:12 +00:00
dpk
214e706476
Bug 1637431 - Gives meaningful tabs.query error message. r=robwu,geckoview-reviewers,agi
...
***
Bug 1637431 - Gives meaningful tabs.query error message. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D78466
2020-06-16 11:47:14 +00:00
Bogdan Tara
2b80bfb16b
Backed out changeset 61bdbb94ab7a (bug 1637431) for browser_ext_tabs_cookieStoreId.js failures CLOSED TREE
2020-06-11 07:36:35 +03:00
dpk
43998630ac
Bug 1637431 - Gives meaningful tabs.query error message. r=robwu,geckoview-reviewers,agi
...
***
Bug 1637431 - Gives meaningful tabs.query error message. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D78466
2020-06-11 03:44:23 +00:00
Mihai Alexandru Michis
9167a29a3a
Backed out changeset 436777b95e22 (bug 1637431) for causing bc failures in browser_ext_tabs_cookieStoreId.js
...
CLOSED TREE
2020-06-11 06:35:23 +03:00
dpk
21f99d2072
Bug 1637431 - Removed a comment line, rev approved. r=robwu,geckoview-reviewers,agi
...
***
Bug 1637431 - Gives meaningful tabs.query error message. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D78466
2020-06-11 02:33:11 +00:00
Csoregi Natalia
4d5f4e2f58
Backed out changeset 9855eb03a9f1 (bug 1402256) for failures on test_ext_all_apis.html. CLOSED TREE
2020-05-26 06:43:06 +03:00
Mélanie Chauvel (ariasuni)
a09b2821db
Bug 1402256 - Add WebExtensions API to “warm up” a tab r=mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D71873
2020-05-26 02:29:45 +00:00