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

605165 Коммитов

Автор SHA1 Сообщение Дата
Jan de Mooij 8c93c6e9e8 Bug 1475559 part 5 - Pass a global object to nsScriptErrorWithStack. r=bz
The stack object might be a CCW and we want to make it impossible to get a CCW's global. Now the caller has to supply a same-compartment global object, so we no longer rely on getting the CCW's global.
2018-07-21 14:34:37 +02:00
Jan de Mooij 90cedbd436 Bug 1475559 part 4 - Remove unnecessary nsScriptError::ToString call in JSErrorToXPCException. r=bz
formattedMsg was passed to XPCConvert::ConstructException, but there we call GetMessageMoz and use that instead.
2018-07-21 14:34:20 +02:00
Jan de Mooij 3536a9cbcb Bug 1475559 part 3 - Add JS::IsUnwrappedSavedFrame and assert this in JSStackFrame's constructor. r=bz 2018-07-21 14:33:22 +02:00
Jan de Mooij 41bc700eb1 Bug 1475559 part 2 - Rename JS::IsSavedFrame to JS::IsMaybeWrappedSavedFrame and do some minor cleanup. r=bz
Our JS::IsFoo APIs usually don't check for wrappers so being explicit about this seems useful.
2018-07-21 14:32:25 +02:00
Jan de Mooij ce0a15eebb Bug 1475559 part 1 - Remove unused GetFirstSubsumedSavedFrame API. r=bz 2018-07-21 14:31:40 +02:00
Olli Pettay e909e859a5 Bug 1100912, make dir-state to propagate through shadow DOM, r=mrbkap 2018-07-21 13:11:06 +03:00
shindli 30d6e52bc7 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-07-21 12:37:10 +03:00
Cosmin Sabou f42947acdf Backed out 6 changesets (bug 1451104) for causing build bustages on OS X Cross Compiled. CLOSED TREE
Backed out changeset 8984f6868e57 (bug 1451104)
Backed out changeset ae7ccb8c938d (bug 1451104)
Backed out changeset 52d37e70b6f1 (bug 1451104)
Backed out changeset 47405e33747c (bug 1451104)
Backed out changeset b4ebc9a500f4 (bug 1451104)
Backed out changeset b93c29157feb (bug 1451104)
2018-07-21 03:18:37 +03:00
Sam Foster 799c3f4923 Bug 1447777 - Add completion fail and timeout error pages. r=MattN
* A new CompletionErrorPage / completion-error-page element which represents the content of the completion error
* Leave the dialog open when complete() results in a 'fail' or 'timeout'.
* The 'done' button on the fail & timeout error page closes the dialog by sending a message up to the paymentDialogWrapper.
* Rewrite the pay button rendering logic to ensure it is disabled when it should be
* Retry handling and UI not addressed here. Will need a new bug when the DOM support has landed.
* Extend completeStatus support in debugging.html and group like actions to tidy up a bit

MozReview-Commit-ID: GDhJqrj14uT

* Add tests to verify that the dialog stays open when completion fails or times out
* Add tests to verify that complete() throws after the timeout
* Rework completeStatus mochitest for PaymentDialog

MozReview-Commit-ID: 4ZNVEYMp7h5

--HG--
extra : rebase_source : 1d8e691eb44e74156a956dff73e1359af2a6934a
2018-07-20 15:51:52 -07:00
Cosmin Sabou 0676c53741 Merge mozilla-central to mozilla-inbound. a=merge 2018-07-21 00:51:00 +03:00
Cosmin Sabou 0d3874d7d6 Merge mozilla-inbound to mozilla-central. a=merge 2018-07-21 00:42:01 +03:00
Cosmin Sabou 1b2d97930a Merge autoland to mozilla-central. a=merge 2018-07-21 00:39:51 +03:00
Ryan VanderMeulen 7c56172d60 Backed out 5 changesets (bug 1465616) for causing Fennec scrolling regressions.
Backed out changeset 403ba3d9539a (bug 1465616)
Backed out changeset ea79ddd406f4 (bug 1465616)
Backed out changeset 559c8997eb53 (bug 1465616)
Backed out changeset 3f5ca59998bf (bug 1465616)
Backed out changeset 9e48a27950be (bug 1465616)

