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

596085 Коммитов

Автор SHA1 Сообщение Дата
Tom Ritter c27fff25b3 Bug 1457483 Retrieve nm from environment for check_vanilla_allocations.py r=glandium
MozReview-Commit-ID: HIZpMk4Ierb

--HG--
extra : rebase_source : 5671a3f0ad8599aafb737f9fe6f76a5a4aa1d896
2018-04-27 10:25:35 -05:00
Nicolas Chevobbe 9de0501101 Bug 1447235 - Enable the console sidebar in Nightly; r=bgrins.
In Bug 1419292, we make sure there is no issue when releasing
actors for the output messages, so the sidebar is probably
good to go on Nighly in order to get more feedback.
The test for context menu entries in the console was updated
since it now shows the "Open in sidebar" entry.

MozReview-Commit-ID: 8R3rhf944Fh

--HG--
extra : rebase_source : e504095a1a5ffee711f81ef3de2b1a4da38b4493
2018-04-27 16:29:55 +02:00
Johann Hofmann 8c9cbbf7a1 Bug 1452361 - Don't reset to default permissions for cookies in page info. r=nhnt11
This commit makes the page info window treat cookie permissions a little
differently, to reflect that the "default" value for cookies is a combination
of two prefs that doesn't strictly map onto the ALLOW/SESSION/DENY system of
permissions.

I also added some more general pageinfo permissions tests.

MozReview-Commit-ID: 80vd61Rv867

--HG--
extra : rebase_source : c079e47afb74b2c4b7da271efcaf20dd45d1eb60
2018-05-09 15:39:26 +02:00
Jan Henning 6c6cc479c4 Bug 1460601 - Fix up Prompt.jsm Dispatcher retrieval. r=jchen
Forgotten in bug 1459298.

MozReview-Commit-ID: ANOK5Mp709K

--HG--
extra : rebase_source : b94b38dc9cb714256cb03ec2db8a8d58f86e324d
2018-05-14 22:39:42 +02:00
Kartikaya Gupta 8186c1e30a Bug 1461122 - Ensure we recomposite when getting a main-thread scroll offset update. r=botond
With non-WebRender, the composite is triggered unconditionally when we receive
the transaction from the content side, so we never needed this. The previous
patch adds the composite for the equivalent WebRender codepath, but it's better
to do it explicitly in NotifyLayersUpdated as well. The reason for this is that
with WebRender, this code runs on the updater thread which is not the same as
the compositor thread - so the composition that is scheduled from
WebRenderBridgeParent upon receiving the transaction might happen before the
scroll offset update is actually applied. Triggering a composition from
NotifyLayersUpdated should be a no-op in the cases where a composition is already
scheduled, but in cases where it has not been scheduled, it will schedule one
to ensure the scroll offset update gets composited properly.

MozReview-Commit-ID: Luf76J6QDkr

--HG--
extra : rebase_source : a130f1cf22973910767e96c69962d8b621c0d368
2018-05-15 08:49:36 -04:00
Kartikaya Gupta d07e6d261b Bug 1461122 - Clean up the composition flow for empty transactions. r=sotaro
This is mostly just refactoring to make the code more understandable. However,
there are a couple of functional changes:
- If we have scroll offset updates we now schedule a composite instead of
  sending the DidComposite right away. This is needed because we want to
  actually composite the scroll offset change.
- If there are WebRenderParentCommands provided, we process them and update the
  epoch in a single transaction, instead of splitting it across two transactions
  for no good reason.

MozReview-Commit-ID: 2HCa19EGxUD

--HG--
extra : rebase_source : f7cdc1b46fbca96b2124582f29c791f8944c1fc9
2018-05-15 08:49:34 -04:00
Kartikaya Gupta 26d10c1120 Bug 1461122 - Implement DidComposite(LayersId,...) for CompositorBridgeParent. r=sotaro
MozReview-Commit-ID: 5glDqCdvkQG

