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

521530 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey 4f2c73ffd9 Bug 1341207 - Use MachCommandConditions.is_{git,hg} for `mach clobber python`. r=chmanchester
--HG--
extra : rebase_source : 4b78d3857cca67455343847ab27902c5877e0a6e
2017-02-21 16:04:08 +09:00
Mike Hommey 3a2a54e7d2 Bug 1339240 - Detect git worktrees in MachCommandConditions.is_git. r=chmanchester
--HG--
extra : rebase_source : 1763953383ead9f9985fdadc0e862ace23cb2b21
2017-02-21 15:53:27 +09:00
Shane Caraveo 81a2b977dd Bug 1340750 fix remote handling of sidebar browser, r=kmag
MozReview-Commit-ID: 3hamdXtxKjh

--HG--
extra : rebase_source : 0945671bad701fef2986d2bc51a6b9af75ec1a03
2017-02-21 13:51:14 -08:00
Hiroyuki Ikezoe 722280270f Bug 1340344 - Calmp hue value in finite float range. r=dholbert
MozReview-Commit-ID: ItxwcKjpHyO

--HG--
extra : rebase_source : 8ffa77db0272d1ac836b395736d2d8e4ddb233e3
2017-02-18 10:43:24 +09:00
Matt Brubeck ed0947bbf5 servo: Merge #15676 - Update thread_local, serde_json, syn, offscreen_gl_context, quote (from mbrubeck:always-be-updating); r=SimonSapin
This adds one new crate the the dependency graph, `synom`, which is part of the `syn` repo and is dual-licensed MIT/Apache-2.0.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e475742fd3e8ca6c88eb1dba2de6beb579956fd2
2017-02-21 10:53:38 -08:00
Brian Stack 2d939c8b59 Bug 1340668 - Fix repo scopes in action.json generation r=garndt
MozReview-Commit-ID: CprCcIiqsbH

--HG--
extra : rebase_source : 4df66bf8dea629e78cd878b078355ba9e6b4f0a2
2017-02-17 14:43:59 -08:00
Jan Henning f9c448be82 Bug 1339737 - Don't set the bookmarks panel scroll position again if the same loader has been reloaded. r=ahunt
Changes in the BrowserDB, e.g. because of sync or when opening a link (in a new tab) will trigger the BookmarksLoader's onContentChanged() method, which will trigger a new load reusing the current loader. This means that currently, the code for setting the scroll position in onLoadFinished() gets to run again in that case.

We only want to set the scroll position when the user has navigated to a different folder. Folder navigation will always create a fresh loader, therefore we now keep track whether we've already seen a particular loader in onLoadFinished() and only set the scroll position if we're encountering this particular BookmarksLoader instance for the first time.

MozReview-Commit-ID: Ln8yeUEoEfr

--HG--
extra : rebase_source : a32c33080f56071059898127c19c75e3d32b3a3b
2017-02-15 21:48:29 +01:00
Jan Henning 9c78f37fc6 Bug 1337325 - Remove unused zoom and scroll code from browser.js r=kats
More JPZ leftovers, I presume. In any case what's left doesn't do anything really useful and a DXR search didn't reveal any remaining users, so this can be thrown out.

MozReview-Commit-ID: 9dN6Jifpbvw

--HG--
extra : rebase_source : 04614d729a55e00c5331ecc321ca2ef5b5e73747
2017-02-12 13:33:42 +01:00
Jan Henning 90d62ccde5 Bug 1337940 - Part 2 - Make session store form data test work again. r=ahunt
Collecting data for history changes causes an additional session store data update for that tab when navigating back, which needs to be accounted for in this test. Therefore we now also wait for DOMTitleChanged before assuming that the tab has navigated to its intended location.

MozReview-Commit-ID: FDNQednXPWh

--HG--
extra : rebase_source : c38b4085eac914bb9a3aa4f0e2b1e04eb3cf1ce3
2017-02-13 22:16:36 +01:00
Jan Henning 2e443a5728 Bug 1337940 - Part 1 - Capture session store tab data on history listener notifications. r=ahunt
So far we've simply used DOMTitleChanged as a proxy for navigation, since it's the earliest opportunity at which we have all necessary data for a new history entry (session history itself as well as tab URL and *title*) available.

