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

597696 Коммитов

Автор SHA1 Сообщение Дата
Timothy Guan-tin Chien dc0ecec7d0 Bug 1462703 - Set returned CustomElementDefinition again after script runner is set r=smaug
This would help in the case where it is safe to run script in-place and
the CustomElementDefinition is available before the function exits.

This fixes the tests changed.

MozReview-Commit-ID: Ays91W94WZm

--HG--
extra : rebase_source : 6b0f1f90de9a6bfd7db577f1fb0e76564c3627e7
extra : source : 47c62a1e2f268e1be24c3fddfc006c3ad45ba4ac
2018-05-22 07:30:07 +08:00
Gerald Squelart 49bbea11e3 Bug 1457373 - Remove text-combine-upright digits option - r=xidorn
MozReview-Commit-ID: Ehzsd2rmBER

--HG--
extra : rebase_source : 15e109be686e2b849a4676ad89a1b06bc4fe9687
2018-05-17 15:29:17 +10:00
Kartikaya Gupta 1832f1798c Bug 1417784 - Properly implement SyncWithCompositor for WebRender. r=froydnj,sotaro
This defines three flushing functions that flush different parts of the
WR pipeline. Using all three guarantees that everything sent to WR will
have been flushed. This is what we need to do in SyncWithCompositor to
ensure that it meets the API contract.

In addition, this patch updates the existing FlushRendering function to
use the new functions (no functional changes intended here).

MozReview-Commit-ID: GzxwpF4JT04

--HG--
extra : rebase_source : 1a8cf434d1280902906da257ae63751da7ffd114
2018-05-28 11:29:52 -04:00
Kartikaya Gupta d807b18531 Bug 1417784 - Shift how the AsyncImagePipelineManager is notified of updates. r=sotaro
Instead of notifying the AsyncImagePipelineManager on the compositor
thread via the CompositorBridgeParent, we can send it the new pipeline
info directly from the RenderThread after the update happens. This
effectively splits the AsyncImagePipelineManager update-processing into
two parts: one that takes in the new pipeline info and one that process
it. This allows us to invoke the processing step from other code running
on the compositor thread, which we will need to do in the next patch.

MozReview-Commit-ID: 7xhm8I7bY4C

--HG--
extra : rebase_source : bfa62e326fd830bc2ef771138e5008fb2bc0d6b8
2018-05-28 11:29:41 -04:00
Kartikaya Gupta af64629a66 Bug 1417784 - Use a CompositorBridgeParent* instead of a base class pointer. r=sotaro
We do a silent upcast from CompositorBridgeParent* to the base class and
pass it around as a CompositorBridgeParentBase* for no reason. Avoiding
this simplifies the code slightly and avoids virtual function overhead.
We do need to move a couple of functions in CompositorBridgeParent from
protected scope to public scope.

MozReview-Commit-ID: 9Zq3GwxEXpr

--HG--
extra : rebase_source : 67346159e7d99ca7fc2fe0052e85aa6618b50d27
2018-05-28 11:29:41 -04:00
Markus Stange 27976ff026 Bug 1461118 - Null-check mGeckoChild after calling DispatchInputEvent. r=spohl
MozReview-Commit-ID: 4bfe8TM4GuS

--HG--
extra : rebase_source : 472e531f56b6a63b7cc8c5fc9faeef6b4abb76c0
2018-05-28 18:00:35 -04:00
Mark Striemer 46f9153fac Bug 1455300 - Part 2: Include hidden tabs in the History menu r=mak
MozReview-Commit-ID: 8sKrAJVIAD5

--HG--
extra : rebase_source : 3f60e2c766051b6e8c8f92cb6680e7f528d8895a
2018-05-10 16:01:36 -05:00
Mark Striemer 9ac0626b1a Bug 1455300 - Part 1: Extract tab menuitem code from tabbrowser.xml r=dao
MozReview-Commit-ID: LP0EZxe5cJ9

--HG--
extra : rebase_source : 0988341f91ea79db742fd19cb9fa894447b1e50c
2018-05-14 15:10:01 -05:00
Ciure Andrei b48a0a149d Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-05-29 00:56:16 +03:00
Ciure Andrei 2f9a3d61e9 Merge inbound to mozilla-central. a=merge 2018-05-29 00:53:52 +03:00
Geoff Brown 4d05f461aa Bug 1464866 - Fix a typo in Android time-out message; r=me,a=test-only 2018-05-28 11:29:34 -06:00
Kartikaya Gupta 3ead0a4163 Bug 1463711 - Remove clobber step from searchfox builds. r=catlee
MozReview-Commit-ID: AfyEDCvYS9y

