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

583809 Коммитов

Автор SHA1 Сообщение Дата
Blake Kaplan eadd91cbee Bug 1404297 - Change the way we iterate over our links to update. r=smaug
MozReview-Commit-ID: BTADrB9itjh

--HG--
extra : rebase_source : 4884a91ec9fc64107c3406d3199fe05857210997
2018-03-01 11:26:54 -08:00
Blake Kaplan 32db9fed96 Bug 1404297 - Add a move constructor to SegmentedVector. r=smaug
Given that we have a SegmentedVector of nsCOMPtrs, it's probably worth
avoiding copying it.

MozReview-Commit-ID: GHyfVLrdnlQ

--HG--
extra : rebase_source : 75df805d8b2df32b76ee77b95ced625f20331744
2018-03-01 11:26:54 -08:00
Sebastian Hengst 405622e7b5 Bug 1440938 - Fall back to cairo's glyph metrics API if FreeType fails in some way, or if we're not using a variation font: Add back annotations for failing Android reftests. r=test-fix CLOSED TREE
--HG--
extra : amend_source : 31148a09ffdc5ba2dac05877d821991155ff59a7
2018-03-01 21:41:25 +02:00
Sebastian Hengst 226c2ef8a3 Backed out 3 changesets (bug 1432846) for build bustage on Windows at dom/serviceworkers/ServiceWorkerRegistrationImpl.cpp:301. CLOSED TREE
Backed out changeset 5e3b28d03b34 (bug 1432846)
Backed out changeset a2ae02b5fe72 (bug 1432846)
Backed out changeset a92cc56bbaa4 (bug 1432846)
2018-03-01 21:34:05 +02:00
Dorel Luca 4afd7c8460 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-03-01 20:53:07 +02:00
Sebastian Hengst 118e03a936 merge mozilla-central to mozilla-inbound 2018-03-01 20:32:20 +02:00
Steve Fink eba2944a35 Bug 903519 - Switch to --nursery-strings=on/off for less fuzzing churn, r=jonco
--HG--
extra : rebase_source : 8ee1d57e314e9ee02ef27f724d23c5611690daae
2018-03-01 09:24:44 -08:00
Paul Adenot a452702398 Bug 1441500 - Remove smoothing of the delayTime parameter. r=karlt
Gecko only ever had de-zippering for DelayNode.delayTime. It has been decided in
[0] to remove all de-zippering, for consistency.

[0]: https://github.com/WebAudio/web-audio-api/issues/76#issuecomment-107679878

MozReview-Commit-ID: FK9Erwxth05

--HG--
extra : rebase_source : caccac28456191e68c980b12159ed310ce18e149
2018-02-27 12:59:25 +01:00
Emilio Cobos Álvarez 8a789ce429 Bug 1441613: Properly check for shell destruction instead of just nonsensically assert. r=hiro
GetStyleContext can flush. As such, that flush can kill the pres shell, and the
return value could be null. I have no idea why that code was asserting it didn't
happen, but that assert is completely bogus.

Throw instead, just like GetFontParentStyleContext used to do for Gecko.

MozReview-Commit-ID: 5RxDratKumZ

--HG--
extra : rebase_source : 9ffb1f58888504d92915ecd4254847ae2e3f053b
2018-02-28 11:51:27 +01:00
Bobby Holley 2ba333893c Bug 1441896 - Pass an explicit parent SheetLoadData for child stylesheet loads. r=bz CLOSED TREE
MozReview-Commit-ID: 7XNu42NtITm
2018-02-28 10:09:00 +02:00
Bobby Holley cfbe8920ca servo: Merge #20146 - Stylo: Pass an explicit parent SheetLoadData for child stylesheet loads (from bholley:explicit_load_data); r=bholley
https://bugzilla.mozilla.org/show_bug.cgi?id=1441896