--HG--
extra : rebase_source : e7bcf7d338b79002e30a7647c15669f1958409e2
2018-05-15 08:49:29 -04:00
Kartikaya Gupta 8c06c3acbb Bug 1129091 - Wait for the iframes to load before running test functions that use them. r=jgraham
MozReview-Commit-ID: Di6pxnrZxcZ

--HG--
extra : rebase_source : dba49c981dc964451fb65fe635bc80a1bb1fe87b
2018-05-15 07:57:15 -04:00
Razvan Caliman ea708528bd Bug 1450695: Add support for editing CSS font properties for non-variable fonts. r=gl
MozReview-Commit-ID: 6WWJEaSBbzm

--HG--
extra : rebase_source : 07eea241fefdd88b55b017dd0f3a6a069a942511
2018-05-09 17:04:18 +02:00
Razvan Caliman a5a17aadf2 Bug 1450695: Generalize FontAxis into FontPropertyValue for reuse with non-variable fonts. r=gl
- Add Redux setup for storing CSS font property values
- Refactor FontAxis component into generalized FontPropertyValue to
support values with units.
- Generalized CSS selectors to apply to UI other than for font axes

MozReview-Commit-ID: 52LAmhfyxuV

--HG--
extra : rebase_source : c5cc4b1b781a0106213182e164250bc4322c44d3
2018-05-08 14:22:03 +02:00
Bogdan Tara fbf34d5681 Backed out 3 changesets (bug 1461122) for build bustages on workspace/build/src/obj-firefox/dist/include/mozilla/layers/CompositorBridgeParent.h CLOSED TREE
Backed out changeset 90445f7b62cd (bug 1461122)
Backed out changeset 9f87280ba566 (bug 1461122)
Backed out changeset 0efbd05857c2 (bug 1461122)
2018-05-15 15:13:08 +03:00
Kartikaya Gupta 4faa5a5649 Bug 1461122 - Ensure we recomposite when getting a main-thread scroll offset update. r=botond
With non-WebRender, the composite is triggered unconditionally when we receive
the transaction from the content side, so we never needed this. The previous
patch adds the composite for the equivalent WebRender codepath, but it's better
to do it explicitly in NotifyLayersUpdated as well. The reason for this is that
with WebRender, this code runs on the updater thread which is not the same as
the compositor thread - so the composition that is scheduled from
WebRenderBridgeParent upon receiving the transaction might happen before the
scroll offset update is actually applied. Triggering a composition from
NotifyLayersUpdated should be a no-op in the cases where a composition is already
scheduled, but in cases where it has not been scheduled, it will schedule one
to ensure the scroll offset update gets composited properly.

MozReview-Commit-ID: Luf76J6QDkr

--HG--
extra : rebase_source : 3e8cc6c9cd6fb79ab1f7ec3d1e38a34a2c7f6011
2018-05-14 13:19:14 -04:00
Kartikaya Gupta 8677ec2d23 Bug 1461122 - Clean up the composition flow for empty transactions. r=sotaro
This is mostly just refactoring to make the code more understandable. However,
there are a couple of functional changes:
- If we have scroll offset updates we now schedule a composite instead of
  sending the DidComposite right away. This is needed because we want to
  actually composite the scroll offset change.
- If there are WebRenderParentCommands provided, we process them and update the
  epoch in a single transaction, instead of splitting it across two transactions
  for no good reason.

MozReview-Commit-ID: 2HCa19EGxUD

--HG--
extra : rebase_source : e5643b83914b47889e4bde6c0f8658fedb3d54fc
2018-05-14 13:19:13 -04:00
Kartikaya Gupta 976a28d5ae Bug 1461122 - Implement DidComposite(LayersId,...) for CompositorBridgeParent. r=sotaro
MozReview-Commit-ID: 5glDqCdvkQG

--HG--
extra : rebase_source : b3d50c9ffaa1b829b8a23fc5e16d15d1509eb080
2018-05-14 13:19:13 -04:00
Henrik Skupin 8b0b9860af Bug 1461253 - [wdspec] Disable user prompt tests of get_element_property and get_element_tag_name for webrender. r=ato
Bug 1425588 tracks disabled tests for webrender, including a
couple of user prompt tests of the wdspec test suite. The tests
for get_element_property and get_element_tag_name also
intermittently fail, and need to be disabled for now.

