Compare commits

..
Author SHA1 Message Date
wolfbeast 3954c1a773 Update NSS symbol file.
This resolves #18.
2018-02-11 19:15:52 +01:00
Matt A. Tobin 203eb0f61a Merge branch 'ext-work' 2018-02-11 07:03:16 -05:00
wolfbeast e45706ca3a Un-fold browsercomps.* from libxul
This resolves #16.
2018-02-11 13:01:08 +01:00
Matt A. Tobin 8f6d3dab81 Make Devtools function without WebExtensions 2018-02-11 06:57:08 -05:00
Matt A. Tobin 14bfaf641a Make Basilisk function without WebExtensions 2018-02-11 06:56:30 -05:00
wolfbeast 154d680482 Don't bust when addon-sdk dir exists but is empty (e.g. after pull) 2018-02-11 12:10:26 +01:00
Matt A. Tobin f2cad418a7 Make NPAPI Plugins work 2018-02-11 05:11:14 -05:00
Matt A. Tobin a900dcd7f5 Just about almost totally fix GMP 2018-02-11 04:56:28 -05:00
Matt A. Tobin 9302880965 Hard-code the version number for Mozilla's GMP service. 2018-02-11 04:42:01 -05:00
Matt A. Tobin c26e1ae251 Fix for loops in LightweightThemeManager.jsm (SyntaxError: missing ] after element list) 2018-02-10 16:16:33 -05:00
Matt A. Tobin 3313fd9c51 Fix for loops in AddonRepository.jsm (SyntaxError: missing ] after element list) 2018-02-10 16:12:30 -05:00
Matt A. Tobin d836c9e488 Fix for loops in XPIProvider.jsm (SyntaxError: missing ] after element list) 2018-02-10 16:11:32 -05:00
Matt A. Tobin e2ddd03871 Use the uuid-generator service instead of mangling a random number generator result to generate a syncGUID 2018-02-10 11:14:55 -05:00
Matt A. Tobin e911e00615 Bug 1245141 - Use new Proxy for AddonManager.addonTypes (TychoAM) 2018-02-10 10:56:39 -05:00
Matt A. Tobin 2ef95493bd Add newChannel2 back to NetUtil.jsm 2018-02-10 10:48:27 -05:00
Matt A. Tobin ceb5709ba1 Make the Add-on Manager's binary components build 2018-02-10 10:46:49 -05:00
Matt A. Tobin 05909d49b8 Hook up the Tycho Add-on Manager to the build system 2018-02-10 10:45:11 -05:00
Matt A. Tobin deea787c2e Import Tycho's Add-on Manager 2018-02-10 04:00:58 -05:00
Matt A. Tobin 37d5300335 Merge branch 'ext-work' 2018-02-10 02:51:36 -05:00
Matt A. Tobin 4fb11cd596 Move WebExtensions enabled Add-ons Manager 2018-02-10 02:49:12 -05:00
wolfbeast b2bdac20c0 Workaround for cloned videos not retaining their muted state. 2018-02-10 07:30:57 +01:00
Matt A. Tobin f164d91247 Rename Toolkit's webextensions component directory to better reflect what it is. 2018-02-09 11:10:00 -05:00
Matt A. Tobin 30de401891 Rename Basilisk's webextensions component directory to better reflect what it is. Also, add an Application level configure option to disable webextensions 2018-02-09 10:39:41 -05:00
Matt A. Tobin ac46df8dae Move Add-on SDK source to toolkit/jetpack 2018-02-09 06:46:43 -05:00
wolfbeast 8cecf8d520 Merge branch 'ported-upstream' 2018-02-09 08:53:46 +01:00
wolfbeast 8cd777888a Fix a rare crash with asm.js caching. 2018-02-09 08:51:28 +01:00
wolfbeast a1a0b03046 Re-enable asm.js caching 2018-02-09 08:09:52 +01:00
wolfbeast 92104eb682 Limit the number of SharedArrayBuffers in normal JS code (not just asm.js). 2018-02-09 08:04:59 +01:00
wolfbeast d0ccfc6d08 Bug 1420507 2018-02-09 07:32:01 +01:00
Matt A. Tobin b61927d4cd Restore toolkit/obsolete 2018-02-08 23:31:09 -05:00
Matt A. Tobin 382c3272f3 Fix wrong keyword in toolkit/components/jsdownloads/DownloadIntegration.jsm 2018-02-08 21:32:29 -05:00
wolfbeast 91d9f5d658 Make XDR decoding more robust. 2018-02-08 23:32:18 +01:00
wolfbeast a8d25a2ed6 WASM: Separate out ToTableIndex() 2018-02-08 23:21:45 +01:00
wolfbeast 1ff132cbe5 Use a static mutex for getting deviceId keys in MediaParent. 2018-02-08 23:15:39 +01:00
wolfbeast d40a98322b Add more NS_BUILD_REFCNT_LOGGING in AtomicRefCountedWithFinalize. 2018-02-08 21:22:59 +01:00
wolfbeast 50f6ced9fc Remove unnecessary InvalidateCompilerOutputsForScript call. 2018-02-08 21:21:27 +01:00
wolfbeast 984169280b Remove referrers when opening a link in a new private window. 2018-02-08 21:19:50 +01:00
wolfbeast 048d6e1887 Update blocklist and remove CRL entries. 2018-02-08 21:17:54 +01:00
wolfbeast 6cffa138f1 Use our provisioned blocklist server. 2018-02-08 21:15:23 +01:00
wolfbeast 9cd7b5a4a6 Add missing sanitization for HTML exporting of bookmarks. 2018-02-08 21:14:22 +01:00
wolfbeast a2e0f637b2 Make the url bar strip javascript even when preceded by control characters 2018-02-08 21:12:36 +01:00
wolfbeast 85083fce2d Implement "cookie-averse document objects".
See: https://html.spec.whatwg.org/multipage/dom.html#cookie-averse-document-object
This resolves #196.
2018-02-08 21:02:09 +01:00
wolfbeast ef720ec250 Explicitly cancel channel after mixed content redirect. 2018-02-08 19:55:11 +01:00
wolfbeast 424eeaaa59 Check ScriptExtensions property of combining marks when available. 2018-02-08 19:47:21 +01:00
wolfbeast c65d475f9a Force punycode display for IDNs with a <dotless-i/j, combining mark above> sequence. 2018-02-08 19:29:05 +01:00
wolfbeast ef794bb39b Don't allow proxies in the proto chain. 2018-02-08 19:22:33 +01:00
wolfbeast bb828464e8 Merge branch 'ported-upstream' 2018-02-08 14:04:54 +01:00
wolfbeast 4099ff7494 Fix ReadCompressedIndexDataValuesFromBlob(). 2018-02-08 13:36:42 +01:00
wolfbeast b9b545e7dd Avoid potentially unsafe snprintf usage in FPSCounter.
snprintf returns the number of bytes it would have written when it runs out of space.
This patch makes sure we properly handle this unlikely event in FPSCounter.
This patch also makes sure we don't print out the contents of an uninitialized buffer.
2018-02-08 13:19:30 +01:00
wolfbeast c247ba5ab8 Stop bypassing the Xray layer when walking the prototype chain. 2018-02-08 13:10:17 +01:00
wolfbeast acbd84f574 Check for integer overflow in AesTask::DoCrypto() (DiD)
After calling mResult.SetLength(mData.Length() + 16) we should check
that the integer addition didn't overflow. It seems at the moment
impossible to create ArrayBuffers of size >= 0x0xfffffff0, however
adding a check here doesn't hurt.

