Jan Henning
03f30dc140
Bug 1456391 - Part 7: Move PrivacyFilter to Toolkit. r=mikedeboer
...
Since we want to start collecting all form data through mapFrameTree on Fennec,
too, we need to change our filtering strategy for form data.
We can no longer bail out directly during the data collection loop and instead
have to filter the data after having collected all of it.
The easiest way to do that is to start using PrivacyFilter.filterFormData() on
Android as well.
MozReview-Commit-ID: GBos4Zn3l2U
2018-04-25 22:33:50 +02:00
Jan Henning
cef18fd372
Bug 1456391 - Part 3: Use new mapFrameTree version on Desktop. r=mikedeboer
...
MozReview-Commit-ID: AUQXLPnO1CH
2018-04-25 22:07:31 +02:00
Jan Henning
152d7804ea
Bug 1456391 - Part 1: Move nsISessionStoreUtils to Toolkit. r=Nika
...
We want to use forEachNonDynamicChildFrame() on Android as well.
MozReview-Commit-ID: E4sJa6gbyuq
2018-04-24 21:52:46 +02:00
Adrian Wielgosik
65b770c17d
Bug 1418078 - Convert JS users of nsIDOMHTMLInputElement. r=bz
...
MozReview-Commit-ID: 55aIiNHS0xs
2018-04-18 22:29:50 +02: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
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
Dão Gottwald
769b1f3387
Bug 1410591 - Focus the content area when restoring the selected tab. r=mikedeboer
2018-04-23 19:13:58 +02:00
Boris Zbarsky
7396d0b5a7
Bug 1429903 part 2. Stop using nsIDOMEventTarget in xpidl. r=mccr8
...
MozReview-Commit-ID: HQw7TyJUapY
2018-04-20 00:49:30 -04:00
Boris Zbarsky
ced355935b
Bug 1455055 part 7. Clean up remaining HandleEvent implementations. r=masayuki
...
MozReview-Commit-ID: LezJYKK74H5
2018-04-20 00:49:30 -04:00
Boris Zbarsky
65759d684b
Bug 1455055 part 1. Convert nsIDOMEventListener to taking an Event, not an nsIDOMEvent. r=masayuki
...
This does no cleanup other than what's needed to compile. Cleanup coming up in
later patches.
MozReview-Commit-ID: 3sOnkj71n09
2018-04-20 00:49:29 -04:00
Mike de Boer
fb8d750fae
Bug 1034036 - Part 7: Test that we stored window z-indices correctly and in order of creation. Ensure that we restore windows in reverse z-index order. r=dao
...
MozReview-Commit-ID: 6z1zHUKDf9
2018-04-11 12:06:16 +02: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
a2f68d29db
Bug 1034036 - Part 5: restore windows in reverse z-order, so that the last focused window is restored first and stays in front. r=dao
...
MozReview-Commit-ID: 22OIFutLgmx
2018-04-11 12:06:09 +02:00
Mike de Boer
28713f6c1d
Bug 1034036 - Part 4: move away from keeping state on the living objects, like windows, tabs and browsers, but keep it truly privately stored in WeakMaps. r=dao
...
NOTE: The '__SSi' and '__SS_lastSessionWindowID' properties on windows are kept,
because they are expected to stick around longer during application shutdown.
The benefits is are:
1. Cleaner code - Sessionstore implementation details are not leaked outside its
module.
2. Observing the lifetime of objects becomes unnecessary, because the WeakMaps are
cleaned up when objects are GC'd, making leakage of their references impossible
and Sessionstore can't hold objects hostage anymore.
3. Simplification - all state is now maintained in SessionStore.jsm, which allows
for additional refactoring later on to simplify the implementation further.
MozReview-Commit-ID: C1II8qHkQ6F
2018-04-11 12:06:06 +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
Boris Zbarsky
60c4cef055
Bug 1453487 part 1. Stop using XPCWrappedNative for nsIDOMEventListener. r=smaug
...
MozReview-Commit-ID: Es4fEdGDzbx
2018-04-12 00:05:38 -04:00
Boris Zbarsky
0e6ee1bab5
Bug 1453345 part 5. Remove pointless JS implemenations of QI to nsIDOMEventListener. r=smaug
...
MozReview-Commit-ID: Db0v6GZ0deo
2018-04-12 00:03:45 -04:00
Boris Zbarsky
9b3d2984f3
Bug 1453345 part 1. Switch session storage content scripts to not rely on XPCWrappedJS implementing nsIDOMEventListener. r=smaug
...
MozReview-Commit-ID: LPYKxngcXJw
2018-04-12 00:03:44 -04:00
Nika Layzell
3d4a532d9d
Bug 1434768 - Part 3: Rewrite JS consumers of .sessionHistory, r=bz
2018-04-10 17:49:45 -04:00
Jonathan Kingston
9b880fdc20
Bug 1374741 - Within browser/ make openUILinkIn() provide the correct triggeringPrincipal. r=gijs
...
MozReview-Commit-ID: 1NQrlWzIBja
2018-02-21 14:28:48 +00:00
Tooru Fujisawa
6876df089a
Bug 1448531 - Part 2: Make BrowserTestUtils.waitForNewWindow receive parameters object. r=enndeakin
2018-04-10 12:18:35 +09:00
Xidorn Quan
3f55f4e5c1
Bug 1446343 part 2 - Convert size attributes to outer size for sessionstore. r=mikedeboer
...
MozReview-Commit-ID: FS6yrGggD7o
2018-04-06 15:01:04 +10:00
Dão Gottwald
db43d4f919
Bug 1451709 - Remove code for the "Restore Tabs From Last Time" button in the tab bar. r=mikedeboer
...
MozReview-Commit-ID: JMmkE6axBBK
2018-04-05 14:02:55 +02:00
Dão Gottwald
81e69d1b32
Bug 1450559 - Remove nsISessionStore in favor of SessionStore.jsm. r=mikedeboer
...
MozReview-Commit-ID: 8spvIOus9ai
2018-04-05 16:30:48 +02:00
Shane Caraveo
8e351cf3e5
Bug 1344749 followup fix for session restore when using insertAfterCurrent and intermittent test failure, r=dao
...
Relying on this._browserSetState was incorrect as that is only set via tests. It needs to be always true so session restore works in the right order.
The lazy restore is fine in the test, and avoids the about:blank intermittent (or at least makes it much much harder to reproduce on my linux vm).
2018-04-04 09:23:32 -05:00
Manish Kumar
5e5cd56966
Bug 1446719 - Rename getTabValue / setTabValue / deleteTabValue to getCustomTabValue / setCustomTabValue / deleteCustomTabValue. r=dao
2018-04-01 16:05:34 +02:00
Andreea Pavel
1f89e006d3
Backed out changeset f80a1b8f781b (bug 1446719) for failing browser chrome at browser/components/sessionstore/test/browser_350525.js on a CLOSED TREE
2018-04-01 16:16:09 +03:00
Manish Kumar
4e76537e9d
Bug 1446719 - Rename getTabValue / setTabValue / deleteTabValue to getCustomTabValue / setCustomTabValue / deleteCustomTabValue. r=dao
2018-04-01 11:15:54 +02:00
Bob Silverberg
53970dbf30
Bug 1344749 - Expose API to customize where new tabs open, r=dao
...
This patch implements the preference "browser.tabs.insertAfterCurrent" which,
when set to true, will cause all tabs (related and unrelated) to be opened next
to the current tab.
It also implements the browserSettings API "newTabPosition", which allows
extensions to control both "browser.tabs.insertRelatedAfterCurrent", and
"browser.tabs.insertAfterCurrent" via values for "afterCurrent",
"relatedAfterCurrent" and "atEnd".
The code for "browser.tabs.insertAfterCurrent" including the test for it is
mostly taken from a patch attached to bug 933532 written by Masayuki Nakano.
MozReview-Commit-ID: KQE7M2FGpc7
2018-01-19 12:59:53 -05:00
Tim Nguyen
d49de43825
Bug 1444760 - Combine loadURIWithFlags and loadURI methods. r=dao
...
MozReview-Commit-ID: 5dsyKwvjYht
2018-03-16 23:21:46 +00:00
Tim Nguyen
c389c6cf9c
Bug 1444760 - Support only one form of loadURIWithFlags calls. r=dao
...
MozReview-Commit-ID: A5rMjQ6xnRw
2018-03-25 14:35:17 +02:00
Margareta Eliza Balazs
8ad3204b44
Backed out 2 changesets (bug 1444760) for ES lint failure in /builds/worker/checkouts/gecko/browser/base/content/browser.js on a CLOSED TREE
...
Backed out changeset 71f61091a716 (bug 1444760)
Backed out changeset 4956db1e9bdd (bug 1444760)
2018-03-25 15:29:54 +03:00
Tim Nguyen
76bd43b52d
Bug 1444760 - Combine loadURIWithFlags and loadURI methods. r=dao
...
MozReview-Commit-ID: 5dsyKwvjYht
2018-03-16 23:21:46 +00:00
Tim Nguyen
9f6b37eabb
Bug 1444760 - Support only one form of loadURIWithFlags calls. r=dao
...
MozReview-Commit-ID: A5rMjQ6xnRw
2018-03-25 13:59:50 +02:00
Boris Zbarsky
1eb7f3f9c3
Bug 1444143 part 10. Remove unnecessary QIs to Ci.nsIFrameLoader in JS. r=mystor
...
nsFrameLoader is on WebIDL bindings, so those QIs are no-ops anyway, unless the given object is no a frameloader to start with.
MozReview-Commit-ID: IPiW70H5NPc
2018-03-21 22:43:17 -04:00
Peter Van der Beken
75d03ab497
Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 6: Mark some IDL interfaces as non-scriptable. r=bz.
2018-03-01 20:19:56 +01:00
Sylvestre Ledru
dc7151d6f9
Bug 1446809 - Ride along: also remove some mobile/xul/ legacy declaration r=florian
...
MozReview-Commit-ID: 102syxweBN3
2018-03-19 10:43:17 +01:00
Sylvestre Ledru
c511c6c332
Bug 1446809 - Remove some b2g leftover in desktop/ r=florian
...
MozReview-Commit-ID: FPwAZmpoiUV
2018-03-18 19:27:05 +01:00
Julian Descottes
60b399b826
Bug 1444926 - Move devtools/shim to devtools/startup;r=ochameau
...
MozReview-Commit-ID: K9WuJuTdYHS
2018-03-12 14:41:48 +01:00
Noemi Erli
44f56b0763
Backed out 10 changesets (bug 1446809) for failures in testing/mozbase/moztest/tests/test.py on a CLOSED TREE
...
Backed out changeset 5748f214f813 (bug 1446809)
Backed out changeset 1c7a6f2885fb (bug 1446809)
Backed out changeset 2c31f0efbe64 (bug 1446809)
Backed out changeset e102f93c590f (bug 1446809)
Backed out changeset c722a1c3395f (bug 1446809)
Backed out changeset 20b4c87f8abb (bug 1446809)
Backed out changeset 31026393c5b6 (bug 1446809)
Backed out changeset 9103be0ca176 (bug 1446809)
Backed out changeset 11d671ad8ed4 (bug 1446809)
Backed out changeset e412991e7f95 (bug 1446809)
2018-03-20 17:00:04 +02:00
Sylvestre Ledru
e81cadba09
Bug 1446809 - Ride along: also remove some mobile/xul/ legacy declaration r=florian
...
MozReview-Commit-ID: 102syxweBN3
2018-03-19 10:43:17 +01:00
Sylvestre Ledru
be78fbb3c7
Bug 1446809 - Remove some b2g leftover in desktop/ r=florian
...
MozReview-Commit-ID: FPwAZmpoiUV
2018-03-18 19:27:05 +01:00
Tooru Fujisawa
f415c74b57
Bug 1442465 - Part 4.2: Stop unnecessarily awaiting on BrowserTestUtils.removeTab (simple part). r=dao
2018-03-19 11:16:45 +09:00
Tooru Fujisawa
c7c8a3fc96
Bug 1442465 - Part 4.1: Stop unnecessarily awaiting on BrowserTestUtils.removeTab (non-simple part). r=dao
2018-03-19 11:12:14 +09:00
Tooru Fujisawa
12d7012b4a
Bug 1442465 - Part 3: Use BrowserTestUtils.{waitForTabClosing,waitForSessionStoreUpdate} instead of BrowserTestUtils.removeTab. r=dao
2018-03-19 11:12:13 +09:00
Bogdan Tara
1096f0f569
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-03-17 12:34:09 +02:00
Kris Maglione
9d5b9190a5
Bug 1443964: Part 3 - Remove no-cpows-in-tests rule. r=mconley
...
The shims that this rule tests for no longer exist.
MozReview-Commit-ID: DMgP7Hczavc
2018-03-07 19:31:28 -08:00
Oriol Brufau
c525c302e5
Bug 1418009 - Avoid speculative connections on prematurely inserted lazy tabs r=dao
...
MozReview-Commit-ID: 3T8PLBLEGNt
2018-03-16 16:58:36 +01:00
Brendan Dahl
8a8bb26748
Bug 1442302 - Remove placesOverlay.xul. r=Gijs,mak,standard8
...
The overlay was responsible for script loading and defining three elements
(bhTooltip, placesCommands, placesContext). In the majority of places where
the overlay was included only part of it was used. To remove the overlay, the
elements were each split into include files and moved into where they
were used. For the scripts, a JS file was added that defines all the lazy
modules and then this script, globalOverlay.js and utilityOverlay.js were
inlined to everywhere that would have included them from the overlay.
MozReview-Commit-ID: 8T5D46oYWLn
2018-03-12 10:43:35 -07:00