MozReview-Commit-ID: AQLxDdqD80p

--HG--
extra : rebase_source : 2d6fd42beb42490f42b1e5de95c060ec15bd07b4
2018-05-14 09:32:15 +02:00
Henrik Skupin 75096ef8ff Bug 1460651 - [marionette] Getter for "running" has to always return a boolean. r=ato
MozReview-Commit-ID: 5mOJSgwVQN1

--HG--
extra : rebase_source : e33760eacc88def1fb2a631ee63426eb206d185e
2018-05-14 20:51:56 +02:00
Henrik Skupin 6b8e21179a Bug 1460651 - [marionette] Add additional debug logging for browser startup. r=ato
MozReview-Commit-ID: 9ABM2XcJoKc

--HG--
extra : rebase_source : 1c230e2f6723658b73f46b81bad500a8daadf02a
2018-05-10 18:20:17 +02:00
Luca Greco 182e694688 Bug 1452685 - Extend existing WebExtension telemetry probes to expire on version 67. r=chutten
MozReview-Commit-ID: 7mQiZrUNhhI

--HG--
extra : rebase_source : 0a1dd6f9b8a72fe7cd23e1cacc48730c182e4bda
2018-05-02 20:16:17 +02:00
Gijs Kruitbosch 1919ec670b Bug 1414246 - only create page-icon URLs for some schemes (avoiding long page-icon:data URIs), r=mak
MozReview-Commit-ID: KptAl88so0B

--HG--
extra : rebase_source : 8fc482c6baebb1f01430fbabe4e8c154376a7e0c
2018-05-07 22:43:27 +01:00
Gijs Kruitbosch 6bb7b981af Bug 1414246 - actually use textRunsMaxLen to limit autocomplete text run length in address bar autocomplete, r=jaws
MozReview-Commit-ID: AB9RFtxXee7

--HG--
extra : rebase_source : 455ec8bebe2b07b62fbc7548d4e50b3506cdff56
2018-05-14 11:43:54 +01:00
Emilio Cobos Álvarez 5bfb2e13b8 No bug - Fix Servo build. r=me
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>

MozReview-Commit-ID: DpRWVlcU0ki
2018-05-15 12:09:26 +02:00
Emilio Cobos Álvarez 07c301c809 No bug - Make servo-tidy happy. r=me
MozReview-Commit-ID: HDlgkGdvdBg
2018-05-15 12:09:25 +02:00
Csoregi Natalia 43f915785d Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-05-15 12:55:28 +03:00
Csoregi Natalia 00dd116638 Merge inbound to mozilla-central. a=merge 2018-05-15 12:53:24 +03:00
Julian Seward 980d923b70 Bug 1459893 - Wasm: memory.fill and memory.copy: add validation code and test cases. r=lth.
Bug 1446930 added a baseline implementation of memory.fill/copy, and runtime
test cases for them, but missed out validation code and test cases for them.
This is a followup, to add those missing elements.

