Граф коммитов

554137 Коммитов

Автор SHA1 Сообщение Дата
Kris Maglione 85754fb12a Bug 1391405: Part 1 - Add WebIDL versions of much used Components.utils helpers. r=gabor,qdot
In the code that I'm profiling, the XPC WrappedNative overhead of calling
these functions adds up to about a quarter of the time spent executing the
code. The overhead of the WebIDL versions is negligible.

MozReview-Commit-ID: 30qJy5RtP9d

--HG--
extra : rebase_source : 4fe73f4b9bde052a0eadf7d5634f792e16ca1c94
extra : histedit_source : ec61152a0181f3b0e28023c951e7181c43216d2f
2017-08-18 11:10:10 -07:00
Christoph Kerschbaumer be9d9ede6d Bug 1393350: Convert talos/tests/tpaint/tpaint.html to comply with new data: URI inheritance model. r=smaug 2017-08-24 11:53:55 +02:00
Christoph Kerschbaumer 1ab0a5253e Bug 1324406 - Treat 'data:' documents as unique, opaque origins. r=smaug 2017-08-23 12:58:16 +02:00
Alexander Surkov 50b1424be4 Bug 1391733 - get back missing IAccessible2 interface query, r=aklotz 2017-08-24 15:29:27 -04:00
"dragan.mladjenovic" 3ed2a32282 Bug 1391248 - Add asynchronous wasm interrupt/trap support to mips32 simulator. r=bbouvier 2017-08-24 10:48:00 -04:00
"dragan.mladjenovic" 58189919c8 Bug 1391248 - Crash mips32 simulator on instructions whose result is undefined under FR=0 mode. r=bbouvier 2017-08-24 10:48:00 -04:00
"dragan.mladjenovic" 9e2b82a2da Bug 1391248 - Add mov*.s instruction support and missing redirection signatures to mips32 simulator. r=bbouvier 2017-08-24 10:47:00 -04:00
"dragan.mladjenovic" 1a372bbec1 Bug 1391248 - Add ll,sc,sync instruction support to mips32 simulator. r=lth 2017-08-24 10:47:00 -04:00
"dragan.mladjenovic" 2d55550d11 Bug 1391248 - Use AutoEnterOOMUnsafeRegion in mips32 simulator. r=bbouvier 2017-08-24 10:46:00 -04:00
Simon Lindholm 0c65735985 Bug 1393483 - Correctly pass cancel token to _onResultRow. r=mak 2017-08-24 08:20:00 -04:00
Eitan Isaacson d96b3aa550 Bug 1392757 - Be more resilient for data values we get in Android object navigation. r=yzen 2017-08-22 13:04:00 -04:00
Honza Bambas b0e6a5e1a5 Bug 1392382 - Don't assume request order in test_bug1053321.html. r=bkelly 2017-08-24 07:47:00 -04:00
Ryan VanderMeulen 4febc79b28 Bug 1393526 - Upgrade to SQLite 3.20.1. r=mak 2017-08-24 14:50:48 -04:00
Mason Chang 7620bec375 Bug 1393142 - Don't reset transform if RotatedBuffer didn't set it. r=bas 2017-08-24 11:03:16 -07:00
Aaron Klotz bbcb22aba6 Bug 1383501: Use HKEY_LOCAL_MACHINE\SOFTWARE\Classes for resolving COM registration instead of HKEY_CLASSES_ROOT; r=eeejay
MozReview-Commit-ID: 4kMWNKEpejh
2017-08-21 12:55:55 -06:00
Aaron Klotz bd05dcbb61 Bug 1392681: Move IStream creation out of mscom::ProxyStream into its own utility functions; r=jimm
MozReview-Commit-ID: EucWtw0YeBI
2017-08-22 10:48:12 -06:00
Aaron Klotz e72586e7f4 Bug 1392666: Unconditionally initialize e10s-specific variables in Win32 a11y::PlatformInit; r=eeejay
MozReview-Commit-ID: 6aqnbt9Qytp
2017-08-22 10:02:30 -06:00
Joel Maher 15675feae0 Bug 1383315 - Disable browser/base/content/test/tabcrashed/browser_noPermanentKey.js for linux32/debug. r=mconley 2017-08-24 13:14:47 -04:00
Sebastian Hengst cb6cf95f70 Backed out changeset d2a4fa2a4005 (bug 1139913) for failing browser-chrome's browser_downloads_panel_height.js. r=backout 2017-08-24 18:55:43 +02:00
Tristan Bourvon ba0998ae31 Bug 1380423 - Add static-analysis to enforce strict rules on functions which can run scripts. r=mystor
MozReview-Commit-ID: GGSyq0z5msB
2017-08-08 19:48:53 +03:00
David Bolter 279b9baff2 Bug 1391733 - Update telemetry to provide information about e10s incompatible jaws usage. r=surkov 2017-08-24 11:00:08 -04:00
Makoto Kato dd679562b1 Bug 1391628 - Use fallback locale on nsICollation if locale is invalid. r=emk
Original issue is that Microsoft Dynamics CRM uses invalid lang attribute in <xsl:sort>.

