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

619594 Коммитов

Автор SHA1 Сообщение Дата
Brian Hackett c5c1973218 Bug 1488808 Part 14 - Parent side graphics changes for repainting, r=mccr8.
--HG--
extra : rebase_source : aa68fe199bc53c534cfc0f58fe31c18000f53320
2018-10-17 10:07:13 -06:00
Brian Hackett 7813dce05c Bug 1488808 Part 13 - Avoid blocking the main thread when painting, and allow repaints after diverging from the recording, r=nical.
--HG--
extra : rebase_source : 48dde9958d99d64e5d559661e23c000eaf983f8c
2018-10-17 10:06:43 -06:00
Brian Hackett 9e6a10e2f0 Bug 1488808 Part 12 - Bindings for JS repainting logic, r=mccr8.
--HG--
extra : rebase_source : 11beaab2f5e561ea7a7aad697e0dfe3b278a01c4
2018-10-17 10:06:15 -06:00
Brian Hackett eb42c59c7d Bug 1488808 Part 11 - JS changes to trigger repaints after diverging from the recording, and handle the response, r=lsmyth.
--HG--
extra : rebase_source : 76f6e33059821efb827f86ad4beaa55243f1d324
2018-10-17 10:05:36 -06:00
Brian Hackett 3c4231fd5b Bug 1488808 Part 10 - Notify the record/replay system when a message pump thread blocks after diverging from the recording, r=froydnj.
--HG--
extra : rebase_source : c82088f0903b618caee3b0366a8c681ff6f445a1
2018-10-17 10:05:02 -06:00
Brian Hackett fc6a34c667 Bug 1488808 Part 9 - Specify regions of code where recording is not interrupted and threads can diverge, r=froydnj.
--HG--
extra : rebase_source : ce244c4628a8e6758a60b884bf6ef0c9f840a173
2018-10-17 10:04:29 -06:00
Brian Hackett 925de5e1c3 Bug 1488808 Part 8 - Redirection changes for supporting layout and painting after diverging from the recording, r=froydnj.
--HG--
extra : rebase_source : e841aa941f8508b4792c0a496a569e73450c95c9
2018-10-17 10:04:01 -06:00
Brian Hackett a527b58145 Bug 1488808 Part 7 - Keep track of the PID of the recording process, r=froydnj.
--HG--
extra : rebase_source : 6ac89e1c4ac71a29a7710f64e74654b119c76896
2018-10-17 10:02:02 -06:00
Brian Hackett 3303482d71 Bug 1488808 Part 6 - IPC for performing system calls in the middleman, r=mccr8.
--HG--
extra : rebase_source : 0f83177040992f9ebabd838fa29c2bb6567ed0e8
2018-10-17 10:01:32 -06:00
Brian Hackett e84caca5c0 Bug 1488808 Part 5 - Add infrastructure for performing system calls in the middleman process, r=froydnj.
--HG--
extra : rebase_source : d4e37772b0dd5103bf1ceb1602503fc8fe83d927
2018-10-17 10:00:58 -06:00
Brian Hackett 0315be6e61 Bug 1488808 Part 4 - Rename MaybeCreateInitialCheckpoint, r=mccr8.
--HG--
extra : rebase_source : 97b9f63531db75b81508040fbc7a25cf6f5389b5
2018-10-17 10:00:29 -06:00
Brian Hackett e6b65359cc Bug 1488808 Part 3 - Store channel buffer's containing vector in untracked memory, r=mccr8.
--HG--
extra : rebase_source : efa114d15f3376878b0cc5a4e3038bb86601bf48
2018-10-17 10:00:01 -06:00
Brian Hackett e0211f389a Bug 1488808 Part 2 - Fix checks after an unhandled divergence in the first debugger request after pausing, r=mccr8.
--HG--
extra : rebase_source : 3bd59e9d9b6613ac08ec9de8dd536396809585ec
2018-10-17 09:59:32 -06:00
Brian Hackett ed16535fcd Bug 1488808 Part 1 - Fix return value sets in Preamble_Veto, r=froydnj.
--HG--
extra : rebase_source : 605664e37b1c03d4bbfc6b401fe9c34e953796d0
2018-10-17 09:58:50 -06:00
Brian Hackett 91adda92bf Bug 1498012 Part 2 - Tolerate time warp targets being created when handling debugger requests, r=mccr8.
--HG--
extra : rebase_source : ed6594669da7345b711aba60438820db434c2948
2018-10-17 09:33:00 -06:00
Florian Quèze 477b5b6aa2 Bug 1498186 - Add a 'Task Manager' item opening about:performance in the 'More' section of the application menu, r=felipe. 2018-10-17 17:01:12 +02:00
Bob Clary 26b400b059 Bug 1499511 - [mozdevice] Support single-quotes in adb command line, r=gbrown. 2018-10-17 06:53:29 -07:00
Julian Descottes 41b3968ced Bug 1458194 - Add mochitest to track number of bundles loaded when loading inspector;r=ochameau,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D8017

