Commit Graph

608314 Commits

Author SHA1 Message Date
Ryan VanderMeulen
783ccf6975 Bug 1476334 - Update HarfBuzz to version 1.8.7. r=jfkthame
--HG--
extra : rebase_source : 48d8469644e5fbb52757f3dcf3e9c3bd4c212142
2018-08-09 09:07:27 -04:00
Eugen Sawin
a9fe7d83f0 Bug 1480813 - [1.0] Use non-animated setProgress method to avoid API level 24 dependency. r=snorp 2018-08-09 16:28:14 +02:00
Eugen Sawin
0e43a32a72 Bug 1480757 - [4.0] Emit load error when blocking load requests for unsafe URIs. r=snorp 2018-08-09 16:27:31 +02:00
Eugen Sawin
e50c9c3c62 Bug 1480757 - [3.0] Add some IntentUtils tests. r=snorp 2018-08-09 16:27:31 +02:00
Eugen Sawin
b89781fbd8 Bug 1480757 - [2.0] Block unsafe URI intent load requests. r=snorp 2018-08-09 16:27:31 +02:00
Eugen Sawin
af25612f9c Bug 1480757 - [1.0] Move safe intent handling utilities from IntentHelper to IntentUtils to make them accessible in GeckoView. r=jchen 2018-08-09 16:27:31 +02:00
Margareta Eliza Balazs
70d6c88eae Backed out changeset a0eacbf25c0f (bug 1473932) for bc failures in toolkit/content/tests/browser/browser_findbar.js on a CLOSED TREE 2018-08-09 16:13:01 +03:00
Masayuki Nakano
8da2dfcf57 Bug 1481148 - Make TSFTextStore::MaybeHackNoErrorLayoutBugs() keep hacking the result of GetTextExt() even on Win10 build 17643 and later for ATOK 2016 and newer r=m_kato
ATOK 2016 and newer may show candidate window at odd position temporarily
when user converts a word quickly (e.g., keep pressing space bar).
For avoiding this flicker, we should keep hacking GetTextExt() result for
ATOK 2016 and later even after Windows fixes TS_E_NOLAYOUT bug.
2018-08-07 15:56:17 +09:00
Jan Varga
d38e92d73f Bug 1399789 - nsSubstringSplitter/nsCSubstringSplitter is not defined anymore; r=erahm 2018-08-09 14:18:22 +02:00
Dão Gottwald
53456218b2 Bug 1473932 - Load findBar.css as a document stylesheet. r=paolo 2018-08-09 11:29:13 +02:00
Lars T Hansen
5284e9667e Bug 1343981 - Perform unaligned memory accesses from high to low on ARM, and emit metadata. r=bbouvier
Three interlocking changes here:

- when accessing an unaligned word, access bytes in high-to-low order
- emit metadata for the first (highest) byte accessed
- when accessing a multi-word item (i64, f64), access the highest
  addressed word first

Most of these changes are straightforward.  In a couple of cases I
un-nested tangled control flows by breaking things into cases; this
leads to a little duplicated code but is IMO much easier to follow.