Source-Repo: https://github.com/servo/servo
Source-Revision: e8f77861a9af8d88ba62625838a10d63c74d22ed

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 10643d7df19b8b97d27a5081dec6816b120afa1a
2018-02-28 11:32:00 -05:00
Emilio Cobos Álvarez 1319d160ae servo: Merge #20138 - style: Only expose longhands to rust via iterators (from emilio:longhand-iterator); r=nox
The key here is that we only filter longhands if the shorthand is accessible to
content and vice-versa. This prevents the bug that prevented me to land this
patch before, which was us not expanding properly chrome-only shorthands.

Source-Repo: https://github.com/servo/servo
Source-Revision: a0be3a7fae2730bfef52db94db7f3af14b60be67

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2afb50b62cab334fcec0cdcccd793abca8fdb3ec
2018-02-28 06:28:41 -05:00
Anthony Ramine 55dc564b31 servo: Merge #20141 - Replace ColorOrAuto by CaretColor (from servo:rm-color-or-auto); r=emilio
This is its only use.

Source-Repo: https://github.com/servo/servo
Source-Revision: 8471011e6b6bd72db68ec9ae21df58ab09f2f6d8

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4407223da1f18648537ad75a602434999ce3ee2f
2018-02-28 05:37:18 -05:00
Dão Gottwald de08cb1cdb Bug 1441788 - Expose Reader View shortcut in the address bar button's tooltip. r=mikedeboer
MozReview-Commit-ID: 88p5xYUrefQ

--HG--
extra : rebase_source : 5c7d4e8067e6c570d6c04fd9758febb098768be2
2018-02-28 11:45:54 +01:00
Dão Gottwald c14f04ff1c Bug 1440877 - Remove mistyped --toolbar-gbimage variable. r=jaws
MozReview-Commit-ID: ARVa7hCHddX

--HG--
extra : rebase_source : 8b72010b40f6e7acbe0cabef42772e6f1d0f306c
2018-02-28 12:23:53 +01:00
Alex Chronopoulos 599f535864 Bug 1410456 - Add new files in update.sh script. r=padenot
MozReview-Commit-ID: 5Nmdd8WOlJc

--HG--
extra : rebase_source : 766debbed1e6c64ef66c6f21a0b3f675fca3abe9
2018-02-27 13:37:49 +02:00
Alex Chronopoulos 21a1f8e51b Bug 1410456 - Keep the old mechanism for the older versions that jni method is not available. r=padenot
MozReview-Commit-ID: 3jXf3wuXqZu

--HG--
extra : rebase_source : 6b81a313f12c74810e969c9195fcc8113d5bdf89
2018-02-27 13:37:37 +02:00
Kris Maglione b4e576d2de Bug 1441333: Part 4 - Add caller location to async API errors. r=zombie
When we report errors generated by async API operations, they are currently
not tied to any relevant extension source location. Instead, the locations in
the error reports point to the location in the framework code which reported
the error, which makes things extremely difficult to diagnose.

This change saves the extension caller location at the beginning of async API
operations, and adds it to the error reports genearted by that operation. This
should give extension developers a useful starting point for debugging them.

MozReview-Commit-ID: AkknkKEosFt

--HG--
extra : rebase_source : 598a232430a36f15ffd1bd7fa8b8ee9733927c12
2018-02-26 15:25:03 -08:00
Kris Maglione 69844a6fbb Bug 1441333: Part 3 - Add helper to create a JS error with a saved stack. r=bz
There's no standard way to create a JS error with full stack and location
information from a saved stack. Since we need this functionality in order to
reject promises with useful Error objects, this patch adds a simple helper to
make that possible.

MozReview-Commit-ID: FyGuo4UjfsQ

--HG--
extra : rebase_source : 65ef11c56f23e04ea5eeb87b972bfc8e4867fdd2
2018-03-01 14:00:00 -08:00
Kris Maglione 597e2b745d Bug 1441333: Part 2 - Allow passing an error stack to reportError. r=bz
Building on top of part 1, we need a way to link a saved caller location to a
reported error message. This change allows us to pass a stack to `reportError`
when called with a string.

