Commit Graph

597695 Commits

Author SHA1 Message Date
Cameron Kaiser
b4fc07371f Bug 1464751: Don't install wasm signal handlers on platforms without a JIT. r=lth 2018-05-28 13:19:16 -07:00
Yura Zenevich
b747a563eb Bug 1461977 - sync tree's scrollTop with scroll state when tree scrollTop value changes outside of user scroll. r=nchevobbe
MozReview-Commit-ID: 4aIX9mSkg1T
2018-05-28 11:27:00 +03:00
Tiberius Oros
1e7b672344 Backed out 3 changesets (bug 1435828, bug 1464472) for build bustages and reftest failures on a CLOSED TREE
Backed out changeset ad6e1c06f4d7 (bug 1464472)
Backed out changeset 18381864eb87 (bug 1435828)
Backed out changeset 637c5fc9bcb4 (bug 1435828)
2018-05-29 03:36:12 +03:00
Jeff Walden
45698b75b8 Bug 1464472. r=jandem
--HG--
extra : rebase_source : dd3a60584c2f2f32f9bbd4dfbfcd5fd6022ed29e
2018-05-26 03:07:36 -07:00
Jeff Walden
8f27f65259 Bug 1435828 - Reimport test262 tests with the json-superset tests not disabled. r=anba
--HG--
extra : rebase_source : 744c7deff23d915d283fea245c9bc26c0e3e2678
2018-05-25 15:41:05 -07:00
Jeff Walden
f33acba296 Bug 1435828 - Allow U+2028 LINE SEPARATOR and U+2029 PARAGRAPH SEPARATOR, encoding those literal code points, inside string literals. r=anba
--HG--
extra : rebase_source : 7a609d2dfa28b6604a03dadb9feed9ba07dfc343
2018-05-25 15:40:30 -07:00
Emilio Cobos Álvarez
189e0dc488 No bug - trivial TopLevelRuleParser construction cleanup. r=me
MozReview-Commit-ID: 5CdOdQPZzyb
2018-05-29 00:31:22 +02:00
Ciure Andrei
b036efa048 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-05-29 00:59:35 +03:00
Ciure Andrei
2f9a3d61e9 Merge inbound to mozilla-central. a=merge 2018-05-29 00:53:52 +03:00
Geoff Brown
35b1fa282a Bug 1462462 - Log mozharness command environment only when it changes; r=jmaher
If the environment used for a mozharness command is identical to the previous
command's environment, report only "same as previous command".
2018-05-28 15:38:27 -06: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