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

582118 Коммитов

Автор SHA1 Сообщение Дата
Dorel Luca c241a94698 Backed out changeset a95360977f76 (bug 1428453) for arm build bustage 2018-02-19 23:18:06 +02:00
Luke Wagner c921526073 Bug 1428453 - Baldr: use new traps for bad indirect call signature trap (r=bbouvier) 2018-02-19 14:53:14 -06:00
Ben Kelly 5ff28b6a7f Bug 1439212 Make ServiceWorkerRegistrationWorkerThread::ShowNotification() check for nullptr mWorkerPrivate. r=asuth 2018-02-19 12:07:48 -08:00
Ben Kelly eb78122ad1 Bug 1439099 P3 Remove ServiceWorker::MatchesDescriptor() in favor of Descriptor().Matches(). r=asuth 2018-02-19 12:06:19 -08:00
Ben Kelly e67b89fe1c Bug 1439099 P2 Remove ServiceWorkerRegistrationInfo::GetByID(). r=asuth 2018-02-19 12:06:19 -08:00
Ben Kelly ced996a4df Bug 1439099 P1 Make ServiceWorker::Create() get the ServiceWorkerInfo using a full descriptor match instead of just by ID. r=asuth 2018-02-19 12:06:19 -08:00
Jonathan Watt f6cb92ef33 Bug 1432409 part 1 - Prevent nsDeviceContextSpecProxy using RemotePrintJobChild if initialization fails. r=dholbert
When RemotePrintJobChild::InitializePrint sends a message to the parent
process to ask it to initialize printing it spins the event loop and
waits for a reply.  If the parent fails to initialize printing it will
send back an error message followed immediately by a second message
telling the child process to delete its RemotePrintJobChild.  The error
message causes the nested event loop to terminate and blocks
RemotePrintJobChild::InitializePrint.  We then do various async things
to clean up, some of which can try to post messages to the parent
process's RemotePrintJobParent.  This is a problem since the delete
message is pending in the child process's event loop resulting in a
race between the code that wants to use the RemotePrintJobChild to send
a message to the parent process, and the delete event that will make us
crash if anyone tries to use the RemotePrintJobChild.

This patch makes sure that if nsDeviceContextSpecProxy's BeginDocument
returns failure (remote print job initialization failed) that its
EndDocument and AbortDocument methods are then no-ops and will not try
to use its RemotePrintJobChild.  (BeginPage and EndPage are not changed
since they are not called if BeginDocument returns an error result.)

MozReview-Commit-ID: 2H6GHjngX7R
2018-02-16 14:53:26 +00:00
Luke Wagner be9a2c904e Bug 1428453 - Baldr: fix tests/wasm/profiling.js (r=me) 2018-02-19 22:46:48 -05:00
Luke Wagner 49d9bc1a33 Bug 1428453 - Baldr: use new traps for bad indirect call signature trap (r=bbouvier)
--HG--
extra : rebase_source : 7dfb6e3c42f1b8c0f5d261f7133d75f9dc6af1f5
2018-02-19 14:53:14 -06:00
Chris Pearce 1cfc65da51 Bug 1392747 - Backed out changeset 6524c2d721db. r=backout
The logging added in this patch was landed to help debug very rare shutdown
failures on android, but the logging runs on other platforms and is annoying.
No one is looking at fixing the rare shutdown problem on Android. So remove the
logging until fixing the shutdown failure becomes a priority.
2018-02-20 15:54:00 +13:00
Kartikey 9d57bd2ba2 Bug 1011480 - Remove CommonUtils.laterTickResolvingPromise() and replace it by Async.promiseYield() and Async.jankYielder(). r=eoger
MozReview-Commit-ID: 3YSGVKgqdUq
2018-02-20 10:31:58 +08:00
Nicolas Chevobbe 905b05a8b6 Bug 1438442 - Fix styled console.log issue with empty style; r=Honza.
It is totally valid to declare an empty style in styled console.log.
But we were appending a space after a string with empty style because
we were checking that the style wasn't falsy, and empty string is falsy.
We fix that by checking against undefined.
A test is added to make sure we don't regress that.

MozReview-Commit-ID: EOQ49Gt0Cr9