--HG--
extra : rebase_source : ff882035af2034d7c968fa03236b1c56ea25150e
2018-05-28 13:08:26 -04:00
Dorel Luca e5fe6c3a9f Backed out changeset bc39ccd992a4 (bug 1462468) for Browser-chomre failures on browser/base/content/test/trackingUI/browser_trackingUI_appMenu.js
--HG--
extra : rebase_source : a59dba114b09502056e229c7226b32741c8414f0
2018-05-28 19:11:14 +03:00
Kris Maglione 9505ca6e5e Backed out changeset 188dc519bc48 (bug 1464635) r=backout
MozReview-Commit-ID: JrR4q5Rwyqi
2018-05-28 07:47:30 -07:00
Julian Seward 415953e00b Bug 1464656 - Enable WebAssembly.Global by default. r=lth.
WebAssembly.Global is currently nightly- and early-beta-only, gated by
ENABLE_WASM_GLOBAL and EARLY_BETA_OR_EARLIER respectively.  This bug is to
enable it by default.

* js/src/moz.build:
  js/src/shell/moz.build:
  js/src/jsapi-tests/moz.build:
  Don't define ENABLE_WASM_GLOBAL.

* js/src/wasm/WasmJS.cpp:
  js/src/wasm/WasmModule.cpp:
  js/src/wasm/WasmValidate.cpp:
  Un-guard code guarded by
    #if defined(ENABLE_WASM_GLOBAL) && defined(EARLY_BETA_OR_EARLIER)
  and remove code guarded by its negation.  Inside js/src, the two symbols
  are only ever used together, so there's no need to consider them separately.

* js/src/jit-test/tests/wasm/globals.js:
  js/src/jit-test/tests/wasm/spec/harness/index.js:
  Remove code guarded by (typeof WebAssembly.Global === "undefined") and
  un-guard code guarded by (typeof WebAssembly.Global === "function")

* js/src/jit-test/tests/wasm/spec/globals.wast.js:
  js/src/jit-test/tests/wasm/spec/linking.wast.js:
  Make these be the same as spec/proposal_mutable_global/globals.wast.js
  and spec/proposal_mutable_global/linking.wast.js respectively.

* js/src/jit-test/tests/wasm/spec/proposal_mutable_global/globals.wast.js:
  js/src/jit-test/tests/wasm/spec/proposal_mutable_global/linking.wast.js:
  js/src/jit-test/tests/wasm/spec/proposal_mutable_global/directives.txt:
  js/src/jit-test/tests/wasm/spec/proposal_mutable_global (directory):
  Deleted.

--HG--
extra : rebase_source : 72e56b59a5162a2e131596c41ec33f527845ae6d
2018-05-28 14:51:04 +02:00
Jorg K 71b06db428 Bug 1464707 - Skip test_temporary.js::test_zip_extension in Thunderbird. r=kmag
--HG--
extra : rebase_source : da402c21fc797b9a42eacc8b735240ba9193102b
2018-05-27 14:51:00 +03:00
Dragan Mladjenovic c2ed3aa9cb Bug 1464366 : [MIPS] Provide implementation for CodeGenerator::visitTrunc{F}; r=jandem
--HG--
extra : rebase_source : 11facc1f91e4a3155be8067e2293ff6001ee41b7
2018-05-25 12:31:12 +02:00
Eliza Balazs b669b4de9c Bug 1449754 - disable browser_inspector_highlighter-rulers_03.js on Windows !debug for frequent failures. r=jmaher
--HG--
extra : rebase_source : a95b2447a7add0d6d26ef8af90026eee5449315f
2018-05-26 00:43:00 +03:00
Simon Sapin a8e3499296 No bug - Import style changes for Servo PR #20703. r=me
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>

MozReview-Commit-ID: 7Crl7d1Vs1N
2018-05-28 16:07:04 +02:00
Emilio Cobos Álvarez 533ea279c5 No bug - Appease Servo's tidy lint. r=me
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>

MozReview-Commit-ID: CoejeixDmI6
2018-05-28 16:06:24 +02:00
Franziskus Kiefer 7eaf562442 Bug 1460617 - land NSS 3d3e34bb7517 UPGRADE_NSS_RELEASE, r=me
--HG--
extra : rebase_source : 45b9c45b31b55dc1f5fcc043336b2ddc386f740c
extra : histedit_source : 221357b0e59b2a82786cc83d6b980062ec2b7ce9
2018-05-28 15:45:28 +02:00
Emilio Cobos Álvarez 54c29475e9 Bug 1464428: Optimize QuerySelector in shadow trees. r=xidorn
Pretty much the same setup we have for document.

