Commit Graph

143 Commits

Author SHA1 Message Date
Johann Hofmann
2121e27531 Bug 1515073 - Part 1 - Add nsISHEntry::hasUserInteraction. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D27585
2020-06-09 14:48:38 +00:00
Andrea Marchesini
22d905d24e Bug 1639833 - IntrisincStoragePrincipal should always be partitioned - part 2 - Expose PartitionedPrincipal, r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D76915
2020-06-03 06:09:52 +00:00
Csoregi Natalia
2d5cafc841 Backed out 5 changesets (bug 1639833) for failures on browser_blockingIndexedDbInWorkers.js. CLOSED TREE
Backed out changeset 6b4f76d65540 (bug 1639833)
Backed out changeset c77acba1aacb (bug 1639833)
Backed out changeset 30c97666919e (bug 1639833)
Backed out changeset d769b313441a (bug 1639833)
Backed out changeset ed41b41d1b03 (bug 1639833)
2020-06-02 15:02:31 +03:00
Andrea Marchesini
e31c7313ca Bug 1639833 - IntrisincStoragePrincipal should always be partitioned - part 2 - Expose PartitionedPrincipal, r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D76915
2020-06-02 08:28:05 +00:00
Noemi Erli
f08b043cf6 Backed out 5 changesets (bug 1639833) for causing sessionstorage related failures CLOSED TREE
Backed out changeset b36af8d9db34 (bug 1639833)
Backed out changeset 712c11904dbe (bug 1639833)
Backed out changeset 14f1e4783582 (bug 1639833)
Backed out changeset b7f14c4cfe5d (bug 1639833)
Backed out changeset b4b25034dd83 (bug 1639833)
2020-06-01 19:31:50 +03:00
Andrea Marchesini
8c0df411d1 Bug 1639833 - IntrisincStoragePrincipal should always be partitioned - part 2 - Expose PartitionedPrincipal, r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D76915
2020-06-01 11:57:46 +00:00
Dão Gottwald
0e85250451 Bug 1624294 - Remove underused Utils.hasRootDomain. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D67839

--HG--
extra : moz-landing-system : lando
2020-03-24 15:15:31 +00:00
Dão Gottwald
e4af8991af Bug 1623664 - Remove unused Utils.serializeInputStream, Utils.shallowCopy. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D67504

--HG--
extra : moz-landing-system : lando
2020-03-20 14:31:44 +00:00
Alphan Chen
cb65e20cb3 Bug 1507287 - Make sessionRestore work with session history living in the parent process. r=peterv,mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D46281

--HG--
extra : moz-landing-system : lando
2020-03-19 14:31:52 +00:00
Noemi Erli
744bc34135 Backed out changeset 4c6b9209306d (bug 1507287) for causing geckoview failures CLOSED TREE 2020-03-16 23:23:09 +02:00
Alphan Chen
a9d46bba49 Bug 1507287 - Make sessionRestore work with session history living in the parent process. r=peterv,mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D46281

--HG--
extra : moz-landing-system : lando
2020-03-16 18:33:32 +00:00
Daniel Varga
8d900cf3ef Backed out changeset e51b4e883adc (bug 1507287) for not having proper review 2020-03-03 18:23:07 +02:00
Alphan Chen
9ead74bd10 Bug 1507287 - Make sessionRestore work with session history living in the parent process. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D46281

--HG--
extra : moz-landing-system : lando
2020-03-03 16:16:03 +00:00
Jonathan Kingston
95af7e4a88 Bug 1594162 - Fix missing triggering principal from session restore. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D54930

--HG--
extra : moz-landing-system : lando
2020-01-02 15:23:19 +00:00
Peter Van der Beken
b6d4b5e93c Bug 1588491 - Associate session history entries with a session history object from creation. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D49170

--HG--
extra : rebase_source : bc4c6e8cea0de7e85ae78ffb3ce09a7465e61b4a
extra : amend_source : 956bf8fa227e613b7f816dd5af9029ed24ba2c46
extra : source : 2d4b06fe1f429eec844cdeba8a7faaa63bfc25ab
extra : histedit_source : a2345826c7f94311ee57d805bf3ac9bed2e12ea7
2019-10-17 20:03:49 +02:00
Peter Van der Beken
bc0cfa0be9 Bug 1583568 - Add getter for BFCache id in parent. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D47047