However it turns out that this is not 100 % reliable, since some pages might e.g. implement their navigation in JS using the history API, which won't necessarily trigger any DOMTitleChanged events. In those case we'd fail to update the tab's session history in the session store unless the user eventually navigated to someplace else that actually triggers a title change event again - if the browser was closed before that, we'd fail to properly restore the user's state.

To fix this, we take a similar approach as the desktop session store and collect a tab's history data again when receiving any history change notification for that tab.

Because the OnHistory... notifications are mostly cancellable, the session history hasn't been actually updated yet at the point the history listener is being called. We therefore can't synchronously call onTabLoad() from within our history change notification handler and have to schedule an async timeout instead so as to give the session history a chance to complete updating its state.

MozReview-Commit-ID: LgHer940QwT

--HG--
extra : rebase_source : a9634be57f3f43e30f42431e8a28846d958534ee
2017-02-11 21:07:29 +01:00
Milan Sreckovic fe9eb910b9 Bug 1262390: In some cases, we fail with the small allocation because of the device reset situation. r=bas.schouten
MozReview-Commit-ID: BKMOZbgJ7px

--HG--
extra : rebase_source : b1d86f7e0c134460b96e1b4064303273e6e91a54
2017-02-20 17:14:49 -05:00
Mark Banner 9d698007c6 Bug 1341338 - feedType is undefined in FeedConverter#handleResult. r=jaws
MozReview-Commit-ID: tZAdpmkNWp

--HG--
extra : rebase_source : 8c0886b44a8cf1cfa97428354d3c006227dfeaa3
2017-02-21 07:43:59 +00:00
cku 158bc08d53 Bug 1336905 - Part 2. Remove StyleShapeOutsideShapeBox. r=TYLin
MozReview-Commit-ID: L7vlIGwCOzi

--HG--
extra : rebase_source : 2c2744f3fdc4a2b6936f1135ea2cb62d76cd0399
extra : source : f76fbaee4ce86efbee78c60f0cce96f7c6926807
2017-02-06 15:56:03 +08:00
cku cfc6e5755f Bug 1336905 - Part 1. Remove StyleShapeSource's template argument. r=heycam,TYLin
MozReview-Commit-ID: FHTwGyXHsce

--HG--
extra : rebase_source : c043e4790bc2c84e4f3735a95c8ef0d9aa268986
extra : source : fb3c04effbd191767b1ff3e46c3c2d416ac8ee37
2017-02-21 23:26:17 +08:00
Manish Goregaokar 9c942458d5 servo: Merge #15675 - Resync bindings, use StyleShapeSource for clip-path (from Manishearth:resync); r=mbrubeck
The bindings are getting harder to rebase over since the checked-in bindings differ from the generated ones.

Also includes https://bugzilla.mozilla.org/show_bug.cgi?id=1339314

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e5d2e48a67eed5448297f0eeeb3272d3e7f1ee15
2017-02-21 10:05:01 -08:00
Sebastian Hengst 2fc30f09d3 Backed out changeset 38fa2ec33fa4 (bug 1192818) for frequently failing test_noAudioNotificationOnVolume0Element.html on Android 4.3 debug. r=backout 2017-02-21 19:30:26 +01:00
Sebastian Hengst 6974fb160a Backed out changeset 042e5fbe7846 (bug 1192818) 2017-02-21 19:29:29 +01:00
Sebastian Hengst 6f69f1ef34 Backed out changeset 52f41ac3440d (bug 1192818) 2017-02-21 19:29:24 +01:00
Mathieu Leplatre 6ea1566bc5 Bug 1341332 - Migrate the blocklist URIs. r=jthomas
MozReview-Commit-ID: CfYiwIOcK1

--HG--
extra : rebase_source : 9cdb8489c46b24141ef988f20c558f6ffc5a4955
2017-02-21 17:13:06 +01:00
Kirk Steuber 3d6bb088c9 Bug 1340448 - Fix intermittent timeout of browser_flash_block_lists.js r=Felipe
MozReview-Commit-ID: InSc42mWEJN

