Граф коммитов

66 Коммитов

Автор SHA1 Сообщение Дата
Jonathan Kingston 42bd423a94 Bug 1490257 - Add principal to JS code for passing explicit triggeringPrincipals. r=ckerschb
Depends on D10882

Differential Revision: https://phabricator.services.mozilla.com/D10883

--HG--
extra : moz-landing-system : lando
2018-11-05 14:05:19 +00:00
Gurzau Raul 424b125b93 Backed out changeset 523ff2753dea (bug 1490257) for causing Bug 1503757 a=backout 2018-11-01 15:27:30 +02:00
Jonathan Kingston 873b26107e Bug 1490257 - Add asserts into loadURI where we imply SystemPrincipal. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D10221

--HG--
extra : moz-landing-system : lando
2018-10-31 18:00:40 +00:00
Alphan Chen a4a1c5d65f Bug 1497144 part 2 - Get rid of ScrollPosition.jsm r=JanH,nika
Differential Revision: https://phabricator.services.mozilla.com/D8534

--HG--
extra : moz-landing-system : lando
2018-10-23 08:17:51 +00:00
Alphan Chen a4e8927982 Bug 1497144 - Rewrite DocShellCapabilities.jsm and ScrollPosition.jsm into C++ r=nika
Differential Revision: https://phabricator.services.mozilla.com/D8083

--HG--
extra : moz-landing-system : lando
2018-10-23 08:15:56 +00:00
Nicholas Nethercote 7f2bb554d6 Bug 1490158 Remove On{Length,Index}Changed from nsISHistoryListener. r=nika
They're never used.

--HG--
extra : rebase_source : 94f94e4d198917aa5e1d9322e9ba195f641e6e45
2018-09-07 10:27:05 +10:00
Nicholas Nethercote 951d44ded0 Bug 1490158 - Minimize cancelability in nsISHistoryListener. r=nika
nsISHistoryListener can cancel several operations, but the functionality is
only ever used for OnHistoryReload(). So this patch removes it for the other
operations.

--HG--
extra : rebase_source : 433422e9160f7d645570baaaff4779c4bcc3ec04
2018-09-06 16:51:58 +10:00
ui.manish ea4e07a085 Bug 1353536 - Remove the makeURI method from toolkit/modules/sessionstore/Utils.jsm. r=johannh
--HG--
extra : rebase_source : 4ac5f13b2fcb80be5041ef38f4a40181ec10e1cc
extra : amend_source : bdbb0143dbef7473fefcdebcf5ec45763de8c66f
2018-08-29 10:31:20 +02:00
Nicholas Nethercote 70d22aa86a Bug 1487328 - Remove nsISHistoryListener.OnHistoryGo{Back,Forward}. r=nika
As per the previous commit, they are now subsumed by OnHistoryGotoIndex.

--HG--
extra : rebase_source : 627a32ed9378c7dd5364323183297933f90f9d72
2018-09-03 09:27:37 +10:00
Mark Banner 691543ee89 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

--HG--
extra : moz-landing-system : lando
2018-08-31 05:59:17 +00:00
Kris Maglione 02ba563399 Bug 1463016: Part 5 - Add domWindow property to DocShellTreeItem and update callers to use it. r=nika
MozReview-Commit-ID: FRRAdxLHRtG

--HG--
extra : source : 0d69b4fb1ed43751cfcbc0b4f2fe3b6a49bc0494
extra : histedit_source : d0ce31513ffaae2fd7f01f6567a97b6d2d96b797%2Cfff837de7a00fa90809d2c3e755097180dfd56d8
2018-05-20 18:10:16 -07:00
Narcis Beleuzu 561ccb2ceb Backed out 2 changesets (bug 1463016, bug 1463291) for geckoview failures
Backed out changeset fcfb99baa0f0 (bug 1463291)
Backed out changeset 0d69b4fb1ed4 (bug 1463016)
2018-07-29 03:55:23 +03:00
Kris Maglione 636f1839e5 Bug 1463016: Part 5 - Add domWindow property to DocShellTreeItem and update callers to use it. r=nika
MozReview-Commit-ID: FRRAdxLHRtG

--HG--
extra : rebase_source : 36565ef5e74360aad14062005e5bdab2939e888b
2018-05-20 18:10:16 -07:00
Mark Banner 6feaa5a9c3 Bug 1478308 - Remove unnecessary ChromeUtils.imports in browser/ r=mikedeboer
MozReview-Commit-ID: BYTDdLU2HoM

