Commit Graph

549962 Commits

Author SHA1 Message Date
Brad Werth
a379a4b87a Bug 1302513 Part 2: Remove declaration of getAuthoredPropertyValue from webidl. r=bholley,dholbert
MozReview-Commit-ID: 63khMKDdIBT

--HG--
extra : rebase_source : d269423c5d7197f0bd1d494aed67f16302caced2
2017-07-21 14:14:19 -07:00
Brad Werth
10cb0e63cd Bug 1302513 Part 1: Remove test for getAuthoredPropertyValue API (since that API is being r=dholbert
removed).

MozReview-Commit-ID: CpOiobOp1jD

--HG--
extra : rebase_source : b5220220c2528e4c7dd1a737e4a4c5896fadee3f
2017-07-21 14:12:33 -07:00
Hiroyuki Ikezoe
9bf9d338f9 Bug 1385089 - Set restyle subtree restyle hint if the element animates display style from 'none' to other. r=emilio
When display style is changed from 'none' to other in animation-only restyle
we need to resolve descendant elements' style that were in the display:none
subtree.

Three possible ways to resolve the descendant elements' style;

1) Traversing unstyled elements in animation-only restyle
   We can't simply traverse unstyled elements in the animation-only restyle
   since when we decided to traverse the unstyled elements we don't know yet
   the elements will be initially styled or are in display:none subtree. It
   will result that the new elements are styled in animation-only restyle,
   it's undesirable.

2) Creating a SequentialTask and resolve the descendants' style with
   ServoStyleSet::StyleNewSubtree()
   We can't resolve the descendants' styles with ServoStyleSet::StyleNewSubtree()
   in SequentialTask since at the moment we are still in servo traversal (i.e.
   sInServoTraversal is true). That means AutoSetInServoTraversal fails
   in PrepareAndTraverseSubtree().

3) Creating a SequentialTask and set restyle subtree hint and defer descendants'
   restyle in a subsequent normal traversal
   Note that, when we process throttled animations flush, we don't process
   normal traversal so the descendants will not be traversed until normal
   restyle happens but it will not be a big problem since it's really rare
   that user clicks display animation element just at the right moment when
   display property changes from none to other.  Also, if it will be really
   a problem, we should process *only* transform animations on the compositor,
   it's ideally right thing to do. Display property never runs on the
   compositor.

This patch takes the third approach.

MozReview-Commit-ID: Krxa3kkdIq4

--HG--
extra : rebase_source : 33e9db953f21168c76716329568191625bd15896
2017-08-02 20:01:08 +09:00
Hiroyuki Ikezoe
8b0ea4a17c servo: Merge #17944 - Display property animation for SMIL (from hiikezoe:display-property-animation); r=emilio
<!-- Please describe your changes on the following line: -->
https://bugzilla.mozilla.org/show_bug.cgi?id=1385089

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6faa293c2f45ea761850fcfd43689aca92d1c678
2017-08-02 16:27:58 -05:00
Jared Wein
581d374885 Bug 1386255 - Switch the stop/reload button if the about: URL loaded is not top-level. r=Felipe
MozReview-Commit-ID: Ieet9wNQf9o

--HG--
extra : rebase_source : 125080ba687006c62af1a04de224f9d3606cbb13
2017-08-02 11:11:35 -04:00
Jamie Nicol
ff2a920fd4 Bug 1360306 - Clamp layer scale if it has recently been animated. r=mstange
When a container layer's transform has an animated scale, we clamp it
to a near power of two so that descendent layers' resolutions do not
keep changing and we minimize repainting. The current behaviour only
clamps the scale when it has not changed with respect to the previous
transaction. In animations where the scale usually changes, but
happens to remain constant between two consecutive transactions, this
is bad.

Rather than only checking against the previous scale value, use
ActiveLayerTracker::IsScaleSubjectToAnimation() to determine whether
to clamp, as it takes into account a longer period.

--HG--
extra : rebase_source : 6bc773e387c5750746722d4a0cc5864ebf7757e2
2017-07-27 11:52:27 +01:00
Wes Kocher
cffa02b4bb Backed out 2 changesets (bug 1349555) for failures in viewport-units-css2-001.html a=backout
Backed out changeset 5f1e7e8de03f (bug 1349555)
Backed out changeset 3ef0f35adc9f (bug 1349555)

