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
Blake Kaplan aec5df4e02 Bug 1186265 - Partially update DOMPoint, DOMQuad, DOMRect, DOMMatrix. r=bz
Some notes: this does not fully bring us to compliance to the current spec.
Instead, these are the fixes that I needed to make in order to make
css/geometry/interfaces.html pass with the DOMPoint changes in the previous
patches. I don't fully understand why that patch caused the test to fail the
way it did, but it ended up being easier to fix our code than understand why
the harness was falling over.

The DOMQuad::QuadBounds class was the source of some confusion for me. Now
that DOMRectReadOnly is a concrete class with members, I wanted to avoid
wasting them. However, the spec is unclear as to whether a DOMQuad's bound's
should be live -- that is because DOMQuad exposes DOMPoint, we can set its
points after retrieving a QuadBounds object. Our current code is live, setting
the points changes the QuadBounds. Chromium's current behavior is to never
update the QuadBounds object. I've left our behavior untouched in this patch
(and waste 4 doubles per QuadBounds object), but I am intending to file a bug
to understand what the intent of the spec is. I wonder if the author intended
the points to be DOMPointReadOnly instead. If so, we could simplify the
DOMRectReadOnly code and get rid of the virtual getters, which would be nice.

I also wasn't thrilled to put the DOMMatrix setters on the DOMMatrixReadOnly
class, but for brevity and simplicity of implementation, I've made them
public. I briefly considered making the setters protected on the ReadOnly
version of the class, but I'm not convinced that having to explicitly make
them public on the derived class is worth the extra copies of the names.

MozReview-Commit-ID: CjdW4Nbnc6A