--HG--
extra : rebase_source : 1e31ff288280d09ae226cdc698331263ba969205
2018-07-25 09:10:07 +01:00
Narcis Beleuzu d47c829065 Backed out 4 changesets (bug 1478308) for ESlint failure on AttributionCode.jsm. CLOSED TREE
Backed out changeset a809b45ff49b (bug 1478308)
Backed out changeset c68131530742 (bug 1478308)
Backed out changeset 0e4ba7a6dc1a (bug 1478308)
Backed out changeset 32a27f317a77 (bug 1478308)
2018-07-26 11:13:28 +03:00
Mark Banner 180233c593 Bug 1478308 - Remove unnecessary ChromeUtils.imports in browser/ r=mikedeboer
MozReview-Commit-ID: BYTDdLU2HoM

--HG--
extra : rebase_source : 67dc15c0cdff0234d3274f1a8978d1f2a5b3f411
2018-07-25 09:10:07 +01:00
Kris Maglione a259026c9d 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

--HG--
extra : rebase_source : a29c07530586dc18ba040f19215475ac20fcfb3b
2018-04-22 20:55:06 -07:00
Nika Layzell 4464c02334 Bug 1434768 - Part 3: Rewrite JS consumers of .sessionHistory, r=bz 2018-04-10 17:49:45 -04:00
Florian Quèze 682b1ec3b2 Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
Andrew McCreight 5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Kris Maglione 918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou 9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione 6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Dan Banner 7caa92d5d8 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Tim Taubert 26a7909744 Bug 1373672 - Part 1: Filter events from dynamic docShells in Gecko before they reach SessionStore event handlers r=smaug,mystor 2017-08-02 19:08:04 +02:00
Sebastian Hengst c3bdf442b0 Backed out changeset e62c93a8c93b (bug 1373672) for bustage at nsSessionStoreUtils.cpp:21: bad implicit conversion constructor for 'DynamicFrameEventFilter, and e.g. eslint failures. r=backout on a CLOSED TREE
--HG--
extra : amend_source : 7ae39f6dca050173fd0c1103d309b7a9a175a377
2017-08-01 12:39:21 +02:00
Tim Taubert 36e075eddf Bug 1373672 - Part 1: Filter events from dynamic docShells in Gecko before they reach SessionStore event handlers r=smaug,mystor 2017-07-21 14:57:30 +02:00
Tim Taubert a92639f8e8 Bug 1348816 - Remove PageStyle collection/restoration from SessionStore r=mikedeboer 2017-07-21 10:35:20 +02:00
Ehsan Akhgari 941548abbb Bug 1374892 - Implement nsISHistoryListener::OnLengthChanged/OnIndexChanged on the JS implementations to avoid generating silent exceptions when Gecko calls these functions; r=freesamael 2017-06-22 00:30:37 -04:00
Christoph Kerschbaumer 816ea3a9bd Bug 1361387 - Update callsites of loadURI() within browser/ to pass a triggeringPrincipal. r=gijs 2017-05-03 10:23:59 +02:00
Eugen Sawin 0b1bae9e19 Bug 1355542 - [2.0] Remove unused web progress callbacks and add missing progress filters. r=felipe 2017-04-13 23:20:17 +02:00
Mark Banner c26710ebe4 Bug 1311347 - Enable eslint of browser/components/sessionstore/. Manual fixes. r=jaws
MozReview-Commit-ID: AupJNLZJ2Ye

--HG--
extra : rebase_source : b9113d1ca913d399ca4e831f3c381e8fa45847bd
2017-03-13 10:32:03 +00:00
Mark Banner 4acba13973 Bug 1311347 - Enable eslint of browser/components/sessionstore/. Autofix changes. r=jaws
MozReview-Commit-ID: 5LKHbcmjSy

--HG--
extra : rebase_source : d7e4571dae5c5770c7908579d7634419382d78e2
2017-03-10 19:51:20 +00:00
jordan9769 5761e9b0d1 Bug 1311347 - Enable eslint of browser/components/sessionstore/. Initial changes by Sourav, updated by Standard8. r=jaws
MozReview-Commit-ID: 4RFxoV8SkIa