--HG--
extra : rebase_source : bf711afa76dd784d3cf1f973c47e4aa139d5bc5e
2018-02-15 09:09:36 +01:00
André Bargull 625222bdc4 Bug 1438303: Update steps and step comments in Intl files. r=gandalf 2018-02-14 12:29:36 -08:00
André Bargull 04c864d3c5 Bug 1437530: Cache template literal objects per call site again. r=arai 2018-02-19 05:07:29 -08:00
philipp 3971a035c7 Bug 1043775 - Put old versions of GDATA GDKBFltDll64.dll on Dll blocklist. r=marco 2018-02-14 09:51:00 +02:00
Florian Quèze 055aab242e Bug 1403648 - set the 'focused' attribute on the urlbar by default, and remove it when we are unsure, to avoid flickering of the urlbar-history-dropmarker, r=johannh. 2018-02-14 22:15:05 +01:00
Florian Quèze 708b543532 Bug 1403648 - set urlbar focus and about:home favicon in the DOMContentLoaded handler to reduce window open flicker, r=johannh. 2018-02-14 22:15:05 +01:00
Florian Quèze ed88da887a Bug 1403648 - focus the urlbar at first paint without waiting for a promise to resolve in most cases, r=johannh. 2018-02-14 22:15:05 +01:00
Nathan Froyd a51fed2b98 Bug 1439362 - make nsBase64Encoder slightly less malloc-happy; r=valentin
nsBase64Encoder::Finish currently works by calling PL_Base64Encode to
allocate a base64-encoded string, then Assign()'ing that to the result
string, another allocation.  mozilla::Base64Encode enables us to base64
encode directly into the result string with a single allocation, saving
an allocation.  (Base64Encode is also slightly more efficient, because
we don't have to do a strlen() on the string being Assign()'d.)  Let's
use Base64Encode instead.
2018-02-19 10:28:00 -05:00
Csoregi Natalia 7d7b21f5ed Merge inbound to mozilla-central. a=merge 2018-02-19 11:49:42 +02:00
Makoto Kato 8a6cab48a9 Bug 1431336. r=smaug a=abillings
--HG--
extra : rebase_source : 883af4d45ba7c29e1e67d22fc00d4442a3434fcc
2018-02-19 12:14:00 +09:00
Hiroyuki Ikezoe 9721d084da Bug 1439279 - Drop needless requestAnimationFrame in reftest for web-animation. r=birtles
Refrests without specifing reftest-no-flush flush all pending styles so that
we don't need to wait for a requestAnimationFrame to apply the final style
changes.

MozReview-Commit-ID: lAFsFG8CrE

--HG--
extra : rebase_source : 46ba219da0ccbb1bee0d8243b7e2ee5f8d81a13f
2018-02-19 10:57:53 +09:00
Hiroyuki Ikezoe 5342ead8c3 Bug 1439279 - Append animating element after animation gets ready. r=birtles
This test is supposed to append *animating* element to the document.

MozReview-Commit-ID: 39kvw6IYRF9

--HG--
extra : rebase_source : 510e99190fb60067b0bf404c37d7250e2d994ff0
2018-02-19 10:57:53 +09:00
Hiroyuki Ikezoe b08072ea30 Bug 1439279 - Drop needless requestAnimationFrame that waits for applying new transition. r=birtles
getComputedStyle() ensures triggering new transitions, so we don't need to wait
for a requestAnimationFrame callback.

MozReview-Commit-ID: Bes1vQeHohI

--HG--
extra : rebase_source : fdb8face312a471be5f93229a9fbbfd4fc59418f
2018-02-19 10:57:53 +09:00
Kartikaya Gupta e9cad65dd5 Bug 1438866 - Mark empty filenames not interesting. r=emilio
In some cases we have SourceLocation objections that are isMacroId()
rather than isFileId() and so don't have a filename at all. In other
cases the filename is something clang-internal like "<scratch>". In
both of these situations we don't want to output any analysis data.
However, the code previously was taking the empty filename and resolving
it relative to the source folder, and then tried to write to the
source folder or create a file corresponding to a subfolder. This
resulted in general badness. This patch makes sure we ignore analysis
from places that don't have a corresponding file so that we don't
have this problem.

MozReview-Commit-ID: 7WluygY9Uy8

--HG--
extra : rebase_source : 35d7e71fc05bbd5a3357a57db9de25782178622a
2018-02-18 22:18:57 -05:00
Dan Glastonbury 35b53a22df Bug 1428947 - Check plane width & stride constraints. r=mattwoodrow
MozReview-Commit-ID: HEcMG4JoEl3
2018-02-19 11:41:41 +10:00
Cosmin Sabou 51d7858801 Merge mozilla-central to inbound. a=merge on a CLOSED TREE 2018-02-19 00:02:09 +02:00
Cosmin Sabou 768831260e Backed out 2 changesets (bug 1437428) for frequent xpcfailures on marAppApplyUpdateStageOldVersionFailure.js a=backout
Backed out changeset b915e160a690 (bug 1437428)
Backed out changeset 0fcad4eaabb6 (bug 1437428)

--HG--
rename : tools/profiler/core/RegisteredThread.cpp => tools/profiler/core/ThreadInfo.cpp
2018-02-18 23:57:55 +02:00
Cosmin Sabou 0548f006a3 Merge inbound to mozilla-central. a=merge 2018-02-18 23:54:56 +02:00
Cosmin Sabou b213831404 Merge autoland to mozilla-central. a=merge 2018-02-18 23:53:23 +02:00
ffxbld 3e2e7c414f No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2018-02-18 11:51:04 -08:00
ffxbld 18e9f8b8e0 No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2018-02-18 11:51:00 -08:00
Margareta Eliza Balazs 5536f71c38 Merge inbound to mozilla-central. a=merge 2018-02-18 18:41:41 +02:00
Robert Longson 728a3f36fc Bug 1435477 - Make the SVG dom code use the WebIDL constants from the bindings r=jwatt 2018-02-18 15:53:13 +00:00
Kartikaya Gupta 87bfbc06cf Bug 1438866 - Add some utility code to help with debugging. r=emilio
This adds an RAII class and macro that can be quickly added in functions
to log entry/exit from the function. This is useful to debugging.

