Edgar Chen
e336502f67
Bug 1549351 - Promise rejection event should not be sent for cross-origin scripts; r=smaug,till
...
Differential Revision: https://phabricator.services.mozilla.com/D31565
--HG--
extra : moz-landing-system : lando
2019-05-19 01:18:04 +00:00
Gabriele Svelto
f7b311b4a9
Bug 1547698 - Remove unused IPC methods for taking minidumps r=froydnj
...
This removes the XRE_TakeMinidumpForChild() which does not need to be
exposed anymore in the XUL API as well as
IToplevelProtocol::TakeMinidump() which was simply unused.
Differential Revision: https://phabricator.services.mozilla.com/D31062
--HG--
extra : moz-landing-system : lando
2019-05-14 14:06:19 +00:00
Boris Zbarsky
cbf64dc6ab
Bug 1551782. Remove now-unused nsCOMArray::Forget and nsCOMArray::Adopt methods. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D31246
--HG--
extra : moz-landing-system : lando
2019-05-16 15:13:44 +00:00
Emilio Cobos Álvarez
cdb02c10bf
Bug 1552064 - Rust nsStrings shouldn't uselessly reallocate when constructed from a boxed slice. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D31369
--HG--
extra : moz-landing-system : lando
2019-05-16 14:31:32 +00:00
Boris Zbarsky
b468b7b77b
Bug 1551984. Improve OOM and overflow handling in NS_ConsumeStream. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D31312
--HG--
extra : moz-landing-system : lando
2019-05-15 18:50:44 +00:00
Boris Zbarsky
2bf79c096c
Bug 1551981. Add an nsTArray version of NS_ConsumeStream. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D31299
--HG--
extra : moz-landing-system : lando
2019-05-15 18:29:28 +00:00
Boris Zbarsky
17561de5b9
Bug 1551962. Add a way to create an input stream from a moved nsTArray<uint8_t>. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D31296
--HG--
extra : moz-landing-system : lando
2019-05-15 18:28:00 +00:00
Gijs Kruitbosch
98e55d80dd
Bug 1543761 - stop reading chrome.manifest files in the app/gre dirs when using omni.ja, r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D29287
--HG--
extra : moz-landing-system : lando
2019-05-15 12:36:31 +00:00
Andrew McCreight
20b03783b4
Bug 1550770 - Error instead of implicitly converting XPCOM interfaces to builtinclass. r=nika
...
XPIDL has the requirement that [scriptable] interfaces with [notxpcom]
methods or attributes are [builtinclass]. Currently, if you don't
explicitly mark something builtinclass when it should be, then the
XPIDL compiler will just silently treat it like builtinclass. This
means that you can cause the JS implementation of an XPCOM to start
failing without any warning by marking a method notxpcom.
This patch instead makes it an error. A prior patch fixed the existing
instances in the tree that relied on the implicit behavior.
I also added a test that we reject such classes missing builtinclass
at compile time, as well as classes that inherit from builtinclass
interfaces without themselves being builtinclass. I left behind a part
of the runtime test for this behavior, but now this test just ensures
that you can't implement a [builtinclass] interface in JS.
Differential Revision: https://phabricator.services.mozilla.com/D30984
--HG--
extra : moz-landing-system : lando
2019-05-14 17:39:14 +00:00
Boris Zbarsky
d24853373a
Bug 1551647. Stop using [array] in nsIProperties. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D31110
--HG--
extra : moz-landing-system : lando
2019-05-14 18:46:13 +00:00
Andrew McCreight
2841945140
Bug 1550860 - Mark implicit builtinclass interfaces explicitly. r=nika
...
If an XPIDL interface has a method or attribute that is [notxpcom],
then it is implicitly treated as [builtinclass], even if it is not
marked as such. For clarity, this patch goes through and marks every
place that relies on this behavior (aside from some test code).
Differential Revision: https://phabricator.services.mozilla.com/D30714
--HG--
extra : moz-landing-system : lando
2019-05-13 19:51:49 +00:00
Olli Pettay
bf41b4d6d7
Bug 1551203, Bug 1551203 - Give ThrottledEventQueues names, r=erahm
...
Differential Revision: https://phabricator.services.mozilla.com/D30920
--HG--
extra : moz-landing-system : lando
2019-05-13 18:12:24 +00:00
Jean-Yves Avenard
e0f0e16680
Bug 1548795 - P2. Remove dom.performance.enable_scheduler_timing preference. r=tarek
...
Differential Revision: https://phabricator.services.mozilla.com/D30467
--HG--
extra : moz-landing-system : lando
2019-05-09 23:12:12 +00:00
Brindusan Cristian
faf9a5d054
Bug 1550545 - Fix linting failure. r=nbeleuzu CLOSED TREE
2019-05-10 02:06:27 +03:00
Andrew McCreight
e42a542e28
Bug 1550545, part 4 - Don't generate the scriptable flag in XPT files. r=nika
...
We never emit an XPT for an interface that is not scriptable, so this
flag is never used.
Differential Revision: https://phabricator.services.mozilla.com/D30529
--HG--
extra : moz-landing-system : lando
2019-05-09 22:07:52 +00:00
Andrew McCreight
a6aec75bcd
Bug 1550545, part 3 - Move the logic for notxpcom implying hidden into jsonxpt. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D30528
--HG--
extra : moz-landing-system : lando
2019-05-09 22:07:12 +00:00
Andrew McCreight
051fb7307e
Bug 1550545, part 2 - Pass arguments to mk_method bundled up. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D30527
--HG--
extra : moz-landing-system : lando
2019-05-09 22:07:25 +00:00
Andrew McCreight
083d1d97f4
Bug 1550545, part 1 - Remove the unused isScriptable methods. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D30526
--HG--
extra : moz-landing-system : lando
2019-05-09 22:07:07 +00:00
Brindusan Cristian
ba4f64421f
Backed out changeset 7fa8e33635fc (bug 1534012) for wpt failures at promise-rejection-events.html. CLOSED TREE
2019-05-10 01:10:40 +03:00
Nathan Froyd
e41e50583a
Bug 1550556 - remove unnecessary mut
markings for nsstring variables; r=mccr8
...
Newer versions of Rust have started complaining about this by default.
Differential Revision: https://phabricator.services.mozilla.com/D30541
--HG--
extra : moz-landing-system : lando
2019-05-09 20:08:53 +00:00
Sean Feng
87884c39a6
Bug 1534012 - Use a low priority ThrottledEventQueue for postMessages during page load r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D27386
--HG--
extra : moz-landing-system : lando
2019-05-09 14:43:40 +00:00
Sean Feng
760251d1c3
Bug 1533861 - Add a telemetry to detect disk type r=chutten,froydnj,bdekoz
...
Differential Revision: https://phabricator.services.mozilla.com/D29383
--HG--
extra : moz-landing-system : lando
2019-05-08 15:30:07 +00:00
Haik Aftandilian
268a1d9df4
Bug 1546544 - Reduce navigator.hardwareConcurrency to account for TCSM r=luke
...
Differential Revision: https://phabricator.services.mozilla.com/D29437
--HG--
extra : moz-landing-system : lando
2019-05-07 22:16:28 +00:00
Haik Aftandilian
45bb7b8823
Bug 1546544 - Enable TCSM r=asuth,spohl,mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D29046
--HG--
extra : moz-landing-system : lando
2019-05-07 22:16:14 +00:00
Geoff Brown
64c5e023b3
Bug 1545217 - Skip gtest TestThreads.cpp on android again; r=jmaher
...
I enabled this test yesterday, but it turns out it still crashes intermittently:
https://treeherder.mozilla.org/logviewer.html#?job_id=245063009&repo=autoland
https://taskcluster-artifacts.net/DJEiHJaJRaCYMWk2UMoR8A/0/public/test_info//logcat-emulator-5554.log
05-07 08:47:38.460 2530 2545 I gtest : TEST-START | Threads.Main
--------- beginning of crash
05-07 08:47:38.570 2530 2545 F libc : stack corruption detected
05-07 08:47:38.570 2530 2545 W google-breakpad: ExceptionHandler::GenerateDump cloned child
Differential Revision: https://phabricator.services.mozilla.com/D30198
--HG--
extra : moz-landing-system : lando
2019-05-07 14:20:58 +00:00
Edgar Chen
68f697ae81
Bug 1362272 - Part 2: Implement notifying of rejected promises; r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D17238
--HG--
extra : moz-landing-system : lando
2019-05-07 11:39:58 +00:00
Edgar Chen
2167e86221
Bug 1362272 - Part 1: Add onrejectionhandled and onunhandledrejection EventHandler; r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D17237
--HG--
extra : moz-landing-system : lando
2019-04-24 11:15:27 +00:00
arthur.iakab
62df572c1c
Backed out 2 changesets (bug 1546544) for causing mochitest-chrome test failures on automation.py CLOSED TREE
...
Backed out changeset d4b67960c0f9 (bug 1546544)
Backed out changeset fda45db5f8e9 (bug 1546544)
2019-05-07 05:38:37 +03:00
Haik Aftandilian
a2d7f3a328
Bug 1546544 - Reduce navigator.hardwareConcurrency to account for TCSM r=luke
...
Differential Revision: https://phabricator.services.mozilla.com/D29437
--HG--
extra : moz-landing-system : lando
2019-05-06 06:09:11 +00:00
Haik Aftandilian
cd1c25bb79
Bug 1546544 - Enable TCSM r=asuth,spohl,mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D29046
--HG--
extra : moz-landing-system : lando
2019-05-06 06:09:10 +00:00
Geoff Brown
f208694292
Bug 1545217 - Enable some android gtests in xpcom/tests/gtest; r=jmaher
...
With changes from bug 1548555, some of the gtests previously disabled on Android
can be re-enabled.
Differential Revision: https://phabricator.services.mozilla.com/D30080
--HG--
extra : moz-landing-system : lando
2019-05-06 18:53:55 +00:00
Frederik Braun
18a04317f0
Bug 1548773: Remove support for typemustmatch r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D29803
--HG--
extra : moz-landing-system : lando
2019-05-05 14:41:59 +00:00
Boris Zbarsky
ff72e84ac1
Bug 1547923 part 4. Add nsIGlobalObject::HasJSGlobal(). r=mccr8
...
Consumers that just care about this boolean state should use this instead of
getting the JSObject* directly.
Differential Revision: https://phabricator.services.mozilla.com/D29705
--HG--
extra : moz-landing-system : lando
2019-05-02 21:32:17 +00:00
Masayuki Nakano
006066d2ee
Bug 1546888 - Make editor public methods which may be canceled by clipboard event listener return NS_SUCCESS_DOM_NO_OPERATION when it's canceled r=m_kato
...
This patch makes editors return new error code internally when clipboard event
is dispatched and canceled by script. This is for making each caller stop
handling the edit action. However, it's not actual failure. Therefore, making
public methods return `NS_SUCCESS_DOM_NO_OPERATION` instead via
`EditorBase::ToGenericNSResult()`.
Differential Revision: https://phabricator.services.mozilla.com/D28935
--HG--
extra : moz-landing-system : lando
2019-05-02 08:39:53 +00:00
Bogdan Tara
f7ff4f47cc
Backed out changeset c2f648fbcbf1 (bug 1533861) for test_TelemetryEnvironment.js failures
2019-05-03 06:22:25 +03:00
Sean Feng
f7c6cfd3d0
Bug 1533861 - Add a telemetry to detect disk type r=chutten,froydnj,bdekoz
...
Differential Revision: https://phabricator.services.mozilla.com/D29383
--HG--
extra : moz-landing-system : lando
2019-05-02 20:43:36 +00:00
Randell Jesup
c9e7626db4
Bug 1548243: add MOZ_UNLIKELY() to MOZ_LOG_TEST() r=froydnj
...
Affects MOZ_LOG() since it uses MOZ_LOG_TEST()
Differential Revision: https://phabricator.services.mozilla.com/D29610
--HG--
extra : moz-landing-system : lando
2019-05-02 12:56:48 +00:00
Nathan Froyd
482490a2df
Bug 1548562 - require nsThread::Init
to take a name; r=baku
...
There's no good reason why we should let unnamed threads through this interface.
Differential Revision: https://phabricator.services.mozilla.com/D29672
--HG--
extra : moz-landing-system : lando
2019-05-02 16:05:50 +00:00
Mike Conley
bff8e0ac63
Bug 1533955 - Show some UI to indicate that a subframe has crashed. r=NeilDeakin
...
Differential Revision: https://phabricator.services.mozilla.com/D29238
--HG--
extra : moz-landing-system : lando
2019-05-01 20:05:24 +00:00
Emilio Cobos Álvarez
27fc6a03c9
Bug 1545430 - Implement selector-matching for ::part(). r=heycam
...
Also fairly straight-forward. This may get more complicated when we do part
forwarding, if any.
I've opened https://github.com/w3c/csswg-drafts/issues/3841 in what I think
would be a cleaner model for forwarding.
Differential Revision: https://phabricator.services.mozilla.com/D28063
--HG--
extra : moz-landing-system : lando
2019-05-01 17:28:23 +00:00
Nathan Froyd
a3df20e771
Bug 1461601 - lower the OOM bound for TArray::test_fallible on Windows; r=erahm
...
Apparently 7 is not low enough. Maybe 6 will be.
Differential Revision: https://phabricator.services.mozilla.com/D29503
--HG--
extra : moz-landing-system : lando
2019-05-01 17:04:40 +00:00
Andreea Pavel
accc389b66
Merge mozilla-inbound to mozilla-central. a=merge
2019-05-01 18:56:07 +03:00
Gijs Kruitbosch
01fbd8d525
Bug 1544009 - stop doing remote drive and directory exist/creation checks for renames/moves on Windows, esp. if in the same directory, r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D29222
--HG--
extra : moz-landing-system : lando
2019-05-01 00:17:22 +00:00
Sylvestre Ledru
e226046cb8
Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan
...
# ignore-this-changeset
Depends on D28954
Differential Revision: https://phabricator.services.mozilla.com/D28956
--HG--
extra : moz-landing-system : lando
2019-05-01 08:47:10 +00:00
Doug Thayer
5f3d1ecd2e
Bug 1546498 - Split out MaybePrefetchMemory's check into two functions r=aklotz
...
Temporarily just sidestep the issue in bug 1546498 (crash with latest SDK
on startup in Windows 7) by just continuing to use the old method in
Windows 7. We saw no wins in telemetry for Windows 7 anyway, so we should
investigate why that is, and why we see a mysterious crash in the fallback
code, in a followup bug.
Differential Revision: https://phabricator.services.mozilla.com/D29239
--HG--
extra : moz-landing-system : lando
2019-05-01 02:08:28 +00:00
Dorel Luca
4ef932ea01
Backed out changeset 1c79adcd8483 (bug 1546498) for build bustage. CLOSED TREE
...
--HG--
extra : rebase_source : aae1090ddfd8445a8cf03385dc200c65f4acd2e0
2019-04-30 22:59:23 +03:00
Doug Thayer
2d10fab858
Bug 1546498 - Split out MaybePrefetchMemory's check into two functions r=aklotz
...
Temporarily just sidestep the issue in bug 1546498 (crash with latest SDK
on startup in Windows 7) by just continuing to use the old method in
Windows 7. We saw no wins in telemetry for Windows 7 anyway, so we should
investigate why that is, and why we see a mysterious crash in the fallback
code, in a followup bug.
Differential Revision: https://phabricator.services.mozilla.com/D29239
--HG--
extra : moz-landing-system : lando
2019-04-30 05:59:53 +00:00
Honza Bambas
5f945421d4
Bug 1493599 - Expose reason of security blocking on nsILoadInfo and add new http observer notification for failed asyncOpens, r=Honza,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D23150
--HG--
extra : moz-landing-system : lando
2019-04-26 10:59:41 +00:00
Noemi Erli
7bb9457084
Merge mozilla-central to inbound. a=merge CLOSED TREE
2019-04-24 12:57:59 +03:00
Zibi Braniecki
0890bbe4c2
Bug 1503657 - Implement Fluent DOMOverlays in C++. r=smaug,Pike
...
Differential Revision: https://phabricator.services.mozilla.com/D27200
--HG--
extra : moz-landing-system : lando
2019-04-24 05:05:11 +00:00