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

583696 Коммитов

Автор SHA1 Сообщение Дата
Andreas Pehrson 60f3567035 Bug 1440040 - Don't round up to next block unless necessary. r=padenot
With block size 128, rounding `128` to end of next block gives `256`, which is
not what we want when running MSG iterations. That could mean over-iterating and
buffering unnecessary amounts of silence.

MozReview-Commit-ID: vW14l2ygRy

--HG--
extra : rebase_source : 8aeedc8958e646f9730c9163447e3355a73fd42e
2018-02-28 22:37:02 +01:00
Ed Lee d96c554c26 Bug 1441018 - Add snippets data, lazy menus and bug fixes to Activity Stream. r=k88hudson
MozReview-Commit-ID: 6CilV8vrqwY

--HG--
extra : rebase_source : 438c0250cc9a96b20e94ec53a0b43eae1b02e6d5
2018-03-01 11:21:00 -08:00
Zhang Junzhi 101d7d588a Bug 1439882 - Removes several redundant #include directives in layout files r=dholbert
Some included headers for source code in layout directory are left unused. This
patch merely removes these redundant headers. All of these headers are still
found in use for other code, so all of them and their related cpp files are kept
still.

MozReview-Commit-ID: KCleuWyOV8Z

--HG--
extra : rebase_source : 6e892dcd8ad8c1f56069d4d93bc7124641361232
2018-03-02 04:12:39 +08:00
Markus Stange 0e40b574c1 Bug 1429904 - Remove ProfileBuffer::Reset(). r=njn
MozReview-Commit-ID: AzIyYByoesS

--HG--
extra : rebase_source : bc21f96e01c2bfc9aea0ce90ba43aa8864fb6bbf
2018-02-15 21:49:05 -05:00
Markus Stange 9e2d38db17 Bug 1429904 - Remove unused arguments and return values. r=njn
MozReview-Commit-ID: 9P0TKavkwgA

--HG--
extra : rebase_source : a30467537478805bb0a69bbb016a143555c2dfe8
2018-02-17 19:21:05 -05:00
Markus Stange 28d8be3628 Bug 1429904 - When a JSContext for a thread is about to go away, collect enough information about any JIT entries in the buffer so that the entire buffer can be streamed to JSON. r=njn
This changeset changes behavior.
If the profile is streamed before any JSContext has gone away, we now iterate
over the entire buffer twice (per thread): First, to collect information about
JIT frames, and then again when we build the JSON for the samples. The first
traversal stores small pieces of JSON for JIT fromes in individual strings, and
the second iteration splices those strings into the thread JSON's frame table.

When the JSContext for a thread goes away, we no longer build JSON for samples,
and we don't reset the profiler buffer. We now only build the JSON for JIT
frames. Once the complete profile is requested and we build samples for it, we
iterate over the entire buffer, and look up the cached JIT frame information for
JitReturnAddr entries from the correct range. Different parts of the buffer may
correspond to the life time of different JSContexts: For each JSContext we will
have one range in the JITFrameInfo, and we can look up the correct range based
on the buffer position of the JitReturnAddr entry that we're processing.

This new way of doing things has multiple advantages:
 - We no longer reset the buffer, so we no longer lose information about other
   threads.
 - All threads from a given process now always have sample data for the same
   time range. Before this change, the "partial profile" from a thread that
   lost its JSContext could extend further into the past than the other threads'
   profiles.
 - Requesting profiles multiple times now has more consistent results. Before
   this change, the first requested profile would include the partial profile,
   but then the partial profile was discarded. And the second requested profile
   would not contain any data for the time before the JSContext went away.
 - We now do less work when a thread's JSContext goes away. This should
   decrease the interruption time.

MozReview-Commit-ID: 3KhnPtBijna

--HG--
extra : rebase_source : 2ef5ac933e4db1c98526a2b36147ff031893de9e
extra : intermediate-source : d63b04327077d1ef55f509b365cd2693905b0733
extra : source : f2d8c993aa2c16bc491c55179d545f5a2c727391
2018-02-28 00:17:16 -05:00
Markus Stange 2f171b74fa Bug 1429904 - Add JITFrameInfo. r=njn
MozReview-Commit-ID: DashxIKyzYZ

