Commit Graph
2632 Commits
Author SHA1 Message Date
Dipen Patel fbf2d8d5d9 Bug 1468222 Consolidate nsISSLStatus info nsITransportSecurityInfo r=Gijs,snorp,jcj,mcmanus,sfraser,keeler,baku,ato
Move all fields of nsISSLStatus to nsITransportSecurityProvider
Remove nsISSLStatus interface and definition
Update all code and test references to nsISSLStatus
Maintain ability to read in older version of serialized nsISSLStatus.  This
is verified with psm_DeserializeCert gtest.

Differential Revision: https://phabricator.services.mozilla.com/D3704
2018-09-11 00:07:30 +00:00
Csoregi Natalia 4c04e1f45b Backed out changeset bd8baf88f373 (bug 1468222) for test_security-info-parser.js failures. CLOSED TREE 2018-09-08 03:16:25 +03:00
Dipen Patel 8e9fd08fb5 Bug 1468222 Consolidate nsISSLStatus info nsITransportSecurityInfo r=snorp,ato,sfraser,keeler,baku,mcmanus,Gijs
Move all fields of nsISSLStatus to nsITransportSecurityProvider
Remove nsISSLStatus interface and definition
Update all code and test references to nsISSLStatus
Maintain ability to read in older version of serialized nsISSLStatus.  This
is verified with psm_DeserializeCert gtest.

Differential Revision: https://phabricator.services.mozilla.com/D3704
2018-09-07 22:50:17 +00:00
ui.manish 6f88daf057 Bug 1353536 - Remove the makeURI method from toolkit/modules/sessionstore/Utils.jsm. r=johannh 2018-08-29 10:31:20 +02:00
Nicholas Nethercote 3d067dad0c Bug 1488628 - Change nsISHEntry.title to an AString. r=nika
This patch also removes the setTitle() method and makes `title` non-readonly.
2018-09-05 11:29:36 +10:00
Nicholas Nethercote aa1ac557fc Bug 1488321 - Remove all traces of the "transaction" terminology in SHistory. r=nika.
This patch:

- removes GetTransactionAtIndex(), because getTransactionAtIndex() can be used
  instead;

- renames a lot of things;

- updates some comments.
2018-09-05 09:03:22 +10:00
Nicholas Nethercote 357e821fd9 Bug 1488321 - Fix up nsISHEntry.{index,getEntryAtIndex()}. r=nika
nsISHEntry.index is readonly, but if you pass `true` as getEntryAtIndex()'s
second argument, nsISHEntry.index will be modified. This is pretty gross.

This patch changes `index` so it's not readonly (because it's not!) and removes
getEntryAtIndex()'s second argument.
2018-09-05 09:02:37 +10:00
Nicholas Nethercote 7863c0fd08 Bug 1488321 - Remove nsISHTransaction. r=nika
Because it's a wafer-thin wrapper around nsISHEntry that just complicates
things.

This patch leaves behind a combination of "entry" and "transaction"
terminology. I'll fix that in a subsequent patch.
2018-09-05 09:02:37 +10:00
Nicholas Nethercote 95c17b5a8e Bug 1488321 - Move the persist attribute from nsISHTransaction to nsISHEntry. r=nika
This requires making nsISHEntry `builtinclass`.
2018-09-05 09:02:37 +10:00
Nicholas Nethercote 61fa13d890 Bug 1487296 - Merge nsISHistoryInternal into nsISHistory. r=nika
With legacy add-ons gone, there is no benefit to keeping them separate.
2018-08-30 11:37:40 +10:00
Coroiu Cristina 9396e3b0da Merge mozilla-central to inbound a=merge on a CLOSED TREE 2018-08-31 19:35:06 +03:00
Mark Banner 462116b7f9 Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop
Automatic changes by ESLint, except for manual corrections for .xml files.

Differential Revision: https://phabricator.services.mozilla.com/D4439
2018-08-31 05:59:17 +00:00
Dave Townsend 943f61296a Bug 1487246: Remove uses of comma sequences in linted code. r=Standard8
Two cases were hiding permanently failing tests. I've commented those out and
filed bug 1487431.

Differential Revision: https://phabricator.services.mozilla.com/D4680
2018-08-29 16:12:55 -07:00
Nicholas Nethercote a4c093d35c Bug 1486358 - Change nsISHistory's transactions list to an nsTArray. r=nika
- nsISHistoryInternal loses `rootTransaction`, and gains
  GetTransactionAtIndex(). (The implementing class `nsSHistory` already
  implemented a method by that method.)

- nsSHistory loses `mListRoot` in favour of `mTransactions`. It also loses
  `mLength`, because `mTransactions` tracks the length itself.

- nsISHTransaction.{prev,next} are no longer needed.

- nsISHTransaction.create() is no longer needed, because all it does now is set
  the SHEntry, and we can use SetSHEntry() for that.