--HG--
extra : rebase_source : 4107cbf5dcdbb5ba0a02df9d920713ce0fed1ec9
2017-02-17 09:34:34 -08:00
Kartikaya Gupta b10e2495e8 Bug 1341312 - Split jsreftest jobs on Linux64-QR builds into 4 chunks to avoid timeout. r=jmaher
MozReview-Commit-ID: 2sbxIj3JgpW

--HG--
extra : rebase_source : 4540391ac1a2368004dc744f47f253990deab2b4
2017-02-21 10:36:48 -05:00
Byron Campen [:bwc] 05f117a2ad Bug 1338696: Don't deref null when nr_stun_message_create2 fails. r=drno
MozReview-Commit-ID: 6yo1NtElboR

--HG--
extra : rebase_source : ea9ea0868e6d806db07ec0f3509f3588bd433395
2017-02-13 16:22:54 -06:00
Byron Campen [:bwc] bcf0706eb7 Bug 1340734: Move the TLS detection logic to TestNrSocket::create, to keep up with changes from bug 1336507. r=drno
MozReview-Commit-ID: A0wYXBmvhyh

--HG--
extra : rebase_source : af80ae36fe7e2777d66a51a6f879c8e48bf7fb35
2017-02-17 17:31:55 -06:00
Mark Banner 789a9ce84c Bug 1341031 - Fix releasing drag capture for popups. r=mconley
MozReview-Commit-ID: 5dxGEtuQPK2

--HG--
extra : rebase_source : bd56be868c3be647c8fae0d6af3cc7c623129636
2017-02-20 13:41:34 +00:00
Sam Liu 149508793b servo: Merge #15653 - Cleanup arraybufferview type (from samliu:cleanup_arraybufferview_type); r=cbrewster
<!-- Please describe your changes on the following line: -->
Replace uses of spidermonkey-specific JS_GetArrayBufferViewType with ArrayBufferView impl's method get_array_type().

Tests pass:
./mach test-wpt tests/wpt/web-platform-tests/WebCrypto
./mach test-wpt tests/wpt/web-platform-tests/webgl

---
<!-- 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
- [x] These changes fix #15605 (github issue number if applicable).
- [x] There are tests for these changes

<!-- 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: 907c1ef3d280269b5fe87a67759411ab2f938a72

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 186ac6f4f13d2dacd6825a11318af70ea59dad98
2017-02-21 06:54:30 -08:00
Munro Mengjue Chiang 6f870f4516 Bug 1332869 - Fix Intermittent browser_devices_get_user_media_in_frame.js; r=florian
MozReview-Commit-ID: E968LugF7Rp

--HG--
extra : rebase_source : 286583c22238b02ecc585777e62f16acaf557e80
2017-02-03 15:44:14 +08:00
Gijs Kruitbosch 775dd962f6 Bug 1336335 - fix intermittent failure in browser_invalid_uri_back_forward_manipulation.js by using proper util to wait for an error page load, r=johannh
MozReview-Commit-ID: AYfyAmEGyOx

--HG--
extra : rebase_source : 1eb3a7a4904c93dc2a565d2fda95ceec3cb43a40
2017-02-20 16:33:32 +00:00
Mike Conley 09ca630dd5 Bug 1339317 - Make browser_windowopen_reflows.js more resilient to compositor races. r=Gijs
MozReview-Commit-ID: IsPJ4hzFQ4b

--HG--
extra : rebase_source : 0602b822f93a0c2eb4c81e38ae9ec68ecda5eeac
2017-02-17 13:52:48 -05:00
Anthony Ramine 12f49cb702 servo: Merge #15670 - Kill the plugins crate and its clippy support (from nox:die-plugins-die); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: 14bbe9d8729dece2d80bb651bca1c2eda13d0429

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e37e34fddb2107725548a4af0b2bb1ba21d5d70e
2017-02-21 05:15:15 -08:00
Carsten "Tomcat" Book 1a3f1390bc Merge mozilla-central to autoland 2017-02-21 14:19:28 +01:00
Carsten "Tomcat" Book b2d846cfa1 merge mozilla-inbound to mozilla-central a=merge 2017-02-21 14:15:35 +01:00
Gregory Katz d9d32c4c2a servo: Merge #15659 - Eliminate a mem::transmute in CodeGen (from gregkatz:eliminate_transmute_find_enum); r=Ms2ger
<!-- Please describe your changes on the following line: -->
Eliminate a mem::transmute in CodeGen by changing the find_enum_string_index function to take a slice of pairs and return an enum value.