--HG--
extra : rebase_source : c4f104be390dd4af4e6e59f97898702dd18857ca
extra : source : 4de2f692d066d2e0b3a652eb0f24ab9bc56285c3
extra : histedit_source : c131a6b780740664ddc72f40eff5ca0d8f688399
2019-09-23 17:42:35 +02:00
Peter Van der Beken
1d35a2c86b Bug 1438272 - Part 3: move session history to parent process. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D26904

--HG--
extra : source : 29cc55878945008fdc4f356969fe528c85f34d41
extra : amend_source : fb5a3bb318346ec6fc02bcdac51f1588b6e87634
2019-03-05 15:46:10 +01:00
monikamaheshwari
9d60e0d578 Bug 1578683 Turn on ESLint rule prefer-boolean-length-check for toolkit and browser r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D45629

--HG--
extra : moz-landing-system : lando
2019-09-14 09:39:26 +00:00
Ehsan Akhgari
f1a654d1ed Bug 1565052 - Serialize/deserialize nsISHEntry.storagePrincipalToInherit across the e10s process boundary; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D37641

--HG--
extra : moz-landing-system : lando
2019-07-11 08:10:20 +00:00
Victor Porof
815b9d372b Bug 1561435 - Fix linting errors for toolkit/, r=standard8
# ignore-this-changeset

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

--HG--
extra : source : e6571d8ed75be94bdcdef8fbd0d977bfa92f3a34
extra : intermediate-source : 1351521a4bb3f78be45cf6bf6df90b4c75a959c4
2019-06-25 23:43:58 +02:00
Victor Porof
b503616295 Bug 1561435 - Format toolkit/modules/, a=automatic-formatting
# ignore-this-changeset

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

--HG--
extra : source : 2616392f26053ee376b9126fbca696de5d4bb15b
2019-07-05 11:15:43 +02:00
Mike de Boer
68fc536019 Bug 1553413 - Update and harden form data filtering for privacy to account for no data being passed in. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D32116

--HG--
extra : moz-landing-system : lando
2019-05-22 09:46:58 +00:00
Alphan Chen
6d33e62c06 Bug 1497147 - Rewrite "mapFrameTree" implementation to C++ r=peterv
Get rid of mapFrameTree() implementation

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

--HG--
extra : moz-landing-system : lando
2019-02-28 13:09:54 +00:00
Boris Zbarsky
9c5da5f234 Bug 1489308 part 9. Remove now-unused wyciwyg bits. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D17327

--HG--
rename : dom/html/test/browser_refresh_wyciwyg_url.js => dom/html/test/browser_refresh_after_document_write.js
rename : dom/html/test/file_refresh_wyciwyg_url.html => dom/html/test/file_refresh_after_document_write.html
extra : moz-landing-system : lando
2019-02-28 01:09:48 +00:00
Christoph Kerschbaumer
8124d3a763 Bug 1518454: Part 2, frontend changes, add CSP to loadURIOptions dictionary and pass CSP explicitly from frontend to docshell. r=gijs 2019-02-22 09:19:26 +01:00
Jonathan Kingston
cf5ea59a1e Bug 1521878 - Have fallback consistency for (de)serialization of principals. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D17271

--HG--
extra : moz-landing-system : lando
2019-02-21 18:12:35 +00:00
Jonathan Kingston
cf14643de4 Bug 1521549 - Move (de)serializePrincipal from sessionstore Utils to E10SUtils. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D17261

--HG--
extra : moz-landing-system : lando
2019-02-19 02:34:09 +00:00
Nika Layzell
947aaf1432 Bug 1522637 - Part 3: Send history index when resuming redirected loads, r=qdot
Depends on D18603

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

