Honza Bambas
c35df87597
Bug 1545421 - New nsresult error codes for 407, 502 and 504 http response codes returned by proxies + test, r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D32817
--HG--
extra : moz-landing-system : lando
2019-05-31 17:29:53 +00:00
Gijs Kruitbosch
fd337bafb4
Bug 1196094 - disable _exit in child processes when generating profile information, r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D33269
--HG--
extra : moz-landing-system : lando
2019-05-31 14:17:47 +00:00
Ehsan Akhgari
7a3585c49f
Bug 1415270 - Part 3: Prevent the editing APIs from being called on non-HTML documents; r=masayuki
...
This is similar to this Chromium change:
https://codereview.chromium.org/1155353002
The editing spec doesn't mention editing non-HTML documents, and historically
this is only a feature that WebKit has supported. Supporting this feature
increases the attack surface of the browser without a clear benefit, so it
seems like a good idea to converge on this behaviour.
Differential Revision: https://phabricator.services.mozilla.com/D32913
--HG--
rename : testing/web-platform/tests/html/editing/editing-0/making-entire-documents-editable-the-designmode-idl-attribute/user-interaction-editing-designMode.html => testing/web-platform/tests/html/editing/editing-0/making-entire-documents-editable-the-designmode-idl-attribute/user-interaction-editing-designMode-xml.xml
extra : moz-landing-system : lando
2019-05-30 17:14:05 +00:00
Masatoshi Kimura
6d9fff0168
Bug 1554380 - Fix some issues in mozilla::ReadAhead. r=aklotz
...
* CreateFileW will return INVALID_HANDLE_VALUE (-1) on failure, not NULL (0).
* MapViewOfFile will map the entire section if the size is 0. No explicit size
is required.
* If SEC_IMAGE is specified, the mapped image size may be different from the
file size on the storage.
Differential Revision: https://phabricator.services.mozilla.com/D32563
--HG--
extra : moz-landing-system : lando
2019-05-29 10:13:28 +00:00
Edgar Chen
4b1ff2f791
Bug 1543439 - Part 1: Move special handling for MouseDown/Up event out of AutoHandlingUserInputStatePusher; r=masayuki
...
PresShell::EventHandler::HandleEventWithCurrentEventInfo is the only possible
place will do such handling; other places pass either a nullptr or a
non-MouseDown/Up event.
Differential Revision: https://phabricator.services.mozilla.com/D32431
--HG--
extra : moz-landing-system : lando
2019-05-29 07:48:16 +00:00
Dave Townsend
be6ee84568
Bug 1555179: Use 0 in place of out of range numbers in version comparisons. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D32926
--HG--
extra : rebase_source : 302b8bceef62e522925870f2cc4bc6a7d94f76f5
2019-05-28 16:37:45 -07:00
Jonathan Kew
5fe29c880d
Bug 1322992
- Implement locale-specific casing behavior for Lithuanian, and add more WPT tests for it. r=m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D32129
--HG--
rename : testing/web-platform/tests/css/css-text/text-transform/reference/text-transform-upperlower-039-ref.html => testing/web-platform/tests/css/css-text/text-transform/reference/text-transform-upperlower-044-ref.html
rename : testing/web-platform/tests/css/css-text/text-transform/text-transform-upperlower-039.html => testing/web-platform/tests/css/css-text/text-transform/text-transform-upperlower-044.html
extra : moz-landing-system : lando
2019-05-27 01:35:03 +00:00
Aaron Klotz
0ef2cb2e18
Bug 1553296: Decommit pages in the Windows system heap upon memory-pressure event; r=gsvelto
...
Differential Revision: https://phabricator.services.mozilla.com/D32371
--HG--
extra : moz-landing-system : lando
2019-05-26 07:45:56 +00:00
Jean-Yves Avenard
e4ba671378
Bug 1552643 - P3. rename medium_high_event_queue.enabled pref. r=froydnj
...
To make it more inline other preferences naming.
Differential Revision: https://phabricator.services.mozilla.com/D32251
--HG--
extra : moz-landing-system : lando
2019-05-26 15:00:09 +00:00
Sylvestre Ledru
d57d4905f1
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D30883
--HG--
extra : moz-landing-system : lando
2019-05-25 17:46:15 +00:00
Gurzau Raul
967bc2a754
Backed out 31 changesets (bug 1552643, bug 1550422
) for xpcshell crash on a CLOSED TREE.
...
Backed out changeset e30c1aa75529 (bug 1552643)
Backed out changeset caadcd7e02d3 (bug 1552643)
Backed out changeset aa7086ab09be (bug 1552643)
Backed out changeset 0b4029671710 (bug 1550422
)
Backed out changeset a16295296035 (bug 1550422
)
Backed out changeset 3b70307c0db5 (bug 1550422
)
Backed out changeset 69df7818d4a3 (bug 1550422
)
Backed out changeset d98dfc565927 (bug 1550422
)
Backed out changeset 6f0997976944 (bug 1550422
)
Backed out changeset 0edd264464c2 (bug 1550422
)
Backed out changeset 9ea6da7a74ec (bug 1550422
)
Backed out changeset f855f9309c8b (bug 1550422
)
Backed out changeset 1033546224a7 (bug 1550422
)
Backed out changeset ade7384c6186 (bug 1550422
)
Backed out changeset 75b04de7e99c (bug 1550422
)
Backed out changeset 91c3acdb2454 (bug 1550422
)
Backed out changeset 77d2f80257d1 (bug 1550422
)
Backed out changeset e0cd10d35327 (bug 1550422
)
Backed out changeset 097091082423 (bug 1550422
)
Backed out changeset 2f328853c1ab (bug 1550422
)
Backed out changeset f92f2cc29cb1 (bug 1550422
)
Backed out changeset 6dc82f88333d (bug 1550422
)
Backed out changeset c20f66494d69 (bug 1550422
)
Backed out changeset 2ba22cddeb6f (bug 1550422
)
Backed out changeset 3aa72f89e295 (bug 1550422
)
Backed out changeset ab4c4e806977 (bug 1550422
)
Backed out changeset 72e5de040dda (bug 1550422
)
Backed out changeset 7d3c2d486706 (bug 1550422
)
Backed out changeset 132e0b8d8468 (bug 1550422
)
Backed out changeset 54c85ac75dd0 (bug 1550422
)
Backed out changeset d7ba4a18dd54 (bug 1550422
)
2019-05-25 09:07:49 +03:00
Jean-Yves Avenard
7160d797f9
Bug 1552643 - P3. rename medium_high_event_queue.enabled pref. r=froydnj
...
To make it more inline other preferences naming.
Differential Revision: https://phabricator.services.mozilla.com/D32251
--HG--
extra : moz-landing-system : lando
2019-05-25 02:03:21 +00:00
Randell Jesup
a859c53225
Bug 1553856: LazyIdleThread should set names for the nsThreads it spawns r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D32385
--HG--
extra : moz-landing-system : lando
2019-05-24 12:50:05 +00:00
Gabriele Svelto
00782757b5
Bug 1047408 - Remove nsTWeakRef.h r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D32319
--HG--
extra : moz-landing-system : lando
2019-05-23 20:16:23 +00:00
arthur.iakab
af8e458c5f
Backed out changeset a296439a25ff (bug 1519636) for frequent Windows cppunit failures CLOSED TREE
2019-05-24 14:26:01 +03:00
Sylvestre Ledru
c82ea97226
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D30883
--HG--
extra : moz-landing-system : lando
2019-05-24 09:59:17 +00:00
Kartikaya Gupta
833138cca0
Bug 1551648 - Record peak resident memory usage in telemetry. r=erahm
...
Differential Revision: https://phabricator.services.mozilla.com/D32184
--HG--
extra : moz-landing-system : lando
2019-05-23 20:06:33 +00:00
Sylvestre Ledru
993c03acb1
Bug 1552795 - Remove all trailing whitespaces in idl files r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D31769
--HG--
extra : moz-landing-system : lando
2019-05-22 22:37:14 +00:00
Jim Blandy
05a97e08e4
Bug 1553567: Use MaxValue to initialize/reset nsThread::mCurrentEventLoopDepth, not -1. r=froydnj
...
Since the purpose of mCurrentEventLoopDepth is to be ordered in comparison with
mNestedEventLoopDepth, it's a bit deceptive to give it a value that would appear
to be less than any reasonable depth but is, because the variables in question
are unsigned, actually greater than any reasonable depth. Using
mozilla::MaxValue<uint32_t>::value is clearer.
Differential Revision: https://phabricator.services.mozilla.com/D32198
--HG--
extra : moz-landing-system : lando
2019-05-23 10:22:57 +00:00
Cosmin Sabou
bdf1d2a559
Backed out changeset a10cdf32fb5a (bug 1552549) for causing a spike in xpcshell failures. CLOSED TREE
2019-05-22 02:05:22 +03:00
Dzmitry Malyshau
1298c14a90
Bug 1552549 - Update rand dependency to 0.6 r=kats,froydnj,nika,jkt,jcj
...
Update rand version in u2fhid and xpcom
Differential Revision: https://phabricator.services.mozilla.com/D31669
--HG--
rename : third_party/rust/scopeguard/.cargo-checksum.json => third_party/rust/scopeguard-0.3.2/.cargo-checksum.json
rename : third_party/rust/scopeguard/Cargo.toml => third_party/rust/scopeguard-0.3.2/Cargo.toml
rename : third_party/rust/scopeguard/README.rst => third_party/rust/scopeguard-0.3.2/README.rst
rename : third_party/rust/scopeguard/examples/readme.rs => third_party/rust/scopeguard-0.3.2/examples/readme.rs
rename : third_party/rust/scopeguard/src/lib.rs => third_party/rust/scopeguard-0.3.2/src/lib.rs
extra : moz-landing-system : lando
2019-05-21 19:36:56 +00:00
Olli Pettay
fa04ddd3c2
Bug 1552958
- De-templatize PrioritizedEventQueue, r=froydnj
...
PrioritizedEventQueue's template is always EventQueue, so the template
argument is rather useless.
Trying to keep the patch minimal, so CreateMainThread for example is still
a bit weird.
Differential Revision: https://phabricator.services.mozilla.com/D31871
--HG--
extra : moz-landing-system : lando
2019-05-21 18:20:34 +00:00
Sean Feng
170e44e58f
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-16 19:35:30 +00:00
Bastien Orivel
e661e801af
Bug 1552695 - Part 1: Deduplicate syn and quote. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D31737
--HG--
extra : moz-landing-system : lando
2019-05-20 12:21:20 +00:00
Gurzau Raul
ce435076fa
Merge autoland to mozilla-central. a=merge
2019-05-20 16:42:23 +03:00
ffxbld
866936d99a
Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release
2019-05-20 13:22:45 +00:00
Brian Birtles
5b145a6de4
Bug 1253476 - Add remove events; r=boris,bzbarsky
...
This patch introduces the machinery for dispatching remove events but does not
actually cause removing to do anything to the output of the animation beyond
updating its replaceState member.
The expected behavior is defined in:
https://drafts.csswg.org/web-animations-1/#removing-replaced-animations
And the corresponding IDL members are defined in:
https://drafts.csswg.org/web-animations-1/#animation
https://drafts.csswg.org/web-animations-1/#enumdef-animationreplacestate
Tests for these events are added in the next patch in this series.
Differential Revision: https://phabricator.services.mozilla.com/D30322
--HG--
extra : moz-landing-system : lando
2019-05-20 05:48:29 +00:00
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