--HG--
extra : rebase_source : 2c1c01ed2008b0934d27ba10a7ef064453306ee9
2018-02-28 00:13:51 -05:00
Markus Stange a76d2ed393 Bug 1429904 - Put mUniqueStrings into a UniquePtr. r=njn
In an upcoming patch we'll want to initialize mUniqueStrings by stealing
another object's UniqueJSONStrings, but UniqueJSONStrings itself is not
move-constructible. But UniquePtr is.
Making UniqueJSONStrings itself move-constructible would be a bit tricky
because it has a SpliceableChunkedJSONWriter which is not move-constructible;
and making SpliceableChunkedJSONWriter move-constructible is hard because
there's no obvious "empty but valid" state that we could leave a moved-out-of
SpliceableChunkedJSONWriter in; for example, it expects to have a non-null
WriteFunc at all times.

MozReview-Commit-ID: Q6o61HFTiD

--HG--
extra : rebase_source : e1073be9892cf7cfd6ca4f2562ce939690b3b4d7
2018-02-17 15:50:43 -05:00
Markus Stange 79f37c94cf Bug 1429904 - Give UniqueJSONStrings a copy constructor. r=njn
MozReview-Commit-ID: tlh6qkYX7A

--HG--
extra : rebase_source : 115d834c1e0eed80f54da4aec2db04105b91d90c
2018-02-17 15:39:45 -05:00
Markus Stange 721a2ea7b8 Bug 1429904 - Tell the ProfiledThreadData what the buffer position was when the thread received its JSContext. r=njn
This also renames FlushSamplesAndMarkers to NotifyAboutToLoseJSContext.

MozReview-Commit-ID: FWinMi85yDZ

--HG--
extra : rebase_source : 6d8bfd6937ce757108f80f43e878a2dbead318bd
2018-02-17 15:03:30 -05:00
Markus Stange 15b53ded07 Bug 1429904 - Use a Variant to split the FrameKey members into two groups. r=njn
This makes it clear which combinations of fields are possible.

MozReview-Commit-ID: C3PriO7nWsJ

--HG--
extra : rebase_source : 68df01f11121b09b2f2762581dc28184262abfb8
2018-02-27 23:44:02 -05:00
Markus Stange f4f1500202 Bug 1429904 - Add 'using namespace mozilla;' to ProfileBufferEntry.cpp and remove some mozilla:: prefixes. r=njn
I think this file was picking up such a declaration from a different file
already, through unified builds.

MozReview-Commit-ID: 9xTB2QA86U0

--HG--
extra : rebase_source : d7b614524ebdf25a185698b6632d6f925ce08da8
2018-02-17 12:35:57 -05:00
Markus Stange e0cf8ba1ba Bug 1429904 - Remove a comment about std::string. r=njn
nsCString is the idiomatic string class we want to use anyway. There's no need
to think about std::string here.

MozReview-Commit-ID: 1rjZAyqp13d

--HG--
extra : rebase_source : 92c4eb22876c4fc89f00104c56f92a75053284e9
2018-02-28 00:30:55 -05:00
Markus Stange 1362836d13 Bug 1429904 - Make FrameKey members const. r=njn
MozReview-Commit-ID: KTYmCJM9tOH

--HG--
extra : rebase_source : b5009f527bc0cd026e06c8b5da9f3d44fc4ea700
2018-02-27 23:11:34 -05:00
Markus Stange 89eae04310 Bug 1429904 - Add another constructor to FrameKey which initializes mLine and mCategory, and use it in one place. r=njn
MozReview-Commit-ID: 1LliQMGjfjx