mResult.Length() is passed to the PK11 API functions as a
maxOut parameter and should be checked by the
softoken crypto algorithm implementations.
AES-ECB and AES-GCM seem to do that correctly.
2018-02-08 12:53:40 +01:00
wolfbeast 44cd9f2a91 Merge branch 'ported-upstream' 2018-02-08 12:06:30 +01:00
wolfbeast b62fce0dc0 Confirm launch of executables other than .exe on Windows 2018-02-08 11:58:23 +01:00
wolfbeast bfa65f5d5f Cleanup async mozStorage callback management.
Also avoid raw pointers in mozStorageAsyncStatementExecution.cpp.
2018-02-08 11:43:07 +01:00
wolfbeast b827a3a9cd Perform LoadURL checks for WebExtensions. 2018-02-08 11:37:12 +01:00
wolfbeast f7f35438f5 Add rematerialized frames to the table on JitActivation after rematerialization succeeds. 2018-02-08 10:14:22 +01:00
wolfbeast d773eca331 Edit transactions should store their editor instance with strong reference
Edit transactions should store their editor instance with a strong reference, and they should be released when the editor is destroyed.
2018-02-07 21:36:37 +01:00
wolfbeast 1e55a5d918 Bug 1261175. 2018-02-07 21:18:43 +01:00
wolfbeast 2a10b213f1 WASM: Set OOM failure flag on alloc failure when context is available. 2018-02-07 14:39:35 +01:00
wolfbeast f8d1830b53 Merge branch 'ported-upstream' 2018-02-07 12:03:46 +01:00
wolfbeast e9f79ad465 Fix errant comma in 4470f78754 2018-02-07 11:48:23 +01:00
wolfbeast 4470f78754 Avoid unnecessary string creation. 2018-02-07 11:13:44 +01:00
Matt A. Tobin 0f3e990615 Add configure variable verification 2018-02-07 04:35:16 -05:00
wolfbeast 7686bceecf Add pluralrules to JS Intl 2018-02-07 10:33:18 +01:00
wolfbeast 646d68be64 Limit displayed user/host strings to sane lengths. 2018-02-07 09:41:01 +01:00
wolfbeast b2314b1ee9 Fix eslint warnings in about:webrtc. 2018-02-07 09:35:54 +01:00
Matt A. Tobin 347e24fcec Use $(DEPTH) instead of hard coding relative depth in locales makefile.in 2018-02-06 20:33:36 -05:00
Matt A. Tobin de0b7c18a4 Issue #11 - Catch package-manifest.in up 2018-02-06 20:31:43 -05:00
Moonchild 5cc30e0f60 Merge pull request #10 from trav90/media-work
Update FFmpeg code to n3.2-65-gee56777
2018-02-06 12:03:37 +01:00
Moonchild 389c60da5e Merge pull request #13 from MoonchildProductions/ported-upstream
Ported upstream
2018-02-06 12:02:47 +01:00
wolfbeast f017b749ea Update NSS to 3.32.1-RTM 2018-02-06 11:46:26 +01:00
wolfbeast 7c728b3c76 Update NSPR to 4.16 2018-02-06 11:40:35 +01:00
wolfbeast 13e9a0c06d CSP should only check host (not including path) when performing frame ancestors checks.
This has been explicitly stated in the CSP-3 spec.
2018-02-06 09:03:16 +01:00
wolfbeast 7c9b585349 Merge branch 'ported-upstream' 2018-02-06 00:48:16 +01:00
wolfbeast a9b44dbcb3 Always initialize nursery data structures even if size is smaller than one chunk. 2018-02-05 20:37:26 +01:00
wolfbeast 1ca042464f Move FUZZING definition from toolkit to js. 2018-02-05 19:48:17 +01:00
wolfbeast 9ba0c19352 Fix off-by-one in Vector::insert. 2018-02-05 19:17:30 +01:00
wolfbeast 6b5575eb99 Reject opening intents with file data schemes. 2018-02-05 19:11:11 +01:00
wolfbeast 6f0f1f85eb Split double MoveOperands that conflict with floats. 2018-02-05 16:36:15 +01:00
wolfbeast a54e46aeb5 Check for too large allocation size in BasicPlanarYCbCrImage::CopyData (DiD) 2018-02-05 15:52:58 +01:00
wolfbeast e021cb5c71 Avoid drag-and-drop of javascript: URIs 2018-02-05 13:07:58 +01:00
wolfbeast 2d652d1c35 Merge branch 'master' into ported-upstream 2018-02-05 12:41:16 +01:00
wolfbeast 2782832f26 Take forms out of the RSS reader feed. 2018-02-05 12:32:05 +01:00
Matt A. Tobin e841700389 Don't use AppConstants in Services.jsm 2018-02-05 06:28:51 -05:00
Matt A. Tobin 591ff8e638 Merge branch 'branding-work' 2018-02-05 06:27:57 -05:00
Matt A. Tobin b7852aab25 Part 2 2018-02-05 06:26:20 -05:00
Matt A. Tobin a1aed76b5f De-firefox many things 2018-02-05 06:25:10 -05:00
Matt A. Tobin 2eef107911 Official Vendor and Pale Moon special case 2018-02-05 05:48:29 -05:00
wolfbeast d2b88bf812 Add correct licensing statement in the source root. 2018-02-05 10:16:23 +01:00
Matt A. Tobin ac7d8a02b8 Update branding 2018-02-05 02:23:23 -05:00
Matt A. Tobin 4809c6de77 Use app.releaseNotesURL preference instead of a hardcoded URL in the Basilisk about box 2018-02-05 02:13:44 -05:00
Matt A. Tobin 7c60bb11f5 Remove extra branding 2018-02-05 00:08:42 -05:00
wolfbeast a9a672fd68 Merge branch 'ported-moebius' 2018-02-04 23:58:08 +01:00
wolfbeast 998542d94d Change "darkwindowframe" calculation on Win 8 to UWP formula.
#31 point 6
2018-02-04 20:42:25 +01:00
wolfbeast 0f285318cd Add -moz-windows-accent-color-is-dark
#31 point 4
2018-02-04 20:41:16 +01:00
wolfbeast 3019e0ff28 Split out the check for accent color luminance. 2018-02-04 20:40:20 +01:00
wolfbeast 3af2c1c879 Make the '-moz-windows-accent-color-applies' media query live to Windows 10 settings changes. 2018-02-04 20:39:23 +01:00
wolfbeast f843f02860 Add -moz-win-accentcolor(text)
#31 points 1 and 2
2018-02-04 20:37:56 +01:00
wolfbeast ac66308395 Add @media(-moz-windows-accent-color-applies)
#31 point 3
2018-02-04 20:36:05 +01:00
Matt A. Tobin 7edd685eee Merge branch 'master' into configurebuild-work 2018-02-04 14:35:31 -05:00
trav90 30bfbb3f97 Update FFmpeg code to n3.2-65-gee56777 2018-02-04 13:19:22 -06:00
Moonchild fc7d9fade5 Merge pull request #7 from janekptacijarabaci/devtools_inspector_cssColor4_1
Support for css-color-4 (finish)
2018-02-04 19:51:18 +01:00
Moonchild 34cdbd1366 Merge pull request #6 from janekptacijarabaci/devtools_inspector_copyFullCSSPath_1
Add a "copy full CSS path" option to the inspector's menu
2018-02-04 19:51:02 +01:00
Moonchild c0dfa1fdaa Merge pull request #5 from janekptacijarabaci/devtools_inspector_markupView_1
Markup View: show an ellipsis character in collapsed nodes
2018-02-04 19:50:46 +01:00
Moonchild c1855eae91 Merge pull request #9 from trav90/buildsystem-work
Require at least GCC 4.9
2018-02-04 19:48:51 +01:00
trav90 65c311a7ef Remove checks for GCC < 4.9 2018-02-04 12:31:30 -06:00
trav90 048149389c Require at least GCC 4.9 to build 2018-02-04 12:12:38 -06:00
wolfbeast 3ef4f63ec2 Merge branch 'ported-moebius' 2018-02-04 15:23:27 +01:00
wolfbeast a47a037ec9 Use int instead of uint for vector dimension cap. 2018-02-04 12:35:44 +01:00
wolfbeast 76de6d38a8 Disable built-in extensions. 2018-02-04 12:34:42 +01:00
wolfbeast 08591db6da Update SQLite to 3.19.3. 2018-02-04 12:04:24 +01:00
wolfbeast 56bd82c6fc Devtools gcli commands - fix the help. 2018-02-04 12:02:19 +01:00
wolfbeast e5f30602af Update graphite2 lib to 1.3.10
(from 1.3.8)
2018-02-04 11:49:12 +01:00
wolfbeast da33459cd2 Remove undesired pre-set bookmarks. 2018-02-04 11:43:22 +01:00
wolfbeast 6651189ca0 Remove Mozilla partner-affiliate searchplugins 2018-02-04 10:36:04 +01:00
wolfbeast 756b27f58d Update exe manifest (drop Vista support) 2018-02-04 08:54:16 +01:00
wolfbeast feeb432730 Don't cache vector images in the surface cache if they are too large.
A dimension of 3000 largest size x or y should cover all common caching cases for SVG icons and web app elements, but not caching large vector rasters that would exhaust the cache.
This limit is a royal 36MB/element (3000x3000x4) as cap (if the SVG is square). This avoids performance regressions when repeatedly scaling large vector images, but also allows for large SVG backgrounds to be cached.
It allows for the bad practice of slapping a large SVG on a site as html background, considering they are likely, even when using large sizes for "responsive" layout, not going to exceed 3000 px in the largest dimension (and if they do, the web designer needs to be slapped with a big trout).
2018-02-04 00:07:05 +01:00
wolfbeast de11930c3f Only create a single display transform for SVG frames with single child transforms.
This improves performance on repeated scaling of vectors.
2018-02-03 23:56:01 +01:00
Matt A. Tobin 0083d404ef Merge branch 'master' into configurebuild-work 2018-02-03 15:50:22 -05:00
wolfbeast 10494e1b7d Merge branch 'ported-moebius'
Remove GCZeal code from Spidermonkey.
This resolves #8
2018-02-03 19:03:05 +01:00
wolfbeast e27da6cc5e Remove unused compileBarriers() 2018-02-03 17:55:13 +01:00
wolfbeast 648b569a22 Remove SetGCZeal() stub and its callers. 2018-02-03 17:54:08 +01:00
wolfbeast f7352531b6 Remove runDebugGC() stub 2018-02-03 17:51:53 +01:00
wolfbeast d184e493d9 Remove pushZealSelectedObjects() and caller 2018-02-03 17:50:59 +01:00
wolfbeast 6b28944615 Remove finishMarkingValidation and caller 2018-02-03 17:50:00 +01:00
wolfbeast da7e96fc7a Remove validateIncrementalMarking() and caller 2018-02-03 17:47:35 +01:00
wolfbeast 93e6b657d1 Remove computeNonIncrementalMarkingForValidation(lock) and caller 2018-02-03 17:46:39 +01:00
wolfbeast 77a482feac Remove VerifyBarriers() and MaybeVerifyBarriers() stubs and callers. 2018-02-03 17:45:38 +01:00
wolfbeast cec903c6b2 Remove AutoStopVerifyingBarriers RAII stub struct no longer in use. 2018-02-03 17:44:36 +01:00
wolfbeast 548e31e1ed Remove needZealousGC() 2018-02-03 17:43:40 +01:00
wolfbeast 95badd1974 Remove upcomingZealousGC() and caller 2018-02-03 17:42:45 +01:00
wolfbeast 7a59ec756a Remove clearZealMode(mode) 2018-02-03 17:41:54 +01:00
wolfbeast 6f342b2269 Remove hasZealMode(mode) and callers 2018-02-03 17:41:03 +01:00
wolfbeast 3ff383eaec Remove isVerifyPreBarriersEnabled() stub and callers 2018-02-03 17:40:07 +01:00
wolfbeast 0565262ff0 Remove "has-gczeal" property. 2018-02-03 17:36:38 +01:00
wolfbeast 1cac08b9a2 Remove remaining conditional GCZeal code.
Creates stubs:
jsgc.h/cpp
VerifyBarriers() stub
MaybeVerifyBarriers() stub
GCRuntime::computeNonIncrementalMarkingForValidation() stub
GCRuntime::validateIncrementalMarking() stub
GCRuntime::finishMarkingValidation() stub
GCRuntime::pushZealSelectedObjects() stub
bool useZeal?
GCRuntime::runDebugGC() stub
XPConnect:
nsXPCComponents_Utils::SetGCZeal() stub (always NS_OK)
2018-02-03 17:35:44 +01:00
wolfbeast 867bfbd879 Remove GCZeal: Base cleanup
UXP repo issue #8
2018-02-03 15:06:40 +01:00
wolfbeast 559933a9a5 Trivial update: use .includes() in ForGetAboutSite.jsm 2018-02-03 15:02:47 +01:00
Matt A. Tobin c6856f968b Merge branch 'master' into configurebuild-work 2018-02-03 08:48:48 -05:00
Matt A. Tobin 36f73c8cd2 Allow moz.configure to build projects at / or application/ without having to fully qualify the path in --enable-application 2018-02-03 08:23:51 -05:00
Matt A. Tobin 7239cc8c7e Use MOZ_PHOENIX instead of checking for 'browser' in MOZ_BUILD_APP 2018-02-03 08:22:52 -05:00
wolfbeast 1e1fb5ea25 Merge branch 'goanna-gfx' 2018-02-03 14:02:24 +01:00
wolfbeast fcfa07318b Disable application update to prevent Mozilla interference while working on the tree. 2018-02-03 14:01:56 +01:00
Matt A. Tobin 6ff7b85d14 Move MOZ_PHOENIX to application configure and set MC_BASILISK 2018-02-03 06:42:10 -05:00
Matt A. Tobin 8b8c65072a Purge b2g/ 2018-02-03 06:25:10 -05:00
Matt A. Tobin 8c3a46bd13 Remove browser tests - Part 2: Build System 2018-02-03 06:01:32 -05:00
Matt A. Tobin 8148615da1 Remove browser tests - Part 1: The Tests (except for experiments) 2018-02-03 06:00:38 -05:00
wolfbeast 4662aad03a Use proper image http accept header for content negotiation. 2018-02-03 10:07:20 +01:00
wolfbeast 9371852bb9 Add WebP content sniffing code. 2018-02-03 10:05:56 +01:00
wolfbeast 3e0351aa49 Implement WebP image decoder. 2018-02-03 10:03:50 +01:00
wolfbeast b094b13595 Add build files to support libwebp decoding. 2018-02-03 09:58:46 +01:00
wolfbeast 2c1f833a09 Add libwebp 0.6.0 to the tree 2018-02-03 09:57:42 +01:00
janekptacijarabaci f3aeeab64f Support for css-color-4 (finish)
Issue #4
2018-02-02 20:51:18 +01:00
wolfbeast 494802c1be Merge branch 'goanna-gfx' 2018-02-02 20:45:11 +01:00
wolfbeast 4bf1a2a1cb Merge branch 'ported-moebius' 2018-02-02 20:44:40 +01:00
janekptacijarabaci f34094bae3 Add a "copy full CSS path" option to the inspector's menu
Issue #3
2018-02-02 20:42:28 +01:00
janekptacijarabaci 69ee28ad18 Markup View: show an ellipsis character in collapsed nodes
Issue #2
2018-02-02 20:32:00 +01:00
wolfbeast c0cfd6f89c CSS gradients: add a special case for transparent stops.
This causes transparent stops to behave like "true transparent" instead
of "transparent black", even in RGBA space.
i.e.: the gradient will transition to a transparent version of the color
adjacent to the transparent color stop (on either side if not on the edge).
2018-02-02 20:16:50 +01:00
wolfbeast d61fde6e94 CSS: Stop using premultiplied color space for gradients. 2018-02-02 20:06:07 +01:00
wolfbeast b80de6fe93 Disable window.showModalDialog.
This is no longer in the spec.
2018-02-02 19:44:07 +01:00
wolfbeast 5e809640e3 Disable the add-ons "cache" for privacy reasons. 2018-02-02 19:41:26 +01:00
wolfbeast 8d29182cf0 Add canvas data poisoning option.
Tag #61.
2018-02-02 19:38:38 +01:00
wolfbeast 100db2d197 Switch GeoLocation to IP-API.com with minimal requests. 2018-02-02 19:35:20 +01:00
wolfbeast 6d3a063354 Fix spellchecker dictionary logic.
This fixes #6.
2018-02-02 19:23:51 +01:00
wolfbeast cd3c3c6018 That's quite enough of /this/ nonsense. 2018-02-02 19:12:00 +01:00
wolfbeast 2bacef6f14 Disable static DHE + AES suites by default (common combination for weak DH keys)
Issue #4 point 5
2018-02-02 19:07:53 +01:00
wolfbeast d98565a287 Disable 3DES cipher by default + re-order a few things.
Issue #4 point 4
2018-02-02 19:06:52 +01:00
wolfbeast acaf15453c Add RSA-AES + SHA256/384 suites for web compatibility.
Sites with these ciphers (commonly IIS) would otherwise fall back to weak 3DES that will be disabled by default.