--HG--
extra : rebase_source : cd3b856b60b22c9e153452e984feeadc64103f25
2018-08-07 18:55:34 +02:00
Jan de Mooij
ece8e1f443 Bug 1481793 part 4 - Use the CCW's realm for Debugger.Object referents. r=jimb
--HG--
extra : rebase_source : eedfb6967d7d1a47b163d70daa8c435a1c0d48a9
2018-08-09 13:34:40 +02:00
Jan de Mooij
fc69dc387b Bug 1481793 part 3 - Assert cross-compartment wrappers don't wrap other CCWs. r=luke
--HG--
extra : rebase_source : 0c46484c8271ca11aa1c2fcf22833a72c14022af
2018-08-09 13:34:40 +02:00
Jan de Mooij
ae8dfe71f2 Bug 1481793 part 2 - Do a CheckedUnwrap in JS_StructuredClone. r=luke
--HG--
extra : rebase_source : 765d3c0be208b6aabc2db0c2aef52a31914b97c8
2018-08-09 13:34:40 +02:00
Jan de Mooij
5149585ee0 Bug 1481793 part 1 - Use assertSameCompartment instead of AutoRealm in JSStructuredCloneWriter::write. r=luke
--HG--
extra : rebase_source : b22d34f26062550f76a8017503c90ae2152c35d2
2018-08-09 13:34:40 +02:00
Masayuki Nakano
a5cfed23c5 Bug 1481153 - part 4: Should stop hacking the result of TSFTextStore::GetTextExt() when Win10 build 17643 only in Nightly or early Beta r=m_kato
We should get feedback from each CJKT testers at least one cycle after Win10
RS5 is released.  Until then, we should not stop hacking GetTextExt() result
in late Beta nor Release builds.
2018-08-07 21:30:52 +09:00
Masayuki Nakano
d928c7f7e1 Bug 1481153 - part 3: Make TSFTextStore::MaybeHackNoErrorLayoutBugs() hack even on Win10 build 17643 or later when Microsoft Pinyin or Microsoft Wubi is active r=m_kato
Microsoft Pinyin and Microsoft Wubi (Simplified Chinese TIPs) work better on
Windows 10 Build 17643 or later (i.e., TS_E_NOLAYOUT bug is fixed).  However,
they sometimes do not show candidate window, perhaps, the reason is something
stateful bug in them.  Therefore, we still need to hack the result of
GetTextExt() until they fix this bug.
2018-08-07 15:09:31 +09:00
Masayuki Nakano
4cb7504106 Bug 1481153 - part 2: Rewrite TSFTextStore::MaybeHackNoErrorLayoutBugs() with switch-case statement with TSFStaticSink::ActiveTIP() r=m_kato
Currently, TSFTextStore::MaybeHackNoErrorLayoutBugs() checks pref to enable
hack first, then, check if active TIP is the target of pref.  This was intended
to save comparison cost of GUIDs.  However, we don't need to worry about the
cost and that was not makes sense since all prefs are true by default.

So, this patch makes the big if-elseif blocks with switch-case with
TSFStaticSink::ActiveTIP().  Then, each case block starts to check if
- if Windows still TS_E_NOLAYOUT bug of GetTextExt().
- if corresponding pref is true.

Note that this duplicates some code for making the code look easier.
E.g., eMicrosoftOfficeIME2010ForJapanese case is duplicated from
the eMicrosoftIMEForJapanese case.  eMicrosoftPinyin and eMicrosoftWubi case
is duplicated from the eMicrosoftChangJie and eMicrosoftQuick case.
2018-08-07 14:12:13 +09:00
Masayuki Nakano
1bb7f99732 Bug 1481153 - part 1: Make TSFStaticSink cache active TIP rather than checking it every time with GUID comparison r=m_kato
As we know, GUID comparison is not cheap if it's required a lot.  Unfortunately,
we need to check it more in TSFTextStore::MaybeHackNoErrorLayoutBugs() and
it's called a lot.  So, even though mapping from GUID to TIP is expensive,
we should do it only once.  Note that most users won't change IME during a
browser session, so, running this expensive method once must be reasonable.
On the other hand, we don't allow to make damage to start up performance,
we should avoid to do it as far as possible.  For example, when we need to
check if active TIP is a specific TIP, we should check current language.
2018-08-06 22:29:14 +09:00
David Heiberg
c9661e61a3 Bug 1476661 - Ensure H2 dependencies are packaged alongside wptserve where needed, r=jgraham
MozReview-Commit-ID: 5tbXeHsvNI5
2018-08-09 11:38:37 +01:00
David Heiberg
f3fd76cbbf Bug 1473648 [wpt PR 11806] - [WIP] Prototype HTTP/2.0 Server, a=testonly
Automatic update from web-platform-tests[WIP] Implemented a prototype H2 Server that can establish HTTP/2.0 connections on port 9000, and serve directories.

* Added event handling for ConnectionTerminated

* Added backwards compatibility with HTTP/1.1 Python handler files.

* Made it so a command line flag is needed to start the H2 server, and it is no longer started by default.

* Refactored compatibility checking when launching HTTP/2.0 server

* Created H1 and H2 handler variants, keeping shared logic in a base class

* Added a `raw_headers` field to the H2Headers object, so that the non-converted keys are exposed