--HG--
extra : rebase_source : 82575f4dc270ac0dabccbe5cc667222f137ca8cc
2018-02-27 23:10:06 -05:00
Markus Stange 2927aca3f7 Bug 1429904 - Let the compiler implement the FrameKey copy constructor for us. r=njn
MozReview-Commit-ID: 9e9rMkEAyeL

--HG--
extra : rebase_source : 7bfe088360c891a0c7b364ed3ab4e42516b2b97b
2018-02-27 23:08:19 -05:00
Markus Stange 81b7ec9e0c Bug 1429904 - Remove mHash which is now unused. It was only used by FrameKey::operator<. r=njn
MozReview-Commit-ID: 5Jc6EYmoZfS

--HG--
extra : rebase_source : 20c2c4b0396b0b850066d65e6f7984e4fbe472fa
2018-02-27 23:06:31 -05:00
Markus Stange fa1dbb7812 Bug 1429904 - Remove unused operator< from StackKey and FrameKey. r=njn
nsGenericHashKey never calls this operator, as far as I can tell.

MozReview-Commit-ID: NDybMI8DOA

--HG--
extra : rebase_source : 933c12e2ef4600ea33b6c7026f539e51447fc454
2018-02-27 22:41:35 -05:00
Marco Bonardo a7cdb8e062 Bug 1442370 - Change SQLITE_TEMP_FILE_PREFIX to a Mozilla unique value. r=asuth
MozReview-Commit-ID: 3VRCec9QI1F

--HG--
extra : rebase_source : 879f24d8b894eaeeae1cbb6db964485d05e4f1e2
2018-03-01 20:55:18 +01:00
Dorel Luca c532ed00b6 Backed out changeset 885ab31f399b (bug 1441666) for xpcshell failure on browser/extensions/formautofill/test/unit/test_sync.js. CLOSED TREE 2018-03-02 00:37:49 +02:00
Dorel Luca d5ffb280ca Merge mozilla-central to autoland. r=merge on a CLOSED TREE
--HG--
extra : amend_source : 1da4c47b073cb2032ddeb3da8b88736e5a1c363d
2018-03-02 00:17:24 +02:00
Dorel Luca 3ccafa2b66 Merge mozilla-inbound to mozilla-central. a=merge 2018-03-02 00:09:29 +02:00
Dorel Luca 109ad47bbf Merge autoland to mozilla-central. a=merge 2018-03-02 00:05:07 +02:00
Dorel Luca c581e7d1ce Backed out changeset 017d83ffe0a4 (bug 1425152) for xpcshell failure on browser/extensions/formautofill/test/unit/test_sync.js on a CLOSED TREE 2018-03-01 23:58:42 +02:00
arthur.iakab 1577dd49c5 Backed out 7 changesets (bug 1440177) for build bustages on a CLOSED TREE
Backed out changeset d83a1820b2f2 (bug 1440177)
Backed out changeset a77d06b2cf03 (bug 1440177)
Backed out changeset 928770efc9a3 (bug 1440177)
Backed out changeset 49b285030492 (bug 1440177)
Backed out changeset 717a696b17e0 (bug 1440177)
Backed out changeset 0840994846bf (bug 1440177)
Backed out changeset b1ba6c67264b (bug 1440177)

--HG--
extra : amend_source : 1396090c186d31b5196c2c876bcb1ccf5f1ba940
2018-03-01 23:45:23 +02:00
Matt Woodrow c1025a1ff3 Bug 1440177 - Part 7: Don't allocate new clips when flattening nsDisplayOpacity. r=mstange
Combing the two clips as-is should always be correct, and since they're frequently identical, we can usually make IntersectClip a no-op.

MozReview-Commit-ID: EKHdPogzd3t

--HG--
extra : rebase_source : 13dede364b603ff5dd889141430d5d4cd7e51e17
2018-03-02 10:06:13 +13:00
Matt Woodrow d4d690dde3 Bug 1440177 - Part 6: Don't dereference display items during AddPaintedDisplayItem for the LAYER_NONE case. r=jnicol
The display items are almost certainly gone from the cache at this point, so dereferencing them can take a while.
This moves the DisplayItemData lookup, and the IsReused/HasMergedFrames checks into the ProcessDisplayItems pass (where we already use the items), and then just uses the AssignedDisplayItem entry for everything.