MozReview-Commit-ID: Ly8AeXQy5Mn
2017-08-02 15:22:58 -07:00
Nicolas Chevobbe
77e7cd424e Bug 1380709 - Add mochitests and mocha tests to ensure entries are loaded as expected. r=bgrins
This adds several tests to make sure we can expand Sets and Maps entries, and that we manage
those properties in the store as expected.
We also add a stub for a Set object and take this as an opportunity to fix the stub name.

MozReview-Commit-ID: ChhIHKMPINF

--HG--
extra : rebase_source : 89e5216605f77fb3812b3297bb95b6d3fc10de49
2017-08-01 16:27:00 +02:00
Nicolas Chevobbe
11158c5406 Bug 1380709 - Fetch Map/Set entries when expanding the Object Inspector. r=bgrins
Add getObjectEntries and loadObjectEntries as props for the ObjectInspector so
we can display entries on Maps and Sets.

MozReview-Commit-ID: Cy6SjxwclHI

--HG--
extra : rebase_source : 02b4eb11f45f25eab9af7e640939177ab1c0f0fc
2017-08-01 16:17:00 +02:00
Nicolas Chevobbe
862e2bbb0b Bug 1380709 - reps v0.11.0: update reps bundle from GitHub; r=bgrins
MozReview-Commit-ID: 4s5c1wyABS7

--HG--
extra : rebase_source : 0f0e0d7a62e4d6e62ef8eae86dd622c86528373f
2017-08-01 14:45:32 +02:00
Nihanth Subramanya
341cc4a624 Bug 1355455 - Replace shared icons with Photon versions. r=dao
MozReview-Commit-ID: HnlqsCcYGCi

--HG--
extra : rebase_source : 3e615ad8471c1d13e64e9779b48f2a5f4e64b547
2017-07-31 01:36:43 +05:30
Andreas Tolfsen
9a2a6d153b Bug 1386581 - Imply --headless when MOZ_HEADLESS is set. r=automatedtester
When the MOZ_HEADLESS output variable is set in the environment,
--headless will be implied when using the Marionette harness.  This will
cause test rules and ignores to be picked up with MOZ_HEADLESS as they
are with --headless.

MozReview-Commit-ID: 8L7J4asQXyF

--HG--
extra : rebase_source : 0d4a41d028752c806fab94a5d0d0bb2802134b81
2017-08-02 12:05:09 +01:00
Shane Caraveo
0030609514 Bug 1385696 fix retrieval of protocol flags, r=Gijs
MozReview-Commit-ID: 8zYVnvg0x21

--HG--
extra : rebase_source : 937d159913fbaa687fc2da4313a913ff6bf6f065
2017-08-02 14:03:37 -07:00
Sebastian Hengst
c9ff8ee666 Backed out changeset ecbeb9354c24 (bug 1383386) for mass-asserting at gfx/layers/ipc/CompositorBridgeChild.cpp:264. r=backout on a CLOSED TREE 2017-08-02 23:08:43 +02:00
Mike Conley
6804701dfc Bug 1349555 - Fix windowopen reflows for OS X and Windows. r=dao
MozReview-Commit-ID: 228nAPJ0Wof

--HG--
extra : rebase_source : 1b691d2b1999ae9e631688be45ec44a8124c7b26
2017-08-02 13:18:43 -04:00
Dão Gottwald
4204a10e89 Bug 1349555 - Implement most of the photon tab strip. r=johannh
MozReview-Commit-ID: GmWBIdjNMkC

--HG--
extra : rebase_source : f8e7a73b751e59ead4ed67c3fc2aaccd5f939798
2017-08-02 15:06:10 +02:00
UK992
579d663bdf Bug 1363485 - Update urlbarBindings.xml r=dao
MozReview-Commit-ID: 5PoMe8pNaYx

--HG--
extra : rebase_source : f73c9399e605a3cd6cfee50fcfe260f2f18f34b5
2017-08-02 19:21:01 +02:00
UK992
04a7b8f7ca Bug 1363485 - Update tests r=dao
MozReview-Commit-ID: 4epuVQVCJPH

--HG--
extra : rebase_source : aef306464344009feb0e28295a0159cc9aab19ad
2017-07-30 20:39:55 +02:00
UK992
77670afaf3 Bug 1363485 - Update BrowserUITelemetry.jsm r=Gijs
MozReview-Commit-ID: Ah8SAEADJ7O

