Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Go to file
Shing Lyu 176cfc3790 servo: Merge #18183 - Enable screen.width/height/availWidth/availHeight (from shinglyu:availheight); r=asajeffrey
<!-- Please describe your changes on the following line: -->
Support screen.width/height/availWidth/availHeight using information from glutin. r?@paulrouget

Since glutin don't have `availWidth` and `availHeight` information, I let them fallback to `width` and `height`. If that's not acceptable in terms of webcompat, I can remove that part.

There are some test failures on wpt css about mutating screen.width/height should throw exception, but I can't reproduce that behavior on other major browser, so I keep them disabled. Also there are some media query issues, but I believe that's due to some test harness problem on my test machine.

---
<!-- 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 #18062  (github issue number if applicable).

<!-- Either: -->
- [x] There are tests for these changes in wpt cssom-view
- [ ] 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: 504ad4de2a426c2bc70161a9190fddaa8728ead2
2017-11-14 14:45:52 +02:00
.cargo
.vscode Bug 1377937 - Fix VSCode tasks on Windows (NPOTB, DONTBUILD). r=gps 2017-07-03 21:55:07 +03:00
accessible Bug 1401980 - shutdown accessibility service on accessibliity.force_disable pref change. r=surkov 2017-11-11 22:21:45 -05:00
browser Merge inbound to mozilla-central r=merge a=merge 2017-11-14 00:57:47 +02:00
build Merge inbound to m-c. a=merge 2017-11-10 16:13:15 -05:00
caps Backed out 6 changesets (bug 1409148) for failing mochitest caps/tests/mochitest/test_bug292789.html on Android. r=backout on a CLOSED TREE 2017-11-10 02:59:06 +02:00
chrome Bug 1410736 - Replace remaining uses of general.useragent.locale with LocaleService API. r=jfkthame 2017-11-03 17:08:34 -07:00
config Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2017-11-12 21:22:25 -05:00
db Bug 1403346 - Replace all uses of ALLOW_COMPILER_WARNINGS with a template, remove ALLOW_COMPILER_WARNINGS. r=glandium 2017-10-25 15:12:09 -07:00
devtools Merge inbound to mozilla-central r=merge a=merge 2017-11-14 00:57:47 +02:00
docshell Bug 1412195 - Track all changes to TabChild active state (r=bevis) 2017-11-11 21:04:20 -08:00
dom Merge inbound to mozilla-central r=merge a=merge 2017-11-14 00:57:47 +02:00
editor Bug 1415062 - part 2: Editor should use Selection::Collapse(const RawRangeBoundary&) as far as possible r=m_kato 2017-11-07 19:50:25 +09:00
embedding Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
extensions Merge inbound to mozilla-central r=merge a=merge 2017-11-10 11:55:43 +02:00
gfx Backed out 2 changesets (bug 1416620) for failing own reftest. r=backout a=backout on a CLOSED TREE 2017-11-14 13:04:52 +02:00
gradle/wrapper Bug 1366644 - Part 3a: Update Android build-tools (25.0.3), Gradle (3.4.1), Android-Gradle (2.3.3). r=maliu 2017-10-16 15:09:15 -07:00
hal Bug 1412048 - Replace NS_RUNTIMEABORT("...") with MOZ_CRASH("..."). r=froydnj 2017-10-24 23:30:31 -07:00
image Remove trivial calls to DataSourceSurface::Stride. (bug 1405390 part 3, r=bas) 2017-11-09 00:43:30 -08:00
intl Bug 1337078 - Improve the use of Android API in OSPreferences r=snorp 2017-11-10 09:20:04 -06:00
ipc Backed out 1 changesets (bug 1365257) for failing gl in \build\build\src\obj-firefox\dist\include\mozilla/ServoStyleSet.h:97 r=backout on a CLOSED TREE 2017-11-10 19:23:58 +02:00
js Merge inbound to mozilla-central r=merge a=merge 2017-11-14 00:57:47 +02:00
layout Backed out 2 changesets (bug 1416620) for failing own reftest. r=backout a=backout on a CLOSED TREE 2017-11-14 13:04:52 +02:00
media Merge inbound to m-c. a=merge 2017-11-10 16:13:15 -05:00
memory Bug 1402283 - Fix typo. r+a=RyanVM 2017-11-10 17:07:27 -05:00
mfbt Bug 1410186 - turn Maybe assertions into release assertions; r=bkelly 2017-11-09 12:27:51 -05:00
mobile Bug 1416484 - Add and update some engines for later testing. r=mconnor 2017-11-11 10:23:03 -06:00
modules Backed out changeset 2ed0ff57330d (bug 1411467) for test_interfaces bustage on Beta. 2017-11-10 17:31:03 -05:00
mozglue Bug 1411712 - Move symbol version script flags for arm in mozglue to moz.build. r=mshal 2017-11-02 11:47:48 -07:00
netwerk merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-11-09 00:00:16 +02:00
nsprpub Bug 1393854, land NSPR_4_18_RTM, no code change, only version numbers, r=me 2017-09-19 18:43:02 +02:00
other-licenses Bug 1413568 - Update installer icons. r=mconley 2017-11-02 08:34:22 -07:00
parser Bug 1413467 - Make enqueueing tree ops use fallible allocation. r=bz 2017-11-10 12:19:45 +02:00
python Backed out 6 changesets (bug 1407432) on (wild) suspicion of causing failures in browser_sanitize-timespans.js, somehow 2017-11-09 22:07:46 -08:00
rdf Bug 1416164 - Replace NS_NOTYETIMPLEMENTED with MOZ_ASSERT_UNREACHABLE. r=froydnj 2017-10-25 00:37:02 -07:00
security No bug, Automated HPKP preload list update from host bld-linux64-spot-031 - a=hpkp-update 2017-11-13 11:38:59 -08:00
services Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2017-11-12 21:22:25 -05:00
servo servo: Merge #18183 - Enable screen.width/height/availWidth/availHeight (from shinglyu:availheight); r=asajeffrey 2017-11-14 14:45:52 +02:00
startupcache Bug 1408017 - Clear gStartupCacheWrapper in the dtor. r=froydnj 2017-10-26 16:47:27 -04:00
storage Bug 1413501 - Test for SpinningSynchronousClose unregisterConnection edge-case. r=mak 2017-11-08 09:31:31 -08:00
taskcluster Merge autoland to mozilla-central r=merge a=merge 2017-11-14 00:55:33 +02:00
testing Backed out changeset 1a83be186f45 (bug 1397612) on request from whimboo for causing bug 1391545. r=backout a=backout on a CLOSED TREE 2017-11-14 13:04:27 +02:00
third_party Bug 1415150 - Update Cargo lockfiles and re-vendor rust dependencies. r=jrmuizel 2017-11-10 10:55:12 -05:00
toolkit Merge inbound to mozilla-central r=merge a=merge 2017-11-14 12:21:40 +02:00
tools Bug 1416199 - Don't try to set signal handlers in Windows coverage build. r=froydnj 2017-11-10 12:50:14 +01:00
uriloader merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-11-04 10:58:24 +01:00
view Bug 1414666 part 1 - Add nsIFrame::PresShell() for convenient access to the shell. r=emilio 2017-11-09 03:00:48 +01:00
widget Bug 1401980 - shutdown accessibility service on accessibliity.force_disable pref change. r=surkov 2017-11-11 22:21:45 -05:00
xpcom Merge m-c to autoland. a=merge 2017-11-12 21:26:51 -05:00
xpfe Bug 1414974 - Part 3: Move Get{Inner,Outer}WindowWithId onto the specific subclasses, r=smaug 2017-11-09 10:44:47 -05:00
.clang-format Bug 1414764 - Remove Mozilla specific options to avoid build warnings with gcc and -Wcomment enabled. r=sylvestre 2017-11-06 11:47:40 +02:00
.clang-format-ignore Backed out changeset 31f259ee387b (bug 1411004) for failing flake8 at tools/mach_commands.py:307:14 | indentation is not a multiple of four. r=backout 2017-10-31 16:20:11 +01:00
.clang-tidy
.cron.yml No Bug - Move periodic file update start time earlier, to reflect when buildbot used to run. r=me 2017-10-20 11:17:50 -04:00
.eslintignore Bug 1415682 - Abort API exposed to System, r=qdot 2017-11-10 19:37:13 +01:00
.eslintrc.js Bug 1371293 - Upgrade ESLint to version 4.8.0, configuration changes. r=mossop 2017-10-09 10:54:16 +01:00
.flake8 Bug 1395126 - Support cascading configuration for flake8, r=bc 2017-08-29 17:32:31 -04:00
.gdbinit Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
.gdbinit_python Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted 2017-05-25 11:48:03 -04:00
.gitignore Bug 1412930 - Package localized prerendered files. r=k88hudson 2017-10-30 13:13:35 -07:00
.hgignore Bug 1410341 - add toolchains.json to .hgignore;r=jmaher 2017-10-20 10:53:20 +02:00
.hgtags No bug - Tagging mozilla-central 1f91961bb79ad06fd4caef9e5dfd546afd5bf42c with FIREFOX_NIGHTLY_58_END. a=release DONTBUILD CLOSED TREE 2017-11-12 21:12:59 -05:00
.inferconfig Bug 1357629 - Add httpclientandroidlib to .inferconfig ignore list r=nalexander,njpark 2017-04-18 20:05:25 -07:00
.lldbinit Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
.taskcluster.yml Bug 1409577 - Add static indexes to decision task r=dustin 2017-10-18 11:55:01 -04:00
.yamllint Bug 1392795 - [yamllint] Group paths to lint by their closest config and run each config group separately, r=dustin 2017-08-23 11:28:28 -04:00
.ycm_extra_conf.py
aclocal.m4 Bug 1363992 - Remove jemalloc 4. r=njn 2017-05-11 13:23:07 +09:00
AUTHORS Bug 1111333 - Enable double-tap-drag to zoom. r=kats 2017-05-23 19:53:06 +02:00
build.gradle (bug 1411688) Make --with-gradle handle single-locale repack r=snorp a=reland 2017-11-06 15:23:47 +02:00
client.mk Bug 1416020 - Remove echo-variable-% target from client.mk; r=nalexander 2017-11-09 14:26:55 -08:00
client.py Bug 1399100 - fix client.py follow-up, r=kaie 2017-09-20 09:13:14 +02:00
CLOBBER Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2017-11-12 21:22:25 -05:00
configure.in
configure.py Bug 1412460 - Don't write make variables in configure.d; r=mshal 2017-11-01 15:02:11 -07:00
GNUmakefile
gradle.properties Bug 1366644 - Pre: Bump Gradle JVM heap to allow in-process dex. r=maliu 2017-07-18 17:59:57 -07:00
gradlew
LEGAL
LICENSE
mach
Makefile.in Bug 1412932 - Switch to PGO build in Makefile.in; r=ted 2017-11-07 16:38:39 -08:00
moz.build Bug 1410911 - back out bug 1403322; r=gbrown 2017-11-10 18:19:47 +00:00
moz.configure Bug 1415686 - Ensure both configure and old-configure agree on what MOZ_DEBUG means. r=chmanchester 2017-11-09 07:41:21 +09:00
mozilla-config.h.in Bug 1371266 - libpng should be built with -std=c89. r=glennrp 2017-06-08 06:29:03 -07:00
npm-shrinkwrap.json Bug 1371293 - Upgrade ESLint to version 4.8.0, configuration changes. r=mossop 2017-10-09 10:54:16 +01:00
old-configure.in Bug 1320738 - export MOZ_PGO for js/src subconfigure; r=gps 2017-11-10 20:08:49 -08:00
package.json Bug 1371293 - Upgrade ESLint to version 4.8.0, configuration changes. r=mossop 2017-10-09 10:54:16 +01:00
README.txt
settings.gradle Bug 1360587 - Part 2. Remove bouncer apk build config; source; docs, r=nalexander 2017-10-25 22:51:44 +08:00
test.mozbuild

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    https://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    https://developer.mozilla.org/en/docs/Creating_a_patch
    https://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on https://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

You can download nightly development builds from the Mozilla FTP server.
Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy. Firefox nightlies, for example, can be found at:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://nightly.mozilla.org/