1
0
mirror of https://github.com/roytam1/UXP.git synced 2026-05-26 13:58:49 +00:00
Commit Graph

73 Commits

Author SHA1 Message Date
Moonchild d388e478a0 Issue #1656 - Remove more vim control lines.
Vim control lines were re-introduced or not entirely cleaned up.
This nukes them again.
Removing from the rest of js, caps, chrome, config, devtools, docshell,
image, intl. More to come.
2023-05-04 10:46:38 +08:00
Martok 531906eb87 No issue - add API to tell Profile Timeline Recording state to JS engine
Based-on: m-c 1342070/5
2023-01-26 11:38:40 +08:00
Moonchild 44388b01a3 Issue #21 - Remove Telemetry accumulation/structures from toolkit js.
This fixes toolkit modules and prevents toolkit component breakage.
Also removes about:telemetry
2022-04-28 10:26:19 +08:00
roytam1 26ae6482f6 Issue #unknown, Reload Flooding prevention. 2021-12-14 23:10:15 +08:00
roytam1 bf632ce22a Bug 1730120, close ContentViewer properly if initialization fails, r=nika a=RyanVM 2021-12-14 23:10:14 +08:00
Moonchild 43ebe6d86f [docshell] Stop loading of the document if network load is stopped.
After all, stop means stop.
2021-03-25 09:05:42 +08:00
Moonchild 51c4b1838c Issue #1688 - Add flood guard to state change logic. 2021-02-18 21:57:43 +08:00
Moonchild d5919942ff Issue #1656 - Part 8: Devtools and misc. 2020-09-25 22:06:55 +08:00
Moonchild 0cd673d720 Issue #1656 - Part 6: Clean up the build files 2020-09-25 22:04:23 +08:00
Moonchild 538b420319 Issue #1656 - Part 4: Manual cleanup 2020-09-25 22:04:20 +08:00
Moonchild 8c395520d9 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-25 22:04:12 +08:00
wolfbeast c8b7ac3f86 [Docshell] Ensure nsDocShell::mContentViewer is released properly. 2020-04-11 09:40:34 +08:00
wolfbeast 052b2e70a3 Issue #1280 - Un-bust certerror pages and ForgetAboutSite 2020-04-03 09:30:07 +08:00
Matt A. Tobin fa17b5a8e7 Issue #1053 - Remove android support from docshell 2020-02-27 07:31:35 +08:00
Gaming4JC 8d600c51ed Issue #1366 - Completely remove showModalDialog 2020-01-24 09:28:42 +08:00
wolfbeast b753aec164 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-28 21:20:04 +08:00
wolfbeast ab6131d1e6 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-12-28 21:19:48 +08:00
wolfbeast 7d52521f95 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-12-28 21:19:45 +08:00
wolfbeast c6694a0c4c 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-12-28 21:19:44 +08:00
wolfbeast 589999d236 Stop building /docshell unified and fix deprot.
Tag #80
2019-02-22 14:32:39 +08:00
adeshkp aea50f182f Telemetry: Remove stubs and related code 2019-02-16 00:24:04 +08:00
wolfbeast 27d88fc505 Do not report resource-timing subdocument loads triggered by that subdocument. 2019-02-16 00:22:18 +08:00
Gaming4JC d6206801dd 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. 2019-02-16 00:15:34 +08:00
wolfbeast 8c8145e620 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.
2019-02-16 00:12:32 +08:00
JustOff ecd8ed3f6a Explicitly specify parentheses in a mixed boolean expression in ShouldAddToSessionHistory() 2019-02-16 00:11:56 +08:00
JustOff c402ee2148 Use "browser.newtabpage.add_to_session_history" to decide whether to store "about:newtab" in the session history 2019-02-16 00:11:54 +08:00
JustOff a4755ad177 Update ShouldAddToSessionHistory() rules for "about:newtab" and "about:logopage" 2019-02-16 00:11:52 +08:00
NTD aa023ce63b Make the Error Console accessible from about:console and make it presentable in that context 2019-02-16 00:05:13 +08:00
NTD c29a6e983b Revert "Make the Error Console accessible from about:console"
This reverts commit bbbb74e5f077b47c6adb8ede13bfb001bb966cdb.
2019-02-16 00:05:11 +08:00
NTD 5f7da92734 Make the Error Console accessible from about:console 2019-02-16 00:05:05 +08:00
wolfbeast d80f0c2e1b Remove docshell contract for about:webrtc
Follow-up to 9755c93cff958fd8f1a9ef1a105ef0aafd6f9669
Tag #536
2019-02-16 00:04:47 +08:00
wolfbeast 105c537181 Make about:webrtc conditional.
This resolves #536
2019-02-16 00:04:45 +08:00
Gaming4JC d4ac94cf3e Remove support and tests for HSTS priming from the tree. Fixes #384 2019-02-15 23:59:39 +08:00
janekptacijarabaci e29bf72ab4 Bug 1379762 part 2. Use a more reliable test to figure out when we can skip firing onload in nsDocumentViewer::LoadComplete
Issue #357
2019-02-15 23:58:12 +08:00
janekptacijarabaci eb80674e82 Bug 1379762 part 1. Don't call MediaFeaturesChanged if our override device pixel ratio is set to its current value
Issue #357
2019-02-15 23:58:10 +08:00
janekptacijarabaci 745e1809b0 moebius#231: Consider blocking top level window data: URIs (tests)
https://github.com/MoonchildProductions/moebius/pull/231
2019-02-15 23:56:35 +08:00
janekptacijarabaci 5f39398ab7 Bug 1359204 - Test view-source can open link is not blocked by security policies 2019-02-15 23:54:53 +08:00
janekptacijarabaci e31712c143 Bug 1359204 - Use SystemPrincipal as TriggeringPrincipal when loading page as view-source 2019-02-15 23:54:52 +08:00
janekptacijarabaci fab9589713 Bug 1333147 - Do not use owner as triggeringPrincipal when creating session history entry 2019-02-15 23:54:47 +08:00
janekptacijarabaci 3f7f553a82 Bug 1334875 - Temporarily remove assertion that history loads pass a valid triggeringprincipal 2019-02-15 23:54:43 +08:00
janekptacijarabaci ec9f22177d Bug 1341754: Test SetURI in Location passes triggeringPrincipal 2019-02-15 23:54:42 +08:00
janekptacijarabaci e45bad2c54 Bug 1341754: Provide a valid triggeringPrincipal when calling SetURI in Location 2019-02-15 23:54:40 +08:00
janekptacijarabaci db41bf152a Bug 1341589 - Test TriggeringPrincipal on history entry for view-source loads 2019-02-15 23:54:39 +08:00
janekptacijarabaci 55c354f1c0 Bug 1337622 - Temporarily fall back to SystemPrincipal if History entry does not have a valid triggeringPrincipal 2019-02-15 23:54:36 +08:00
janekptacijarabaci 9fca6b7ced Bug 1307736 - Ensure History loads pass valid triggeringPrincipal 2019-02-15 23:54:33 +08:00
janekptacijarabaci ea7e6d41a3 Bug 1332310 - Update AddState and CreateContentViewer to provide an accurate triggeringPrincipal for creating a history entry 2019-02-15 23:54:31 +08:00
janekptacijarabaci dee826b7ee Bug 1329032 - Extend loadURIWithOptions by a triggeringPrincipal (without an hard e10s) 2019-02-15 23:54:30 +08:00
janekptacijarabaci 409656556b Bug 1182569 - Skip security check for plugins using newstream attribute 2019-02-15 23:54:23 +08:00
janekptacijarabaci e162907475 Bug 1182569: Use AsyncOpen2 for docshell loads 2019-02-15 23:54:20 +08:00
janekptacijarabaci 7f09dee539 moebius#187: DOM - nsIContentPolicy - context (document)
https://github.com/MoonchildProductions/moebius/pull/187
2019-02-15 23:49:47 +08:00