Overall this deletes about 200 lines of code.
2018-08-27 14:28:46 +10:00
Margareta Eliza Balazs e1268b83f4 Merge inbound to mozilla-central. a=merge 2018-08-29 12:43:37 +03:00
Johann Hofmann 2ea7b2eb2b Bug 1484586 - Update about:privatebrowsing for content blocking. r=Gijs
This makes the about:privatebrowsing display "Content Blocking" instead
of "Tracking Protection" and makes the toggle flip the TP setting for PB
mode as well as the CB pref if it's turned off.

Differential Revision: https://phabricator.services.mozilla.com/D4395
2018-08-28 21:01:19 +00:00
Brendan Dahl 532fe1f6b0 Bug 1485426 - Use createXULElement instead of createElement in XUL docs. r=bgrins
Preparing for transitioning to XHTML.

MozReview-Commit-ID: JLlmUxsvhIB

Differential Revision: https://phabricator.services.mozilla.com/D4265
2018-08-25 00:16:27 +00:00
Sam Foster 0366c879b7 Bug 1477105 - Support cc-type as valid field for credit cards in form autofill. r=MattN
* Add cc-type as a valid field for credit card forms
* Add a select menu and new string for designating a card type in the add/edit form
* Enforce matching of cc-type to one of the list of supported network ids for Basic Card
* Expose the network ids list as CreditCard.SUPPORTED_TYPES
* Populate the cc-type options using a getCreditCardTypes util method passed into the EditCreditCard constructor

* Web Payment tests: verify cc-type picker is presented, populated as expected and selections received in the response

MozReview-Commit-ID: 9QyU1UwTRay

Differential Revision: https://phabricator.services.mozilla.com/D3830
2018-08-28 15:59:57 -07:00
Kris Maglione 95ade8d85e Bug 1486182: Part 2a - Add Services.catMan getter for the category manager. r=mossop
This makes it much easier to update existing consumers of
XPCOMUtils.enumerateCategoryEntries to use the category manager directly.

It also, unfortunately, requires updating existing category manager consumers
to use the Services getter in order to avoid ESLint errors.

Differential Revision: https://phabricator.services.mozilla.com/D4278
2018-08-24 22:13:57 -07:00
Tiberius Oros fcc9ffa719 Merge inbound to mozilla-central. a=merge 2018-08-24 12:43:45 +03:00
alwu 0c8a642a05 Bug 1485160 - part1 : Add AudibleAutoplayChild actor. r=mconley
The AudibleAutoplayMediaOccurredObserver which I added in bug1476701 was incorrectly removed by bug1472491, it's used to notify audible autoplay event for the shield study and we should add it back.