MozReview-Commit-ID: JrRshEyZncb

--HG--
extra : rebase_source : 280bda37cba3f9dc5a5ba3dadec5e09848b7321c
2018-03-02 10:06:13 +13:00
Gabriel Luong 8bbbdc6337 Bug 1441622 - Expose the OpenType Font Variations data to the fonts redux store. r=pbro 2018-03-01 15:25:10 -05:00
ffxbld 84c76716c7 No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2018-03-01 12:02:34 -08:00
ffxbld e775e30412 No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2018-03-01 12:02:30 -08:00
Dorel Luca 0abbbf16b7 Backed out changeset 9ac28273f156 (bug 1440383) as requested by timdream 2018-03-01 20:32:29 +02:00
Tiberius Oros 61d400da1c Merge inbound to mozilla-central. a=merge 2018-03-01 19:29:00 +02:00
Tiberius Oros 1a3b814e9c Merge autoland to mozilla-central. a=merge 2018-03-01 19:10:44 +02:00
ffxbld 711ffa5a19 No bug - Tagging mozilla-central e33efdb3e1517d521deb949de3fcd6d9946ea440 with FIREFOX_BETA_60_BASE a=release DONTBUILD CLOSED TREE 2018-03-01 16:09:36 +00:00
Csoregi Natalia 1fd0486e23 Backed out 7 changesets (bug 1193394) for browser-chrome failures on browser_ext_popup_background.js. CLOSED TREE
Backed out changeset 9683f24ff8ec (bug 1193394)
Backed out changeset 0e7140a7c841 (bug 1193394)
Backed out changeset a0e26f6b2784 (bug 1193394)
Backed out changeset 29e1fceaf48d (bug 1193394)
Backed out changeset b8632bbbd273 (bug 1193394)
Backed out changeset a54ef2d8f896 (bug 1193394)
Backed out changeset 55c94c05c57f (bug 1193394)
2018-03-01 16:29:02 +02:00
Alex Chronopoulos f74de1aee2 Bug 1410456 - Update cubeb from upstream to eb3409e.r=achronop
MozReview-Commit-ID: Ie9hhw1Prlw

--HG--
extra : rebase_source : 0e27932b3d22cf816a045b2fd4929d957a5684d6
2018-03-01 15:44:47 +02:00
Tooru Fujisawa e497c77767 Bug 1193394 - Part 6: Disable browser_devices_get_user_media_unprompted_access.js and browser_ext_commands_execute_browser_action.js. r=bustage CLOSED TREE 2018-03-01 22:26:20 +09:00
Johan Lorenzo 171f489600 Bug 1424482 - part 2: Remove upstream artifact when no path is defined r=mtabara a=bustage 2018-03-01 14:07:23 +01:00
Alex Chronopoulos 6bd9c1333c Bug 1410456 - Pass in cubeb JNIEnv instead of JavaVM. r=padenot
MozReview-Commit-ID: Cf8FvZzShVv

--HG--
extra : rebase_source : 28b4a8658e5be271af228a0d0398eaa2fba4320b
2018-03-01 12:11:32 +02:00
Sebastian Hengst 3eb3941bc5 Backed out 2 changesets (bug 1441133) for build bustage in beta simulations at dom/clients/manager/ClientSource.cpp:402: unused variable 'wp'. a=backout
Backed out changeset 275855621865 (bug 1441133)
Backed out changeset 7a4546e25adc (bug 1441133)

--HG--
extra : histedit_source : d38746923972091f05ad8f435c39e7fe38e57a18
2018-03-01 11:55:28 +02:00
Sebastian Hengst 3a10644021 Backed out 6 changesets (bug 888600) for beta simulation failures: build bustage on Linux and Windows opt (bug 1442036) and devtools failure browser_net_view-source-debugger.js (bug 1441961). a=backout
Backed out changeset 83c87140dc3d (bug 888600)
Backed out changeset 2efb9b1753f6 (bug 888600)
Backed out changeset af5303781961 (bug 888600)
Backed out changeset 79ef59047e63 (bug 888600)
Backed out changeset 30d568d628dd (bug 888600)
Backed out changeset c7bd4c6c9741 (bug 888600)