--HG--
extra : rebase_source : f9c62eadcd9eecd69d58e50a3bd09154dde6f202
2018-05-14 22:43:31 +02:00
J.C. Jones 0843035f6b Bug 1460617 - land NSS 6e4b0141df2f UPGRADE_NSS_RELEASE, r=me
--HG--
extra : rebase_source : c82ceabece6bd1c9b0d079a0a69eedeba4214c5e
2018-05-14 14:47:52 -07:00
Philip Chimento c0e134cb2b Bug 1422930 - Fix SpiderMonkey includedir installs. r=glandium
Somehow the header files were being installed directly into
$prefix/include, rather than $prefix/include/mozjs-60. Something else
changed somewhere that affected this, since this code was the same in
older mozjs versions, but this seems the most logical place to fix it.
2018-05-14 10:29:00 -04:00
Cosmin Sabou ad9d15b23e Bug 1455882 - Disable browser/base/content/test/tabs/browser_new_tab_insert_position.js on Linux 32 debug for almost permafailing. r=nbeleuzu,cbrindusan 2018-05-15 04:25:04 +03:00
Tooru Fujisawa 025cba2c23 Bug 1458878 - Assert no GC in IterateScriptCallback. r=jonco 2018-05-15 10:08:05 +09:00
Brindusan Cristian 1ff93ba361 Backed out 3 changesets (bug 1461299, bug 1460101) for reftest failures on events/EventStateManager.cpp CLOSED TREE
Backed out changeset fe2b8fcd7a47 (bug 1461299)
Backed out changeset 9a0ca81ddbce (bug 1461299)
Backed out changeset 783cf8b58ba4 (bug 1460101)
2018-05-15 03:13:29 +03:00
Emilio Cobos Álvarez ad6bf63946 Bug 1461299: Make ESM not point to unbound NAC in the hover / active chain. r=smaug
MozReview-Commit-ID: 8mL7Yv3TwQM
2018-05-15 01:17:34 +02:00
Emilio Cobos Álvarez 9f13d43733 Bug 1461299: Ensure the editor root node is marked as NAC even if BindToFrame fails. r=smaug
We do the following:

  CreateRootNode();
  nsresult rv = BindToFrame(this);
  NS_ENSURE_SUCCESS(rv, rv);
  aElements.AppendElement(mRootNode);

That means that if BindToFrame fails, mRootNode will never be appended to
aElements, and thus will never get the native anonymous bits in [1].