MozReview-Commit-ID: 4Ud8jLOxI0R

--HG--
extra : rebase_source : 518d30fe44dff67bffb186e23c1eb858c02280af
2018-02-16 17:07:39 -05:00
Kartikaya Gupta 31c634d913 Bug 1438866 - Use proper path separators for windows. r=emilio
The indexer has paths handed to it on Windows with the backslash path separator.
However it currently hard-codes the forward-slash Unix/macOS path separator,
so we need to generify that code appropriately.

MozReview-Commit-ID: Iy8bImt2BXW

--HG--
extra : rebase_source : 4b88b44319c05ce816afc4e690d3d33d39b7e43c
2018-02-16 17:07:39 -05:00
Tom Schuster db56d2ee65 Bug 1431095 - Change Content-Type-Options: nosniff allowed script MIME types to match the spec. r=ckerschb
--HG--
extra : rebase_source : e4047e619b88bbb025f3eab27e8e1a826a9429b7
2018-02-16 19:32:11 +01:00
Tooru Fujisawa dc9e1f8ab9 Bug 1438599 - Part 2: Import fdlibm from FreeBSD (revision b21ccf63f28a3a4692d8a31419e0a725a1b1a800). r=jwalden 2018-02-18 22:56:46 +09:00
Tooru Fujisawa cacb9bf19b Bug 1438599 - Part 1: Rebase local patches for fdlibm. r=jwalden 2018-02-18 22:56:38 +09:00
Tooru Fujisawa 777d46a71e Bug 1438599 - Part 0: Echo the applying patch in fdlibm update script. r=jwalden 2018-02-18 22:56:29 +09:00
Sebastian Hengst 26076857ec Bug 1432358: Fix test annotation. r=bustage-fix 2018-02-18 15:31:12 +02:00
Christoph Kerschbaumer 1a159d2504 Bug 1432358: Disable test_ext_contentscript_triggeringPrincipal on win debug for timeout failures. r=aryx 2018-02-16 11:37:24 +01:00
Kit Cambridge eb8e51bd1d Bug 1438740 - Add a consistency check to ensure the synced bookmark mirror matches Places. r=markh
MozReview-Commit-ID: CGzXDy95Bkx

--HG--
extra : rebase_source : fed4a4a91512780d77d38783939bef2d9bb630ae
2018-02-15 18:36:24 -08:00
Cosmin Sabou 6e3859bfa5 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-02-19 00:00:43 +02:00
Miko Mynttinen b33fd91dae Bug 1438527 - Use non-empty bounds for nsDisplayCompositorHitTestInfo to ensure proper layer assignment r=mattwoodrow
MozReview-Commit-ID: 5CCN8t7ytP5

--HG--
extra : rebase_source : 64bebe22a166a3b26d6b42d9ef9f4a8178afd910
2018-02-16 02:01:18 +01:00
shindli 58aef5128f Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-02-18 11:39:20 +02:00
shindli 6afe060566 Merge inbound to mozilla-central. a=merge 2018-02-18 11:35:16 +02:00
Kris Maglione 1401a05564 Fix typo JSON.serialize -> JSON.stringify. (no bug) r=trivial
MozReview-Commit-ID: J94OgyyiDQ5
2018-02-17 19:52:06 -08:00
Daniel Holbert dca25b1820 Bug 1433339: Apply single-item fallback behavior for 'space-between' more directly, in flexbox code. r=mats
MozReview-Commit-ID: BRx4xGaJS6y

--HG--
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-align-content-horiz-001-ref.xhtml => layout/reftests/flexbox/flexbox-align-content-horizrev-001-ref.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-align-content-horiz-001a.xhtml => layout/reftests/flexbox/flexbox-align-content-horizrev-001.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-align-content-vert-001-ref.xhtml => layout/reftests/flexbox/flexbox-align-content-vertrev-001-ref.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-align-content-vert-001a.xhtml => layout/reftests/flexbox/flexbox-align-content-vertrev-001.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-horiz-001-ref.xhtml => layout/reftests/flexbox/flexbox-justify-content-horizrev-001-ref.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-horiz-001a.xhtml => layout/reftests/flexbox/flexbox-justify-content-horizrev-001.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-001-ref.xhtml => layout/reftests/flexbox/flexbox-justify-content-vertrev-001-ref.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-001a.xhtml => layout/reftests/flexbox/flexbox-justify-content-vertrev-001.xhtml
extra : rebase_source : 61fbefa6758677dd90872b02deb636a3d6c6887b
2018-02-17 16:59:01 -08:00
Andreea Pavel 8c17198d4b Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-02-17 23:49:01 +02:00