---
<!-- 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
- [X] These changes fix #15587 (github issue number if applicable).

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

<!-- 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: af6353df87770c6d616facdc07f9f929e99b9eda

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 42992b500828053caff27a6ee20ca35f0f42f2d5
2017-02-21 04:28:32 -08:00
Carsten "Tomcat" Book 9956afa503 Backed out changeset 597004bec637 (bug 1334975) for test failures in test_chrome_ext_downloads_saveAs.html 2017-02-21 10:30:41 +01:00
Carsten "Tomcat" Book 2ccec565b5 Backed out changeset 952f0a7824ad (bug 1335539) 2017-02-21 10:30:06 +01:00
Jed Davis a01b0b45dd Bug 1286865 - Step 4: Report rejected syscall info in Telemetry. r=gcp r=francois
MozReview-Commit-ID: 7R755WT1Ftu

--HG--
extra : rebase_source : 77356e29da9a02a3a4392be3de0e9e88ed9e131e
extra : histedit_source : 813980d967009d4270143ce3a503836c7337941f
2017-02-20 19:55:56 +01:00
Gijs Kruitbosch 163a482778 Bug 1340491 - ProfileAge shouldn't spam stdout/stderr by default, r=MattN
MozReview-Commit-ID: CysAlG1hMXL

--HG--
extra : rebase_source : 06799419dbb0d0ff9671d200128e627e52bdcf59
2017-02-20 18:07:32 +00:00
Marco Bonardo 09221118b6 Bug 1339061 - Disable frecency decay in browser_visited_notfound.js to avoid intermittent failures. r=standard8
MozReview-Commit-ID: G0jSTXE69aa

--HG--
extra : rebase_source : c6bd6083d1fd109cec94320206f1de7e4726fdf8
2017-02-20 15:25:29 +01:00
Xidorn Quan 5554e943d0 Bug 1341251 - Update expectation of style mochitest.
MozReview-Commit-ID: B3rrpnwbBKk

--HG--
extra : source : 4c7742b0953c0139dd987c305be9e37f37504aca
2017-02-21 22:55:14 +11:00
bechen da4381687d Bug 1334112 -part3 : Trigger UpdateReadyState after unbind TrackElement's and TextTrack::SetReadyState. r=rillian
MozReview-Commit-ID: pEeOzZSpak

--HG--
extra : rebase_source : cf7759c746f3fa9221dcda03327fd6b3c5997ee7
2017-02-21 15:44:10 +08:00
bechen 2f4c6ee015 Bug 1334112 - part2: When changing the readyState to HAVE_FUTURE_DATA and HAVE_ENOUGH_DATA, the texttracks must be loaded. r=jwwang
MozReview-Commit-ID: I7oA3TleAFo

--HG--
extra : rebase_source : 4a77aa7d6e8cfd366327dd10a03ad5c228c925c0
2017-02-21 15:44:00 +08:00
bechen 5bd89ec1d3 Bug 1334112 - part1: Add IsLoaded functions for TextTrack, TextTrackList, TextTrackManager. r=rillian
MozReview-Commit-ID: GBEKZvLUiPn

--HG--
extra : rebase_source : 9c3e5ba8a7ac6b9e3bb99fe9ae10e554422ff268
2017-02-20 15:27:06 +08:00
Thomas Nguyen 44da8e9d43 Bug 1288633 - Add SafeBrowsing report false positive URL test.r=francois
MozReview-Commit-ID: JEMLug9M85Q

--HG--
extra : rebase_source : ec3d3c63b8508fd05274c7150b1115a62bfc8369
2017-02-21 11:25:04 +08:00
Thomas Nguyen 65d9ef988a Bug 1288633 - Add more information when an URL matches Safe Browsing list. r=dragana,francois
MozReview-Commit-ID: 6u0dUOB838F