BindToFrame should assert, but it indeed can fail due to it being bound to a
different frame in print preview, because nsCSSFrameConstructor's
ReplicateFixedFrames is a massive hack. :(

Just ensure the NAC bit is properly set for now...

[1]: https://searchfox.org/mozilla-central/rev/a85db9e29eb3f022dbaf8b9a6390ecbacf51e7dd/layout/base/nsCSSFrameConstructor.cpp#4193

MozReview-Commit-ID: 6sE8iUk4PCG
2018-05-15 01:17:07 +02:00
Emilio Cobos Álvarez 795e05ab94 Bug 1460101: Check whether the node is an element in the chain instead of ContentIsDescendantOf. r=smaug
We rely on :hover and :active being hierarchical, and on the fact that there are
only elements and documents in the flattened tree ancestor chain if the element
is in the composed doc.

MozReview-Commit-ID: LMQkidMe9wp
2018-05-15 01:17:06 +02:00
Geoff Brown 2703d7697a Bug 1461393 - Run Android debug xpcshell tests in more chunks; r=me,a=test-only 2018-05-14 17:11:46 -06:00
Olli Pettay 20c34cefa0 Bug 1461278 - Print a note to the web console when a web site is using shadow DOM (v1), preffed off by default, r=emilio 2018-05-15 02:04:32 +03:00
Boris Zbarsky 1b656c34aa Bug 1455802. Get rid of web-visible XMLStyleSheetProcessingInstruction. r=peterv
MozReview-Commit-ID: GBumpNuvzZf
2018-05-14 18:54:16 -04:00
Brindusan Cristian 6e227ff5dc Backed out changeset 64c4562813fa (bug 1460101) for debug crashtest failures on crashtests/626014.xhtml 2018-05-15 01:45:09 +03:00
Emilio Cobos Álvarez add7370903 Bug 1442195: Don't crash when finding an unexpected default font type. r=xidorn
For now just return sans-serif, though as the FIXME comment indicates we should
probably just carry around the font-name instead.

MozReview-Commit-ID: CIPbV3R5Ul

--HG--
extra : rebase_source : ce8666e747341d203d655e937501806c1646331b
2018-05-14 15:19:34 +02:00
Martin Stransky 40eb570f1d Bug 1461306 - [Wayland] Don't use sizeof() to get mime type array size, r=jhorak
MozReview-Commit-ID: GE5helkqoUt

--HG--
extra : rebase_source : 0e66e835c13b934619ebc5386f6edb5018b9c1cf
2018-05-14 14:01:26 +02:00
Emilio Cobos Álvarez a6a7ba02de Bug 1461288: Distinguish between specified and computed URLs. r=xidorn
This is needed to serialize computed URLs correctly from getComputedStyle.

MozReview-Commit-ID: 9wakhqNrszb

--HG--
extra : rebase_source : 7d120ac0917a5e13de4e52b7dfa0d784495fd8f7
2018-05-14 12:29:40 +02:00
Emilio Cobos Álvarez 4ac7b84022 Bug 1461296: Ensure all lonhands have a working clone(), and to_css. r=xidorn
This removes some dubious font-family code too.

It ensures that vector longhands have a proper clone implementation
auto-generating it using `collect()`.

MozReview-Commit-ID: FkdnbTkeF6E

--HG--
extra : rebase_source : 8574eda5b65be614fc2daea8b2ded4c09f0a186e
2018-05-14 12:40:31 +02:00
Emilio Cobos Álvarez bdc9e3e0db Bug 1414303: Make nsLayoutUtils::CompareTreePosition handle Shadow DOM in a sensible way. r=xidorn
We probably need more fixes for counters and Shadow DOM. The spec only mentions
"document order", and this is the most reasonable thing to do accounting for
shadow DOM in that regard...

This ensures a reasonable behavior for all callers which pretty much expect
otherwise for all children to be connected.

MozReview-Commit-ID: YEQIKdjRTK

--HG--
extra : rebase_source : 9b31f5d00d270cf21476776144d62350b5453f99
2018-05-14 16:34:45 +02:00
Steve Fink d41b1026dc Bug 1460957 - Make shadow::Symbol to remove mayBeOwnedByOtherRuntimeSlow, r=jonco
--HG--
extra : topic : isperm
extra : rebase_source : 5b8dc0d2aa2ea29860d9a126a9624bca68f00041
2018-05-10 22:02:59 -07:00
Steve Fink bb18c240a9 Bug 1460957 - Make inlineable isPermanentAtom, r=jonco
--HG--
extra : topic : isperm
extra : rebase_source : 246bc26a0f3d55c752e4f368680a490c9dcb0e16
2018-05-07 16:42:54 -07:00
Brindusan Cristian 9fc8262d75 Backed out 2 changesets (bug 1461299) for debug crashtest failures on crashtests/626014.xhtml CLOSED TREE
Backed out changeset 699e9816b7ff (bug 1461299)
Backed out changeset 48f01ac94137 (bug 1461299)
2018-05-15 01:31:13 +03:00
Nika Layzell f3af8d0b90 Bug 1458043 - Part 2: Use native refcounting for Promises, r=bz 2018-05-14 17:55:58 -04:00
Nika Layzell 84d0194704 Bug 1458043 - Part 1: Stop converting promises to nsISupports in xpconnect, r=bz 2018-05-14 17:55:58 -04:00
Nika Layzell 3043db4105 Bug 1457972 - Part 10: Make sure to allocate ExtendedVal inline, r=froydnj 2018-05-14 17:55:57 -04:00
Nika Layzell 70dbf079a4 Bug 1457972 - Part 9: Allow passing invalid values to xpidl arrays for compat reasons, r=mccr8
This one sucks. I found out when running tests that we exploit some edge
case behaviour in our tests where passing an invalid value to an xpidl
array parameter will be passed as an empty array...

I figured that just respecting this behaviour for now is the easiest
approach, but we will probably want to fix it in the future.
2018-05-14 17:55:57 -04:00
Nika Layzell 656ad38909 Bug 1457972 - Part 8: Remove external consumers of XPCConvert::NativeArray2JS/JSArray2Native, r=mccr8
Current XPIDL native arrays currently also require a custom entry point. With
the new arraylen parameter we can handle them in JSData2Native/NativeData2JS. As
these methods are more complex and don't share logic with an existing codepath,
I keep them in external helper methods.
2018-05-14 17:55:57 -04:00