--HG--
extra : rebase_source : 96b24b172cfa957489df37943171ddae07145e84
2016-10-28 02:48:50 +05:30
Jan Henning 5e22220b1b Bug 1340828 - Part 1 - Move SessionHistory.jsm to toolkit. r=mikedeboer
We want to use this for Android, too. Once again, moving the file necessitates fixing a few ESLint errors that weren't yet checked for under the old directory.

MozReview-Commit-ID: IPxcizKwzAX

--HG--
rename : browser/components/sessionstore/SessionHistory.jsm => toolkit/modules/sessionstore/SessionHistory.jsm
extra : rebase_source : 77a85942443026620c77508d6ccb405e0a9864ff
2017-02-18 20:54:09 +01:00
Christoph Kerschbaumer be82c7af85 Bug 1329032 - Extend loadURIWithOptions by a triggeringPrincipal. r=bz,gijs 2017-01-18 08:24:55 +01:00
Wes Kocher cb7e0bda60 Backed out 2 changesets (bug 1329032) for failures a=backout
Backed out changeset 16c4f0df527d (bug 1329032)
Backed out changeset 54f7bfe3ca11 (bug 1329032)

MozReview-Commit-ID: ChGyTdJvT8N
2017-01-17 14:08:10 -08:00
Christoph Kerschbaumer 05287d4fa8 Bug 1329032 - Extend loadURIWithOptions by a triggeringPrincipal. r=bz,gijs 2017-01-17 21:52:01 +01:00
Thomas Nguyen 0aaea58b69 Bug 1304623 - Create a pref to control the default referrer policy - part 3. r=bkelly
MozReview-Commit-ID: 1A6IHPeNYBQ
2017-01-05 11:29:56 +08:00
Geoff Brown ef3f1323fa Bug 1313397 - Move browser/components/sessionstore/Utils.jsm to toolkit/modules; r=mikedeboer
--HG--
rename : browser/components/sessionstore/Utils.jsm => toolkit/modules/sessionstore/Utils.jsm
2016-11-02 10:56:20 -06:00
Andrea Marchesini dd6cbdac21 Bug 1271516 - Introducing nsIWebNavigation.setOriginAttributesBeforeLoading, r=smaug 2016-06-07 19:59:22 +02:00
Phil Ringnalda 035f8773be Back out 32d16086e85e (bug 1271516) for frequent ChromeUtils::IsOriginAttributesEqual assertin failures
CLOSED TREE
2016-06-06 21:07:42 -07:00
Andrea Marchesini 943c6e667c Bug 1271516 - Introducing nsIWebNavigation.setOriginAttributesBeforeLoading, r=smaug 2016-06-07 00:47:13 +02:00
Gijs Kruitbosch b6a127aa5c Bug 1266475 - don't re-load about:blank when we're remoteness-switching anyway, r=mconley
MozReview-Commit-ID: HwPrmjzCxHq

--HG--
extra : rebase_source : 0526ffa60cc63cad9aaaa16b0f0bf2faa69234f2
extra : amend_source : 5a0135c6daf192d12dd1b24570a33ea6afb29310
2016-04-21 17:55:42 +01:00
Mike Conley 8a1555ed30 Backout patch for bug 1175267 (again) for causing bugs 1213650 and 1228179.
--HG--
extra : commitid : yjJoUlqkYf
2015-11-26 10:07:27 -05:00
Dave Townsend 67aad6b373 Bug 1175267: When a load redirected to a new process is cancelled restore the existing content. r=billm
--HG--
extra : commitid : CFdxEx6mSUv
extra : rebase_source : fda429c4426aff3cb31271e20514bfe4d9242f53
extra : histedit_source : e333be1836dc0b23955ad2db77bfb7d18803fa7b
2015-08-10 13:38:39 -07:00
Mike Conley df62d579fc Backout fix for bug 1175267 (76a433881e4b) for causing bug 1213650.
--HG--
extra : commitid : 8rlqLu5o0ef
2015-11-18 12:20:29 -05:00
Dave Townsend 1060021790 Bug 1175267: When a load redirected to a new process is cancelled restore the existing content.
--HG--
extra : commitid : GTJPPc0CiVF
extra : rebase_source : 8f12d85271b2fa9fbca346659b58dfe7f369b22b
2015-08-10 13:38:39 -07:00