Commit Graph

1433 Commits

Author SHA1 Message Date
dw-dev
89dc5fad16 Bug 1415507 - changes to tabs.saveAsPDF(); r=mixedpuppy
There are three changes:

1. Adds a print progress listener to tabs.saveAsPDF() in ext-tabs.js so that the
  'saved' or 'replaced' status is not returned until the PDF file has been saved.

2. Adds four more "edge" properties to the  pageSettings object to allow positioning
   of the page headers and footers.

3. Adds automated tests for tabs.saveAsPDF() in browser_ext_tabs_saveAsPDF.js that
   cover all returned statuses: saved, replaced, canceled, not_saved, not_replaced.

MozReview-Commit-ID: LMTjKDjBwY3
2018-01-18 10:15:36 +00:00
Shane Caraveo
f5d20643a7 Bug 1423725 add show/hide tabs api, r=rpl
MozReview-Commit-ID: 4z73ZTRE7kN
2018-01-18 16:37:18 -07:00
Shane Caraveo
d906a001b7 Bug 1423725 add event, query and details for hidden status, r=Gijs,rpl
MozReview-Commit-ID: AMcmbh4m8lK
2018-01-18 16:37:11 -07:00
Oriol Brufau
eb9470ada9 Bug 1427107 - Reject setBadgeBackgroundColor promise for invalid string colors r=mixedpuppy
MozReview-Commit-ID: 1XXiQCDe7Tu
2018-01-11 18:56:18 +01:00
Mark Striemer
85623961fd Bug 1424259 - Fix alignment of extension sidebar action icons r=mixedpuppy
MozReview-Commit-ID: 4RQv30imV3B
2018-01-11 22:53:02 -06:00
Oriol Brufau
025ddf566c Bug 1427431 - Add methods to check if browser/page/sidebar actions are enabled/shown/open r=mixedpuppy
MozReview-Commit-ID: DPbg8SwKVQL
2018-01-11 18:19:02 +01:00
Tim Nguyen
6fe1265233 Bug 1427463 - Implement tabs.captureTab(tabId). r=mixedpuppy
MozReview-Commit-ID: 5sr3I1A1b8A
2018-01-10 14:51:43 +00:00
Ciure Andrei
b5a875e5e7 Merge inbound to mozilla-central r=merge a=merge 2018-01-11 11:54:56 +02:00
Cameron McCormack
0c6f357aea Bug 1427419 - Part 12: Move inIDOMUtils.colorToRGBA to InspectorUtils. r=bz
MozReview-Commit-ID: 9EAdNibvZ4
2018-01-11 12:38:00 +08:00
Doug Thayer
5394d406e4 Bug 1421703 - replace onVisit with onVisits r=mak
There's a heavy enough overhead to going through XPConnect for
every observer for every visit on the nsINavHistoryObserver
interface, so this patch reduces that by replacing the single-
visit notification with one which accepts an array of visits.

Some notes: To avoid problems with the orderings of the various
ways in which we notify about visits, we have to send our bulk
onVisits notification before doing any of the others. This does
mean it technically behaves slightly different than the prior
approach of interleaving the notifications, but I can't find any
way in which this has any consequences to the end result, and it
doesn't break any tests.

MozReview-Commit-ID: GdeooH8mCkg
2017-12-20 14:27:24 -08:00
Luca Greco
d0ec3b0a42 Bug 1380855 - Fix intermittency and speed up devtools panel webextension test. r=mixedpuppy
MozReview-Commit-ID: 27DFuD9hYUa
2018-01-05 19:16:53 +01:00
Tooru Fujisawa
d596c86c29 Bug 1426599 - Wait for the next event tick after onLocationChange, in browser/components/extensions/test/browser/browser_ext_url_overrides_newtab.js. r=Gijs 2018-01-06 16:24:43 +09:00
Luca Greco
d7226aa2e4 Bug 1425224 - Use manifest.ExtensionURL in devtools.panels.create API schema. r=mixedpuppy
MozReview-Commit-ID: AR6j1fC0PmJ
2017-12-14 18:20:59 +01:00
Lukas Jung
c0171af084 Bug 1370228 - "Context menu title with placeholder always shows ellipsis" [r=mixedpuppy] 2017-12-21 08:33:00 +02:00
Andrew Swan
e53f9296c7 Bug 1426259: Revamp processing of manifest.json for themes r=kmag
MozReview-Commit-ID: 6dWy8wwrobY
2017-12-20 16:06:50 -08:00
Florian Quèze
1838aa9e08 Bug 1421992 - script-generated patch to replace do_execute_soon, do_print and do_register_cleanup with executeSoon, info and registerCleanupFunction, rs=Gijs. 2017-12-21 11:10:23 +01:00
Tim Nguyen
ecbd0af966 Bug 1425868 - Consolidate arrow panel styling. r=dao
Original patch by Jared Wein [:jaws]