--HG--
extra : moz-landing-system : lando
2018-10-17 13:30:09 +00:00
Margareta Eliza Balazs c41508657f Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-10-18 13:25:55 +03:00
Tom Schuster 90b0f3e9cb Bug 1497580 - Save text/html as UTF-8 to the clipboard. r=karlt
I verified that we can still copy from Firefox to an older version of Firefox without this patch.
LibreOffice also still works. Talking to some GTK people on IRC they are also happy about UTF-8 instead of wrongly declared UCS2.

Differential Revision: https://phabricator.services.mozilla.com/D8467

--HG--
extra : moz-landing-system : lando
2018-10-17 23:00:36 +00:00
Dão Gottwald fe2a8105db Bug 1497820 - Get rid of the 'compact' class for search textboxes. r=paolo
Differential Revision: https://phabricator.services.mozilla.com/D9078

--HG--
extra : moz-landing-system : lando
2018-10-18 10:05:27 +00:00
yulia 0e854c694a Bug 1488379 - guard for errors; r=daisuke
Depends on D7986

Differential Revision: https://phabricator.services.mozilla.com/D8736

--HG--
extra : moz-landing-system : lando
2018-10-18 08:54:56 +00:00
Valentin Gosu 055117366d Bug 1487100 - Allow opening the input stream for original content when alt-data is available r=michal,luke
In trying to use fetch with alt-data, we sometimes want the benefit of using alt-data but the JS consumer actually needs to use the original HTTP response from the server.
To get around this problem, we introduce a new API - nsICacheInfoChannel.getOriginalInputStream(nsIInputStreamReceiver) that asyncly receives the input stream containing the HTTP response in the cache entry.

Depends on D8071

Differential Revision: https://phabricator.services.mozilla.com/D8072

--HG--
extra : rebase_source : 43d92c631b964c52b551a700b0954276e91695d6
extra : source : 7f9d03c29a6ffd82c1b5e17c14e27a2ae9d64434
2018-10-17 12:27:37 +00:00
Valentin Gosu 5ac68030f7 Bug 1487100 - Allow calling nsICacheInfoChannel.preferAlternativeDataType(altDataType, contentType) multiple times r=michal,luke
This patch changes the way we set and handle the preferred alternate data type.
It is no longer just one choice, but a set of preferences, each conditional
on the contentType of the resource.

For example:
  var cc = chan.QueryInterface(Ci.nsICacheInfoChannel);
  cc.preferAlternativeDataType("js-bytecode", "text/javascript");
  cc.preferAlternativeDataType("ammended-text", "text/plain");
  cc.preferAlternativeDataType("something-else", "");

When loaded from the cache, the available alt-data type will be checked against
"js-bytecode" if the contentType is "text/javascript", "ammended-text" if the contentType is "text/plain" or "something-else" for all contentTypes.
Note that the alt-data type could be "something-else" even if the contentType is "text/javascript".

The preferences are saved as an nsTArray<mozilla::Tuple<nsCString, nsCString>>.

Differential Revision: https://phabricator.services.mozilla.com/D8071

--HG--
extra : rebase_source : eb4961f05a52e557e7d2d986d59e0a2cf18a3447
extra : source : dd1c31ea78c2b15d14750d137037a54d50719997
2018-10-17 13:58:30 +00:00
Masayuki Nakano 09c4ea6dd3 Bug 1482425 - PresShell::PageMove() should use different rules to look for a container element for aExtend value r=smaug
PresShell::PageMove() climbs up to parent document when there is no scrollable
parent in current document.  However, if aExtend is true, it should expand
Selection in the document itself.  Therefore, it needs different rules to
look for container of expanding Selection from scrollable element to scroll.

Additionally, old rules (i.e., before the fix of bug 1369072 which caused
this regression) were also buggy.  It used parent scrollable element or
root scrollable element simply.  Therefore, if found scrollable element is
ancestor of selection limiter, it didn't work as expected.

This patch creates nsFrameSelection::GetFrameToPageSelect() to retrieve
per-page selection container element with the following rules:
- look for a scrollable element in selection limiter.
- if there is no scrollable element, use selection limiter.
- if there is no selection limiter, use the root frame.

So, nsFrameSelection::CommonPageMove() should take nsIFrame rather than
nsIScrollableFrame since container of per-page selection may be used in
non-scrollable contenteditable element.  If it's called with non-scrollable
frame, it needs to compute the expanding range with the frame size.

Differential Revision: https://phabricator.services.mozilla.com/D8954

--HG--
extra : moz-landing-system : lando
2018-10-18 04:42:53 +00:00
Jared Wein 755c61d96f Bug 1497039 - Put a placeholder in privacy.xul that will be used to inject the form-autofill section. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D8892

