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

547761 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky 24a1bc48da Bug 1379762 part 1. Don't call MediaFeaturesChanged if our override device pixel ratio is set to its current value. r=dbaron 2017-07-17 23:21:41 -04:00
Boris Zbarsky d51238dc20 Bug 1380549. Remove unnecessary strdup in stringbundle code. r=glandium
We just have one allocator around now.
2017-07-17 23:21:31 -04:00
Boris Zbarsky 4e6a3f8350 Bug 1378985. Align DOMException webidl with the updated spec. r=qdot
This makes DOMException.prototype.toString() throw when it wouldn't have
before.  But it throws in other browsers already, so this is presumably web-compatible.
2017-07-17 23:21:21 -04:00
Marco Bonardo 3c6bd16b59 Bug 1347427 - Remove intermittent browser_bug248970.js test, cause it's not testing anything useful. r=standard8
MozReview-Commit-ID: 6P6UixK13Ns

--HG--
extra : rebase_source : 2f31ead6fc3f4d025296e1e409421558d410a6c7
2017-07-17 21:59:41 +02:00
Rail Aliiev 05c629bd15 Bug 1380781 - Mac release promotion l10n repacks fail to download find mkfshfs r=glandium
MozReview-Commit-ID: IYSAv7VMbzF

--HG--
extra : rebase_source : 0611ca846b81138ffedb73cff13f03c8f92e2122
extra : source : 54e8fa77f5e98be992c029213caf551cda0beb32
2017-07-18 07:13:10 -04:00
Sebastian Hengst 18676dd17d Backed out changeset 87e8ccdd8aa6 (bug 1381569) for failing browser/base/content/test/performance/browser_windowopen_reflows.js on Windows 8 x64. r=backout 2017-07-18 13:08:47 +02:00
Eitan Isaacson eafbb9b65a Bug 1381544 - Extend narrate probes to version 60. r=Gijs, data-r=bsmedberg
--HG--
extra : rebase_source : 0fd23ec72b438d9ffa4bec87ea877d113a20015c
2017-07-17 09:15:00 -04:00
Mike Conley 64aeac5f8b Bug 1381944 - Adjust browser_notification_open_settings.js to work with both old and new forms of about:preferences. r=jaws
MozReview-Commit-ID: 9JIcNFnz0hv

--HG--
extra : rebase_source : d2e2f14b61b03255b5c8dad4c9c1acdde9e85a62
2017-07-18 12:02:05 -07:00
Henry Chang efe126200b Bug 1381437 - Re-org testing promises to avoid racy tesing result. r=smaug, yoshi
MozReview-Commit-ID: BqOUcHxw7MW

--HG--
extra : amend_source : e8c9df103b029a1454f881b77bdd1492661cc105
2017-07-17 19:46:56 +08:00
Shu-yu Guo 78323cab13 Bug 1368737 - Fix 'this' computation for Debugger.Frame.eval. (r=jimb) 2017-07-17 18:45:52 -07:00
Shu-yu Guo 81c208d0c8 Bug 1366927 - Rework column handling in frontend by separating column from offset from root ScriptSource buffer. (r=jimb)
The idea is this:

Offsets, like token positions and scripts' begin/end and
toString{Start,End}, are now always offset from the beginning of the
script's full ScriptSource buffer. That is, when delazifying, if the
buffer we are parsing is an interior pointer into some outer script's
ScriptSource buffer, the token offsets for that parsing session are
still offset from that outer buffer instead of the interior pointer.

The initial column number in CompileOptions will be added to the column
number when an offset maps to the initial line of the ScriptSource.
Columns are computed from offsets, but have no bearing on how to index
into the ScriptSource buffers.
2017-07-17 18:45:52 -07:00
Wes Kocher fd488a1db1 Bug 1374446 - Followup to fix manifest syntax a=bustage
MozReview-Commit-ID: DBtzJSPmyVu
2017-07-17 18:10:46 -07:00
John Lin 8919c69749 Bug 1365205 - part 2: execute callback directly when already on the right looper/thread. r=esawin
MozReview-Commit-ID: 4rceodXTV3a