--HG--
extra : rebase_source : 97e9386cfb17319242913d28117c8b1b8b6fbbbe
2018-03-29 16:19:31 -07:00
.cargo Bug 1452603 - Update Cargo stuff for the serde bump. r=jrmuizel 2018-04-12 11:05:18 -04:00
.vscode
accessible Bug 1461959 - Removed OSX 10.6 reference. r=gbrown 2018-05-17 14:53:00 +03:00
browser Backed out 3 changesets (bug 1464102) for browser-chrome failures on siteData/browser_siteData.js. CLOSED TREE 2018-05-25 01:42:37 +03:00
build Bug 1463921 - Re-run js configure when js/src/old-configure changes. r=gps 2018-05-23 17:22:09 -07:00
caps Bug 1452666. Implement nsISerializable on expanded principals. r=kmag 2018-05-24 02:43:14 -04:00
chrome Bug 1460940 - Clean up most remaining C++-side uses of nsIDOMDocument. r=bz 2018-05-11 19:46:15 +02:00
config bug 1463425 - Fix flake8/pep8 issue by hand in config/ r=gps 2018-05-22 06:22:46 -07:00
db Bug 1453193 - Upgrade to SQLite 3.23.1. r=mak 2018-04-11 09:04:00 -04:00
devtools Bug 1463026 - Avoid unnecesarily setting the toolbox buttons when reloading the page; r=jryans 2018-05-24 13:13:50 +09:00
docshell Bug 1434553 - Implement nsIInputStreamLength and nsIAsyncInputStreamLength - part 9 - necko and docShell, r=mayhemer, r=smaug 2018-05-23 07:12:36 +02:00
dom Bug 1186265 - Partially update DOMPoint, DOMQuad, DOMRect, DOMMatrix. r=bz 2018-03-29 16:19:31 -07:00
editor Bug 1463981 part 3. Remove nsIDOMNode usage in editor. r=masayuki 2018-05-24 13:18:34 -04:00
embedding Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian 2018-01-29 15:20:18 -08:00
extensions Bug 1463981 part 1. Remove use of nsIDOMNode in spellchecker xpidl. r=masayuki 2018-05-24 13:18:34 -04:00
gfx Bug 1461268 - P1. Disable AMD VP9 decoder. r=bryce 2018-05-24 15:19:23 +02:00
gradle/wrapper Bug 1411654 - Part 1: Upgrade to Android-Gradle 3.0+ and build-tools;26.0.2. r=maliu 2017-10-26 11:00:36 -07:00
hal Bug 1460940 - Clean up most remaining C++-side uses of nsIDOMDocument. r=bz 2018-05-11 19:46:15 +02:00
image Backed out changeset 6c8bf287d25b (bug 1462431) for web platform reftest failure. r=aosmond 2018-05-18 08:59:26 -04:00
intl Bug 1453765 - Switch Fluent from warning to throwing errors when in debug/testing mode. r=Gijs 2018-05-22 20:49:29 -07:00
ipc Bug 1459144 - Fix CountHistogram deserialization for GeckoView. r=chutten,janerik 2018-05-22 17:15:26 +02:00
js Bug 1461938 part 34 - Move IteratorCache from JSCompartment to ObjectRealm. r=jonco 2018-05-24 12:02:54 +02:00
layout Bug 1461954: Fix nsBulletFrame's image request registration code. r=tnikkel 2018-05-16 15:05:54 +02:00
media Backed out changeset c13ca75c9bcb (bug 1450658) for Browser-Chrome failures on browser/base/content/test/webrtc/browser_devices_get_user_media_screen.js 2018-05-23 17:07:33 +03:00
memory Merge inbound to mozilla-central. a=merge 2018-05-24 12:37:58 +03:00
mfbt Bug 1462912 - fixed BufferList::Extract to handle the case where the call consumes the entirety of the BufferList; r=froydnj 2018-05-22 13:04:59 -04:00
mobile Merge inbound to mozilla-central. a=merge 2018-05-24 01:00:23 +03:00
modules Bug 1461268 - P1. Disable AMD VP9 decoder. r=bryce 2018-05-24 15:19:23 +02:00
mozglue Bug 1462727 - Make WindowsMapRemoteView.cpp work with April 2018 Update SDK. r=aklotz 2018-05-19 02:12:14 +09:00
netwerk Merge inbound to mozilla-central. a=merge 2018-05-24 12:37:58 +03:00
nsprpub Bug 1432480, land NSPR_4_19_RTM, no code changes, only version numbers. Require version 4.19 for building. r=me 2018-03-05 17:05:18 +01:00
other-licenses Merge inbound to mozilla-central. a=merge 2018-05-09 01:58:44 +03:00
parser Bug 1461701: Remove nsUpdateType and UPDATE_CONTENT_MODEL. r=smaug 2018-05-15 18:47:16 +02:00
python Bug 1440435 - Remove final remnant of Java JAR building from Makefiles. r=ted 2018-05-18 11:23:00 -07:00
security Bug 1432567 - [Mac] Add a test that renders fonts from non-standard directories r=jfkthame 2018-05-22 12:31:03 -07:00
services Bug 694735 - Change default Accept header to json in Sync API requests r=eoger 2018-05-24 15:04:11 -04:00
servo Merge mozilla-inbound to mozilla-central. a=merge 2018-05-23 12:51:22 +03:00
startupcache Bug 1439047 - Part 2: Cleanup StartupCache::PutBuffer hashtable usage. r=froydnj 2018-02-16 15:58:30 -08:00
storage Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj 2018-04-28 12:50:58 -07:00
taskcluster Bug 1462791 - Remove docker_worker_add_gecko_vcs_env_vars(); r=dustin 2018-04-23 13:39:16 -07:00
testing Bug 1186265 - Partially update DOMPoint, DOMQuad, DOMRect, DOMMatrix. r=bz 2018-03-29 16:19:31 -07:00
third_party Backed out 3 changesets (bug 1346026) for Bugzilla linting 2018-05-23 19:42:13 +03:00
toolkit Bug 1461546 - Extend SANDBOX_HAS_USER_NAMESPACES telemetry and make it opt-out. r=chutten 2018-05-18 21:30:52 -06:00
tools Bug 1464100 - Update eslint-plugin-no-unsanitized to v3.0.2. r=ahal 2018-05-24 16:54:54 +01:00
uriloader Bug 1463287: Add QueryInterface helper macro for concrete class types. r=bz 2018-05-21 16:33:18 -07:00
view Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj 2018-04-28 12:50:58 -07:00
widget Bug 1463753 - [DragAndDrop] Update mTarget(Wayland)DragContext unconditionally and check its validity after that, r=jhorak 2018-05-24 11:51:17 +02:00
xpcom Bug 1464229 - Remove obsolete CPU-selection attributes when creating a new process on MacOS X; r=froydnj 2018-05-24 14:24:53 +02:00
xpfe/appshell Bug 1460639 - Apply persisted window settings before layout. r=smaug 2018-05-16 18:13:59 -07:00
.arcconfig Bug 1460463 - Update .arcconfig to make history mutable; r=gps 2018-05-09 23:49:52 +00:00
.clang-format
.clang-format-ignore Bug 1444546 - Part 4: Use GENERATED_FILES for Android JNI wrapper generation. r=froydnj,jchen 2018-03-06 20:09:37 -08:00
.cron.yml Bug 1462294 - remove unused date branch; r=Pike 2018-05-17 13:30:19 +00:00
.eslintignore Bug 1461785 - Update eslint ignore file to no longer ignore dom/media/mediasource. r=standard8 2018-05-14 16:49:39 -04:00
.eslintrc.js Bug 1463499 - Enable ESLint rule require-expected-throws-or-rejects for services/. r=markh 2018-05-16 19:06:24 +01:00
.flake8 bug 1463425 - Add more directories to the flake8 list r=ahal 2018-05-22 06:26:22 -07:00
.gdbinit
.gdbinit_python
.gitignore Bug 1439727 - Ignore third_party/python/psutil/tmp/ in VCS; r=nalexander 2018-03-07 08:59:48 -08:00
.hgignore Bug 1454466 - Move raptor in-tree; r=ahal 2018-04-16 17:15:38 -04:00
.hgtags No bug - Tagging mozilla-central 93443d36d4bd53dba004f7b73430879f96daa681 with FIREFOX_NIGHTLY_61_END a=release DONTBUILD CLOSED TREE 2018-05-07 16:27:53 +00:00
.inferconfig
.lldbinit
.mailmap NO BUG - Use ato's new address. r=me 2018-02-26 15:59:29 +00:00
.taskcluster.yml Bug 1415868 - change ACTION_TASK_GROUP_ID to be the taskGroupId of the target task; r=aki 2018-05-18 22:16:43 +00:00
.yamllint
.ycm_extra_conf.py
aclocal.m4
AUTHORS Bug 1459852 - Get rid of the AUTHORS list r=mossop 2018-05-08 10:37:41 +02:00
build.gradle Bug 1457863 - 1. Update kotlin to 1.2.41; r=nalexander 2018-05-02 13:49:57 -04:00
Cargo.lock Bug 1463251 - Part 1. Update regex in both webdriver and geckodriver. r=ato,jgraham 2018-05-21 22:24:30 +02:00
Cargo.toml Bug 1452603 - Update Cargo stuff for the serde bump. r=jrmuizel 2018-04-12 11:05:18 -04:00
client.mk Bug 1461836 - Write out complete configure dependencies from configure for consumption by make and non-make backends. r=mshal 2018-05-21 14:01:50 -07:00
client.py
CLOBBER Bug 1454912 - Use a .stub file as the target for all GENERATED_FILES rules; r=nalexander 2018-05-09 08:24:31 -04:00
configure.in
configure.py Bug 1461836 - Write out complete configure dependencies from configure for consumption by make and non-make backends. r=mshal 2018-05-21 14:01:50 -07:00
GNUmakefile
gradle.properties Bug 1453413 - Use aapt2 to build Firefox for Android. r=mcomella 2018-04-11 09:59:22 -07:00
gradlew
LEGAL
LICENSE
mach
Makefile.in Bug 1461383 - fix test_build.py for local builds; r=chmanchester,f=mshal 2018-05-15 10:05:23 -04:00
moz.build Bug 1346026 - Vendor pipenv 2018.5.18 and transient dependencies; r=ahal 2018-05-17 19:06:20 +01:00
moz.configure Bug 1460600: Remove unsupported --enable-system-hunspell flag. r=glandium 2018-05-10 10:36:53 -07:00
mozilla-config.h.in Bug 1460600: Remove unsupported --enable-system-hunspell flag. r=glandium 2018-05-10 10:36:53 -07:00
old-configure.in Bug 1456552 Make Optimized MinGW builds use -O# instead of falling through and collecting a -O r=ted 2018-05-16 16:32:47 -05:00
package-lock.json Bug 1464100 - Update eslint-plugin-no-unsanitized to v3.0.2. r=ahal 2018-05-24 16:54:54 +01:00
package.json Bug 1464100 - Update eslint-plugin-no-unsanitized to v3.0.2. r=ahal 2018-05-24 16:54:54 +01:00
Pipfile Backed out 3 changesets (bug 1346026) for Bugzilla linting 2018-05-23 19:42:13 +03:00
Pipfile.lock Backed out 3 changesets (bug 1346026) for Bugzilla linting 2018-05-23 19:42:13 +03:00
README.txt Bug 1460030 - Update the nightly URL in the README.txt file r=kohei 2018-05-08 21:22:10 +02:00
settings.gradle Bug 1444546 - Part 2: Build annotationProcessors with Gradle. r=jchen 2018-02-22 16:11:14 -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://www.mozilla.org/firefox/channel/desktop/#nightly