--HG--
extra : rebase_source : 17e861ebcc30e65dc4668909849bbaf68ec0b196
2017-06-30 16:22:06 +02:00
UK992
3f1f818fff Bug 1363485 - Add migration to new navbar layout r=Gijs
MozReview-Commit-ID: HIPq5rKgtlA

--HG--
extra : rebase_source : 88433e9470e2ccaec6ac8c58c6c96c75bef8acaa
2017-06-29 19:09:43 +02:00
UK992
b52599b66d Bug 1363485 - Move the Back, Forward, Reload and Stop buttons outside of the location bar container to the start of the toolbar along with the Home button r=Gijs
MozReview-Commit-ID: 2GxcXMxdbjW

--HG--
extra : rebase_source : 4c156a92a59ddb073d9ef743a986e7da2b8a034b
2017-06-29 01:09:05 +02:00
Kartikaya Gupta
cc3312045a Bug 1383386 - Update null checks to check the correct IPC actor. r=billm
MozReview-Commit-ID: AZlFYkuzFVb

--HG--
extra : rebase_source : f3e1836db6833783f8277a3e9f2e5927eb452f46
2017-08-02 09:53:00 -04:00
Imanol Fernandez
5b31fac958 servo: Merge #17948 - Update angle (from MortimerGoro:angle); r=metajack
<!-- Please describe your changes on the following line: -->

Update angle dependency (Fixes a crash when compiling shaders on Android)

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [x] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 7651cebcd05376c034df38f480701f541fd38da1

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c58c34cbbcca3213012eb56a8f88002394b3f3f3
2017-08-02 14:17:48 -05:00
Fischer.json
cd05af9091 Bug 1386226 - Perma failure when 56 merges to beta in browser/base/content/test/newtab/browser_newtab_focus.js, r=mossop
This commit

- Fixes the focus count failure. The bug 1375793 turned on the onboarding on all channels but this test still checks `AppConstants.NIGHTLY_BUILD`. Hence although the onboarding is enabled on Beta, this test thought it is disabled and missed counting the onboarding elements. The solution is to remove `AppConstants.NIGHTLY_BUILD` condition.

- Updates the `promiseTourNotificationOpened` function the same as the bug 1383070 btw

MozReview-Commit-ID: 2TVyqDxMGS6

--HG--
extra : rebase_source : f6d0488f06d9fda42ba01e78e70ea64d389b0294
2017-08-02 15:57:33 +08:00
Henrik Skupin
ff029dbbbe Bug 1386710 - Increase output timeout for firefox-ui harness invocation from 300s to 1000s r=maja_zf
The page load timeout of Marionette is 300s long. By using the same value
for the firefox ui harness invocation from mozharness it can cause a race
condition. Lets increase the value to what the Marionette jobs use to be
in sync.

MozReview-Commit-ID: FUevLmRIMSF

--HG--
extra : rebase_source : 43ee8b9009ba4ea89c8e8642d44eecf643b05ecc
2017-08-02 18:32:08 +02:00
Nicolas Chevobbe
8356937ddd Bug 1386221 - Fix test for inspect binding on 56 beta. r=bgrins.
The test was failing on 56 beta because the new console frontend isn't enabled there and thus
the ObjectInspector that were tested not in the old frontend.
This patch adds a branch in the test so we can wait for the correct element (VariableView or ObjectInspector)
depending on whether the new console frontend is enabled or not.

MozReview-Commit-ID: HGGgr7CWMpe

--HG--
extra : rebase_source : ef8e21d1f0a1b074fd798ed2b05fb18a9a9335cc
2017-08-01 19:59:24 +02:00
Fernando Jiménez Moreno
21c8b4f6c5 servo: Merge #17945 - Generate DOM bindings imports for webidl typedefs (from ferjm:typedef.dom.binding); r=jdm
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

Source-Repo: https://github.com/servo/servo
Source-Revision: 3ef182ca36f0067c0e431addc8ee7f1343b575c4

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 713870d033ff517a18131822f871fff4a85031b5
2017-08-02 13:22:32 -05:00
Sebastian Hengst
677464e70c Backed out changeset 9f57aa650148 (bug 1379620) on request from jaws. r=backout 2017-08-02 21:09:35 +02:00
Tushar Saini (:shatur)
16b4e01236 Bug 1362996 - Implement browsingData.removeCache WebExtension API method on android. r=bsilverberg,mixedpuppy
MozReview-Commit-ID: ECRCqbdiGd0