--HG--
extra : moz-landing-system : lando
2019-02-15 19:49:11 +00:00
Razvan Maries
d93d94cbc9 Backed out 9 changesets (bug 1522637) for causing bug 1528188. a=backout
Backed out changeset e4ca191d62a5 (bug 1522637)
Backed out changeset 540e5f318768 (bug 1522637)
Backed out changeset 0886a317a108 (bug 1522637)
Backed out changeset 4c7c512a262d (bug 1522637)
Backed out changeset d7eb272688be (bug 1522637)
Backed out changeset 67e838f49f4b (bug 1522637)
Backed out changeset 7e38890c72fa (bug 1522637)
Backed out changeset e6ca9ad18d15 (bug 1522637)
Backed out changeset 0f759e91eca8 (bug 1522637)
2019-02-15 18:21:36 +02:00
Nika Layzell
6ded246a08 Bug 1522637 - Part 3: Send history index when resuming redirected loads, r=qdot
Depends on D18603

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

--HG--
extra : source : 6b4d010964ec9e2175e7ba02991d083fab128c49
2019-02-14 15:36:02 +00:00
Bogdan Tara
c732fccb1e Backed out 8 changesets (bug 1522637) for browser_all_files_referenced.js failures CLOSED TREE
Backed out changeset f7ab0e6e739b (bug 1522637)
Backed out changeset 3d24e8e81c02 (bug 1522637)
Backed out changeset 41ca0b87537e (bug 1522637)
Backed out changeset 6e0d4b6b1c93 (bug 1522637)
Backed out changeset 8f494271ec06 (bug 1522637)
Backed out changeset 6b4d010964ec (bug 1522637)
Backed out changeset 5eeda2ba8e79 (bug 1522637)
Backed out changeset 5988b8e7d17c (bug 1522637)
2019-02-14 19:20:58 +02:00
Nika Layzell
438cbbeca1 Bug 1522637 - Part 3: Send history index when resuming redirected loads, r=qdot
Depends on D18603

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

--HG--
extra : moz-landing-system : lando
2019-02-14 15:36:02 +00:00
Thomas Nguyen
85ce5ab061 Bug 1517703 - Part 2 - Use ReferrerInfo in loadURIOptions from js r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D17922

--HG--
extra : moz-landing-system : lando
2019-02-12 19:35:24 +00:00
shindli
6b820cdfea Backed out 6 changesets (bug 1522637) for en-US failures in testing/firefox-ui/tests/functional/safebrowsing/test_notification.py TestSafeBrowsingNotificationBar.test_notification_bar CLOSED TREE
Backed out changeset 18a809d53298 (bug 1522637)
Backed out changeset 9e9fd362dd8f (bug 1522637)
Backed out changeset f1191be4243a (bug 1522637)
Backed out changeset 5a8067fd848c (bug 1522637)
Backed out changeset 5f49cd87b1bd (bug 1522637)
Backed out changeset f82ba91f5ea2 (bug 1522637)
2019-02-09 03:12:53 +02:00
Nika Layzell
d6280f72ab Bug 1522637 - Part 3: Send history index when resuming redirected loads, r=qdot
Depends on D18603

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

--HG--
extra : moz-landing-system : lando
2019-02-08 17:36:02 +00:00
Myk Melez
25349d2601 Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D17526

--HG--
extra : moz-landing-system : lando
2019-01-30 17:26:25 +00:00
Cosmin Sabou
599a15d354 Merge mozilla-inbound to mozilla-central. a=merge 2019-01-29 12:01:56 +02:00
Alphan Chen
e6cc4bf7ca Bug 1497146 part 3 - Convert FormData.jsm to C++ [restore() part] r=peterv,mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D12672

--HG--
extra : moz-landing-system : lando
2019-01-28 19:44:03 +00:00
Ciure Andrei
849dbde8e4 Backed out 2 changesets (bug 1507286, bug 1497146) for causing multiple crashes in nsFocusManager::GetRedirectedFocus a=backout
Backed out changeset 0509a9edc58a (bug 1507286)
Backed out changeset 21ad3aeb636f (bug 1497146)
2019-01-26 15:09:03 +02:00
Alphan Chen
0022290b4b Bug 1497146 part 3 - Convert FormData.jsm to C++ [restore() part] r=peterv,mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D12672

--HG--
extra : moz-landing-system : lando
2019-01-25 10:19:04 +00:00
arthur.iakab
a5462dcda4 Backed out changeset a6cc9b15b1e3 (bug 1497146)for hazard build bustage on sessionstore/SessionStoreUtils.cpp CLOSED TREE 2019-01-24 16:56:32 +02:00
Alphan Chen
ea7eaa36e4 Bug 1497146 part 3 - Convert FormData.jsm to C++ [restore() part] r=peterv,mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D12672