<xsl:sort order="descending"
          select="@displayname[$sortColumnName='displayname'] |
                  @name[$sortColumnName='name'] |
                  exslt:node-set($FriendlyTypeNames)/types/type[@xmlName=current()/@datatype and $sortColumnName='datatype']"
          lang="$languageName"/>

Our XSLT implementation detects "$languageName" as locale name, then use it to nsICollation.

Until Gecko 54 for Windows, even if using invalid locale name for nsICollation, it uses platform locale as fallback.  But from 55, we use same implementation as macOS's to use ICU.  So this issue occurs.  ICU implementation doesn't use fallback locale if it is invalid.

We should use fallback locale if locale is invalid.  Most code for fallback locale such as FallbackEncoding uses application locale, so use it.

MozReview-Commit-ID: EKYkZG7Hnz0

--HG--
extra : rebase_source : fec89c67317d7df041f3b237122fb7e20e32fe1b
2017-08-24 23:13:42 +09:00
Paolo Amadini e9f7da41fa Bug 1393418 - Fix initialization of the Downloads Indicator on startup. r=mak
MozReview-Commit-ID: GEQZoak5MFl

--HG--
extra : rebase_source : d06fdd9e0a07e70cf3d3143c3ecefd0e3365a350
2017-08-24 13:34:08 +01:00
Nick Fox 27ff4d1faf Bug 1289157 - remove eSurvivingInUpdate flag from Accessible class, r=surkov 2017-08-24 10:22:55 -04:00
Jon Coppeard da09c8bd3a Bug 1393432 - Renable some module instantiation tests that now pass r=jgraham 2017-08-24 14:22:30 +01:00
Johann Hofmann c5c5b0af8e Bug 1139913 - Downloads with partial data should still keep the placeholder on disk. r=mak
This prevents naming conflicts if a paused or blocked download is retried from the original page.

MozReview-Commit-ID: 4rFZ5rP8saJ

--HG--
extra : rebase_source : c392fc62cb33b2c2d70a1c3a8a975ddf93d394ea
2017-08-24 14:13:56 +01:00
André Bargull 93a579fe80 Bug 1393053 - Directly get built-in %PromisePrototype% instead of going through GetPrototypeFromConstructor. r=till 2017-08-23 16:54:05 +02:00
Vanessa Gutierrez 1d300dacd5 Bug 1386186 - Added firstPaint scalar, timestamps scalar section, and tests. r=gfritzsche
--HG--
extra : amend_source : eb7102df741b51926407fd7e7f16e3f36a7d6b19
2017-08-22 11:01:00 -04:00
André Bargull 1994bec3b0 Bug 1368313 - Use error reporter to report missing module exports. r=jonco 2017-08-23 22:06:10 +02:00
Miran.Karic 1fa73ac17c Bug 1392606 - Fix MIPS64 simulator build compilation failures. r=bbouvier 2017-08-24 04:25:00 -04:00
André Bargull c2c9b64535 Bug 1391773 - Update [[DefineOwnProperty]] for module namespace objects per ES2018 draft. r=jonco 2017-08-23 18:56:10 +02:00
Jory A. Pratt e59d72ca8a Bug 1320560 - Use C99 math isfinite, finite has been depreciated and all modern libc implementations use isfinite. r=froydnj 2017-01-08 11:34:00 -05:00
Nevin Chen ef0cc18c44 Bug 1356596 - Add warning when entering full screen mode. r=sebastian
MozReview-Commit-ID: 2QZFylS2Ry3

--HG--
extra : amend_source : c5a6d1fe000b7461bfe1d1b4ebe1cc120a473247
2017-08-24 08:39:19 -04:00
Sebastian Hengst 3d306e2f50 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-08-24 13:31:12 +02:00
Sebastian Hengst aeacc34883 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 6TGQRm8SSk0
2017-08-24 13:28:57 +02:00
Olli Pettay 045eeefaaa Bug 1390402, add a faster variant of TextEditor::GetDocumentIsEmpty(), r=masayuki
--HG--
extra : rebase_source : 3238aec96be5b0393c395ce8cce9a0489d2e671d
2017-08-24 13:53:34 +03:00
Joel Maher a6c517d732 Bug 1391507 - requestLongerTimeout for browser_search_subdialogs_within_preferences. r=timdream 2017-08-24 06:32:37 -04:00
Yoshi Huang c4f9380675 Bug 1373780 - Part 4: remove imageset.https.sub.html.ini. r=annevk 2017-08-24 18:11:06 +08:00
Yoshi Huang df6bad1c1e Bug 1373780 - Part 3: add isImgSet argument. r=jdm
Per mixed-content-blocked spec, [1], <img srcset> and <picture> should
be blocked. However we still fetch <img srcset> and <picture> in image
preload, because they are fetched with contentPolicyType
TYPE_INTERNAL_IMAGE_PRELOAD and won't be rejected by nsMixedContentBlocker.cpp.