Issue #4 points 2 and 3
2018-02-02 19:05:37 +01:00
wolfbeast 3b70762534 Add Camellia to the active cipher suites.
Issue #4 point 1.

Camellia is a strong, modern, safe cipher with no known weaknesses or reduced strength attacks.
The cipher has been approved for use by the ISO/IEC, the European Union's NESSIE project and the Japanese CRYPTREC project.
2018-02-02 19:04:33 +01:00
wolfbeast 8a1dc97a5a Implement configuration pref for Generational Garbage Collection.
Pref: javascript.options.mem.gc_generational
This resolves #20
2018-02-02 19:03:24 +01:00
wolfbeast 216bd0a958 Fix toolkit update logic to prevent update loops.
Only consider equal appversion to be "update available" if BuildID is present AND greater than current.

This resolves #13.
2018-02-02 18:58:47 +01:00
wolfbeast d795f4c2c2 Support "SourceMap" header along with "X-SourceMap" 2018-02-02 18:57:14 +01:00
wolfbeast 7d0c56c287 Restrict XML file recursion depth to 200.
This resolves #2.
2018-02-02 18:55:59 +01:00
Matt A. Tobin c0c702a5e3 Use UTC where appropriate in python files 2018-02-02 12:00:37 -05:00
Matt A. Tobin 45d4933f56 Fix certerror.wrongSystemTime in netError.dtd 2018-02-02 11:11:41 -05:00
Matt A. Tobin 75b10a7b6b End FIREFOX_VERSION and use preprocessed values in bundled install.rdf files 2018-02-02 11:02:50 -05:00
Matt A. Tobin eb03d67388 Preprocessor warnings should not be fatal errors 2018-02-02 09:30:18 -05:00
Matt A. Tobin 9627f18ceb Remove kinto client, Firefox kinto storage adapter, blocklist update client and integration with sync, OneCRL and the custom time check for derives system time. 2018-02-02 09:21:33 -05:00
Matt A. Tobin c28c5b704f Issue N/A - Undeprecate viewSource.xul's original API 2018-02-02 07:52:31 -05:00
Matt A. Tobin bb23af29af Issue N/A - Restore the Toolkit Error Console - Part 2: Browser 2018-02-02 07:28:34 -05:00
Matt A. Tobin 464e29230e Issue N/A - Restore the Toolkit Error Console - Part 1: Toolkit 2018-02-02 07:11:37 -05:00
Matt A. Tobin 6d614170cb Revert "Add Basilisk"
This reverts commit e72ef92b5b.
2018-02-02 05:06:10 -05:00
Matt A. Tobin 2a6b605d64 Empty commit 2018-02-02 05:04:01 -05:00
Matt A. Tobin 5f8de423f1 Add m-esr52 at 52.6.0 2018-02-02 04:16:08 -05:00
Matt A. Tobin 49ee0794b5 Add Pale Moon 2018-02-02 03:35:06 -05:00
Matt A. Tobin e72ef92b5b Add Basilisk 2018-02-02 03:32:58 -05:00
Matt A. Tobin 0d19b77d3e Git stuff 2018-02-02 03:23:50 -05:00
Moonchild 9b6b26a0a4 Initial commit 2018-02-01 09:25:01 +00:00
63178 changed files with 5755900 additions and 3849977 deletions

