Commit Graph

66 Commits

Author SHA1 Message Date
Moonchild 2103a2283b Issue #1688 - Add flood guard to state change logic. 2021-02-16 12:13:16 +00:00
Moonchild 4a42352e64 Issue #1656 - Part 8: Devtools and misc. 2020-09-24 08:10:23 +00:00
Moonchild d5a2c45aad Issue #1656 - Part 6: Clean up the build files 2020-09-23 15:52:00 +00:00
Moonchild 7523b9ea04 Issue #1656 - Part 4: Manual cleanup 2020-09-23 15:37:46 +00:00
Moonchild a680bdc637 Issue #1656 - Part 1: Nuke most vim config lines in the tree.
Since these are just interpreted comments, there's 0 impact on actual code.
This removes all lines that match /* vim: set(.*)tw=80: */ with S&R -- there are
a few others scattered around which will be removed manually in a second part.
2020-09-23 13:55:00 +00:00
wolfbeast 33b22f6157 [Docshell] Ensure nsDocShell::mContentViewer is released properly. 2020-04-07 10:55:20 +02:00
wolfbeast a205ee7040 Issue #1280 - Un-bust certerror pages and ForgetAboutSite 2020-03-31 09:44:30 +02:00
Matt A. Tobin 8e09aff187 Issue #1053 - Remove android support from docshell 2020-02-25 12:26:18 -05:00
Gaming4JC a9290ef91e Issue #1366 - Completely remove showModalDialog 2020-01-21 21:36:54 -05:00
wolfbeast f71108680b Issue #1118 - Part 6: Fix various tests that are no longer correct.
The behavior change of document.open() requires these tests to be
changed to account for the new spec behavior.
2019-12-22 23:48:40 +01:00
wolfbeast c1013e9122 Issue #1118 Part 4: Allow UpdateURLAndHistory to work even if there's no
root session history.

This can happen when someone does a document.open() on a document that
has no session history.
2019-08-06 09:58:35 +00:00
wolfbeast f5c848aa9b Issue #1118 Part 2: Allow UpdateURLAndHistory to work even if mOSHE is
null, if we're doing a replace.

We're going to end up hitting this if someone does a document.open()
before mOSHE has been set. We shouldn't need to worry about mLSHE,
because the document.open() will cancel the corresponding load.
2019-08-06 08:41:51 +00:00
wolfbeast 027fbae80a Issue #1118 Part 1: Split out part of nsDocShell::AddState into a
separate method.