* Added basic multithreading support. Requests now get placed in a thread to finish handling, whilst server listens
for more requests/windows updates.

* Created a ConnectionGuard object for the H2 connection object for thread safety as per jgraham's suggestion

--
Vendored in h2 and its dependencies

--

wpt-commits: 8ccd0cdbb51f89e1c45f16b7843dca1ffca37c91, 0e78a45d9f8ebe9d0f0978d6c2fe59a512e9865b
wpt-pr: 11806
MozReview-Commit-ID: 8qojXnrrAN0
2018-08-09 11:38:36 +01:00
Tiberius Oros
fae00acf70 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-09 13:06:13 +03:00
Tiberius Oros
aff5d4ad5d Merge inbound to mozilla-central. a=merge 2018-08-09 13:02:05 +03:00
Ms2ger
3fe0944e13 Bug 1481436 - Run jstests on changes to wpt; r=sfink 2018-08-09 11:30:56 +02:00
Martin Stransky
4854321662 Bug 1481385 - Calculate bitmap mask size with stride. r=lsalzman
--HG--
extra : amend_source : 950b8705896cbe861366f1ea80f657d5debd097a
2018-08-09 12:10:18 +03:00
Tiberius Oros
10a8cd5f4e Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-09 09:25:15 +03:00
Andreea Pavel
47e0464703 Backed out changeset b4b3be038ab8 (bug 1413546) for failing win testing\firefox-ui\tests\functional\sessionstore\test_restore_windows_after_windows_shutdown.py on a CLOSED TREE 2018-08-09 09:22:25 +03:00
Tiberius Oros
1d1b8fc551 Backed out changeset b5ba45e6ac73 (bug 1480349) requested by igoldan 2018-08-09 08:56:35 +03:00
Hal Wine
d56280bad5 Bug 675428 - register Firefox to handle mailto URLs in Windows r=mhowell
At least in Win10, Firefox is not an option to configure as a mailto handler.

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

--HG--
extra : moz-landing-system : lando
2018-08-08 20:56:45 +00:00
Jeff Gilbert
e97241ae22 Bug 1481983 - Don't mix && and ||. r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D2982

--HG--
extra : moz-landing-system : lando
2018-08-09 01:34:12 +00:00
Miko Mynttinen
04a1360805 Bug 1413546 - Fix e10s logic in nsLayoutUtils::AreRetainedDisplayListsEnabled() and set layout.display-list.retain.chrome to true r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D2953

--HG--
extra : moz-landing-system : lando
2018-08-08 22:02:34 +00:00
Emilio Cobos Álvarez
1fbd784d00 Bug 1481601 - Remove now-useless aPreallocateChildren from nsINode::Clone() and friends. r=bzbarsky
Since sed on multiple lines ended up being such a pain and I didn't end up
writing a script for this because I didn't think it'd end up being so boring, I
may have made a couple cleanups here and there as well...

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

--HG--
extra : moz-landing-system : lando
2018-08-08 23:58:44 +00:00
Xidorn Quan
34de342864 Bug 1464786 - Implement flow-relative values for resize property. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D2908

--HG--
extra : moz-landing-system : lando
2018-08-08 23:40:06 +00:00
Justin Wood
48b3246876 Bug 1481018 - While here Remove unused beetmover defines, that are only a source of confusion. r=tomprince
This beetmover transform is only relevant for Fennec and *-Source platforms at this time.

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

--HG--
extra : moz-landing-system : lando
2018-08-08 20:57:00 +00:00
Rob Wu
4189b1a81e Bug 1280370 - Remove unneeded DomainIsWildcard check r=mixedpuppy
The DomainIsWildcard check is already covered by MatchesDomain.

--HG--
extra : rebase_source : 9d279d219cfeedf6ae2b81c34d5a592e56e8648e
2018-08-08 18:56:53 +02:00
Tom Tung
8c51efc4db Bug 1481753: Remove redundant lines for flipping the flag and checking the storage limits. r=janv
Tags: #secure-revision

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