--HG--
extra : rebase_source : e776b405fc06d88ff097a98915a6c5cbe9042bb9
2017-07-17 11:40:17 +08:00
John Lin 6c297ac852 Bug 1365205 - part 1: check for buffer validness before processing it. r=esawin
flush() invalidates all buffers so buffer callbacks emitted earlier than that should not proceed when they're executed after.

MozReview-Commit-ID: 3KjCmW2VwTy

--HG--
extra : rebase_source : 11ea4f017e3add355f70762f8f43f82829f9ccd2
2017-07-17 11:36:49 +08:00
Alastor Wu 8fa2796b1e Bug 1364340 - enable dom/media/test/test_resolution_change.html on Android. r=bechen
MozReview-Commit-ID: EvtkgkyFbIp

--HG--
extra : rebase_source : 184096007d748d3564f5ad1bcbc9e67da4118970
2017-07-19 10:57:23 +08:00
Masayuki Nakano 80bbd2acaf Bug 1376693 - part3: Make callers of nsPrintEngine::Print() and nsPrintEngine::PrintPreview() guarantee that instance of nsPrintEngine won't be deleted during the calls r=dholbert
This patch makes callers of nsPrintEngine::Print() and
nsPrintEngine::PrintPreview() grab the nsPrintEngine instance with local
variable before calling them.  That guarantees that instance of nPrintEngine
won't be deleted during the calls.  (We already had a RefPtr in CommonPrint
that basically did this.  This patch moves it out to the callers to strengthen
its guarantee.)

MozReview-Commit-ID: 2jlYC4RKAg6

--HG--
extra : rebase_source : e6eac8df88e1d81d67a879786a2403ca00e84036
2017-07-19 14:06:04 +09:00
Masayuki Nakano 70f0bb4639 Bug 1376693 - part2: Make nsPrintEngine::DoCommonPrint() stop initializing the instance when the owner stops using the instance r=dholbert
nsPrintEngine::FinishPrintPreview() may be called when nsAutoScriptBlocker is destroyed in nsPrintEngine::DoCommonPrint().  That means that the owner stopped print preview with the instance.  In this case, nsPrintEngine::DoCommonPrint() doesn't need to keep initializing the instance anymore.

MozReview-Commit-ID: DRQfmyW9FEL

--HG--
extra : rebase_source : a49c0f5c74c24710334559496d173c3bae08db01
2017-07-18 19:03:36 +09:00
Masayuki Nakano cf239d5fa0 Bug 1376693 - part1: Make nsPrintEngine::SetupToPrintContent() return early if mPrt->mPrintObject isn't initialized r=dholbert
nsPrintObject::mPresShell and nsPrintObject::mPresContext are initialized by
nsPrintEngine::ReflowPrintObject().  However, while
nsPrintEngine::DoCommonPrint() is initializing mPrt and mPrintObject,
destroying nsAutoScriptBlocker may cause calling nsDocumentViewer::Destroy()
or nsPrintEngine::FinishPrintPreview() directly.  Then,
nsPrintEngine::SetupToPrintContent() will be called.  Therefore,
nsPrintEngine::SetupToPrintContent() sometimes see uninitialized mPrt, or
mPrt->mPrintObject->mPresShell and mPrt->mPrintObject->mPresContext.

Therefore, this patch makes nsPrintEngine::SetupToPrintContent() check whether
the necessary objects are already initialized.  When one of them is not
initialized as expected, it won't to do anything.

Note that mPrt->mPrintObject is never nullptr with current design, but this
patch makes the method check it for preventing similar crash which might be
regressed with other bug fix in the future.

MozReview-Commit-ID: JKfObRm5enm

--HG--
extra : rebase_source : 977e9ffd7fc43fbeb3fac7dbd640df5a426a7427
2017-07-19 13:50:35 +09:00
UK992 157e06d64d Bug 1372043 - Set height on titlebar buttons only in miximized window r=dao
MozReview-Commit-ID: 5wMN83E72in

--HG--
extra : rebase_source : b3425f1105c70fd85e057493d33c97eadfcdd2e9
2017-07-15 21:16:56 +02:00
Jan Odvarko 31dec8468a Bug 1380927 - Fix context menu alias; r=rickychien
MozReview-Commit-ID: LcJQiWF61rC