--HG--
extra : moz-landing-system : lando
2018-10-18 03:42:59 +00:00
Dorel Luca 1a48c88d19 Backed out 2 changesets (bug 1487100) for XPCShell failures in netwerk/test/unit_ipc/test_alt-data_simple_wrap.js
Backed out changeset 7f9d03c29a6f (bug 1487100)
Backed out changeset dd1c31ea78c2 (bug 1487100)
2018-10-18 05:51:42 +03:00
Thomas Wisniewski 832717d698 Bug 1499533 - Fix console log stringifying bug in webcompat reporter; r=miketaylr
Fix console log stringifying bug in webcompat reporter

Differential Revision: https://phabricator.services.mozilla.com/D8984

--HG--
extra : moz-landing-system : lando
2018-10-18 02:51:30 +00:00
Dorel Luca 116bfa4345 Backed out changeset ca4774548edb (bug 1499534) for build bustage on gtest 2018-10-18 02:59:35 +03:00
Chris Pearce 778fa3defa Bug 1499552 - Add dummy pref and report via telemetry to verify telemetry pref reporting. r=mythmon data-review=francois
The Webrender Pref Experiment is reporting its pref via telemetry and that
is reporting a different value than what the Normandy experiments telemetry
indicates should be being seen.

So add reporting for two dummy prefs, one with a default value, and one
without. We intend to push out Normandy rules to report these prefs to
double-check that Normandy is working as expected.

Differential Revision: https://phabricator.services.mozilla.com/D8926

--HG--
extra : moz-landing-system : lando
2018-10-17 23:48:12 +00:00
Ehsan Akhgari f6828ef5bd Bug 1498591 - Add a test to ensure that navigating a subframe will revoke its storage access r=baku
Differential Revision: https://phabricator.services.mozilla.com/D8555

--HG--
extra : moz-landing-system : lando
2018-10-17 23:25:47 +00:00
Daniel Holbert d2eff8f7ac Bug 1499569: Rewrite test_flex_items.html to be simpler & easier to extend. r=bradwerth
Primary changes:
 - Rewrap some lines that are too long.
 - Adjust some failure-messages with s/has/should have/ etc.
 - Replace 'nearlyEqual' function with the standard mochitest
   'isfuzzy()' API (which is like 'is()' with an extra epsilon arg)
 - Remove dependence on hardcoded element IDs, and simply walk over the
   flex container's children in order instead (still noting each child node
   and making sure it matches the node in the flex API).

Differential Revision: https://phabricator.services.mozilla.com/D8933

--HG--
extra : moz-landing-system : lando
2018-10-17 21:42:54 +00:00
Jeff Gilbert de3080c204 Bug 1499870 - Fix -Wlogical-op-parentheses. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D9033

--HG--
extra : moz-landing-system : lando
2018-10-17 21:11:27 +00:00
Tom Prince d5d43ae116 No bug: [taskgraph] Cleanup copy-pasted docstring for `taskgraph.transforms.balrog_submit`; r=aki
Differential Revision: https://phabricator.services.mozilla.com/D9036

--HG--
extra : moz-landing-system : lando
2018-10-17 22:04:03 +00:00
Mike Hommey c71b6572d6 Bug 1486554 - Remove the now unused clang and clang_debug mozharness configs and corresponding files r=ted
Depends on D8811

Differential Revision: https://phabricator.services.mozilla.com/D8812

--HG--
extra : moz-landing-system : lando
2018-10-17 22:45:47 +00:00
Mike Hommey ec57995e45 Bug 1486554 - Use the normal debug mozharness config for Windows static analysis autotest r=ted
Now that all Windows builds have static analysis enabled, the
clang_debug mozharness config does not have any relevant difference for
those jobs, so just use the debug mozharness config instead.

Depends on D8810

Differential Revision: https://phabricator.services.mozilla.com/D8811

--HG--
extra : moz-landing-system : lando
2018-10-17 22:45:19 +00:00
Mike Hommey 6aa7e20faf Bug 1486554 - Enable static analysis on normal Windows CI builds r=ted
And turn off separate static analysis build tasks.

Differential Revision: https://phabricator.services.mozilla.com/D8810

--HG--
extra : moz-landing-system : lando
2018-10-17 22:45:06 +00:00
Jim Blandy be588c5363 Bug 1499534: Add GTests for ThrottledEventQueue. r=froydnj
This was already reviewed and approved in bug 1426467.

Differential Revision: https://phabricator.services.mozilla.com/D8913

--HG--
extra : moz-landing-system : lando
2018-10-17 21:34:57 +00:00
Eitan Isaacson fb91501986 Bug 1499182 - Make Android role class names enums. r=jchen,Jamie
Differential Revision: https://phabricator.services.mozilla.com/D8764