MozReview-Commit-ID: D8GxCjJ8Si3
2017-12-19 08:00:00 -06:00
Dorel Luca
824fce99c6 Backed out changeset 4f6ed26bdb9b (bug 1425868) for build bustages on OS X and Windows r=backout on a CLOSED TREE 2017-12-19 15:43:13 +02:00
Tim Nguyen
63dcea73ca Bug 1425868 - Consolidate arrow panel styling. r=dao
Original patch by Jared Wein [:jaws]

MozReview-Commit-ID: RAGeRpgoJF
2017-12-19 07:00:24 -06:00
Andrew Swan
95119ca9d8 Bug 1423425 Stop reading the Extension.jsm module object in specialpowers r=kmag
The return value from Cu.import() does not include lexically scoped
symbols so stop using it here.  Also stop using Extension.generate()
while we're here.

MozReview-Commit-ID: HnX3RGgDHbR
2017-12-18 10:32:23 -08:00
Mark Striemer
7d9f428fb0 Bug 1414018 - Go to new New Tab page after disabling add-on in New Tab doorhanger r=aswan
MozReview-Commit-ID: 7ZXehNEC6ml
2017-11-29 17:14:54 -06:00
Masatoshi Kimura
1dfecd5932 Bug 1418914 - Move E10SUtils.jsm into toolkit/. r=mossop
MozReview-Commit-ID: EgDzEEKAeh1
2017-12-12 21:35:16 +09:00
Andreea Pavel
f83f963a34 Merge inbound to mozilla-central r=merge a=merge 2017-12-09 22:21:17 +02:00
Kris Maglione
c8ea1d4273 Bug 1421459: Update to ESLint 4 "indent" rule. r=aswan
MozReview-Commit-ID: LxLDWlsIlSk
2017-11-28 14:13:59 -08:00
Bill McCloskey
142c9a9dbb Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-07 12:55:24 -08:00
Oriol Brufau
9f671e6f20 Bug 1419940 - Allow browserAction set* methods to accept a null value. r=aswan
MozReview-Commit-ID: H2UfUITBEMm
2017-11-29 05:50:00 +01:00
Andreea Pavel
26ac595cba Backed out 9 changesets (bug 1412456) for crashing talos g2 and unexpected network connections in browser-chrome's browser_searchEngine_behaviors.js r=backout a=backout on a CLOSED TREE
Backed out changeset 0c01a98f4fd5 (bug 1412456)
Backed out changeset 27077db47231 (bug 1412456)
Backed out changeset f35ec2a884f8 (bug 1412456)
Backed out changeset 602b30ac3c69 (bug 1412456)
Backed out changeset b1ff1050c589 (bug 1412456)
Backed out changeset f100d953f9eb (bug 1412456)
Backed out changeset d85af60fe259 (bug 1412456)
Backed out changeset 736f38486832 (bug 1412456)
Backed out changeset 13a637602dc2 (bug 1412456)
2017-12-07 12:20:21 +02:00
Bill McCloskey
427710d960 Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-06 21:17:05 -08:00
Dorel Luca
81b4b85d01 Backed out 8 changesets (bug 1412456) for ESlint failure on browser_urlbarKeepStateAcrossTabSwitches.js:13:49 r=backout on a CLOSED TREE
Backed out changeset 0e88de036c55 (bug 1412456)
Backed out changeset 49b93f807db0 (bug 1412456)
Backed out changeset 039e980b7dc6 (bug 1412456)
Backed out changeset c7698410ddbd (bug 1412456)
Backed out changeset e56a1ba26b7c (bug 1412456)
Backed out changeset 0c4506e124ac (bug 1412456)
Backed out changeset a7aec2ce903b (bug 1412456)
Backed out changeset 3e9fb71f1e8e (bug 1412456)
2017-12-07 07:09:33 +02:00
Bill McCloskey
a0f07d3df7 Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-06 20:46:58 -08:00
Ryan VanderMeulen
6f96d4a01d Bug 1423667 - Disable some tests that fail on Windows Code Coverage builds with clang-cl r317840. rs=marco 2017-12-06 20:40:46 -05:00
Shane Caraveo
b6a7a9f51d Bug 1419842 support pattern matching to show/hide pageActions, r=aswan
MozReview-Commit-ID: bYcR08xX8r
2017-12-05 14:41:21 -08:00
Bob Silverberg
8357c67257 Bug 1422211 - Do not try to move a tab when it is the only tab in a window, r=mixedpuppy
The problem reported in this bug is that the newTab button moves to an invalid position when
there's only 1 tab in a window and you try to move it to the end of the tab strip via tabs.move.

This may be caused by a bug in tabbrowser, which is being investigated separately, but it
brought to light the fact that we're trying to move a tab when it's the only tab in a
window, and that just doesn't make sense.