Differential Revision: https://phabricator.services.mozilla.com/D3930
2018-08-23 19:05:18 +00:00
Kris Maglione f071009f5f Bug 1484496: Part 5b - Convert toolkit/ nsISimpleEnumerator users to use JS iteration. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D3730
2018-08-18 19:27:50 -07:00
Andreea Pavel b52bba9562 Backed out changeset 9cf847e13720 (bug 1353536) for failing devtools and bc 2018-08-27 00:56:17 +03:00
ui.manish 384efe25d6 Bug 1353536 - Remove the makeURI method from toolkit/modules/sessionstore/Utils.jsm. r=johannh 2018-06-14 02:14:01 +02:00
Nicholas Nethercote 4683d6b86a Bug 1485279 - Merge nsISHContainer into nsISHEntry. r=qdot
nsSHEntry is the only class that instantiates those two interfaces, so the
separation is not useful. This lets us remove numerous pointless QIs.
2018-08-22 19:20:56 +10:00
Ehsan Akhgari a3a5a46597 Bug 1484876 - Part 5: Merge the PrivateBrowsingTrackingProtectionWhitelist service with PrivateBrowsingUtils.jsm; r=johannh 2018-08-22 12:02:44 -04:00
Ehsan Akhgari 9d12a1ab09 Bug 1484876 - Part 4: Remove nsIPrivateBrowsingTrackingProtectionWhitelist.existsInAllowList(); r=johannh 2018-08-22 12:02:44 -04:00
Cosmin Sabou d951062b76 Backed out 6 changesets (bug 1484876) for eslint failure on PrivateBrowsingUtils. CLOSED TREE
Backed out changeset e80737d6af55 (bug 1484876)
Backed out changeset b1cb63d8c8bb (bug 1484876)
Backed out changeset cd2ced689895 (bug 1484876)
Backed out changeset d31e39a47704 (bug 1484876)
Backed out changeset babf6abc7f4c (bug 1484876)
Backed out changeset 1c9895ab06c6 (bug 1484876)
2018-08-22 16:26:33 +03:00
Ehsan Akhgari 0477bd21df Bug 1484876 - Part 5: Merge the PrivateBrowsingTrackingProtectionWhitelist service with PrivateBrowsingUtils.jsm; r=johannh 2018-08-22 09:08:10 -04:00
Ehsan Akhgari 9936b4347a Bug 1484876 - Part 4: Remove nsIPrivateBrowsingTrackingProtectionWhitelist.existsInAllowList(); r=johannh 2018-08-22 09:08:10 -04:00
Kris Maglione 8919074f54 Bug 1483664: Part 1 - Use lazy actor infrastructure for LightweightThemeChild. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D3433
2018-08-15 20:06:58 -07:00
Cosmin Sabou 4ad8223a46 Merge mozilla-inbound to mozilla-central. a=merge 2018-08-15 03:51:45 +03:00
Brian Grinstead c8b3483e82 Bug 1479538 - Rewrite non-test callers of document.createElementNS(XUL_NS, ...) to use document.createXULElement(...);r=paolo
Differential Revision: https://phabricator.services.mozilla.com/D3275
2018-08-14 16:22:44 +00:00
Kris Maglione d59e6cc856 Bug 1472491: Part 5η - Add BrowserChild actor. r=florian f=mconley
MozReview-Commit-ID: D1d4hFGNKXj
2018-07-30 10:52:55 -07:00
Kris Maglione cfa1c486ea Bug 1472491: Part 5p - Add ExtFindChild actor. r=mikedeboer f=felipe
MozReview-Commit-ID: 3zL8iYeYAPx
2018-07-29 21:44:48 -07:00
Kris Maglione bd7613d4ce Bug 1472491: Part 5μ - Add WebNavigationChild actor. r=mconley
MozReview-Commit-ID: 3AiCuNfMenb
2018-07-30 12:55:22 -07:00
Kris Maglione 3ceea3dedb Bug 1472491: Part 5λ - Add Split RemoteFinder into FinderChild and FinderParent actors. r=gijs
MozReview-Commit-ID: JAv8lh2gJoB
2018-07-30 12:25:58 -07:00
Kris Maglione 18a311f49e Bug 1472491: Part 5κ - Add ManifestMessagesChild actor. r=mconley
MozReview-Commit-ID: 20toouW9YzT
2018-07-30 11:39:52 -07:00
Kris Maglione 47ad29974d Bug 1472491: Part 5ζ - Add ControllersChild actor. r=mconley
MozReview-Commit-ID: 2u6ayRoHvIh
2018-07-30 10:52:29 -07:00
Kris Maglione 40aacaf484 Bug 1472491: Part 5ε - Add PurgeSessionHistoryChild actor. r=mconley
MozReview-Commit-ID: 7oOXuPNsPPG
2018-07-30 10:14:12 -07:00
Kris Maglione 4ff1647be7 Bug 1472491: Part 5δ - Add UnselectedTabHoverChild actor. r=mconley
MozReview-Commit-ID: JYAYb8NshrW
2018-07-30 10:11:41 -07:00
Kris Maglione 1129eaf41e Bug 1472491: Part 5α - Add DateTimePickerChild actor. r=mconley
MozReview-Commit-ID: EWTCdNCmE9S
2018-07-29 23:39:17 -07:00
Kris Maglione 0e44116ae0 Bug 1472491: Part 5z - Add WebChannelChild actor. r=markh f=mconley
MozReview-Commit-ID: 1f056kpyJW6
2018-07-29 23:36:12 -07:00
Kris Maglione a26e48541f Bug 1472491: Part 5y - Add PopupBlockingChild actor. r=mconley
MozReview-Commit-ID: Bw7u8m3xY38
2018-07-29 23:31:39 -07:00
Kris Maglione c3c8904fdd Bug 1472491: Part 5x - Add SelectionSourceChild actor. r=mconley
MozReview-Commit-ID: 6RioXbevgRO
2018-07-29 23:28:10 -07:00
Kris Maglione ca0789b6d3 Bug 1472491: Part 5t - Add ThumbnailsChild actor. r=Mossop
MozReview-Commit-ID: 31V11KaJj4D
2018-07-29 22:25:48 -07:00
Kris Maglione 87f08c3e60 Bug 1472491: Part 5s - Add ZoomChild actor. r=mconley
MozReview-Commit-ID: 9vTa1PbTh5t
2018-07-29 22:18:52 -07:00
Kris Maglione 3450f91a50 Bug 1472491: Part 5r - Add PrintingChild actor. r=felipe
MozReview-Commit-ID: K3xcS5TNiQj
2018-07-29 22:05:14 -07:00
Kris Maglione 83b21fe664 Bug 1472491: Part 5q - Add SelectChild actor. r=felipe
MozReview-Commit-ID: J5MAJMbblyr
2018-07-29 21:59:16 -07:00
Kris Maglione 04b9d8689d Bug 1472491: Part 5o - Add FindBarChild actor. r=gijs
MozReview-Commit-ID: IGNjeh8o91l
2018-07-29 21:38:21 -07:00