This part was written before part 3, and could probably be removed in favor of
using createError in every call. But this method also has the advantage of
being more consise and somewhate more efficient.

MozReview-Commit-ID: 39jfCg9AerY

--HG--
extra : rebase_source : cc5bf96e11e861a81e04167c2bfa4828e5224c3e
2018-03-01 13:57:27 -08:00
Oriol Brufau b57dc90eeb Bug 1438666 - Let tabs.query check if a tab is highlighted r=mixedpuppy,rpl
MozReview-Commit-ID: CgVuzLCxjPl

--HG--
extra : rebase_source : 020bf5dc8903c60df109b135144882db52df7bf5
2018-02-26 17:19:18 +01:00
Jonathan Kingston a9768e4ebc Bug 1442417 - Fix exposure policy for device sensors. r=bz
MozReview-Commit-ID: DOSvSwsn7uo

--HG--
extra : rebase_source : 01b60e796d63396dbf3ad3f87a5f828962f84c62
2018-03-01 22:10:41 +00:00
Kartikaya Gupta e38ffe883b Bug 1440664 - Update reftest annotation for changes in WR PR 2471. r=jrmuizel
MozReview-Commit-ID: A75y6OtL4AR

--HG--
extra : rebase_source : 2573804a6aabed4a31ce68cc96c4fc4e5660210c
2018-03-01 16:53:00 -05:00
Kartikaya Gupta 1edc77ffd1 Bug 1440664 - Update reftest annotation for WR PR 2443. r=jrmuizel
MozReview-Commit-ID: L941zlptWWM

--HG--
extra : rebase_source : 486ac26cdbf2cd9106c4551b077e457da4167f62
2018-03-01 16:52:51 -05:00
Kartikaya Gupta 55418e4896 Bug 1440664 - Re-generate FFI header. r=jrmuizel
MozReview-Commit-ID: 8oJcG2CPR2U

--HG--
extra : rebase_source : e68540523e0c0ba3f755dfdd60b120eeebe14a88
2018-03-01 16:52:36 -05:00
Kartikaya Gupta 2cfaff56ac Bug 1440664 - Update Cargo lockfiles and re-vendor rust dependencies. r=jrmuizel
MozReview-Commit-ID: IZncD4fgDk7

--HG--
extra : rebase_source : e40e805ac4f069920277515ec509bc29c68b42d5
2018-03-01 16:51:58 -05:00
Martin Robinson ee5a6b3d13 Bug 1440664 - Update gecko WR bindings for API changes in WR PR 2449. r=kats
MozReview-Commit-ID: AUTNkZ36p8b

--HG--
extra : rebase_source : 4452312fca3355f2d8830eb94f317e48777e8248
2018-03-01 16:49:54 -05:00
Kartikaya Gupta 62f9190877 Bug 1440664 - Update webrender to commit 22b831c02479eea31821f49a0fac7dd699083557. r=jrmuizel
MozReview-Commit-ID: 38UtaEA1NuB

--HG--
extra : rebase_source : c35153e2303cdef27020687718623de2120d29bb
2018-03-01 16:49:20 -05:00
Kirk Steuber 06cca893ea Bug 1442429 - Correct the documentation for nsIBrowserSearchService::addEngineWithDetails r=mkaply
MozReview-Commit-ID: EryCTRT5t5I

--HG--
extra : rebase_source : c771bebb9fe894390ea272ca4259a9847aeaaa8a
2018-03-01 14:13:51 -08:00
Matt Woodrow 646790055d Bug 1440177 - Part 7: Don't allocate new clips when flattening nsDisplayOpacity. r=mstange
Combing the two clips as-is should always be correct, and since they're frequently identical, we can usually make IntersectClip a no-op.

MozReview-Commit-ID: 3xxMyZjwPvJ

