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

550907 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez f5afe5c1a5 servo: Merge #18009 - stylo: Fix skip_root_and_item_display_fixup (from emilio:video-controls); r=heycam
The check isn't doing what the comment is saying.

XBL subtrees for video controls all have the
NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE flag, but not all of them are NAC
themselves, so we may incorrectly miss blockification.

Bug: 1366163
Reviewed-by: heycam
MozReview-Commit-ID: Oq3W258Lz2
Source-Repo: https://github.com/servo/servo
Source-Revision: 5ecedb562c66c1f436850704b6dc467a04f5a283

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4ac2d18a9f0b660d8bc869a436d6e2e210d07302
2017-08-08 05:28:35 -05:00
Michael Kohler 674e1b96fb Bug 1366555 - Remove MOZ_PHOTON_THEME ifdefs and non-MOZ_PHOTON_THEME code. r=dao
MozReview-Commit-ID: 8w1vfF2yRui

--HG--
extra : rebase_source : 222d8e9d3b9543552ff5b08967375fa46d62b896
2017-08-08 12:09:14 +02:00
Carsten "Tomcat" Book 635b24e121 Merge mozilla-central to autoland 2017-08-08 13:25:29 +02:00
Carsten "Tomcat" Book 0f16d437cc merge mozilla-inbound to mozilla-central a=merge 2017-08-08 13:18:14 +02:00
Emilio Cobos Álvarez ce167a2880 servo: Merge #17992 - style: Rework how precomputed pseudo stuff works, to avoid malloc/free churn (from emilio:rework-precomputed-pseudo); r=heycam
This showed up in a few profiles, and was an easy improvement.

Source-Repo: https://github.com/servo/servo
Source-Revision: 69f02f4f7f102a3fe3f82d5f000533a9277d233e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d71674e9235874fd965574ec5dd145efba19928f
2017-08-08 04:25:24 -05:00
Sebastian Hengst f0fc89b3bc Backed out changeset 7c3e4a58c61c (bug 1384841) or failing browser_UITour.js, at least on OS X. r=backout 2017-08-08 10:04:52 +02:00
Paul Adenot da39c08e8c Bug 1384655 - Backed out changeset 7829ceaaec31 for busting gUM on some configurations.
MozReview-Commit-ID: DSr6uAMzVxq

--HG--
extra : amend_source : 12e63146939d93f97cc31b3588187c234639de99
2017-08-08 09:50:07 +02:00
Julian Seward 3d63ed80b1 Bug 1386680 - irregexp: reduce size of initial evaluation stack. r=bhackett. 2017-08-08 07:54:03 +02:00
Boris Chiou 9c6a18d6f3 Bug 1387948 - Enable font-weight in test_transitions_per_property.html for stylo. r=xidorn
MozReview-Commit-ID: LX9MwgLBluy