--HG--
extra : rebase_source : 796fe221d86654ac96df40a58b3dd1bbaa72c22c
2017-07-14 09:13:43 +02:00
Sebastian Hengst 62a9085842 Backed out changeset bec6c4becfd9 (bug 1375816) for bustage in gfxVROculus.cpp on Windows. r=backout 2017-07-18 11:49:37 +02:00
Sebastian Hengst becce95e2d Backed out changeset ab013a0a0ae5 (bug 1375816) 2017-07-18 11:48:31 +02:00
Sebastian Hengst 8689e62ade Backed out changeset 13155b1e7a48 (bug 1375816) 2017-07-18 11:48:26 +02:00
Sebastian Hengst b5972de663 Backed out changeset 498baf1613db (bug 1375816) 2017-07-18 11:48:22 +02:00
Samuel Vargas 94c5974444 Bug 1380891 - WebGL Conformance sdk/tests/conformance/state/gl-enable-enum-test.html. r=jgilbert
--HG--
extra : rebase_source : 38c64d4a50d8c4fc2e5275724d0bd08bb31f0e99
2017-07-13 17:27:00 -04:00
Rok Garbas 8c33261168 Bug 1364650 - retry on ChunkedEncodingError; r=gps DONTBUILD CLOSED TREE
MozReview-Commit-ID: 5F9ZwOvFG2V

--HG--
extra : histedit_source : 2bc1174c8c359d97ac60c48d60863ce1e4c95298
2017-07-18 23:02:29 +01:00
Sebastian Hengst e14a8f51d7 Backed out changeset aa6ecfc06517 (bug 1381423) for failing devtools' browser_dbg_variables-view-large-array-buffer.js on Windows 7 debug. r=backout on a CLOSED TREE 2017-07-18 20:17:57 +02:00
Alessio Placitelli 6a79411181 Bug 1381617 - Enable stricter scalar, histogram and events expiration validation. r=chutten
MozReview-Commit-ID: 9q93hOYsNUo
2017-07-18 09:59:00 +02:00
Ryan VanderMeulen a064d6dbfc Merge m-c to inbound. a=merge 2017-07-18 13:00:03 -04:00
Ryan VanderMeulen f142e0a216 Backed out 4 changesets (bug 1315885) for merge conflicts with bug 1377993.
Backed out changeset c6dcdfe7ac54 (bug 1315885)
Backed out changeset c8bc78492b81 (bug 1315885)
Backed out changeset 7ba49d85f30c (bug 1315885)
Backed out changeset d592ae3b61bf (bug 1315885)
2017-07-18 12:58:46 -04:00
Aaron Klotz 5e6827da6d Bug 1380214: Ensure that if the handler payload fails to serialize that we may still marshal the accessible itself; r=eeejay
MozReview-Commit-ID: VH06GAR7Ph
2017-07-17 17:19:58 -06:00
Jon Coppeard 9021f21c69 Bug 1380387 - Disable gczeal in GC marking test r=me 2017-07-18 16:56:31 +01:00
André Bargull 03d9b8eaa6 Bug 1381423 - Generate slightly better code for visitCallGeneric and RangePopFront. r=jandem 2017-07-18 17:34:15 +02:00
Sebastian Hengst b63513ed85 Backed out changeset aeb1787900b8 (bug 1381423) for failing devtools/client/webconsole/test/browser_webconsole_output_05.js. r=backout 2017-07-18 17:29:31 +02:00
Sebastian Hengst 367d6fd973 Backed out changeset 07dd7b5ed0e8 (bug 1381433) 2017-07-18 17:28:42 +02:00
Ryan Hunt f116107a57 Bug 1379280 - Only do async keyboard scrolling for a selection, not a focused element. r=smaug
This commit changes async keyboard scrolling to be enabled only if the content to
scroll is from a selection. This works around the problem of detecting whether
an arbitrary element has key listeners that should prevent async key scrolling,
because when they have the focus we will have disabled async key scrolling.

MozReview-Commit-ID: 6HhSuGZNsMX