--HG--
extra : rebase_source : 8ae4891b88d7229a685771c13a98d3578ffb8767
2018-03-02 11:19:17 +13:00
Matt Woodrow 1e2b3f200e Bug 1440177 - Part 6: Don't dereference display items during AddPaintedDisplayItem for the LAYER_NONE case. r=jnicol
The display items are almost certainly gone from the cache at this point, so dereferencing them can take a while.
This moves the DisplayItemData lookup, and the IsReused/HasMergedFrames checks into the ProcessDisplayItems pass (where we already use the items), and then just uses the AssignedDisplayItem entry for everything.

MozReview-Commit-ID: 8udcE0bmyF3

--HG--
extra : rebase_source : 594513ef2c7d68b42e56b0536f8f6372fa9de90f
2018-03-02 11:19:17 +13:00
Andrew Sutherland cac42cb9b5 Bug 1422327 - Clean up storage::Connection::Release. r=mak
Because of the storage::Service's connection list, it's possible for the
refcount for a non-main-thread Connection to experience transient increases
and decreases at any time, dooming logic in Release() that assumes the
refcount isn't changing.

This patch adopts use of an Atomic<bool> so that we execute cleanup logic
exactly once when the refcount falls to 1 at some point.  Care is taken to
ensure that the failsafe Close() occurs on the correct thread.

SpinningSynchronousClose() is still dangerous and can still potentially
nest deeply on the stack.  If we see instances of that in the future, we
may want to adopt use of PushEventQueue so that we can avoid re-entrancy
in our event loop spinning.

MozReview-Commit-ID: A835HBec50H

--HG--
extra : rebase_source : af2f63e8f050b7a0275e39f73e59133958e29f19
2018-02-25 23:50:42 -05:00
Jean-Yves Avenard 34fde36f9e Bug 1437003 - Allow H264 level up to 5.2 inclusive. r=padenot
MozReview-Commit-ID: KiwVH9BUGrV

--HG--
extra : rebase_source : 05fa8f99c4b2949c16918f7b981ae11f5877a3fc
2018-03-01 09:38:45 +01:00
Michael Ratcliffe d8b83a67d1 Bug 1437845 - Enable browser_console_dead_objects.js in new frontend r=bgrins
Now works in both non-E10S and E10S modes.

MozReview-Commit-ID: 1W3d7XcZzfc

--HG--
extra : rebase_source : aa2d385c7c7820b7030675256a700af49533f64b
2018-03-01 13:31:58 +00:00
Marco Bonardo a9ae935367 Bug 1439315 - eslint followup. r=mak 2018-03-01 17:01:21 +01:00
Bryce Van Dyk 18af97a234 Bug 1432195 - Accept Mp3 streams with only 2 frames if both are valid. r=JanH
MozReview-Commit-ID: Gl5mgNuzZTt

--HG--
extra : rebase_source : 5668bbde8265887f7b2e4ed40c18cf41334c38ed
2018-02-26 19:07:46 -05:00
Josh Matthews 173e864112 servo: Merge #20153 - Update glutin, skia, and azure (from jdm:glutinup); r=SimonSapin
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19901

Source-Repo: https://github.com/servo/servo
Source-Revision: 23e95906347c4b6d0d1ccd1ce12ff5206c349a9a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 806d322a34be21e05a94e6a7cadbfb78cb0e8b9d
2018-03-01 10:20:05 -05:00
Masatoshi Kimura b1b043af08 Bug 1442266 - Stop including unnecessary <iostream>. r=froydnj
MozReview-Commit-ID: B0JDqyBanFE

--HG--
extra : rebase_source : dec1e2678083e3fb2b9a6b89322d1fa747ed6d4a
2018-03-01 23:07:56 +09:00
Mike Conley 1b65e844ad Bug 1442020 - Ensure neither style nor layout flushes are required when running promiseDocumentFlushed callbacks. r=bz
MozReview-Commit-ID: INGpltVvNmZ