--HG--
extra : moz-landing-system : lando
2019-01-24 12:53:28 +00:00
Kris Maglione
e930b89c34 Bug 1514594: Part 3 - Change ChromeUtils.import API.
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8

This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:

  ChromeUtils.import("resource://gre/modules/Services.jsm");

is approximately the same as the following, in the new model:

  var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");

Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs

This was done using the followng script:

https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8

Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs

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

--HG--
extra : rebase_source : 359574ee3064c90f33bf36c2ebe3159a24cc8895
extra : histedit_source : b93c8f42808b1599f9122d7842d2c0b3e656a594%2C64a3a4e3359dc889e2ab2b49461bab9e27fc10a7
2019-01-17 10:18:31 -08:00
Alphan Chen
58400124a1 Bug 1497146 part 2 - Convert FormData.jsm to C++ [collect() part] r=nika,peterv,mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D12112

--HG--
extra : moz-landing-system : lando
2019-01-17 14:56:51 +00:00
Alphan Chen
5d28867416 Bug 1497146 part 1 - Add SessionStoreUtils.webidl r=nika
Let SessionStoreUtils be a WebIDL namespace, rather than a XPCOM service

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

--HG--
rename : toolkit/components/sessionstore/nsSessionStoreUtils.cpp => toolkit/components/sessionstore/SessionStoreUtils.cpp
extra : moz-landing-system : lando
2019-01-17 14:58:31 +00:00
Matthew Noorenberghe
fdacc288b7 Bug 1477798 - Treat sensitive @autocomplete field names like 'off' in FormData.jsm. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D15780

--HG--
extra : moz-landing-system : lando
2019-01-10 18:49:46 +00:00
Masayuki Nakano
ed2040ac16 Bug 1447239 - Implement InputEvent.inputType r=smaug
This patch implements InputType.inputType which is declared by Input Events.
The attribute has already been implemented by Chrome and Safari.  Chrome
implements Input Events Level 1, but Safari implements Input Events Level 2.
 Difference between them is only whether it supports "insertFromComposition",
"deleteByComposition" and "deleteCompositionText".  This patch makes the
level switchable with pref and takes Level 1 by default because Level 2 is
still unstable around event order with composition events.

For reducing string copy cost at dispatching "input" event, this patch
makes EditorInternalInputEvent store valid input-type as enum class,
EditorInputType and resolves it to string value when
dom::InputEvent::GetInputType() is called.  Note that the reason why
this patch names the enum class as EditorInputType is, there is InputType
enum class already for avoiding conflict the name, this appends "Editor"
prefix because "input" and "beforeinput" events are fired only when an
editor has focus.

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

--HG--
extra : moz-landing-system : lando
2019-01-07 10:10:57 +00:00
Cosmin Sabou
3de3011707 Backed out changeset dbea03a5c55e (bug 1497146) for bmsvc bustages on SessionStoreUtils.
SessionStoreUtils

--HG--
rename : dom/chrome-webidl/SessionStoreUtils.webidl => toolkit/components/sessionstore/nsISessionStoreUtils.idl
rename : toolkit/components/sessionstore/SessionStoreUtils.cpp => toolkit/components/sessionstore/nsSessionStoreUtils.cpp
2019-01-04 19:37:37 +02:00
Alphan Chen
15328d9c7b Bug 1497146 part 1 - Add SessionStoreUtils.webidl r=nika
Let SessionStoreUtils be a WebIDL namespace, rather than a XPCOM service

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

--HG--
rename : toolkit/components/sessionstore/nsISessionStoreUtils.idl => dom/chrome-webidl/SessionStoreUtils.webidl
rename : toolkit/components/sessionstore/nsSessionStoreUtils.cpp => toolkit/components/sessionstore/SessionStoreUtils.cpp
extra : moz-landing-system : lando
2019-01-04 16:26:13 +00:00
Matthew Noorenberghe
5496cbdd15 Bug 1330228 - Use hasBeenTypePassword in FormData.jsm to not save former password fields. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D15208

--HG--
extra : moz-landing-system : lando
2018-12-21 16:56:15 +00:00