--HG--
extra : rebase_source : 8800e60e6a3b787f1ebaeafb48057e3a3d509468
2017-02-21 09:46:36 +08:00
Henry Chang 2b62e1dabf Bug 1338970 - Introduce 2-step DB update scheme. (background update then swap in) r=francois,gcp
MozReview-Commit-ID: 4C9N0tuSso0

--HG--
extra : rebase_source : 80561fb0beec7fc9f6e852d81984b239ae62700e
2017-02-21 14:18:29 +08:00
Alastor Wu aaa6c009ca Bug 1192818 - part3 : modify test. r=baku
MozReview-Commit-ID: HKzjFN7pJcJ

--HG--
extra : rebase_source : 0dab95da917cb9e59235b56ccd9c5969348c96c5
2017-02-21 18:41:16 +08:00
Alastor Wu f2ea075d35 Bug 1192818 - part2 : only dispatch DOMAudioPlaybackStarted when there is audible sound. r=baku
The DOMAudioPlaybackStarted event would affect the tabbrowser's attribute,
"soundPlaying", and this attribute should indicate whether the tab is audible or not. However, in present codebase, even the tab has "soundplaying", it doens't mean
the tab has audible sound, you need to check extra attribute, "muted".

After applying this patch, tabbrowser can only own one of the attributes ("soundplaying"
or "mute"). These attributes won't exist at the same time, so we can easily know
whether the tab is audible by checking "soundPlaying".

Let's see an example,
step1. playing a playing audio
  - tab owns "soundPlaying"
step2. mute the tab
  - tab owns "muted"
step3. stop audio
  - tab owns "muted"
step4. replay the audio
  - tab owns "muted"
step5. unmute the tab
  - tab owns "soundPlaying"
step6. stop audio
  - tab owns ""

MozReview-Commit-ID: 50NorRbRIP

--HG--
extra : rebase_source : 8a06d1df7f4e3b974b18292944b19ada20eb655d
2017-02-21 18:41:13 +08:00
Alastor Wu c5d7911229 Bug 1192818 - part1 : dispatch DOMAudioPlaybackStopped when mute the tab. r=baku
The root cause of the intermittent fail is because "DOMAudioPlaybackStopped" has no directly relationship with browser.mute()/unmute().

In [1], the "DOMAudioPlaybackStopped" is caused by audio stop playing, not by calling the browser.mute(). If the audio stops playing before calling the wait_for_event(), the test would be time-out. I guess the bug 1302280 is also caused by same reason.

So this patch would do two thinngs,
1. dispatch "DOMAudioPlaybackStopped" when we mute tab
2. loop the audio in test file, to make sure the "DOMAudioPlaybackStopped" is
   dispatched when muting the audio, not the file ended.
[1] https://goo.gl/ymUv8P

MozReview-Commit-ID: 703JHj9dICT

--HG--
extra : rebase_source : ad2985bd14d6a9b91a73c0d4103aa51c4981124c
2017-02-21 18:41:09 +08:00
Huxley c9fa1b34e6 servo: Merge #15612 - fixed the wrong behavior of border-spacing (from UnICorN21:master); r=canaltinova
fixed the wrong behavior of border-spacing
---
<!-- 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
- [X] These changes fix #15489.

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

<!-- 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: d724bffde80fec1698a485698d8743022a1e9d57

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : dc82e9b07fe6ec0541c1a4672865c5ca792e5cf2
2017-02-21 01:09:35 -08:00
Fischer.json 7bcb3baa94 Bug 1340967 - Search input label in Settings of Site Data is not vertically center-aligned r=Gijs
MozReview-Commit-ID: FG6l9iktvRn

--HG--
extra : rebase_source : 4390f8ccbfd60667cb6fb299299e00921817866f
2017-02-20 14:41:11 +08:00
Rex Lee 6aa1497673 Bug 1338094 - [Mortar] Support keyboard copy. f=lchang, r=evelyn
MozReview-Commit-ID: KvLR3Ajio1n

--HG--
extra : rebase_source : 3eb74758d258e928f6ed25284ecf69d8bef462c4
2017-02-14 11:44:38 +08:00