资源简介
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# 在Winform中发布WebService
- C# 文件管理源码
- C#调用Photoshop打开图片源代码
- C#TreeView使用节点拖曳、节点右键菜单
- C# IP地址输入控件
- C#在一个窗口刷新更改另一个窗口控件
- C# TIP文件生成和拆解
- C#解析HL7消息的库135797
- C# OCR数字识别实例,采用TessnetOcr,对
- 考试管理系统 - C#源码
- asp.net C#购物车源代码
- C#实时网络流量监听源码
- C#百度地图源码
- Visual C#.2010从入门到精通配套源程序
- C# 软件版本更新
- C#屏幕软键盘源码,可以自己定制界面
- 智慧城市 智能家居 C# 源代码
- c#获取mobile手机的IMEI和IMSI
- C#实现简单QQ聊天程序
- 操作系统 模拟的 欢迎下载 C#版
- C#写的计算机性能监控程序
- 用C#实现邮件发送,有点类似于outlo
- MVC model层代码生成器 C#
- c#小型图书销售系统
- C# Socket Server Client 通讯应用 完整的服
- c# winform 自动登录 百度账户 源代码
- C#编写的16进制计算器
- C#TCP通信协议
- C# 数据表(Dataset)操作 合并 查询一
- C#语音识别系统speechsdk51,SpeechSDK51L
评论
共有 条评论