--HG--
extra : rebase_source : 2f67f7c28211d0b78cd906c4b6e8da8eda7430f3
2018-02-28 16:15:51 -05:00
Marco Bonardo b8f68ba5dd Bug 1439315 - 9 - Remove no more necessary placesOverlayModules. r=standard8
MozReview-Commit-ID: Fa7b0qf4mix

--HG--
extra : rebase_source : d6b8ca13e7e9487ea7d8b47b00ab0b00aad69e7a
2018-03-01 14:36:30 +01:00
Marco Bonardo e9b3ac1755 Bug 1439315 - 8 - Remove some dangling NetUtil usage. r=standard8
MozReview-Commit-ID: A8WcjKkFhVA

--HG--
extra : rebase_source : a4acea017a24de112b1c3bef6ba16d3e0a837a6e
2018-02-28 15:20:05 +01:00
Marco Bonardo 57a6a679d0 Bug 1439315 - 7 - Don't import PlacesUtils on PlacesUIUtils import. r=standard8
MozReview-Commit-ID: 9xSkXWkSMBU

--HG--
extra : rebase_source : f3b8493ad943cf2a58be8e2c76d5c73c0d59132e
2018-02-28 15:10:45 +01:00
Marco Bonardo 039ea5e750 Bug 1439315 - 6 - Move some utils into PlacesController or PlacesUIUtils. r=standard8
MozReview-Commit-ID: D7J6hY7Akro

--HG--
extra : rebase_source : 9e9f885db98c72a857c941b2eb6b8a294d1b570e
2018-02-28 13:51:28 +01:00
Marco Bonardo 66361b299d Bug 1439315 - 5 - defineLazyScriptGetter controller.js. r=standard8
MozReview-Commit-ID: 4Kq3XvJNNGB

--HG--
extra : rebase_source : a72bbdee84965d716b14d5ddbb020579cdc83f8c
2018-02-28 12:31:37 +01:00
Marco Bonardo f1d5ac420b Bug 1439315 - 4 - Make ESLint happy. r=standard8
MozReview-Commit-ID: I4Hz0V9UGvI

--HG--
extra : rebase_source : a78d1513e46f85375e4e75377550940d40c25b70
2018-02-28 15:27:04 +01:00
Marco Bonardo 19f9286fc5 Bug 1439315 - 3 - Don't use NetUtil.newURI. r=standard8
MozReview-Commit-ID: 58jYURt7EWF

--HG--
extra : rebase_source : e215b0a8890b3dc2169d82fbf63ba2fba4e65b4f
2018-02-28 12:28:54 +01:00
Marco Bonardo a49f4669c5 Bug 1439315 - 2 - Move command utils to PlacesUIUtils. r=standard8
MozReview-Commit-ID: 6hN9LxVQunX

--HG--
extra : rebase_source : 7dacee00aecf5cfb00a6977a88ecea5334958022
2018-02-28 12:27:21 +01:00
Marco Bonardo 388f9e4090 Bug 1439315 - 1 - rename InsertionPoint to PlacesInsertionPoint. r=standard8
MozReview-Commit-ID: 1NfkueEUPXC

--HG--
extra : rebase_source : 9e3e6f58742a0900fdd73e6c5ed5089f7d01da63
2018-02-28 12:10:12 +01:00
Andreas Tolfsen f7f73b417a Bug 1441226 - Rename NoAlertOpenError to NoSuchAlertError. r=whimboo
To match the WebDriver specification error code names, this patch
renames the NoAlertOpenError type to NoSuchAlertError.

Its string error code (the status property) is still correct.

MozReview-Commit-ID: DhWz1tn6DsT

--HG--
extra : rebase_source : dd45387a5869a8df53f20baafe1c683c3af32b25
2018-02-26 17:35:30 +00:00
Mark Banner 4751b02fec Bug 1441969 - Switch browser_library_commands to use Assert.* rather than the simple methods. r=mak
MozReview-Commit-ID: Ggd4Kzmnglx

--HG--
extra : rebase_source : 1d0c2ba5e9576855c8e84ff121112dab82fd94ab
2018-02-27 21:24:41 +00:00