--HG--
extra : rebase_source : c2cce729d205dc61ce41b9540db1784813dc44c1
2018-08-08 15:43:46 +02:00
Tiberius Oros
76124f4ec0 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-09 09:26:43 +03:00
Matt Woodrow
0ea228cfd7 Bug 1480695 - Add telemetry to record how frequently we encounter a cross-origin <iframe> within a filter. r=mstange,Nika 2018-08-09 16:30:39 +12:00
Coroiu Cristina
aca41ab710 Backed out changeset a18c257cf35d (bug 1480695) for build bustage at build/src/obj-firefox/dist/include/nsDisplayList.h 2018-08-09 07:49:46 +03:00
Matt Woodrow
6e927e7e6d Bug 1480695 - Add telemetry to record how frequently we encounter a cross-origin <iframe> within a filter. r=mstange,Nika 2018-08-09 16:30:39 +12:00
Dorel Luca
5ef9c6f716 Backed out changeset e8023a02b6c2 (bug 1478909) on dev's request 2018-08-09 04:58:04 +03:00
Jeff Gilbert
8e0436b208 Bug 1478909 - Make funcName implicit for WebGL calls. - r=kvark
MozReview-Commit-ID: Gv77SnHZcGb
2018-08-08 16:15:12 -07:00
Daniel Varga
14af3949fc Backed out 3 changesets (bug 1480631) for failure at /home/cltbld/workspace/build/tests/talos/talos/run_tests.py
Backed out changeset ed7dba433629 (bug 1480631)
Backed out changeset dd64a5e6d4df (bug 1480631)
Backed out changeset 910a805c960d (bug 1480631)
2018-08-09 01:46:40 +03:00
Ted Campbell
3d03b347e6 Bug 1479900 - Part 2: Refactor GC relocation to use a reserved flag. r=sfink
This refactors gc::Cell derived types to start with a uintptr_t-sized
field with the low bits reserved for the GC and uses these bits for
relocation mechanism.

- JSString now stores flags in a uintptr_t. On 32-bit platforms, a
  second field is used to hold length.
- Redefine JSString flag bit positions to avoid cell reserved bits.
- Forwarded Cells are now indicated by a reserved flag instead of a
  magic invalid-pointer-like value.
- gc::RelocationOverlay now extends gc::Cell
- Update js::Symbol, js::Scope and js::BigInt fields to be compatible.

MozReview-Commit-ID: Cs5OavbHmqK
2018-08-08 18:16:43 -04:00
Ted Campbell
c8528d6865 Bug 1479900 - Part 1: Use accessor methods for JSString::flags/length. r=sfink
Add accessor methods so that underlying storage strategy can be changed
later. This patch should not change current behaviour.

MozReview-Commit-ID: IRA53TQShe6
2018-08-08 18:16:42 -04:00
Daniel Varga
31ff8cd9c8 Merge mozilla-central to mozilla inbound. a=merge 2018-08-09 01:10:56 +03:00
Mike Hommey
d99b52b6ed Fix up for bug 1481727, because operator priorities are fucked up in C/C++. r=bustage on a CLOSED TREE 2018-08-09 07:07:14 +09:00
Mike Hommey
7be4cc3526 Fix up clang-tidy after bug 1480631. r=bustage 2018-08-09 06:37:11 +09:00
Mike Hommey
6fe1432f2e Bug 1480631 - Switch Linux builds to clang. r=froydnj
This change switches most CI builds to clang, with a few exceptions:
- valgrind builds, until bug 1481670 is figured out.
- PGO and nightly builds, until that's fully tested.
- coverage builds, per bug 1471339 comment 17.
- base toolchain builds, to keep some builds on GCC even when we're
  fully switched to clang.
- any build that doesn't use build/unix/mozconfig.linux (e.g. probably
  all those driven by autospider.py, maybe others).
2018-08-09 06:08:19 +09:00
Mike Hommey
29e5f32cce Bug 1480631 - Copy 32-bits libraries from gcc to clang. r=froydnj
We already copy the 64-bits libraries, but don't copy the 32-bits
libraries, which prevents building for linux32 by default.

Incidentally, this also makes the clang build system build the 32-bits
compiler-rt libraries, allowing e.g. 32-bits PGO.
2018-08-09 06:08:12 +09:00