--HG--
extra : amend_source : 8cc378d26e9fea0ed6277b69f227191e849001d8
2018-07-20 14:40:51 -04:00
André Bargull 41ec8b1dd3 Bug 1449986: Use NewBuiltinClassInstance when requesting default prototype. r=jorendorff 2018-07-20 10:46:36 -07:00
Tiberius Oros 10e6320abc Merge inbound to mozilla-central. a=merge 2018-07-20 12:56:59 +03:00
Sebastian Hengst 050c18ab84 Bug 1471704 - Reftest annotation changes for tiling on linux with webrender: set background-position tests as passing. r=me 2018-07-20 10:44:59 +03:00
Tooru Fujisawa d9086904d4 Bug 1456006 - Part 1: Add SwitchEmitter. r=jwalden 2018-07-20 16:13:56 +09:00
Tooru Fujisawa d9e4da676c Bug 1456006 - Part 0: Add reportError and reportExtraWarning variants to receive offset instead of ParseNode. r=jwalden 2018-07-20 16:13:56 +09:00
Bob Clary 43a7c80ca2 Bug 1402406 - do not format log message if super MochitestFormatter returns None, r=gbrown 2018-07-20 00:12:45 -07:00
Tom Prince 765503a54d Bug 1472930: [release] Decrease max runtime for update-verify; r=jlorenzo
These typically run for 25-50 minutes. So, if they are taking longer than that,
there is likely a problem.

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

--HG--
extra : moz-landing-system : lando
2018-07-20 05:55:18 +00:00
Sam Foster 4fe42163ad Bug 1447777 - Move state.completionState to state.request.completeStatus. r=MattN
* Spot-fix order details test to clone request before modifying it

MozReview-Commit-ID: AXjI1veRSk9

--HG--
extra : rebase_source : ee12efc493c343b9f18cee2cb281a5fe6731731d
2018-07-19 19:45:58 -07:00
Bobby Holley 4d4dfa4633 Bug 1476987 - Eliminate nsXPTCVariant::ptr. r=nika
MozReview-Commit-ID: JCazltUuMBf

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

--HG--
extra : moz-landing-system : lando
2018-07-21 01:25:37 +00:00
Edgar Chen c17a3e83a6 Bug 1459590 - Ensure Fennec select and input element work with ShadowDom; r=jchen
Differential Revision: https://phabricator.services.mozilla.com/D2151

--HG--
extra : moz-landing-system : lando
2018-07-20 21:36:43 +00:00
Cosmin Sabou b5b2c78493 Merge mozilla-central to autoland. a=merge 2018-07-21 00:48:28 +03:00
Kris Maglione 4470001b70 Bug 1452514: Correctly handle a browser window closing before its popups do. r=mixedpuppy
MozReview-Commit-ID: DOqfniMPf87

