Olli Pettay
8940fdea4e
Bug 1670098 - location.replace should do a proper replace for same document navigations, r=peterv
...
With this change SHIP seems to also fix an issue with hashchange event - those are triggered now
more consistently than without SHIP.
Differential Revision: https://phabricator.services.mozilla.com/D92993
2020-10-09 19:20:07 +00:00
Agi Sferro
f3ed600503
Bug 1648157 - Move DisplayMode to BrowsingContext. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D92484
2020-10-09 17:31:59 +00:00
Randell Jesup
05688c6f37
Bug 1669231: Update title on history replace r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D93018
2020-10-08 22:13:45 +00:00
Christoph Kerschbaumer
4bfa1cbf21
Bug 1552168: Remove pref security.data_uri.unique_opaque_origin. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D92087
2020-10-08 16:55:25 +00:00
julianwels
c0d05f3250
Bug 1653026 - Added HTTPS-Only Mode upgrade info to browser UI state. r=mattwoodrow,necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D86566
2020-10-06 00:34:55 +00:00
Olli Pettay
aee6f990e5
Bug 1668577 - Make child process to send offset to parent process, not index, r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D92074
2020-10-02 16:15:47 +00:00
Cameron McCormack
1a10f8e9fc
Bug 1662839 - Set author style disabled state correctly on newly created iframes. r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D90953
2020-10-04 03:25:16 +00:00
Brindusan Cristian
3cc0d3988e
Backed out 2 changesets (bug 1653026) for mochitest failures at WindowGlobalParent.cpp. CLOSED TREE
...
Backed out changeset 54c69c99b241 (bug 1653026)
Backed out changeset e70649f78910 (bug 1653026)
2020-10-03 10:49:04 +03:00
julianwels
6bc43a95a4
Bug 1653026 - Added HTTPS-Only Mode upgrade info to browser UI state. r=mattwoodrow,necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D86566
2020-10-03 01:22:19 +00:00
Michael Kaply
2b2e5e0506
Bug 1450309 - Allow nSIContentPolicy to reject based on enterprise policy. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D91487
2020-10-03 00:02:19 +00:00
Razvan Maries
e7522539a9
Backed out changeset a3cbffeb24a3 (bug 1668577) for perma failures on location_reload.html. CLOSED TREE
2020-10-02 19:11:53 +03:00
Olli Pettay
83ddcf9adc
Bug 1668577 - Make child process to send offset to parent process, not index, r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D92074
2020-10-02 12:05:57 +00:00
Randell Jesup
67d483347c
Bug 1668126: Correct ordering of LocationChange and history index/length commit for SHIP r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D92143
2020-10-01 21:59:27 +00:00
Gerald Squelart
313fddf4f9
Bug 1667915 - Separate marker category from marker options - r=gregtatum
...
The `category.WithOptions(...)` syntax was a bit strange and difficult to explain.
Now the category and options are separate parameters. Default options can be specified with `MarkerOptions{}` or just `{}`.
As a special case, defaulted-NoPayload functions don't need `<>`, and defaulted-NoPayload functions and macros don't even need `{}` for default options, e.g.:
`profiler_add_marker("name", OTHER); PROFILER_MARKER_UNTYPED("name", OTHER);`
Differential Revision: https://phabricator.services.mozilla.com/D91680
2020-10-01 11:02:23 +00:00
Bogdan Tara
6fe40f83f1
Backed out 2 changesets (bug 1667915) for platform related bustage CLOSED TREE
...
Backed out changeset e7a0788a1741 (bug 1667915)
Backed out changeset d34505b2d81b (bug 1667915)
2020-10-01 12:34:39 +03:00
Gerald Squelart
4eb5bd3574
Bug 1667915 - Separate marker category from marker options - r=gregtatum
...
The `category.WithOptions(...)` syntax was a bit strange and difficult to explain.
Now the category and options are separate parameters. Default options can be specified with `MarkerOptions{}` or just `{}`.
As a special case, defaulted-NoPayload functions don't need `<>`, and defaulted-NoPayload functions and macros don't even need `{}` for default options, e.g.:
`profiler_add_marker("name", OTHER); PROFILER_MARKER_UNTYPED("name", OTHER);`
Differential Revision: https://phabricator.services.mozilla.com/D91680
2020-10-01 01:44:47 +00:00
Cosmin Sabou
a13f011987
Backed out 2 changesets (bug 1450309) for wpt failures on reporting-navigation.https.html. CLOSED TREE
...
Backed out changeset 7fae6ea289bd (bug 1450309)
Backed out changeset 14c35856cea4 (bug 1450309)
2020-10-01 08:50:41 +03:00
Narcis Beleuzu
66452b9002
Backed out changeset 244998c18b1b (bug 1668126) for mochitest failures on test_ext_webnavigation.html . CLOSED TREE
2020-10-01 03:16:28 +03:00
Randell Jesup
a2265185b1
Bug 1668126: Correct ordering of LocationChange and history index/length commit for SHIP r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D91848
2020-09-30 17:52:59 +00:00
Michael Kaply
1f898b3b76
Bug 1450309 - Allow nSIContentPolicy to reject based on enterprise policy. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D91487
2020-09-30 18:39:40 +00:00
Peter Van der Beken
527c3ba7c7
Bug 1659102 - Fix fragment navigation for session history in parent. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D91593
2020-09-29 12:09:59 +00:00
Peter Van der Beken
9e53805747
Bug 1659102 - Merge SetActiveSessionHistoryEntryForTop and SetActiveSessionHistoryEntryForFrame. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D91592
2020-09-29 12:04:20 +00:00
Peter Van der Beken
c09f68a5da
Bug 1659102 - Remove aLoadType argument from nsDocShell::OnNewURI. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D91590
2020-09-29 12:03:52 +00:00
Randell Jesup
3fadcefeec
Bug 1621643: Ensure replaceState updates all listeners about the modified state r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D91433
2020-09-28 07:34:03 +00:00
Olli Pettay
517a59e62b
Bug 1667449 - Hide fission.sessionHistoryInParent pref getter behind a function r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D91462
2020-09-28 12:01:12 +00:00
Emilio Cobos Álvarez
1d86dbcf50
Bug 1666827 - Make nsDocShell::mIsPrintPreview a flag in the top browsing context. r=smaug
...
This should make it work on fission, plus is simpler than the
alternative of traversing the whole docshell tree and then undo it.
It also is going to make easier the actual fix for this bug.
Differential Revision: https://phabricator.services.mozilla.com/D91438
2020-09-27 12:07:19 +00:00
Peter Van der Beken
eb219331eb
Bug 1666881 - Make fission.sessionHistoryInParent require a restart when switching. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D91260
2020-09-25 09:03:58 +00:00
Peter Van der Beken
80614bbcbe
Bug 1667006 - document.open should set the url of the session history entry to the entry document's. r=smaug
...
document.open replaces the session history entry with a new one, the url of
which needs to point to the entry document. nsDocShell::UpdateActiveEntry wasn't
resetting the url and the originalURL in the replace case. This patch always
creates a new SessionHistoryInfo so we share more code between replace and
non-replace, to avoid missing some fields.
Differential Revision: https://phabricator.services.mozilla.com/D91273
2020-09-24 20:30:11 +00:00
Andreas Farre
6054cba163
Bug 1666783 - Remove nsIDocShell::GetInterface(nsISHistory). r=smaug
...
Also assert that it's never used.
Differential Revision: https://phabricator.services.mozilla.com/D91142
2020-09-24 13:28:41 +00:00
Mihai Alexandru Michis
5875dcbe89
Backed out changeset 88337b6e4e3e (bug 1666881) for causing failures regarding the fission.autostart pref.
...
CLOSED TREE
2020-09-24 15:41:33 +03:00
Peter Van der Beken
97d3d4638e
Bug 1666881 - Make fission.sessionHistoryInParent require a restart when switching. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D91260
2020-09-24 11:14:51 +00:00
Bogdan Tara
0b359244d1
Backed out changeset 1bfa83880712 (bug 1662839) for browser_disable_author_style_oop.js failures CLOSED TREE
2020-09-24 05:55:25 +03:00
Cameron McCormack
bbad6d2354
Bug 1662839 - Set author style disabled state correctly on newly created iframes. r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D90953
2020-09-24 01:24:57 +00:00
Simon Giesecke
ab6f0a7137
Bug 1650145 - Replace all value uses of Empty[C]String by 0-length _ns literals. r=froydnj,geckoview-reviewers,agi
...
Differential Revision: https://phabricator.services.mozilla.com/D82325
2020-09-23 15:17:15 +00:00
Kashav Madan
a38531ab04
Bug 1666485 - Make BrowsingContext::CreatedDynamically non-synced, r=nika,kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D89223
2020-09-23 13:43:38 +00:00
Butkovits Atila
c2d7327248
Backed out changeset a81b4130ac14 (bug 1666485) for causing bustages on BrowsingContext. CLOSED TREE
2020-09-23 16:18:53 +03:00
Christoph Kerschbaumer
df7d9d5329
Bug 1666751: Use simple and never failing LoadInfo() getter because all channels should have a loadinfo r=freddyb,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D91119
2020-09-23 12:49:40 +00:00
Kashav Madan
fb01408d2e
Bug 1666485 - Make BrowsingContext::CreatedDynamically non-synced, r=nika,kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D89223
2020-09-23 12:45:38 +00:00
Peter Van der Beken
3708270d24
Bug 1666745 - Fix nsDocShell::GetCurrentScrollRestorationIsManual with session history in the parent. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D91113
2020-09-23 12:12:51 +00:00
Olli Pettay
ab88cc6fb2
Bug 1666596 - Ensure location.reload(true) removes entries for iframes, r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D91050
2020-09-23 10:04:57 +00:00
Randell Jesup
9f980bafd3
Bug 1665710: don't update session history for about:blank transient pages r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D90589
2020-09-22 16:54:56 +00:00
Razvan Maries
2b880a944f
Backed out changeset 1de39d201585 (bug 1665709) for build bustages on SessionHistoryEntry.cpp. CLOSED TREE
2020-09-22 16:56:14 +03:00
Randell Jesup
f24b0b5532
Bug 1665709: don't update session history for about:blank transient pages r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D90589
2020-09-22 13:10:11 +00:00
Peter Van der Beken
2d039159d5
Bug 1666326 - Remove nsDocShell::mHistoryID and always use the BrowsingContext's HistoryID synced field. r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D90909
2020-09-22 09:37:08 +00:00
Olli Pettay
6e5e9ca734
Bug 1653561, Get URIWasModified from mLoadingEntry when it is available, r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D90871
2020-09-21 21:03:26 +00:00
Olli Pettay
1d14c1307a
Bug 1666010 - Ensure nsDocShell::mActiveEntryIsLoadingFromSessionHistory value is set correctly r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D90891
2020-09-21 16:57:23 +00:00
Peter Van der Beken
4f3f589f9e
Bug 1666194 - Return before touching session history in the child in nsDocShell::Reload if session history in the parent is enabled. r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D90821
2020-09-21 09:07:17 +00:00
Peter Van der Beken
c38d423cfc
Bug 1665322 - Error page loads should add entries for the original load with session history in the parent. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D90393
2020-09-20 13:49:50 +00:00
Peter Van der Beken
dbc4752b27
Bug 1664655 - Update loading entry's layout history state if it shares it with the current active entry. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D90030
2020-09-20 12:40:45 +00:00
Peter Van der Beken
073b9fe8a3
Bug 1664656 - Decide whether to add a new entry based on the load type. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D90028
2020-09-20 12:40:10 +00:00