Commit Graph

53 Commits

Author SHA1 Message Date
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 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 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 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 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 71e6952456 Bug 1341754: Provide a valid triggeringPrincipal when calling SetURI in Location 2018-04-30 23:11:43 +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 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
janekptacijarabaci 1b4c4256ee moebius#223: Consider blocking top level window data: URIs (part 1/3 without tests)
https://github.com/MoonchildProductions/moebius/pull/223
2018-04-22 18:51:38 +02:00
wolfbeast 597fb9fbe3 Rebase on master 2018-04-11 17:45:54 +02:00
Matt A. Tobin eb09a5738c Make code style consistent across all AboutRedirector's 2018-04-07 08:22:56 -04:00
Matt A. Tobin fb84e0f322 Make about:logopage available to any browser that opts into MOZ_PHOENIX
Follow up to 5e8e0689c
2018-04-07 06:10:48 -04:00
wolfbeast 4e368f8199 Remove base conditional code for crash reporter and injector. 2018-03-30 08:50:58 +02:00
Samael Wang a089281740 Bug 1416307 - Set triggeringPrincipal to current document's principal, if aPrincipal is not given. r=bz, a=ritu
MozReview-Commit-ID: 8lxKFeUlyzq

--HG--
extra : rebase_source : 5f364f5cf84c12717bee021d752aa0f9ba4619dd
extra : intermediate-source : 9df27a7142ffb065fb56c3fc873298988deacb98
extra : source : 9fcf48189000ab8ee16f236be57c9659c7243b42
2018-03-14 10:57:15 +01:00
janekptacijarabaci a06ce3f03b CSP: Upgrade SO navigational requests per spec. 2018-02-22 11:18:23 +01:00
janekptacijarabaci 62d5359679 CSP 2 - ignore (x-)frame-options if CSP with frame-ancestors directive exists 2018-02-22 11:15:23 +01:00
wolfbeast 8896ca5c0a Update various texts and references. 2018-02-21 23:31:24 +01:00