资源简介
C# .NET下WebBrowser的一个BUG以及其替代品——geckofx。需要高版本VS和.Net
代码片段和文件信息
#region ***** BEGIN LICENSE BLOCK *****
/* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the “License“); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an “AS IS“ basis
* WITHOUT WARRANTY OF ANY KIND either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is Skybound Software code.
*
* The Initial Developer of the Original Code is Skybound Software.
* Portions created by the Initial Developer are Copyright (C) 2008-2009
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the “GPL“) or
* the GNU Lesser General Public License Version 2.1 or later (the “LGPL“)
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL and not to allow others to
* use your version of this file under the terms of the MPL indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above a recipient may use your version of this file under
* the terms of any one of the MPL the GPL or the LGPL.
*/
#endregion END LICENSE BLOCK
using System;
using System.Collections;
using System.Runtime.InteropServices;
using Gecko.Interop;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Gecko
{
///
/// Creates a scoped fake “system principal“ security context. This class is used primarly to work around bugs in gecko
/// which prevent methods on nsIDOMCSSstyleSheet from working outside of javascript.
///
public class AutoJSContext : IDisposable
{
#region fields
private readonly IntPtr _cx;
private readonly nsIDOMWindow _window;
private JSAutoCompartment _defaultCompartment;
private Stack _compartmentStack = new Stack();
private nsIXPCComponents _nsIXPCComponents;
private IntPtr _globalJSobject;
///
/// These static fields allow AutoJSContext(IntPtr context) to work.
///
private static Dictionary _contextToGlobalDictionary = new Dictionary();
private static IntPtr _safeContext;
#endregion
#region Properties
public IntPtr ContextPointer
{
get
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 178 2017-11-17 17:25 geckofx-geckofx-45.0-761d21ec6ed3\.hg_archival.txt
文件 675328 2017-11-17 17:25 geckofx-geckofx-45.0-761d21ec6ed3\.build\MSBuild.Community.Tasks.dll
文件 13183 2017-11-17 17:25 geckofx-geckofx-45.0-761d21ec6ed3\.build\MSBuild.Community.Tasks.targets
文件 434 2017-11-17 17:25 geckofx-geckofx-45.0-761d21ec6ed3\.hgignore
文件 7529 2017-11-17 17:25 geckofx-geckofx-45.0-761d21ec6ed3\.hgtags
文件 2198 2017-11-17 17:25 geckofx-geckofx-45.0-761d21ec6ed3\Build.proj
文件 977 2017-11-17 17:25 geckofx-geckofx-45.0-761d21ec6ed3\GeckoFxTest\AssemblyInfo.cs
文件 5544 2017-11-17 17:25 geckofx-geckofx-45.0-761d21ec6ed3\GeckoFxTest\GeckoFxTest.csproj
文件 1341 2017-11-17 17:25 geckofx-geckofx-45.0-761d21ec6ed3\GeckoFxTest\GeckoFxTest.sh
文件 15246 2017-11-17 17:25 geckofx-geckofx-45.0-761d21ec6ed3\GeckoFxTest\MSBuild.Community.Tasks.ReadMe.md
文件 13482 2017-11-17 17:25 geckofx-geckofx-45.0-761d21ec6ed3\GeckoFxTest\Main.cs
文件 2515 2017-11-17 17:25 geckofx-geckofx-45.0-761d21ec6ed3\GeckoFxTest\app.manifest
文件 143 2017-11-17 17:25 geckofx-geckofx-45.0-761d21ec6ed3\GeckoFxTest\packages.config
文件 325 2017-11-17 17:25 geckofx-geckofx-45.0-761d21ec6ed3\GeckoFxWpfTest\App.xaml
文件 543 2017-11-17 17:25 geckofx-geckofx-45.0-761d21ec6ed3\GeckoFxWpfTest\App.xaml.cs
文件 5029 2017-11-17 17:25 geckofx-geckofx-45.0-761d21ec6ed3\GeckoFxWpfTest\GeckoFxWpfTest.csproj
文件 913 2017-11-17 17:25 geckofx-geckofx-45.0-761d21ec6ed3\GeckoFxWpfTest\MainWindow.xaml
文件 740 2017-11-17 17:25 geckofx-geckofx-45.0-761d21ec6ed3\GeckoFxWpfTest\MainWindow.xaml.cs
文件 2274 2017-11-17 17:25 geckofx-geckofx-45.0-761d21ec6ed3\GeckoFxWpfTest\Properties\AssemblyInfo.cs
文件 2510 2017-11-17 17:25 geckofx-geckofx-45.0-761d21ec6ed3\GeckoFxWpfTest\Properties\Resources.Designer.cs
文件 5612 2017-11-17 17:25 geckofx-geckofx-45.0-761d21ec6ed3\GeckoFxWpfTest\Properties\Resources.resx
文件 1023 2017-11-17 17:25 geckofx-geckofx-45.0-761d21ec6ed3\GeckoFxWpfTest\Properties\Settings.Designer.cs
文件 201 2017-11-17 17:25 geckofx-geckofx-45.0-761d21ec6ed3\GeckoFxWpfTest\Properties\Settings.settings
文件 69 2017-11-17 17:25 geckofx-geckofx-45.0-761d21ec6ed3\GeckoFxWpfTest\readme.txt
文件 187 2017-11-17 17:25 geckofx-geckofx-45.0-761d21ec6ed3\GeckoFxWpfWinFormsTest\App.config
文件 333 2017-11-17 17:25 geckofx-geckofx-45.0-761d21ec6ed3\GeckoFxWpfWinFormsTest\App.xaml
文件 584 2017-11-17 17:25 geckofx-geckofx-45.0-761d21ec6ed3\GeckoFxWpfWinFormsTest\App.xaml.cs
文件 5284 2017-11-17 17:25 geckofx-geckofx-45.0-761d21ec6ed3\GeckoFxWpfWinFormsTest\GeckoFxWpfWinFormsTest.csproj
文件 968 2017-11-17 17:25 geckofx-geckofx-45.0-761d21ec6ed3\GeckoFxWpfWinFormsTest\MainWindow.xaml
文件 772 2017-11-17 17:25 geckofx-geckofx-45.0-761d21ec6ed3\GeckoFxWpfWinFormsTest\MainWindow.xaml.cs
文件 2290 2017-11-17 17:25 geckofx-geckofx-45.0-761d21ec6ed3\GeckoFxWpfWinFormsTest\Properties\AssemblyInfo.cs
............此处省略2641个文件信息
相关资源
- C# WM wince UI集合版7 IN 1
- C# 峰度和偏度计算
- C# 简单的作业调度
- C# 用三层架构实现简单的增删改查
- ArcEngine画点画线画面C#
- C#停车场管理系统的设计与实现VS201
- C#考勤管理系统完整源码,包含考勤与
- C# WPF实现读取显示DICOM
- C#爬取音乐源码.zip
- C# 调用MATLAB程序绘图
- 健身俱乐部管理系统的设计与实现.
- TIN生成算法实现.zip
- 学生通讯录
- matlab文件+dll文件和C#程序
- C#版本图书管理系统.rar
- C#语言基于SQL server 的图书管理系统
- 杜洋C#完整课程资料
- C# AE属性编辑
- 基于c#.net的网上书店的设计与实现
- ArcEngine+C#二次开发教程_3SDN
- 宾馆管理系统 C#
- 在线考试系统 ASP.NET 三层架构
- c#交易网站二手交易平台
- Visual C#从入门到精通(第9版)-2018年
- MES系统装配加工
- ArcEngine最全的实验代码GIS程序设计教
- C#俄罗斯方块代码.zip
- C#晨曦超市管理系统
- C#编写伪距单点定位,BD+GPS,有详细注
- GDAL202.rar
评论
共有 条评论