--HG--
extra : moz-landing-system : lando
2018-10-17 20:43:49 +00:00
Markus Stange 43ec702b66 Bug 1496823 - Inline -[ChildView drawRect:inContext:] into -[ChildView drawRect:]. r=spohl
This was separate because at some point in the past we were calling
-[ChildView drawRect:inContext:] from a separate draw-in-titlebar pass. That separate
pass was removed in bug 676241.

Depends on D7929

Differential Revision: https://phabricator.services.mozilla.com/D7931

--HG--
extra : moz-landing-system : lando
2018-10-17 20:49:18 +00:00
Markus Stange 4dd2f66dab Bug 1496823 - Inline drawUsingOpenGL into drawRect:inContext: and tweak a comment. r=spohl
Depends on D7928

Differential Revision: https://phabricator.services.mozilla.com/D7929

--HG--
extra : moz-landing-system : lando
2018-10-17 20:48:20 +00:00
Markus Stange a6b335391e Bug 1496823 - Remove unneeded debugging code. r=spohl
I don't think anybody has made use of this code in years.

Depends on D7927

Differential Revision: https://phabricator.services.mozilla.com/D7928

--HG--
extra : moz-landing-system : lando
2018-10-17 20:47:33 +00:00
Markus Stange b6affc509f Bug 1496823 - Remove -[ChildView setNeedsDisplayInRect:] override. r=spohl
This override was intended to ignore unnecessary nsChildView::Invalidate calls
when using main thread OpenGL. With OMTC, Gecko no longer calls Invalidate in
those cases, it just composites on the compositor thread, and the widget's main
thread code doesn't really hear about it. So this workaround is no longer necessary.

Depends on D7925

Differential Revision: https://phabricator.services.mozilla.com/D7927

--HG--
extra : moz-landing-system : lando
2018-10-17 20:47:29 +00:00
Markus Stange 0838e29ffa Bug 1496823 - Remove -[ChildView isUsingMainThreadOpenGL] and dependent code because it always returns NO. r=spohl
The main thread layer manager is always NONE, BASIC or CLIENT. It is never OPENGL anymore.
Main-thread OpenGL rendering was removed in bug 924403.

Depends on D7924

Differential Revision: https://phabricator.services.mozilla.com/D7925

--HG--
extra : moz-landing-system : lando
2018-10-17 20:46:16 +00:00
Markus Stange aac44afa75 Bug 1496823 - Remove EventThreadRunner and the pref that enabled it. r=kats,spohl
This was an experiment before we had e10s. It's no longer needed.

Depends on D7922

Differential Revision: https://phabricator.services.mozilla.com/D7924

--HG--
extra : moz-landing-system : lando
2018-10-17 20:44:28 +00:00
Markus Stange 6a68b8cf92 Bug 1496823 - Remove setNeedsPendingDisplay infrastructure. r=spohl
Many years ago, Gecko would sometimes call nsChildView::Invalidate during drawRect:.
This is no longer the case: Widget invalidations now only happen outside of drawRect,
usually from a refresh tick or from viewWillDraw.

Differential Revision: https://phabricator.services.mozilla.com/D7922

--HG--
extra : moz-landing-system : lando
2018-10-17 20:43:23 +00:00
Dana Keeler d4ce8fc140 bug 1497555 - filter out same-document location changes in nsSecureBrowserUIImpl::OnLocationChange r=Ehsan
If nsSecureBrowserUIImpl::OnLocationChange receives a
LOCATION_CHANGE_SAME_DOCUMENT notification, it doesn't need to (and in fact
shouldn't) update its security state or notify downstream listeners.

Differential Revision: https://phabricator.services.mozilla.com/D8900

--HG--
extra : moz-landing-system : lando
2018-10-17 21:38:24 +00:00
Dorel Luca 73ddd257df Backed out changeset eb2a83cba95a (bug 1497039) for XPCshell failures in browser/extensions/formautofill/test/unit/test_reconcile.js. CLOSED TREE 2018-10-18 01:33:07 +03:00
Dorel Luca 279fc54fae Backed out changeset affe4a683227 (bug 1499136) for mochitest failures in dom/xhr/tests/test_XHRSendData.htm. CLOSED TREE 2018-10-18 00:46:41 +03:00
Dorel Luca 88bfc3786c Backed out 5 changesets (bug 1497707) for android mass failures. CLOSED TREE
Backed out changeset bb1b80139e37 (bug 1497707)
Backed out changeset 11c813f192e2 (bug 1497707)
Backed out changeset 32595f9e73d3 (bug 1497707)
Backed out changeset f37f2d39ec9c (bug 1497707)
Backed out changeset 80bf9ddf5bed (bug 1497707)

--HG--
extra : rebase_source : 598b7732d9b994dfeb63c417841a4b9516ecdf19
2018-10-18 00:35:39 +03:00