--HG--
extra : rebase_source : ef21c3e03a46e956ebd8d5dddc2d72327d55c7ae
2017-08-08 13:38:07 +08:00
Boris Chiou 624a54b3f3 servo: Merge #18007 - stylo: Fix the computation of the interpolation of FontWeight (from BorisChiou:stylo/animation/interpolation/font_weight); r=xidorn
Interpolated result of FontWeight is wrong because clamping code is incorrect.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix [Bug 1387948](https://bugzilla.mozilla.org/show_bug.cgi?id=1387948).
- [X] These changes do not require tests because Gecko has tests

Source-Repo: https://github.com/servo/servo
Source-Revision: 48b7e6d27c6fbeea9b03acface18d163cb7eedbc

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b634dad43aa799dee556deb2d319ab88f6afe3fc
2017-08-08 01:32:06 -05:00
Nicholas Nethercote 710682624c Bug 1387940 - Make --max-frames=8 the default for dmd.py. r=mccr8.
The current default is 24, which is equal to the maximum number of stack frames
that DMD will record. And that's a terrible value because it splits up too many
related stack traces into separate records. There is no single best value, but
8 is a much better default.

--HG--
extra : rebase_source : c423fc4fe0e490ff6d58fa8f7116bc01c86a366e
2017-08-07 14:56:15 +10:00
Phil Ringnalda a51f7dc64c Backed out changeset 26831e829c5a (bug 1377944) at markh's request
MozReview-Commit-ID: 526HN6OCn1A
2017-08-07 20:42:50 -07:00
Ethan Lin 80ffba5a9e Bug 1387455 - Add nullptr check for the draw target in WebRenderLayerManager::GenerateFallbackData. r=kats
MozReview-Commit-ID: Dk8WiqOmA1y

--HG--
extra : rebase_source : 91f66b56b70e7cf6401baed1a84fa63bc422dc8b
2017-08-07 10:10:58 +08:00
Jing-wei Wu dd509b472e Bug 1386975 - Part 2: Fix Robocop/Mochitest-chrome errors when Photon is enabled. r=maliu,nalexander,sebastian
MozReview-Commit-ID: FszicKMWywf

--HG--
extra : rebase_source : a963060986941e8518a1e278c6699cfe18549212
2017-08-08 10:40:36 +08:00
Jing-wei Wu 51ea6f24b7 Bug 1386975 - Part 1: Use Photon resources to build Fennec. r=maliu,nalexander,sebastian
Remove '--enable-photon' option and use Photon resources to build Fennec.

This patch prohibits changing skin(Australis/Photon) in mach build because we would drop Australis resources in near future.

Any modification in Nightly after this patch should only affect Photon.

MozReview-Commit-ID: 37HzuN6xmPm

--HG--
extra : rebase_source : 0fe6d2e7f49d3c59ceb13c88109061d5a69fce68
2017-08-04 16:35:45 +08:00
Alexandre Poirot 9aee8eedf4 Bug 1382968 - Only try to forward console messages from content processes to parent when browser console/toolbox are opened. r=jryans,tromey
MozReview-Commit-ID: 8cFUbF4msHx

--HG--
rename : toolkit/components/processsingleton/ContentProcessSingleton.js => devtools/server/actors/webconsole/content-process-forward.js
extra : rebase_source : 8f30b1484e8ec1410f59a8764dced0e645ebec28
2017-08-01 16:51:07 +02:00
Alexandre Poirot 8ca339dcee Bug 1382968 - Flag Browser Console target as being chrome and related to a TabActor. r=jryans
The Browser Console interacts with a ChromeActor instance, which as any TabActor inherited actor,
expects to be "attached" by calling its `attach` request. isTabActor set to true ensures that.
While chrome set to true allows client codebase to enable additional behavior for chrome debugging.

MozReview-Commit-ID: 1MVLBKnluhg

--HG--
extra : rebase_source : 7e5c976c6a9690ae730fd8c32a8909e24a277ace
2017-08-07 18:47:20 +02:00
Alexandre Poirot 253b1895e6 Bug 1382968 - Move console actor helper modules to a dedicated folder. r=jryans
MozReview-Commit-ID: 6l1kcHFglDf

--HG--
rename : devtools/server/actors/utils/webconsole-listeners.js => devtools/server/actors/webconsole/listeners.js
rename : devtools/server/actors/utils/moz.build => devtools/server/actors/webconsole/moz.build
rename : devtools/server/actors/utils/webconsole-utils.js => devtools/server/actors/webconsole/utils.js
rename : devtools/server/actors/utils/webconsole-worker-listeners.js => devtools/server/actors/webconsole/worker-listeners.js
extra : rebase_source : 3222c8ca77a6c38dc2f0ee01adc27264e028a514
2017-08-01 16:17:22 +02:00
dagasatvik d4398e95f2 Bug 1385820 - Enable the ESLint no-new-wrappers rule across mozilla-central; r=markh,standard8
MozReview-Commit-ID: FvJO3ibeiwg

--HG--
extra : rebase_source : 5fc5c6760924da81a6d0708ff0d5586fc62c8c5e
2017-08-07 23:57:51 +05:30
Sean Lee 3fa1506f53 Bug 1358960 - "united state" string should not be recognized as "address-level1". r=MattN
MozReview-Commit-ID: E7pmBkGRBkQ

--HG--
extra : rebase_source : 228ad8678b0b01cb99a12b6ded5edd5d82dc0318
2017-08-04 16:23:45 +08:00
Emilio Cobos Álvarez f0e3ab05cb servo: Merge #18008 - stylo: Avoid reporting rules that contain both normal and important declarations twice (from emilio:double-important); r=upsuper
Bug: 1387906
Source-Repo: https://github.com/servo/servo
Source-Revision: 4fdc571e9fa4e95ec7a5ce7bfd03db6b544b8c9e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0474e60faf024161af94689d7d77233e55947605
2017-08-08 03:21:54 -05:00
JW Wang cf112f4b88 Bug 1388228. P6 - following P5, we are now able to move some methods that are related to nsIChannel to BaseMediaResource. r=gerald
So we reduce the number of unimplemented methods in the sub-classes of MediaResource.

MozReview-Commit-ID: EAmUEv9WQk8

--HG--
extra : rebase_source : deed5fd089e8c42a5a6ab0546e0781d0061591e5
2017-08-07 18:09:56 +08:00
JW Wang 6ab3fdad07 Bug 1388228. P5 - move some more members to ChannelMediaDecoder. r=gerald
Those members only make sense for ChannelMediaResource.

MozReview-Commit-ID: 2z6WPQeJnIT

--HG--
extra : rebase_source : 7f43635ee91c8fad1d6ad6f56788e880d54beab2
2017-08-07 13:23:43 +08:00
JW Wang e5f016de87 Bug 1388228. P4 - move the implementation of MediaDecoder::CanPlayThroughImpl() down to ChannelMediaDecoder. r=gerald
Because GetStatistics() only makes sense for ChannelMediaResource.

MozReview-Commit-ID: HkEpb4frUx1

--HG--
extra : rebase_source : 7086721f47b381b692a165302ff3bdc13caa8b41
2017-08-07 11:48:43 +08:00
JW Wang 303f74001a Bug 1388228. P3 - following P2, we can now remove unused code and canonicals. r=gerald
Note we remove the log in BufferingState::Enter() which prevents us from
removing ChannelMediaResource related code from MDSM. We can add it back
in the future after the refactoring.

MozReview-Commit-ID: B94iOI0bTXC

--HG--
extra : rebase_source : 857b7420ab9b52c07dc8a917c1f9344096ed20e6
extra : source : 2c350a4f3cbdf6f446b5e1cc8d6e0892722866d0
2017-08-04 17:56:28 +08:00
JW Wang b4e54281c9 Bug 1388228. P2 - cache the result of CanPlayThrough() and mirror it to MDSM. r=gerald
So we don't duplicate the code of calculating CanPlayThrough from
download rate and playback rate in MediaDecoder.

MozReview-Commit-ID: 7M5JAuUxFFc

--HG--
extra : rebase_source : cb216a1af59b9d8207e3056a5d3ae05e93d85e74
extra : source : a183c089760e329508fac44239fee42c1f047b80
2017-08-04 17:38:20 +08:00
JW Wang 4eb2d7a53b Bug 1388228. P1 - move some members to ChannelMediaDecoder. r=gerald
These members are used only by ChannelMediaDecoder.

MozReview-Commit-ID: 10CHV1sjY9k

--HG--
extra : rebase_source : 2a9817a433cd098d818399e718a5c08d6b88df4c
extra : source : 5d606d67b79543adde8580d96f5aa7055fe0286c
2017-08-04 16:02:40 +08:00
Rex Lee 3da1348733 Bug 1384841 - Match the style of the UITour highlights with Photon style guide. r=Gijs
MozReview-Commit-ID: BT1o8O2A1Al

--HG--
extra : rebase_source : 099e6ba3d2cb941075ad8772825040b78e7757a0
2017-08-01 11:56:28 +08:00
Fischer Liu 3a0f05a4ca Bug 1382579 - Part 3: Tests, r=Gijs
This commit
- adds 2 utility functions to the uitour's head.js

- adds the browser_UITour4.js

- moves the tests in the browser_showMenu_controlCenter.js into the newly added the browser_showMenu.js

- deletes the browser_showMenu_urlbar.js because it's test has been modified and moved into the browser_showMenu.js

- adds one test case for the page action panel in the browser_showMenu.js

- updates the browser_UITour_availableTargets.js test because we have more targets right now.

MozReview-Commit-ID: CydEAkqAl3V

--HG--
rename : browser/components/uitour/test/browser_showMenu_controlCenter.js => browser/components/uitour/test/browser_showMenu.js
extra : rebase_source : 3b4d124ccfc12e577ce509241d19795d87fa3206
2017-08-02 13:53:05 +08:00
Fischer.json 39b51b3ffc Bug 1382579 - Part 2: UITour should support showMenu, showInfo, showHighlight on the Page Action Panel, r=Gijs
This commit
- makes UITour support showMenu, showInfo, showHighlight on the Page Action Panel

- makes UITour support showInfo, showHighlight on the Page Action buttons and on the urlbar's bookmark #star-button button btw

- fixes Bug 1382700 - "UITour lacks the `hideMenu` api support for the single search bar (urlbar) dropdown menu" together

- fixes Bug 1386201 - "UITour wouldn't close the appMenu if running the tracking-protection's ui tour" together

MozReview-Commit-ID: Fou1sD4gAs4

--HG--
extra : rebase_source : 90a08d1b4d58ddd6c3f49730d254a0f3c6c446c1
2017-08-08 11:19:09 +08:00
Fischer.json d6ba3d20ff Bug 1382579 - Part 1: Update the BrowserPageActions API for the UITour's usage, r=adw,Gijs
- adds `showPanel` so UITour could call it to open the page action panel

- makes clicking page action button on the urlbar would toggle the panel. This is for the case, when UITour opens the page action panel to highlight a button it would set "noautohide" to let the panel persistently opened. But we still need a way to let user able to close the panel so made this change. The PanelUI is doing the same thing [1]. UITour wuold remove "noautohide" on the panelHidden event [2].

[1] https://dxr.mozilla.org/mozilla-central/rev/1b065ffd8a535a0ad4c39a912af18e948e6a42c1/browser/components/customizableui/content/panelUI.js#246
[2] https://dxr.mozilla.org/mozilla-central/rev/1b065ffd8a535a0ad4c39a912af18e948e6a42c1/browser/components/uitour/UITour.jsm#1483

MozReview-Commit-ID: FtJZZ0bfy61

--HG--
extra : rebase_source : e986dc4cb50a4a72fdebb69a5182f029d7f327bb
2017-08-01 12:09:25 +08:00
Evan Tseng 4697753e00 Bug 1382135 - Remove all colon signs on sub-dialogs because we already removed them all on each category pane and we should make same thing for sub-dialogs. r=jaws
MozReview-Commit-ID: 8md6CFBSM3B

--HG--
extra : rebase_source : 80bff2dec6a20d7710aa3252c3e2fb295286b294
2017-08-01 11:54:54 +08:00
Mark Banner 0b94d0fe3e Bug 1385733 - Improve the performance of async transactions when bookmarking all tabs. r=adw
Optimise adding a folder with child bookmarks for transactions by allowing PlacesTransactions.NewFolder to take children details and use insertTree rather than needing separate NewFolder and then multiple NewBookmark transactions.

MozReview-Commit-ID: 6s9j0pbsiUB

--HG--
extra : rebase_source : 0b4029905dc76a0ca49d16a7e71c85f1f07b8e2d
2017-08-03 18:32:42 +01:00
Henry Chang 0038962d8f Bug 1387983 - Fix test case for data:stylesheet same origin check. r=heycam
MozReview-Commit-ID: 1U7Aw9X13uF

--HG--
extra : rebase_source : 5cb424d70567a42df0d6521961474a89fd9d87d2
extra : source : 540b354d289a34c48b0fd2e43da3e3f6ae1aae2e
2017-08-07 16:36:35 +08:00
Kan-Ru Chen 87a450cad1 Bug 1386495 - Add timeStamp to DOMEventMarkerPayload. r=mstange,smaug
MozReview-Commit-ID: B3b4laxMqQM

--HG--
extra : rebase_source : 80e41c2f9d921ddd93d41c348594895046c7af8f
2017-08-03 15:42:42 +08:00
Blake Kaplan a79a7ad8b5 Bug 1374460 - Remove internal code that used to be used for showModalDialog. r=smaug
MozReview-Commit-ID: 4QuUpvbOiOA

--HG--
extra : rebase_source : dca2eac96b057d4ecb3908d5d19f2c7bf9ca33bb
2017-07-13 17:20:10 -07:00
Blake Kaplan 263a31a811 Bug 1374460 - Remove all code related to showModalDialog. r=smaug
MozReview-Commit-ID: GCGwBfIx2SJ

--HG--
extra : rebase_source : 44108de8ebbd9c0d8ed9ab69d50ad973c4883b6e
2017-07-13 16:42:03 -07:00
Henry Chang 8ab6a91cb0 Bug 1355746 - Part 4. Fix intermittent full screen test failures. r=smaug,xidorn
We found that a window will not get focus immediately after exiting full screen
mode on Linux. This seems to be a long-standing issue which surfaces due to the
change of background HTML parsing timing. So, we try to get focus everytime
before requesting full screen mode to ensure the request will not fail because
of the focus issue.

MozReview-Commit-ID: 2pOShFZcq8A

--HG--
extra : rebase_source : 47a9431e02549b483874ddfba804bed0d1c6a534
extra : intermediate-source : 64f74f99771510bc06aaf4e9fc875e61b4c67a75
extra : source : 57f259680880504181191c5fe5fa9688c0692703
2017-07-12 10:49:11 +08:00
Henry Chang 31e6f23f84 Bug 1355746 - Part 3. Test cases for IdleTaskRunner. r=smaug
MozReview-Commit-ID: 3RsC1pT9Fzc

--HG--
extra : rebase_source : 0e809780c75c9b8115e7242822ba1d44a1a0fe5d
extra : intermediate-source : 0a7daa942672d158b160b3e1af3ddbb88b36c953
extra : source : 08210ea8446bd222cda5c19ee326f8ffdbb65b3f
2017-07-12 14:13:44 +08:00
Henry Chang 55356f4f83 Bug 1355746 - Part 2. Polish IdleTaskRunner and reuse it for background parsing. r=smaug
This patch is mainly to make IdleTaskRunner reusable by nsHtml5TreeOpExecutor.
The only necessary work to that purpose is to remove the dependency of
sShuttingDown, which was a static variable in nsJSEnvironment.cpp.
The idea is to have a "MayStopProcessing" as a callback for the consumer to
return sShuttingDown.

In addition to sShuttingDown, we use std::function<bool()> as the runner
main callback type.

MozReview-Commit-ID: FT2X1unSvPS

--HG--
extra : rebase_source : 3fe2d4f597f53e9a90f3dc8d5009df04240534ba
extra : intermediate-source : 41f6715c344ce26f7820cecb2544db8c50dca796
extra : source : 042f10937305e34245bdaf75dcb816db7738254e
2017-07-12 09:23:15 +08:00
Henry Chang fab3d4644c Bug 1355746 - Part 1. Rename CollectRunner to IdleTaskRunner and move to xpcom/threads/IdleTaskRunner.h/cpp r=smaug
Nothing is changed in this patch except for renaming and code move around.
The strategy is to have the final file setup in this patch without any
detail change. The actual code change will be in the next patch so that
we can focus on reviewing the diff in the next patch regarding IdleTaskRunner.

MozReview-Commit-ID: 4Bul9mZ7z1n

--HG--
extra : rebase_source : b978da3a3c68da58f9fd93502bcc4295acd699ce
extra : source : 833d4b69accbf7d1d60f9f11d807ee37d608b6fe
2017-08-07 13:50:47 +08:00
Jason Orendorff b3552cd3fb Bug 1363200 - JSAPI for realms: Move SetAddonCallInterposition to the CompartmentPrivate. r=bholley
--HG--
extra : rebase_source : d34087913dd18aeaf8908f4391bed14d0c6790f3
2017-06-27 08:07:27 -07:00
Julian Descottes ea99dbe04c Bug 1387497 - dt-addon-tests: update specificity of selector in firebug-theme.css;r=ochameau
MozReview-Commit-ID: 7o6h5FPOa3I

--HG--
extra : rebase_source : a279cbe3818ebb70c987dc580e52ce6ab8fc4267
extra : source : b617a361a12ce6b20820ccf915bd815eb73c6bd3
2017-06-19 11:12:46 +02:00
Julian Descottes 7c91ef2812 Bug 1387462 - Fix devtools shim test if devtools are not installed;r=ochameau
MozReview-Commit-ID: 28ArQzFGZ6H

--HG--
extra : rebase_source : 59f672548e0352ee60774ea87d4426618f050d2e
extra : source : 7cf0689936eb9cb843cb9e94f326e9b4903e843d
2017-07-25 19:52:34 +02:00
Blake Kaplan 3e5081b1b0 Bug 1374460 - Remove mochitests using showModalDialog. r=smaug
MozReview-Commit-ID: 5vLjdti5oW8

--HG--
extra : rebase_source : a731afcacc8ea35e9120cce4fb47d444fbdf4efa
2017-06-08 11:44:24 -07:00
Matthew Noorenberghe 72863188db Bug 1371195 - Preserve Form Autofill profiles during a Firefox Refresh/Reset. r=Gijs
MozReview-Commit-ID: 3wSAmKt8Xaf

--HG--
extra : rebase_source : 8c4aa413c30aad53f8755e580622c3d946f61590
2017-08-07 22:09:39 -07:00
cku cb45f01e1b Bug 1385929 - Part 2. Remove unecessary gfxContext::Save/Restore found by Part 1. r=mattwoodrow
gfxContext::PushGroupAndCopyBackground & PushGroupForBlendBack do not change the
content of AzureState, we should remove gfxContext::Save in these two functions.

MozReview-Commit-ID: LUuC7bkqFba

--HG--
extra : rebase_source : bed69fa8544e389f4ac13a63489a215a6c86d632
2017-08-01 20:38:15 +08:00
cku 7c4f63dc88 Bug 1385929 - Part 1. Check whether the content of the persisted state change. r=mattwoodrow
Since gfxContext::Save keep appear on my screen when I did profile, so I think
we should find a way to prevent unecessary usage of this function.

By this patch, an assertion message will be dump if we save and restore an
unchanged AzureState.

MozReview-Commit-ID: 5lH1Y5T5K7t

--HG--
extra : rebase_source : 3fe0bb72ad78273687008cdf87692090cf3fe931
2017-08-01 16:33:08 +08:00
Boris Chiou 737294f0c4 Bug 1292283 - Enable test_transitions_per_property.html. r=hiro,xidorn
MozReview-Commit-ID: 7noX0Lf5UU8

--HG--
extra : rebase_source : bd6ecad0ade71a000d4dd253f5998e74b39a8b4e
2017-06-16 17:23:24 +08:00
Hiroyuki Ikezoe 5bf9f97e61 Bug 1384120 - Replace old pseudo style context with a new style context including animations. r=emilio
When a reframe happens on the parent of a pseudo element which has animations,
we need to grab style for the pseudo element that includes the animations'
style and also *replace* old style context (that does not include animations'
style) with it. Otherwise, we will use the old style context that has *no*
animations style, as a result, we will see a flicker right after the reframe.

Two reftests in this patch fail without this fix.  One is for CSS transitions,
the other one is for CSS animations.

MozReview-Commit-ID: 6pCdnQ1DGUY
2017-08-08 11:35:23 +09:00