This patch updates the code so we don't try to move a tab if it's the only tab in the
window.

MozReview-Commit-ID: 1oBs0OHnvxi
2017-12-01 09:03:44 -05:00
Ciure Andrei
1ef615e96e Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2017-12-02 12:19:55 +02:00
Tooru Fujisawa
fa64a63601 Bug 1420319 - Wait for the next event tick before resolving promise in browser_ext_optionsPage_modals.js. r=jaws 2017-12-01 22:35:59 +09:00
Thomas Nguyen
63205aaaec Bug 1345433 - Ensure tests load pass valid triggeringPrincipal. r=ckerschb,JanH
MozReview-Commit-ID: LWcP7drDPwL
2017-10-23 18:15:40 +08:00
Bob Silverberg
af464fdaf9 Bug 1408472 - Read-only browserSettings should return false on write attempts, r=mixedpuppy
This updates browserSettings so that calling set and clear return false, rather than undefined,
for read-only settings. It also returns "not_controllable" rather than "controllable_by_this_extension"
for levelOfControl from calls to get for read-only settings.

MozReview-Commit-ID: 9c0bKDaYIC7
2017-11-28 12:11:23 -05:00
Bob Silverberg
5a190716cd Bug 1415913 - tabs.create without a windowId should target only normal windows, r=aswan
This introduces a new property to WindowTracker (on desktop only) called topNormalWindow
which returns the topmost window which is not a popup window. That property is then used
by tabs.create to identify the top "normal" window when a windowId is not passed to it.

Bug 1421709 has been filed to look for other opportunities to use topNormalWindow
in place of topWindow in our codebase.

MozReview-Commit-ID: DcV93wO6FoV
2017-11-20 17:00:20 -05:00
Tiberius Oros
752c87db91 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-11-29 02:25:59 +02:00
tushararora
1a07be0f56 Bug 1402399 - Fix browser.windows.update to clear titlePreface if it is passed empty. r=bsilverberg, r=mixedpuppy 2017-10-13 12:38:19 +05:30
Mark Striemer
5cce1e99e4 Bug 1415029 - Use better extension icon in identity block r=johannh
MozReview-Commit-ID: CFTIe9I9mfe
2017-11-27 11:36:10 -06:00
tushararora
fa5e677c46 Bug 1334782 - tabs.query should pattern match the title r=zombie
MozReview-Commit-ID: 5WaKLaOP7Nc
2017-11-16 16:17:45 +05:30
Marco Bonardo
1c2e5245c5 Bug 1416142 - Intermittent timeout in browser_ext_omnibox.js. r=standard8
MozReview-Commit-ID: DAZumEpI1xB
2017-11-23 13:47:34 +01:00
Bob Silverberg
142259b413 Bug 1416039 - Fix intermittent browser_ext_tabs_lastAccessed.js, r=mixedpuppy
The recent failures all seem to be on the assertion that lastAccessed of tab 1 is
later than the test start time. It's possible that things happen so quickly that
lastAccessed of tab 1 is the same as the start time, so this patch changes the
comparison to be a <=.

MozReview-Commit-ID: 67CVQPj1ShM
2017-11-24 08:26:34 -05:00
Mark Striemer
491bc2ad0f Bug 1390158 - Notify user of extension controlling New Tab on first access r=aswan,jaws
MozReview-Commit-ID: 1g9d4UTuOgr
2017-11-22 19:00:58 -06:00
Tiberius Oros
966b5519ae Merge inbound to mozilla-central r=merge a=merge 2017-11-21 11:55:23 +02:00
Tooru Fujisawa
9c833f1705 Bug 1418739 - Part 2: Remove unused delayedStartup parameter from BrowserTestUtils.waitForNewWindow. r=smaug 2017-11-21 03:41:56 +09:00
Bob Silverberg
0d7a68aadc Bug 1404584 Part 3: Convert ExtensionPreferencesManager to use update and uninstall events, r=aswan,jkt
This includes removing the "web-extension-preferences-replacing" and "web-extension-preferences-replaced"
notifications as they are no longer needed.

MozReview-Commit-ID: IjNf4BImgas
2017-11-01 09:51:41 -04:00
Bob Silverberg
fb5f544d9c Bug 1404584 Part 2: Convert ext-chrome-settings-overrides to use update and uninstall events, r=aswan,mkaply
MozReview-Commit-ID: KtagRbDz19S
2017-11-01 09:50:03 -04:00
Andrew Swan
26ec3250a3 Bug 1404584 Part 1: Use extensionId in ExtensionSettingsStore and ExtensionPreferencesManager methods, r=aswan
This code changes all of the functions in the ESS and the EPM to accept an extensionId rather than an
extension object, which is required for responding to the new onUpdate event.

MozReview-Commit-ID: FwMVa0fShGj
2017-10-24 20:18:03 -07:00