--HG--
extra : rebase_source : 98a6449dd1e913136ca66532a67df8e0bb717e52
2017-07-13 15:53:26 -05:00
Ryan Hunt 74d75aee90 Bug 1379280 - Move FocusTarget include from nsIPresShell to PresShell. r=smaug
FocusTarget used to be needed in nsIPresShell, but it was moved to PresShell.

MozReview-Commit-ID: HQFpT9OJaUz

--HG--
extra : rebase_source : ddc29462fc71f8a71dd2419823ddf6f7e92a60ce
2017-07-13 13:00:21 -05:00
Ryan Hunt 96c95dcf9e Bug 1381736 - Fix modifier masks for APZ keyboard shortcuts. r=masayuki
MozReview-Commit-ID: LGQzHabEqrz

--HG--
extra : rebase_source : 423970ec88f200f89c05e6bb697e8eeac7078641
2017-07-18 02:03:14 -04:00
Benjamin Bouvier 1e52c56b0d Bug 1381930: Move JitFrameIterator methods to their own cpp file; r=nbp
MozReview-Commit-ID: 6ShujTv5EIM

--HG--
extra : rebase_source : 099f4dc7dccf11dcffe88d8fafea1fcc9e8f3412
2017-07-18 20:10:48 +02:00
Benjamin Bouvier a2da47dfdd Bug 1381930: Use delegating ctors for JitFrameIterator; r=nbp
MozReview-Commit-ID: 1tmUQ9yPQSd

--HG--
extra : rebase_source : df76df2473d24478190d566082e3446dbe61b3c9
2017-07-18 19:36:25 +02:00
Benjamin Bouvier b79d31c403 Bug 1382040: Fix benign assertion issue when decoding wasm names; r=luke
MozReview-Commit-ID: KPefZhEo5si

--HG--
extra : rebase_source : 1e7584e7a2c7705fb7a5334aecb3a6ee14fac5b4
2017-07-19 12:15:19 +02:00
Ehsan Akhgari 43091e2839 Bug 1379282 - Improve XPCOM's pointer hashing functions for pointers to neighboring memory locations; r=erahm
The simplistic shift-based hashing function creates a lot of collisions
for pointers pointing to arrays as it doesn't do a great job at distributing
the data randomly based on the input bytes.
2017-07-19 14:16:35 -04:00
Andrew Osmond 7deae0134b Bug 1359833 - Part 10. Add telemetry to track how often imgRequestProxy needs to dispatch. r=tnikkel data-r=bsmedberg 2017-07-19 14:15:12 -04:00
Andrew Osmond 9cc95e86c2 Bug 1359833 - Part 9. Fix image mochitests to not assume a particular order of events. r=tnikkel 2017-07-19 14:15:12 -04:00
Andrew Osmond 3f2ef119ba Bug 1359833 - Part 8. ScriptedNotificationObserver should use nsAutoScriptBlocker when issuing notifications. r=tnikkel 2017-07-19 14:15:12 -04:00
Andrew Osmond 8a1d7d4bf1 Bug 1359833 - Part 7. nsImageLoadingContent native observers should use the new API. r=tnikkel 2017-07-19 14:15:12 -04:00
Andrew Osmond a0321e7db6 Bug 1359833 - Part 6. nsImageLoadingContent should not associate scripted and XPCOM observers with the same document. r=tnikkel 2017-07-19 14:15:11 -04:00
Andrew Osmond 02e515fc18 Bug 1359833 - Part 5. Callers pass the loading document to imgRequestProxy::SyncClone and GetStaticRequest. r=tnikkel 2017-07-19 14:15:11 -04:00
Andrew Osmond 02a3031379 Bug 1359833 - Part 4. imgLoader should pass down the loading document to the imgRequest. r=tnikkel 2017-07-19 14:15:11 -04:00
Andrew Osmond 614095af6d Bug 1359833 - Part 3b. Split imgRequestProxy::Clone into Clone and SyncClone. r=tnikkel
imgRequestProxy::SyncClone preserves the original behaviour of issuing
synchronous notifications once cloned. Some uses and tests depend on
this behaviour but in an ideal world, it would not be required.

imgRequestProxy::Clone is intended to be the replacement going forward,
which issues asynchronous notifications once cloned.
2017-07-19 14:15:11 -04:00