So I updated the image preloading code, and use the type TYPE_IMAGESET
if the image request is for <picture> or <img srcset>, otherwise for
normal image load we still use TYPE_INTERNAL_IMAGE_PRELOAD.

[1]: https://w3c.github.io/webappsec-mixed-content/#should-block-fetch
  4. Return allowed if one or more of the following conditions are met:
     request’s type is "image", and initiator is not "imageset".
  5. Return blocked.
2017-08-24 18:10:54 +08:00
Yoshi Huang e63d45332e Bug 1373780 - Part 2: remove calling nsContentUtils::CanLoadImage(). r=jdm
As we already do security check in asyncOpen2 in bug 1206961, also
we've removed calling nsContentUtils::CanLoadImage() in bug 1267075, so
here we do the same thing for nsDocument.
2017-08-24 18:10:47 +08:00
Yoshi Huang 5e0c3d88be Bug 1373780 - Part 1: Added smiley.png.headers. r=annevk
For web-platform-tests imageset.https.sub,html [1], it will fetch smiley.png
and use window.performace to query the download size to determine the image is
actually downloaded or not. [2]

However this test is a mixed-content-blocked test, (https: document to
load some images from http:), and performace API only allows pages with
different origin to use this API if the HTTP header 'Timing-Allow-Origin' is
specified. [3]

So we added a smiley.png.header to specifiy 'Timing-Allow-Origin'.

[1]: http://searchfox.org/mozilla-central/rev/b258e6864ee3e809d40982bc5d0d5aff66a20780/testing/web-platform/tests/mixed-content/imageset.https.sub.html
[2]: http://searchfox.org/mozilla-central/rev/b258e6864ee3e809d40982bc5d0d5aff66a20780/testing/web-platform/tests/preload/resources/preload_helper.js#13
[3]: https://www.w3.org/TR/resource-timing-1/#timing-allow-origin
2017-08-24 18:10:39 +08:00
Andreas Farre c38df01a71 Bug 1391602 - Clamp execution budget to a minimum value. r=bkelly 2017-08-24 10:35:45 +02:00
Jonathan Kew 0ef13f6a7e Bug 1392659 - Activate fonts available in the macOS "Language Support" directory so that they are available in Gecko. r=jrmuizel 2017-08-24 09:33:38 +01:00
Jonathan Kew c8d112cc49 Bug 1393185 - Annotate gfxFT2LockedFace as a stack-based helper, and avoid touching the refcount of the font. r=lsalzman 2017-08-24 09:33:34 +01:00
Michal Novotny 8030ac3f2d Bug 1382688 - Do not allow to enable old disk cache backend, r=honzab 2017-08-24 10:25:38 +02:00
Nicholas Nethercote eb53891d73 Bug 1392993 - Change nsIAccessibleObjectAttributeChangedEvent.changedAttribute from an nsIAtom to an AString. r=MarcoZ.
This removes one use of nsIAtom within scripts, which is good (see bug
1392883). All the uses of this attribute within scripts just converted it to a
string anyway.

--HG--
extra : rebase_source : 080c12506722df5d18e78659bbb922421baa5b80
2017-08-24 17:19:09 +10:00
Matthew Gregan bbc0805e28 Bug 1393284 - Update libnestegg to 369d153. r=rillian
From 94bad012a2d4ec824d751c574443e3946187c4ea Mon Sep 17 00:00:00 2001
2017-08-24 16:18:34 +12:00
sotaro 3e6b55cd91 Bug 1392163 - Remove ImageBridgeChild::DispatchReleaseTextureClient() r=nical 2017-08-24 11:05:59 +09:00
sotaro d89ca5a049 Bug 1392556 - Initialize DWriteFactory in GPUParent::RecvInit() r=jrmuizel 2017-08-24 10:47:30 +09:00
Nicholas Nethercote 8d93912409 Bug 1392989 (part 2) - Remove unused atom-service references. r=jaws.
Plus a couple of other unused service references nearby.
2017-08-24 11:46:02 +10:00