--HG--
extra : rebase_source : 5945da4ce1496c984448bc05c86efcbc27645c88
2018-07-19 19:03:20 -07:00
Nicolas Silva 6d4507f6ff Bug 1455422 - Implement the new blob image rasterization hooks. r=kats, gankro 2018-07-19 16:33:05 -04:00
Jeff Muizelaar 4e530d2f5f Bug 1476636. Update Cargo lockfiles, re-vendor rust dependencies
--HG--
rename : third_party/rust/euclid-0.17.3/LICENSE-APACHE => third_party/rust/smallvec/LICENSE-APACHE
2018-07-20 17:24:55 -04:00
Jeff Muizelaar 8ebc4e4580 Bug 1476636. Update webrender to commit 9f21ee5dba0694818a1e2e46d95734ede281447c 2018-07-20 17:24:47 -04:00
Nathan Froyd 31da9ce5d8 Bug 1451104 - follow-up - quiet clang-tidy content checking; r=me 2018-07-20 17:16:25 -04:00
Kristen Wright c5a7b6643f Bug 1477381 - JS::ubi::TracerConcrete<Referent>::edges as a public method. r=erahm
--HG--
extra : amend_source : 5f3b27c27dbeecce604c3421c644b62fb2ff8744
extra : histedit_source : 3f2b7cc862ad1959b106bf71533b85a23d26ad98
2018-07-20 12:57:44 -07:00
Nathan Froyd 9ef8c4c9f7 Bug 1451104 -part 5 - touch CLOBBER; r=me 2018-07-20 16:24:08 -04:00
Nathan Froyd 2fdb3343a9 Bug 1451104 - part 4 - move toolchains off GCC 4.9; r=glandium
Firefox itself has moved on to GCC 6.x; we can move our toolchains along too.
2018-07-20 16:22:26 -04:00
Nathan Froyd be8349e293 Bug 1451104 - part 3 - inform stage2/3 clang about gcc binutils; r=glandium
We do this to encourage clang to find an new-enough linker instead of
the system one.
2018-07-20 16:22:26 -04:00
Nathan Froyd 38688aaaac Bug 1451104 - part 2 - force clang to always pick up its local GCC headers and libraries; r=glandium
We want our clang bootstrap to use the GCC headers we're building with,
not whatever sysroot it happens to find on the server we're building on.

The -gcc-toolchain argument we specify when building clang will also be
picked up by llvm-config, so we need to strip it out when building the
plugin.  Otherwise, we will get peculiar failures about not being able
to find C++ header files.
2018-07-20 16:22:26 -04:00
Nathan Froyd ace0cd0747 Bug 1451104 - part 1 - be explicit about our GCC/binutils target and build machine; r=glandium
Explicit is better than implicit, and helps ensure that GCC is always
using the binutils we built it with, rather than the system binutils.
2018-07-20 16:22:26 -04:00
Johann Hofmann c83c0fcdc7 Bug 1476879 - Remove the privacy.trackingprotection.ui.enabled pref. r=flod,jaws
MozReview-Commit-ID: IsY8Oy8kmVQ

--HG--
extra : rebase_source : ba48654cb7e87f5d78da68c6cf9c48a963306660
2018-07-19 10:34:28 +02:00
Miko Mynttinen c9202e2933 Bug 1477260 - Clip the rect in Matrix4x4TypedFlagged::TransformAndClipBounds, when transform is an identity matrix r=bas
MozReview-Commit-ID: 3a8vnl3K87n

--HG--
extra : rebase_source : b4bdd2b14e10becee20007e453497e9d7a204097
2018-07-20 17:28:37 +02:00
Cosmin Sabou cb45df15a0 Backed out changeset e56a701fc960 (bug 1476934) for build bustages on moz-automation.mk. CLOSED TREE 2018-07-20 20:41:20 +03:00
Sam Foster 1830053e3f Bug 1468644 - cc-numbers are always masked in dialog content; tests to verify this and card details in the payment response. r=jaws
MozReview-Commit-ID: 34MkjyRBth7

--HG--
extra : rebase_source : 04a75ec0d87d9458fab314fe42dddd798957cb61
2018-07-18 12:45:45 -07:00
Bharat Raghunathan cadc3d51f9 Bug 1470964 - Make confirmation hint panel blue instead of green r=jaws
MozReview-Commit-ID: J7ajg44ElUb

--HG--
extra : rebase_source : 13e35f958dc8f39229af207f6dfc734da4517df3
2018-07-20 21:50:58 +05:30
Alexandre Poirot 6a298fd038 Bug 1264873 - Ensure exposing memory actor for the browser content toolbox. r=yulia
MozReview-Commit-ID: 3duHXef13M4

--HG--
extra : rebase_source : 8f372fedbbfe59ec7c2756bde61450e67f46345a
2018-07-18 09:00:44 -07:00
David Keeler 85865937f5 bug 1300420 - add enterprise root support for OS X r=spohl,franziskus
If the preference security.enterprise_roots.enabled is set to true, the platform will import trusted TLS certificates from the OS X keystore.

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

--HG--
extra : moz-landing-system : lando
2018-07-20 19:28:09 +00:00
Michael Kaply 96e550bb6b Bug 1477076 - Add POST support to addEngineWithDetails. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D2254