No files matched your search

+1
View File
@@ -0,0 +1 @@
config
+6
View File
@@ -0,0 +1,6 @@
[source.crates-io]
registry = 'https://github.com/rust-lang/crates.io-index'
replace-with = 'vendored-sources'
[source.vendored-sources]
directory = '@top_srcdir@/third_party/rust'
+23 -1
View File
@@ -57,7 +57,7 @@ b2g/locales/en-US/b2g-l10n.js
# browser/ exclusions
browser/app/**
browser/branding/**/basilisk-branding.js
browser/branding/**/firefox-branding.js
browser/base/content/browser-social.js
browser/base/content/nsContextMenu.js
browser/base/content/sanitizeDialog.js
@@ -187,6 +187,28 @@ devtools/client/framework/test/code_ugly*
devtools/server/tests/unit/babel_and_browserify_script_with_source_map.js
devtools/server/tests/unit/setBreakpoint*
# mobile/android/ exclusions
mobile/android/tests/
# Uses `#filter substitution`
mobile/android/b2gdroid/app/b2gdroid.js
mobile/android/app/mobile.js
mobile/android/chrome/content/healthreport-prefs.js
# Uses `#expand`
mobile/android/chrome/content/about.js
# Not much JS to lint and non-standard at that
mobile/android/installer/
mobile/android/locales/
# Non-standard `(catch ex if ...)`
mobile/android/chrome/content/browser.js
mobile/android/components/Snippets.js
# Bug 1178739: Ignore this file as a quick fix for "Illegal yield expression"
mobile/android/modules/HomeProvider.jsm
# services/ exclusions
# Uses `#filter substitution`
-3
View File
@@ -7,9 +7,6 @@ module.exports = {
],
"rules": {
"mozilla/import-globals": "warn",
// No (!foo in bar) or (!object instanceof Class)
"no-unsafe-negation": "error",
},
"env": {
"es6": true
+6 -5
View File
@@ -49,11 +49,9 @@ js/src/autom4te.cache
js/src/tests/results-*.html
js/src/tests/results-*.txt
# Java HTML5 parser codegen artifacts
parser/html/java/htmlparser/bin/
parser/html/java/javaparser/bin/
parser/html/java/*.jar
parser/html/javasrc/
# Java HTML5 parser classes
parser/html/java/htmlparser/
parser/html/java/javaparser/
# Ignore the files and directory that Eclipse IDE creates
.project
@@ -91,6 +89,9 @@ GPATH
# Git clone directory for updating web-platform-tests
testing/web-platform/sync/
# Android Gradle artifacts.
mobile/android/gradle/.gradle
# XCode project cruft
embedding/ios/GoannaEmbed/GoannaEmbed.xcodeproj/project.xcworkspace/xcuserdata
embedding/ios/GoannaEmbed/GoannaEmbed.xcodeproj/xcuserdata
+2 -5
View File
@@ -3,10 +3,8 @@ codebase which lives in this repository. If you make a contribution
here, you may add your name and, optionally, email address in the
appropriate place.
For a more comprehensive list of the people who are credited with
making a contribution to this project and its Mozilla roots, see
http://www.palemoon.org/Contributors.shtml
For a full list of the people who are credited with making a
contribution to Mozilla, see http://www.mozilla.org/credits/ .
<1010mozilla@Ostermiller.com>
Aaron Boodman <aa@google.com>
@@ -652,7 +650,6 @@ Mark Mentovai <mark@moxienet.com>
Mark Pilgrim <pilgrim@gmail.com>
Mark Smith <mcs@pearlcrescent.com>
Mark Steele <mwsteele@gmail.com>
Mark Straver <moonchild@palemoon.org>
Markus G. Kuhn <mkuhn@acm.org>
Markus Stange <mstange@themasta.com>
Martijn Pieters <mj@digicool.com>
+1 -1
View File
@@ -22,4 +22,4 @@
# changes to stick? As of bug 928195, this shouldn't be necessary! Please
# don't change CLOBBER for WebIDL changes any more.
Clobber for NSS update
Clobber for un-folding browsercomps
+16 -6
View File
@@ -47,12 +47,6 @@ ifndef MOZ_PROFILE_USE
# We need to explicitly put BUILD_BACKEND_FILES here otherwise the rule in
# rules.mk doesn't run early enough.
$(TIERS) binaries:: CLOBBER $(configure_dir)/configure config.status $(BUILD_BACKEND_FILES)
# While our mozbuild backend has some kind of crazy install_manfests junk to
# try and make this not have to happen, we actually want dist/bin to be
# completely removed regardless.
default alldep all::
@$(RM) -r $(DIST)/bin
ifndef JS_STANDALONE
ifdef COMPILE_ENVIRONMENT
$(TIERS) binaries:: $(topsrcdir)/js/src/configure js/src/config.status
@@ -305,6 +299,13 @@ MAKE_SYM_STORE_ARGS += --install-manifest=$(DEPTH)/_build_manifests/install/dist
SYM_STORE_SOURCE_DIRS := $(topsrcdir)
ifdef MOZ_CRASHREPORTER
include $(topsrcdir)/toolkit/mozapps/installer/package-name.mk
SYMBOL_INDEX_NAME = \
$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)-$(OS_TARGET)-$(BUILDID)-$(CPU_ARCH)-symbols.txt
endif
.PHONY: generatesymbols
generatesymbols:
echo building symbol store
@@ -336,9 +337,18 @@ symbolsarchive: generatesymbols
cd $(DIST)/crashreporter-symbols && \
zip -r5D '../$(PKG_PATH)$(SYMBOL_ARCHIVE_BASENAME).zip' . -i '*.sym' -i '*.txt'
ifdef MOZ_CRASHREPORTER
buildsymbols: symbolsfullarchive symbolsarchive
else
buildsymbols:
endif
uploadsymbols:
ifdef MOZ_CRASHREPORTER
ifdef SOCORRO_SYMBOL_UPLOAD_TOKEN_FILE
$(PYTHON) -u $(topsrcdir)/toolkit/crashreporter/tools/upload_symbols.py '$(DIST)/$(PKG_PATH)$(SYMBOL_FULL_ARCHIVE_BASENAME).zip'
endif
endif
.PHONY: update-packaging
update-packaging:
-39
View File
@@ -1,39 +0,0 @@
# Unified XUL Platform (UXP)
This repository holds the code for a unified application platform for XUL-based
applications. It is a hard fork from the Mozilla code repository (mozilla-central)
with an ESR-52 fork point.
In addition to further development based on the Mozilla upstream code, and
selective cherry-picking of directly-applicable patches, this repository has its
own development and holds the base for a maintained platform to be used by XUL
applications.
For a list of active projects making use of the Unified XUL Platform, checkout http://thereisonlyxul.org/.
## Additional documentation
Additional documentation relevant to this source code can be found in the `/docs`
directory. This will contain relevant documentation regarding contributing,
using and distributing this code and its binaries.
If you are interested in the development and building side of things, some
information will be available on the [Pale Moon developer site](http://developer.palemoon.org).
You are also always welcome to get in touch with our community on the [Pale Moon forum](https://forum.palemoon.org/).
### A note about trademarks and branding
Although this repository is licensed under Mozilla Public License v2.0, the
trademarks and brands contained herein remain the property of their respective
owners. For more details, please see the notifications in the respective directories.
### Foundation and maintainership
This repository has been founded by Moonchild (M.C. Straver) and is maintained by him
and other community members.
If you fork this repository to perform your own work on it, please consider offering
improvement patches upstream to its origin to mutually improve the platform and build
a future for XUL.
## Looking for Pale Moon and Basilisk?
As of [`Issue #969`](https://repo.palemoon.org/MoonchildProductions/UXP/issues/969), release versions `28.9.0` and `2020.03.04` respectively, they have been split off into their own dedicated repositories located at [`MoonchildProductions/Pale-Moon`](https://repo.palemoon.org/MoonchildProductions/Pale-Moon) and [`MoonchildProductions/Basilisk`](https://repo.palemoon.org/MoonchildProductions/Basilisk).
-36
View File
@@ -1,36 +0,0 @@
# Security Policy
## What is or is not a vulnerability?
In general, vulnerabilities are those bugs that can actually be exploited to perform malicious tasks.
Most _crashes_ are not security vulnerabilities. Although important to fix, they don't inherently cause a problem for the
browser's security.
What should be considered vulnerabilities or security hazards by default:
- Use-after-free crashes, since those can potentially be used for remote code execution;
- Spoofing issues in the UI;
- File security issues, like out-of-bounds access to arbitrary files or locations;
- Type confusion issues;
- Bypass of security measures like CSP or the various mechanisms around HTTPS.
Generally not security vulnerabilities:
- Null dereferencing crashes;
- Malware extensions (but please do report those on the forum in the extensions board!);
- Denial-of-service (AKA "evil trap sites")
- Browser hangs
- Issues with non-standard manual configuration (either at build time or by manipulating about:config directly)
## Reporting a Vulnerability
If you find an issue in UXP or the applications it builds on that could impact the security or safety of users please **do not**
make an issue on Gitea about it. Gitea does not support restricted viewability for security sensitive bugs.
If you want to report a security-sensitive issue then please go to the [forum](https://forum.palemoon.org) and report the issue
via a **private message** to **Moonchild** (the founder and prime responsible for security issues).
The forum's private message system is fully secure since your visits are encrypted and private messages are not available to anyone
except the recipient (not even moderators!).
You will be informed via private message if the vulnerability report is accepted or declined, with reasoning.
Security updates occur regularly and are given priority over most other development tasks. In general, they can be solved
relatively quickly and will be included in the next point release (third digit if not rolled into a more major one).
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 40 -*- */
/* vim: set ts=2 et sw=2 tw=40: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
+2 -1
View File
@@ -1,4 +1,5 @@
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@@ -7,7 +8,7 @@ EXPORTS.mozilla.dom += [
'AccessibleNode.h',
]
SOURCES += [
UNIFIED_SOURCES += [
'AccessibleNode.cpp',
]
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* * License, v. 2.0. If a copy of the MPL was not distributed with this file,
* * You can obtain one at http://mozilla.org/MPL/2.0/. */
+5
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@@ -59,7 +60,11 @@ struct GnomeAccessibilityModule
};
static GnomeAccessibilityModule sAtkBridge = {
#ifdef AIX
"libatk-bridge.a(libatk-bridge.so.0)", nullptr,
#else
"libatk-bridge.so", nullptr,
#endif
"gnome_accessibility_module_init", nullptr,
"gnome_accessibility_module_shutdown", nullptr
};
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+1
View File
@@ -1,4 +1,5 @@
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+10
View File
@@ -347,6 +347,16 @@ static const nsRoleMapEntry sWAIRoleMaps[] =
eLandmark,
kNoReqStates
},
{ // marquee
&nsGkAtoms::marquee,
roles::ANIMATION,
kUseMapRole,
eNoValue,
eNoAction,
eOffLiveAttr,
kGenericAccType,
kNoReqStates
},
{ // math
&nsGkAtoms::math,
roles::FLAT_EQUATION,
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
+1 -3
View File
@@ -1,12 +1,10 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "AccessibleOrProxy.h"
#include "DocAccessible.h"
using namespace mozilla::a11y;
AccessibleOrProxy
AccessibleOrProxy::Parent() const
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-3
View File
@@ -8,9 +8,6 @@
#include "Accessible-inl.h"
#include "nsEventShell.h"
#include "DocAccessible.h"
#include "DocAccessible-inl.h"
#include "EmbeddedObjCollector.h"
#include "NotificationController.h"
#ifdef A11Y_LOG
#include "Logging.h"
#endif
-1
View File
@@ -8,7 +8,6 @@
#include "AccEvent.h"
#include "Accessible.h"
#include "DocAccessible.h"
#include "mozilla/RefPtr.h"
#include "mozilla/UniquePtr.h"
-2
View File
@@ -5,8 +5,6 @@
#ifndef mozilla_a11y_FocusManager_h_
#define mozilla_a11y_FocusManager_h_
#include "mozilla/RefPtr.h"
class nsINode;
class nsIDocument;
class nsISupports;
+1 -2
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
@@ -8,7 +9,6 @@
#include "Accessible-inl.h"
#include "AccEvent.h"
#include "DocAccessible.h"
#include "DocAccessible-inl.h"
#include "nsAccessibilityService.h"
#include "nsCoreUtils.h"
#include "OuterDocAccessible.h"
@@ -23,7 +23,6 @@
#include "nsIDocShellTreeItem.h"
#include "nsIURI.h"
#include "mozilla/dom/Element.h"
#include "mozilla/dom/HTMLBodyElement.h"
using namespace mozilla;
using namespace mozilla::a11y;
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
+1 -2
View File
@@ -7,7 +7,6 @@
#include "DocAccessible-inl.h"
#include "DocAccessibleChild.h"
#include "nsEventShell.h"
#include "TextLeafAccessible.h"
#include "TextUpdater.h"
@@ -17,7 +16,6 @@
using namespace mozilla;
using namespace mozilla::a11y;
using namespace mozilla::dom;
////////////////////////////////////////////////////////////////////////////////
// NotificationCollector
@@ -593,6 +591,7 @@ void
NotificationController::WillRefresh(mozilla::TimeStamp aTime)
{
PROFILER_LABEL_FUNC(js::ProfileEntry::Category::OTHER);
Telemetry::AutoTimer<Telemetry::A11Y_UPDATE_TIME> updateTimer;
// If the document accessible that notification collector was created for is
// now shut down, don't process notifications anymore.
+3 -2
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@@ -35,10 +36,10 @@ EPlatformDisabledState PlatformDisabledState();
void PreInit();
#endif
#if defined(MOZ_ACCESSIBILITY_ATK)
#if defined(MOZ_ACCESSIBILITY_ATK) || defined(XP_MACOSX)
/**
* Is platform accessibility enabled.
* Only used on linux with atk.
* Only used on linux with atk and MacOS for now.
*/
bool ShouldA11yBeEnabled();
#endif
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set expandtab shiftwidth=2 tabstop=2: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+39
View File
@@ -0,0 +1,39 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef A11Y_STATISTICS_H_
#define A11Y_STATISTICS_H_
#include "mozilla/Telemetry.h"
namespace mozilla {
namespace a11y {
namespace statistics {
inline void A11yInitialized()
{ Telemetry::Accumulate(Telemetry::A11Y_INSTANTIATED_FLAG, true); }
inline void A11yConsumers(uint32_t aConsumer)
{ Telemetry::Accumulate(Telemetry::A11Y_CONSUMERS, aConsumer); }
/**
* Report that ISimpleDOM* has been used.
*/
inline void ISimpleDOMUsed()
{ Telemetry::Accumulate(Telemetry::A11Y_ISIMPLEDOM_USAGE_FLAG, true); }
/**
* Report that IAccessibleTable has been used.
*/
inline void IAccessibleTableUsed()
{ Telemetry::Accumulate(Telemetry::A11Y_IATABLE_USAGE_FLAG, true); }
} // namespace statistics
} // namespace a11y
} // namespace mozilla
#endif
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set expandtab shiftwidth=2 tabstop=2: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set expandtab shiftwidth=2 tabstop=2: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -6,7 +6,6 @@
#include "TreeWalker.h"
#include "Accessible.h"
#include "Accessible-inl.h"
#include "AccIterator.h"
#include "nsAccessibilityService.h"
#include "DocAccessible.h"
+7 -2
View File
@@ -1,4 +1,5 @@
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@@ -24,7 +25,7 @@ if CONFIG['MOZ_DEBUG']:
'Logging.h',
]
SOURCES += [
UNIFIED_SOURCES += [
'AccessibleOrProxy.cpp',
'AccEvent.cpp',
'AccGroupInfo.cpp',
@@ -54,7 +55,7 @@ SOURCES += [
]
if CONFIG['A11Y_LOG']:
SOURCES += [
UNIFIED_SOURCES += [
'Logging.cpp',
]
@@ -96,6 +97,10 @@ elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
'/accessible/windows/ia2',
'/accessible/windows/msaa',
]
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
LOCAL_INCLUDES += [
'/accessible/mac',
]
else:
LOCAL_INCLUDES += [
'/accessible/other',
@@ -32,6 +32,7 @@
#include "RootAccessibleWrap.h"
#endif
#include "States.h"
#include "Statistics.h"
#include "TextLeafAccessibleWrap.h"
#include "TreeWalker.h"
#include "xpcAccessibleApplication.h"
@@ -52,6 +53,10 @@
#include "Logging.h"
#endif
#ifdef MOZ_CRASHREPORTER
#include "nsExceptionHandler.h"
#endif
#include "nsImageFrame.h"
#include "nsIObserverService.h"
#include "nsLayoutUtils.h"
@@ -1278,6 +1283,12 @@ nsAccessibilityService::Init()
NS_ADDREF(gApplicationAccessible); // will release in Shutdown()
gApplicationAccessible->Init();
#ifdef MOZ_CRASHREPORTER
CrashReporter::
AnnotateCrashReport(NS_LITERAL_CSTRING("Accessibility"),
NS_LITERAL_CSTRING("Active"));
#endif
#ifdef XP_WIN
sPendingPlugins = new nsTArray<nsCOMPtr<nsIContent> >;
sPluginTimers = new nsTArray<nsCOMPtr<nsITimer> >;
@@ -1287,6 +1298,8 @@ nsAccessibilityService::Init()
if (XRE_IsParentProcess())
PlatformInit();
statistics::A11yInitialized();
return true;
}
+4
View File
@@ -336,8 +336,12 @@ void MaybeShutdownAccService(uint32_t aFormerConsumer);
inline bool
IPCAccessibilityActive()
{
#ifdef MOZ_B2G
return false;
#else
return XRE_IsContentProcess() &&
mozilla::Preferences::GetBool("accessibility.ipc_architecture.enabled", true);
#endif
}
/**
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-2
View File
@@ -9,7 +9,6 @@
#include "nsIBaseWindow.h"
#include "nsIDocShellTreeOwner.h"
#include "nsIContentInlines.h"
#include "nsIDocument.h"
#include "nsIDOMHTMLDocument.h"
#include "nsIDOMHTMLElement.h"
@@ -24,7 +23,6 @@
#include "nsISelectionPrivate.h"
#include "nsISelectionController.h"
#include "nsISimpleEnumerator.h"
#include "nsXBLPrototypeBinding.h"
#include "mozilla/dom/TouchEvent.h"
#include "mozilla/EventListenerManager.h"
#include "mozilla/EventStateManager.h"
-4
View File
@@ -9,10 +9,6 @@
#include "mozilla/StaticPtr.h"
#ifdef A11Y_LOG
#include "Logging.h"
#endif
using namespace mozilla;
using namespace mozilla::a11y;
-2
View File
@@ -10,11 +10,9 @@
#include "Accessible-inl.h"
#include "AccIterator.h"
#include "nsCoreUtils.h"
#include "nsStyleConsts.h"
#include "nsIDOMXULLabeledControlEl.h"
using namespace mozilla::a11y;
using namespace mozilla;
/**
* The accessible for which we are computing a text equivalent. It is useful
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
-1
View File
@@ -47,7 +47,6 @@
#include "nsDeckFrame.h"
#include "nsLayoutUtils.h"
#include "nsIPersistentProperties2.h"
#include "nsIPresShell.h"
#include "nsIStringBundle.h"
#include "nsPresContext.h"
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+1 -1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 sw=2 et tw=78: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@@ -10,7 +11,6 @@
#include "nsIAccessibleTypes.h"
#include "DocAccessible.h"
#include "HTMLListAccessible.h"
#include "Relation.h"
#include "Role.h"
#include "States.h"
#include "TextAttrs.h"
-2
View File
@@ -27,10 +27,8 @@
#include "nsIDocShellTreeItem.h"
#include "nsIDocShellTreeOwner.h"
#include "mozilla/a11y/DocAccessibleParent.h"
#include "mozilla/dom/Event.h"
#include "mozilla/dom/EventTarget.h"
#include "mozilla/dom/TabParent.h"
#include "nsIDOMCustomEvent.h"
#include "nsIDOMXULMultSelectCntrlEl.h"
#include "nsIDocument.h"
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
+6 -1
View File
@@ -1,4 +1,5 @@
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@@ -9,7 +10,7 @@ EXPORTS.mozilla.a11y += [
'HyperTextAccessible.h',
]
SOURCES += [
UNIFIED_SOURCES += [
'Accessible.cpp',
'ApplicationAccessible.cpp',
'ARIAGridAccessible.cpp',
@@ -52,6 +53,10 @@ elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
'/accessible/windows/ia2',
'/accessible/windows/msaa',
]
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
LOCAL_INCLUDES += [
'/accessible/mac',
]
else:
LOCAL_INCLUDES += [
'/accessible/other',
+1 -1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
@@ -9,7 +10,6 @@
#include "nsAccUtils.h"
#include "Role.h"
#include "States.h"
#include "EventTree.h"
#include "nsBlockFrame.h"
#include "nsBulletFrame.h"
+1
View File
@@ -1,4 +1,5 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
Loaded 100 of 63178 files, more files were not shown because too many files have changed in this diff. Show more