We have the awkwardness of having to check containing shadow manually for
ShadowRoot because it's not available in TNode (and making it available added a
bit more complexity that wasn't worth it IMO).

MozReview-Commit-ID: CqOh0sLHf6o
2018-05-28 14:30:34 +02:00
Joel Maher 9e5d9c55f5 Bug 1442790 - fix test-verify to not fail on: 'No checks run.'. r=ahal 2018-05-28 06:44:24 -04:00
Dorel Luca 6bac60aea0 Bug 1464635 Disabled [browser_ext_settings_overrides_default_search.js] on all platforms. r=aryx 2018-05-28 02:38:00 +03:00
arthur.iakab 436cd55b31 Backed out changeset 8fb0fa2dca36 (bug 1464428) for Reftest crashes on a CLOSED TREE
--HG--
extra : amend_source : 023931e140119e040f5ca1c5b24bc4def5b0c215
2018-05-28 13:17:34 +03:00
Nicolas Silva b2c558ac48 Bug 1463424 - Fix divide by zeroes in qcms. r=Bas 2018-05-28 11:34:03 +02:00
Emilio Cobos Álvarez 84ed3147e4 Bug 1459403: The fix: scale and translate appropriately. r=hiro
Loops are hard. This hasn't been the funniest Saturday evening.

MozReview-Commit-ID: I8rfuIRIsrY
2018-05-28 11:23:55 +02:00
Emilio Cobos Álvarez 3b06764ca4 Bug 1459403: Move skew and rotation application to their own scope for clarity. r=hiro
The skew resetting of temp I think fixes a bug in presence of skew in every
direction, but again haven't double-checked.

MozReview-Commit-ID: Bn93CoaG8Bu
2018-05-28 11:23:54 +02:00
Emilio Cobos Álvarez d7cc22e3e8 Bug 1459403: Cleanup multiply(). r=hiro
We assign all the members, the result matrix doesn't really need to be any clone
of a.

MozReview-Commit-ID: 3NkhvyfqQL
2018-05-28 11:23:53 +02:00
Emilio Cobos Álvarez ab6020056c Bug 1459403: Add a FIXME comment which I think reveals a bug but I haven't confirmed it. r=hiro
MozReview-Commit-ID: DgCfqA5TNzP
2018-05-28 11:23:52 +02:00
Emilio Cobos Álvarez 3ac809b7aa Bug 1459403: Cleanup and add references to decompose_3d_matrix. r=hiro
Same, no functional change, but I basically rewrote this two times so...

MozReview-Commit-ID: FXOnJDPyPu5
2018-05-28 11:23:51 +02:00
Emilio Cobos Álvarez 66a98f1315 Bug 1459403: Cleanup and add references to Quaternion::animate. r=hiro
No functional change, but I did this while searching for the bug.

MozReview-Commit-ID: KsJxFoYaOq1
2018-05-28 11:23:50 +02:00
Emilio Cobos Álvarez d4bc975ab9 Bug 1459403: Trivial cleanup. r=hiro
MozReview-Commit-ID: K7zVYGiYAn6
2018-05-28 11:23:50 +02:00
Jonathan Kew 3b41726ac4 Bug 1463884 - patch 3 - Make gfxFcPlatformFontList::TryLangForGroup safe for off-main-thread use when called from GetSystemFontList. r=emilio 2018-05-28 10:09:28 +01:00
Jonathan Kew 1aec939dc5 Bug 1463884 - patch 2 - Remove always-true argument aCheckEnvironment from gfxFcPlatformFontList::GetSampleLangForGroup. r=emilio 2018-05-28 10:09:25 +01:00
Emilio Cobos Álvarez d3aa695c83 Bug 1464615: Reuse computed rotate animation. r=hiro
I have the feeling this fixes a bug, but...

MozReview-Commit-ID: Aj478qCbMV9
2018-05-28 11:05:39 +02:00
Emilio Cobos Álvarez f031f71b78 Bug 1464615: Match rotate ops. r=hiro
Per bug 1322189 we really should. I've copied the setup we have already for
translate / scale, but we should really clean this up a bit more I'd think.