--HG--
extra : moz-landing-system : lando
2018-07-20 18:40:00 +00:00
Doug Thayer 04f1e1bc1e Bug 1476238 - Use nsresult/promise rejection in initListBuild r=Gijs
I mistranslated the boolean success value of the old initListBuild
method. Simplifying it to just use a promise rejection should be
equivalent and simpler, since this is only run from the update
method of WindowsJumpLists, and the call sites for that don't do
anything afterwards.

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

--HG--
extra : moz-landing-system : lando
2018-07-20 16:56:01 +00:00
Masayuki Nakano 3a1344255b Bug 1467802 - part 4: Create TextEditor::ComputeValueInternal() for internal use of nsIPlaintextEditor::OutputToString() r=m_kato
For reducing virtual calls of nsIPlaintextEditor::OutputToString(),
TextEditor should have new non-virtual public method, ComputeTextValue() and
shared code between it and OutputToString() as ComputeValueInternal().

MozReview-Commit-ID: KFeovQ568bf

--HG--
extra : rebase_source : a5cfb24cefe44f7c60e649959ed49350ed00d4d6
2018-07-18 21:27:30 +09:00
Masayuki Nakano 91c0a26b3f Bug 1467802 - part 3: Create EditorBase::GetDocumentCharsetInternal() for internal use of nsIEditor::GetDocumentCharacterSet() r=m_kato
This patch creates non-virtual method, EditorBase::GetDocumentCharsetInternal(),
for internal use of nsIEditor::GetDocumentCharacterSet() since the virtual
call method is redundant and the caller cannot be marked as const.

MozReview-Commit-ID: v6kDo2eKg3

--HG--
extra : rebase_source : 07f6dd8341cb6686835db2ee3ded479323cccca9
2018-07-18 21:11:32 +09:00
Masayuki Nakano 85b94e287c Bug 1467802 - part 2: Mark TextEditor::GetAndInitDocEncoder() as const r=m_kato
TextEditor::GetAndInitDocEncoder() modifies only mCachedDocumentEncoder and
mCachedDocumentEncoderType which are cache of the method to save recreation
cost of document encoder when same type document encoder is requested.

So, with marking them mutable, we can change the method to a const method.

MozReview-Commit-ID: 80W0NtQhJOR

--HG--
extra : rebase_source : 84f4b49fe3a3124c0de99b39a2141a8cee553e54
2018-07-18 20:51:55 +09:00
Masayuki Nakano 9da3ea2d22 Bug 1467802 - part 1: Create TextEditor::WrapWidth() for internal use of nsIPlaintextEditor::GetWrapWidth() r=m_kato
Let's create non-virtual and simple accessor for TextEditor::mWrapColumn.

MozReview-Commit-ID: 97LhhOgkx4A

--HG--
extra : rebase_source : bd57d7fbcc8da5e00fe71b81a6a2a9ef2f92e939
2018-07-18 20:31:17 +09:00
Petru Lingurar cc7b268bbf Bug 1476676 - Do Gecko initialization on main thread; r=jchen
When migrating GeckoService to Oreo (Bug 1467840), the Gecko initialization was
inadvertently moved on a background thread.
This patch moves the initialization back on main thread.

MozReview-Commit-ID: Cxp7lGzPgXH

--HG--
extra : rebase_source : cf12c311dcae47cad42235587ace684788a848a1
2018-07-19 14:51:41 +03:00
Petru Lingurar 3141ebe19d Bug 1476716 - Use DownloadManager.COLUMN_LOCAL_URI to query downloads; r=jchen
After API 24 DownloadManager.COLUMN_LOCAL_FILENAME got deprecated and querying
for it would throw an error.
To get around this DownloadManager.COLUMN_LOCAL_URI can be used but which adds
the "file://" prefix.

MozReview-Commit-ID: CvkoFyRCLo6

--HG--
extra : rebase_source : 66b0eeecf40b1b1b9fa51860f29032e02ebe507b
2018-07-19 17:59:36 +03:00