--HG--
rename : mobile/android/components/extensions/test/mochitest/test_ext_browsingData_cookies.html => mobile/android/components/extensions/test/mochitest/test_ext_browsingData_cookies_cache.html
extra : rebase_source : 8a19654cba70b233fed370b83ac44178ccb55e55
2017-07-25 15:05:59 +05:30
Brian Grinstead
b927e64748 Bug 1386724 - Force devtools-browser to be loaded in shared-head.js;r=jdescottes
If a devtools entry point isn't hit in a test (toolbox open, keyboard shortcut,
opening the web dev menu, etc), then things like the menu items aren't installed.
This is for performance reasons (Bug 1359855), but it means that some tests
may fail when run alone. Prevent that from happening by forcing devtools to start
up in shared-head.js.

This causes certain tests to fail when run alone if they don't open the tools

MozReview-Commit-ID: ANuUhYXIbSF

--HG--
extra : rebase_source : f8a20a7eabfdbbfe51ecaf2ea8c59a4fcf41e695
2017-08-02 10:08:16 -07:00
Wes Kocher
2f468040aa Backed out changeset 856215476aa4 (bug 1386666) for eslint failures a=backout
MozReview-Commit-ID: FdO8WkzBvfj
2017-08-02 11:47:42 -07:00
Manish Goregaokar
e2ffcaa665 Bug 1358688 - Part 1: Don't unzoom text for font-size:larger/smaller ; r=emilio
This used to be necessary when larger/smaller did a table lookup.
However as of bug 1361550 these are simple ratios and should be treated
the same as em units.

MozReview-Commit-ID: 2zM7O0awynG
2017-08-02 11:28:08 -07:00
Erica Wright
e2a35da326 Bug 1378016 - Fix keyboard navigation and selection on 'recent bookmarks'. r=Gijs
MozReview-Commit-ID: GJ7vRPz8zuo

--HG--
extra : rebase_source : b8a212cd174f81994e3cdb5adc4226b5dfc531d3
2017-07-31 09:47:19 -04:00
Manish Goregaokar
0be9924b76 servo: Merge #17947 - stylo: Support text-zoom (from Manishearth:stylo-text-zoom); r=emilio
r=emilio https://bugzilla.mozilla.org/show_bug.cgi?id=1358688

Source-Repo: https://github.com/servo/servo
Source-Revision: 756982634023e3bd303a0b511d9066df34f636b0

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : db97e51a8ed5a6ac6a72fac5fe4fcbca89c00972
2017-08-02 12:26:56 -05:00
Rex Lee
b0efeb2304 Bug 1385123 - [Onboarding] Fix word wrapping when focusing on tour items under some languages. r=Fischer,mossop
MozReview-Commit-ID: HgMnsOQefQR

--HG--
extra : rebase_source : f19ac9fe53bbe931223c7598e2a150eec66f46b3
2017-08-01 12:22:03 +08:00
Chun-Min Chang
261bda646c Bug 1384944 - Replace NS_ConvertASCIItoUTF16 by NS_ConvertUTF8toUTF16; r=padenot
--HG--
extra : rebase_source : e717dd2c4a0e96edb225443d157b4a761b1ec524
2017-07-28 15:41:20 +08:00
Alex Gaynor
567f1c90d0 Bug 1384941 - removed access to mach services which are used for cameras in the content process; r=haik
MozReview-Commit-ID: Ir6KgLM34bu

--HG--
extra : rebase_source : badd0b62f20b870f7da82fcbefb09f7545e02801
2017-07-25 11:51:03 -04:00
Jared Wein
22e9f773cb Bug 1379620 - Disable stop-reload animation while a tab is opening or closing. r=dao
MozReview-Commit-ID: 4rwBQaH7jTR

--HG--
extra : rebase_source : e4554e675d3a8df8ed90c3fff639cd44c9857cb5
extra : intermediate-source : 4b9c3835d19ef7b8d2d3483a3e76b5fe78cb5787
extra : source : f001da39af0528b649ad577e17f67523a5ff88ac
2017-07-26 11:34:22 -04:00
Dan Banner
2514f6e1e4 Bug 1386666 - Remove try..catch(ex if ex) statements from toolkit/components/osfile/ so that ESLint can parse the files. r=mossop
MozReview-Commit-ID: 786dBxzN3Uc