In any case, probably skew should be matched as well...

MozReview-Commit-ID: Jky5k8HVfuH
2018-05-28 11:05:38 +02:00
Dorel Luca def68fde1d Merge mozilla-central to mozilla-inbound 2018-05-28 11:57:33 +03:00
Dorel Luca c581ba2f76 Merge mozilla-inbound to mozilla-central. a=merge 2018-05-28 11:46:41 +03:00
Emilio Cobos Álvarez 3240b9b6d9 Bug 1462618: The restyle root machinery could work better. r=heycam
Consider the test-case where we have:

<div>
  <span id=a />
  <span id=b />
</div>

We try to set one bit on "a", and a different one on "b".

Ideally we'll end up with <div> as the root with both bits. But with the current
code we'd go all the way to the document unnecessarily. This fixes it by
checking the bits we've propagated up to the top instead of existingBits.

MozReview-Commit-ID: GfwjwCBpkuy
2018-05-28 10:45:49 +02:00
Emilio Cobos Álvarez 6bd746e8d9 Bug 1464060: Unify DoGetStyle* implementations. r=xidorn
Both branches are equal now.

MozReview-Commit-ID: 2XmYvGC0ETx
2018-05-28 10:40:32 +02:00
Emilio Cobos Álvarez 3f97dd5cab Bug 1464060: Make the general setup for computed style bits nicer. r=xidorn
This patch:

 * Makes StyleStructID an enum class, and moves it to the mozilla namespaces.

 * Introduces StyleStructConstants with some constants scattered through the
   codebase.

 * Makes the computed style bits an enum class, and splits mPseudoType and mBits
   into their own members, since we were using a uint64_t when we have only a
   couple flags and CSSPseudoElementType is a byte. We statically assert that
   the number of style structs is less or equal to 32.

 * Makes mPseudoTag, mPseudoType and mBits const, since we don't want them to be
   mutated from C++, and we still need a few more refactorings (mostly getting
   rid of FinishStyle) to avoid mutating ComputedStyle instead.

MozReview-Commit-ID: 7qsTtASGcYB
2018-05-28 10:40:00 +02:00
Emilio Cobos Álvarez de6fa5fd09 Bug 1464060: Remove some unused templating and arguments. r=xidorn
Also don't rely on 'using namespace mozilla' in the cpp files that include
nsStyleStructInlines.h.

MozReview-Commit-ID: DLZiMpSzIFn
2018-05-28 10:40:00 +02:00
Emilio Cobos Álvarez dc60d6f0c2 Bug 1464060: Remove a bunch of unused style bits. r=xidorn
MozReview-Commit-ID: FLACqfSHfSO
2018-05-28 10:17:11 +02:00
Emilio Cobos Álvarez 2fe6f39529 Bug 1464428: Optimize QuerySelector in shadow trees. r=xidorn
Pretty much the same setup we have for document.

We have the awkwardness of having to check containing shadow manually for
ShadowRoot because it's not available in TNode (and making it available added a
bit more complexity that wasn't worth it IMO).

MozReview-Commit-ID: CqOh0sLHf6o
2018-05-28 10:08:35 +02:00
James Graham 746d69c97a Bug 1464567 - Increase labelable-elements test assert count in webrender, a=testonly
MozReview-Commit-ID: 3L3QWkZd7R7
2018-05-28 08:58:01 +01:00
Kris Maglione a55436fb3d Bug 1460610: Follow-up: Fix test expectations. r=bustage DONTBUILD
MozReview-Commit-ID: 5jGHu7WKY30
2018-05-27 21:51:16 -07:00
Kris Maglione 894cc5fddb Bug 1461145: Follow-up: Fix still more racy tests. r=bustage,test-only
MozReview-Commit-ID: AnyF6jwyhDv

--HG--
extra : rebase_source : 97640dd2f31cc1105e0296b356d781996ee37113
2018-05-27 18:34:36 -07:00
Matt Woodrow 636753b307 Bug 1436505. r=mats, a=abillings
--HG--
extra : rebase_source : 9f91c91eb1061577148e1880dc4dc5655f7b099a
2018-05-28 12:42:54 +12:00
Kris Maglione f72f5fc596 Bug 1461145: Follow-up: Fix more racy tests. r=bustage CLOSED TREE
MozReview-Commit-ID: 7uep5FCvVwC

--HG--
extra : rebase_source : 22e6c32288fe6dfd72625eabdebb1bb5c4637069
2018-05-27 17:53:01 -07:00