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
Mark Banner
ec9360ee83
Bug 1434446 - Enable no-unused-vars for global scope on jsm files in browser/. r=mossop
...
MozReview-Commit-ID: ERT1Fili25d
2018-03-01 20:06:06 +00:00
Sebastian Hengst
500c4f7ad2
Backed out 6 changesets (bug 888600) for beta simulation failures: build bustage on Linux and Windows opt (bug 1442036) and devtools failure browser_net_view-source-debugger.js (bug 1441961). a=backout
...
Backed out changeset 83c87140dc3d (bug 888600)
Backed out changeset 2efb9b1753f6 (bug 888600)
Backed out changeset af5303781961 (bug 888600)
Backed out changeset 79ef59047e63 (bug 888600)
Backed out changeset 30d568d628dd (bug 888600)
Backed out changeset c7bd4c6c9741 (bug 888600)
2018-03-01 11:51:09 +02:00
Florian Quèze
f6add2cafd
Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop.
2018-02-28 18:51:33 +01:00
Sebastian Hengst
b120b7fb67
merge mozilla-inbound to mozilla-central. a=merge
2018-02-28 12:54:12 +02:00
Liang-Heng Chen
e05920085d
Bug 1379072 - Intermittent failure of browser/components/sessionstore/test/browser_354894_perwindowpb.js, r=michal
...
Wait for the tabs to finish when loading test tabs.
2018-02-27 09:21:00 +02:00
Brian Grinstead
c116f51a86
Bug 1440094 - Remove imports to Console.jsm that only access the 'console' object;r=mossop
...
Importing this object is unnecessary after the updates to the WebIDL console from Bug 1425574
and the follow-ups blocking Bug 1430810. There are still callers that access Console.jsm
to create custom ConsoleAPI objects, but those will be handled separately.
MozReview-Commit-ID: 9ojFxtkpPId
2018-02-27 11:29:59 -08:00
Peter Van der Beken
972562411b
Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 6: Mark some IDL interfaces as non-scriptable. r=bz.
2018-02-22 20:22:29 +01:00
Andreea Pavel
cd212f5763
Backed out changeset ba1524e32b04 (bug 1373055) for causing a frequency uptick of bug 1430466
2018-02-25 15:09:08 +02:00
Florian Quèze
f1a55f73f8
Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8.
2018-02-23 20:50:01 +01:00
Arjun Krishna Babu
97a8c2b10f
Bug 1373055 - Unload crashed background tabs instead of flipping their remoteness and sending them to about:blank; r=mconley
...
When background tabs crash, they were being replaced by about:blank tab
hosted in parent process.
Now that there is a mechanism for lazily creating browsers, discarding the
crashed background browser until they are selected is a cheaper operation
(compared to creating about:blank).
Certain test cases were also updated to take into account the new scenario.
2018-02-22 17:32:29 -05:00
Dorel Luca
9260b212cd
Backed out 6 changesets (bug 888600) for Valgrind and build bustge on a CLOSED TREE
...
Backed out changeset 7c8317f4ad48 (bug 888600)
Backed out changeset 5b990735f1ad (bug 888600)
Backed out changeset 9eafe225b804 (bug 888600)
Backed out changeset 16af80d6cd93 (bug 888600)
Backed out changeset a109987af625 (bug 888600)
Backed out changeset 0949dba396ad (bug 888600)
2018-02-22 13:56:43 +02:00
Peter Van der Beken
5fb60d9c57
Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 6: Mark some IDL interfaces as non-scriptable. r=bz.
2017-11-23 16:27:27 +01:00
Cosmin Sabou
2dd6e1df06
Bug 1435394 - Disable browser/components/sessionstore/test/browser_upgrade_backup.js for frequent failures on Linux debug & asan. r=jmaher
2018-02-21 11:29:36 +02:00
Florian Quèze
05ea0eb30d
Bug 1403648 - focus the urlbar at first paint without waiting for a promise to resolve in most cases, r=johannh.
2018-02-14 22:15:05 +01:00
Masayuki Nakano
efaea0aaa7
Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug
...
Note that this patch also replaces legacy VK_* with KEY_*, and replaces
synthesizeKey() for inputting some characters with sendString() because
it's better and clearer what it does and it sets shiftKey state properly.
MozReview-Commit-ID: De4enbjux3T
2018-02-15 04:15:39 +09:00
Kathy Brade
2f5dab1e88
Bug 1433523 - Disable Session Restore in Permanent PBM. r=mikedeboer
...
When in permanent private browsing mode, always return false
for isAutomaticRestoreEnabled. This ensures that there will
not be any confusion inside nsBrowserContentHandler.defaultArgs
as to whether a one time session restore will occur.
Also, for consistency and in case someone looks at the pref,
avoid setting browser.sessionstore.resume_session = true during
browser shutdown.
This bug occurred when staging was not used during the update
process. On Windows it always occurred because staging is not
used even when it should be (https://trac.torproject.org/18292 ).
2018-02-12 22:08:00 +02:00