--HG--
extra : rebase_source : bfb2c488d598f528bdbe0383051322c964fb1497
2017-07-31 16:34:04 +01:00
Bob Silverberg
bcadbae76c Bug 1352711 - Add a notifications.onShown event and use it to fix an intermittent in test_ext_notifications.html, r=mixedpuppy
MozReview-Commit-ID: GC9poUR4jnu

--HG--
extra : rebase_source : 2257be639d47e92eeb97a2b400ec1aaef68bfe5b
2017-08-02 04:44:10 -04:00
Haik Aftandilian
34c815ff04 Bug 1384209 - [Mac] Remove com.apple.coreservices.appleevents from the content process sandbox. r=Alex_Gaynor
MozReview-Commit-ID: 37zX5WZiF4P

--HG--
extra : rebase_source : 53bd0bb8cb8353a7ec513066581a6abfe2d99172
2017-07-24 15:53:18 -07:00
Chun-Min Chang
59e4ef323b Bug 1361336 - part6: Apply AudioNotificationSender/Receiver in ContentParent/Child; r=cpearce
--HG--
extra : rebase_source : ad349d20a5b300e47ca3773f102946cbfc43c516
2017-07-25 12:34:14 +08:00
Chun-Min Chang
030729930f Bug 1361336 - part5: Register the AudioStream into AudioNotificationReceiver when it's created; r=cpearce
--HG--
extra : rebase_source : bec94f3f8a710b8b8d21912f0feb5a752e92c7de
2017-07-26 14:50:48 +08:00
Chun-Min Chang
fcac71b722 Bug 1361336 - part4: Create AudioNotificationSender/Receiver to pass the device-changed notification; r=cpearce
--HG--
extra : rebase_source : 698c735d3fe7fc6b47b47416a205dc51e77c9358
2017-07-26 17:00:44 +08:00
Chun-Min Chang
19b08c8caa Bug 1361336 - part3: Pass audio default device-changed message via PContent; r=cpearce
MozReview-Commit-ID: FzdeD2kuSJA

--HG--
extra : rebase_source : 97c3dec16f7bbc95672f9cdb7e9deb2b0d139e8a
2017-07-18 10:42:59 +08:00
Chun-Min Chang
7d076c3ac2 Bug 1361336 - part2: Prevent AudioStream::ResetDefaultDevice() from being called before stream is started; r=cpearce,kinetik
--HG--
extra : rebase_source : 95030be6e9ce493b6d42e837f9a7e652907836a8
2017-07-21 17:45:45 +08:00
Chun-Min Chang
bfe0bce52c Bug 1361336 - part1: A new API for AudioStream that it can reset stream to the default device; r=kinetik
MozReview-Commit-ID: ErUYXK9fUvE

--HG--
extra : rebase_source : ced74fba605b6892674a58611d7eb33616c81ce6
2017-07-12 14:51:07 +08:00
Botond Ballo
ae01f40e30 Bug 1386742 - Fix a transcription error in the APZ autoscroll calculation. r=kats
MozReview-Commit-ID: DNVBRR6wucU

--HG--
extra : rebase_source : 45097a948b6a26cf1dbc1ed53741cd180d22b34a
2017-08-02 13:51:30 -04:00
Andrew McCreight
2cc510d9c2 Bug 1364566 - Enable lazy parsing for NonSyntactic scopes. r=shu+381259
MozReview-Commit-ID: 2mu1n2POlC7

--HG--
extra : rebase_source : 640c4ac4d110a4056e01bc7f653c21a1fba17074
2017-06-07 13:05:14 -07:00
Sam Foster
6130972950 Bug 1376519 - Photon download notifications. r=Paolo
* Filmstrip style svg animation for start download notification, vertically centered to allow for variable-height toolbar buttons
* Simultaneous identifer "dip" animation on the icon for download start
* Identifier icon bounce animation for download finish (no notification animation in the #downloads-animation-container)
* Always measure the anchor element as toolbarheight may change in a session (e.g. switching to compact mode)
* Conditionally include the start/finish pngs for non-Photon builds
* Have #downloads-notification-anchor hidden by default, and show it before measuring for placement. This avoids the interference with scrolling/APZ when the notifier element is tall enough to overlap the tabbrowser element

MozReview-Commit-ID: LJF6iV9HiJi

--HG--
extra : rebase_source : 80238cf0240c32943667ee4c141c756813b2728e
2017-07-31 09:36:27 -07:00