This implements the "URL and history update steps" from the HTML spec.
See https://html.spec.whatwg.org/multipage/history.html
2019-07-31 14:18:54 +00:00
wolfbeast f89a809df5 Stop building /docshell unified and fix deprot.
Tag #80
2019-02-21 20:01:53 +01:00
adeshkp 5335681cd2 Telemetry: Remove stubs and related code 2019-01-12 06:20:31 -05:00
wolfbeast fea96b4527 Do not report resource-timing subdocument loads triggered by that subdocument. 2018-12-14 12:50:01 +01:00
Gaming4JC 791e7540d3 backport m-c 1435319: CVE-2018-12381 - Dropping an Outlook email message into the browser window will trigger a page navigation when the message's mail columns are incorrectly interpreted as a URL. 2018-10-09 17:41:02 -04:00
wolfbeast ab961aeb54 Remove all C++ Telemetry Accumulation calls.
This creates a number of stubs and leaves some surrounding code that may be irrelevant (eg. recorded time stamps, status variables).
Stub resolution/removal should be a follow-up to this.
2018-09-03 10:11:38 +02:00
JustOff c6498fe688 Explicitly specify parentheses in a mixed boolean expression in ShouldAddToSessionHistory() 2018-08-22 14:08:55 +03:00
JustOff de50d15d28 Use "browser.newtabpage.add_to_session_history" to decide whether to store "about:newtab" in the session history 2018-08-22 13:40:19 +03:00
JustOff d39cf6a112 Update ShouldAddToSessionHistory() rules for "about:newtab" and "about:logopage" 2018-08-21 18:32:45 +03:00
Matt A. Tobin bbbb74e5f0 Make the Error Console accessible from about:console 2018-06-26 13:23:24 -04:00
wolfbeast 9ac9865817 Remove docshell contract for about:webrtc
Follow-up to 9755c93cff
Tag #536
2018-06-25 00:46:08 +02:00
wolfbeast 9755c93cff Make about:webrtc conditional.
This resolves #536
2018-06-24 23:57:19 +02:00
Gaming4JC bd85173562 Remove support and tests for HSTS priming from the tree. Fixes #384 2018-05-26 15:42:45 -04:00
janekptacijarabaci d1184bfb49 Bug 1379762 part 2. Use a more reliable test to figure out when we can skip firing onload in nsDocumentViewer::LoadComplete
Issue #357
2018-05-15 22:45:40 +02:00
janekptacijarabaci e968422d29 Bug 1379762 part 1. Don't call MediaFeaturesChanged if our override device pixel ratio is set to its current value
Issue #357
2018-05-15 21:14:18 +02:00
janekptacijarabaci 4b7a2c677a moebius#231: Consider blocking top level window data: URIs (tests)
https://github.com/MoonchildProductions/moebius/pull/231
2018-05-06 14:31:20 +02:00
janekptacijarabaci 8dcc716efd Bug 1359204 - Test view-source can open link is not blocked by security policies 2018-04-30 23:56:11 +02:00
janekptacijarabaci d735c1c1ad Bug 1359204 - Use SystemPrincipal as TriggeringPrincipal when loading page as view-source 2018-04-30 23:54:01 +02:00
janekptacijarabaci 73b55c16d6 Bug 1333147 - Do not use owner as triggeringPrincipal when creating session history entry 2018-04-30 23:49:41 +02:00
janekptacijarabaci b3a9d03344 Bug 1334875 - Temporarily remove assertion that history loads pass a valid triggeringprincipal 2018-04-30 23:48:06 +02:00
janekptacijarabaci ecea4c51dc Bug 1341754: Test SetURI in Location passes triggeringPrincipal 2018-04-30 23:13:51 +02:00
janekptacijarabaci 71e6952456 Bug 1341754: Provide a valid triggeringPrincipal when calling SetURI in Location 2018-04-30 23:11:43 +02:00
janekptacijarabaci d9abe50072 Bug 1341589 - Test TriggeringPrincipal on history entry for view-source loads 2018-04-30 23:10:01 +02:00
janekptacijarabaci 4908838110 Bug 1337622 - Temporarily fall back to SystemPrincipal if History entry does not have a valid triggeringPrincipal 2018-04-30 23:06:51 +02:00
janekptacijarabaci 2cb9f3ceb8 Bug 1307736 - Ensure History loads pass valid triggeringPrincipal 2018-04-30 23:02:01 +02:00
janekptacijarabaci 6cb841b26e Bug 1332310 - Update AddState and CreateContentViewer to provide an accurate triggeringPrincipal for creating a history entry 2018-04-30 23:00:04 +02:00
janekptacijarabaci 74858918fa Bug 1329032 - Extend loadURIWithOptions by a triggeringPrincipal (without an hard e10s) 2018-04-30 22:57:23 +02:00
janekptacijarabaci d45c25971c Bug 1182569 - Skip security check for plugins using newstream attribute 2018-04-30 22:09:55 +02:00
janekptacijarabaci e66562aa8b Bug 1182569: Use AsyncOpen2 for docshell loads 2018-04-30 21:00:21 +02:00
janekptacijarabaci ccbd5ecf57 moebius#187: DOM - nsIContentPolicy - context (document)
https://github.com/MoonchildProductions/moebius/pull/187
2018-04-23 00:13:56 +02:00
janekptacijarabaci 30621a6307 Revert "Bug 1182569: Use AsyncOpen2 for docshell loads"
This reverts commit 29bd11c3cd.
2018-04-22 22:17:18 +02:00
janekptacijarabaci 13f3978a14 Revert "Bug 1182569 - Skip security check for plugins using newstream attribute"
This reverts commit 5b0f4649b3.
2018-04-22 22:16:58 +02:00
janekptacijarabaci 5b0f4649b3 Bug 1182569 - Skip security check for plugins using newstream attribute
native in moebius
2018-04-22 21:59:46 +02:00
janekptacijarabaci 29bd11c3cd Bug 1182569: Use AsyncOpen2 for docshell loads
native in moebius
2018-04-22 21:47:27 +02:00
janekptacijarabaci 95c4608241 Bug 1329288: Allow content policy consumers to identify contentPolicy checks from docshell 2018-04-22 20:38:02 +02:00
janekptacijarabaci a38e87d455 Bug 1329288 - Test ContentPolicy blocks opening a new window 2018-04-22 20:37:09 +02:00
janekptacijarabaci 660d01438a moebius#230: Consider blocking top level window data: URIs (part 3/3 without tests)
https://github.com/MoonchildProductions/moebius/pull/230
2018-04-22 20:28:18 +02:00
janekptacijarabaci f1e5578718 moebius#226: Consider blocking top level window data: URIs (part 2/2 without tests)
https://github.com/MoonchildProductions/moebius/pull/226
2018-04-22 19:03:22 +02:00