--HG--
extra : histedit_source : 791b22f6770f4fead2f909478a93d65d85829fe0%2Cbb387309e90f53e1dde45dcf8cf4ebedcc6e5c5e
2018-03-01 11:51:09 +02:00
Axel Hecht 9f2b269354 Bug 1442145, update fluent to 0.6.4, r=flod a=nightly-fix
This picks up an existing fix for variant keys, which we started
using in gecko. The lack of this fix broke l10n-merge, and thus
l10n nightlies.

MozReview-Commit-ID: Gy6U52rc6PH

--HG--
extra : amend_source : 8c5e29e877a24558b96dfa18ec5a0ae05a466b93
2018-03-01 10:28:34 +01:00
Georg Koppen f58841a715 Tests updated/added for bug 1382359 r=ckerschb CLOSED TREE 2018-03-01 10:13:22 +01:00
Georg Koppen dd4fb3ba9f Bug 1382359: Treat .onion as a secure context
Websites which collect passwords but don't use HTTPS start showing scary
warnings from Firefox 51 onwards and mixed context blocking has been
available even longer.

.onion sites without HTTPS support are affected as well, although their
traffic is encrypted and authenticated. This patch addresses this
shortcoming by making sure .onion sites are treated as potentially
trustworthy origins.

The secure context specification
(https://w3c.github.io/webappsec-secure-contexts/) is pretty much focused
on tying security and trustworthiness to the protocol over which domains
are accessed. However, it is not obvious why .onion sites should not be
treated as potentially trustworthy given:

"A potentially trustworthy origin is one which a user agent can
generally trust as delivering data securely.

This algorithms [sic] considers certain hosts, scheme, and origins as
potentially trustworthy, even though they might not be authenticated and
encrypted in the traditional sense."
(https://w3c.github.io/webappsec-secure-contexts/#is-origin-trustworthy)

We use step 8 in the algorithm to establish trustworthiness of .onion
sites by whitelisting them given the encrypted and authenticated nature
of their traffic.
2018-03-01 09:44:30 +01:00
Tooru Fujisawa 8809c05b7b Bug 1193394 - Part 5: Disable some tests that relies on descriptionHeightWorkaround. r=bustage CLOSED TREE 2018-03-01 20:03:13 +09:00
Tooru Fujisawa d0ece36aa1 Backed out changeset 29e1fceaf48d (bug 1193394) 2018-03-01 19:55:08 +09:00
Sebastian Hengst 6098a3cc4d merge mozilla-central to mozilla-inbound. CLOSED TREE 2018-03-01 12:29:42 +02:00
Tooru Fujisawa 25a9f5bb72 Bug 1193394 - Part 4: Wait for the next event tick before calling promiseDocumentFlushed in descriptionHeightWorkaround. r=bustage CLOSED TREE 2018-03-01 18:44:38 +09:00
Tooru Fujisawa c253fc2790 Bug 1193394 - Part 3: Disable browser_ext_browserAction_popup.js and browser_ext_browserAction_popup_resize.js. r=bustage 2018-03-01 18:42:14 +09:00
Jordan Lund 65270c07b0 Bug 1431363 - Tracking bug for 2018-03-13 migration work, a=testing r=mtabara
MozReview-Commit-ID: E8GqWJZLmLB

--HG--
rename : testing/mozharness/configs/merge_day/central_to_beta.py => testing/mozharness/configs/merge_day/bump_central.py
extra : source : 5c880ac8f013cbd01571d4939e40b08648c761ba
extra : amend_source : 905f2d818ad654f8b466252be75d9cdcbb212f71
2018-02-28 15:55:55 -08:00