Commit Graph

417908 Commits

Author SHA1 Message Date
Ehsan Akhgari
399276d5fc Bug 1153348 - Add an analysis to prohibit operator bools which aren't marked as either explicit or MOZ_IMPLICIT; r=jrmuizel
This is the counterpart to the existing analysis to catch
constructors which aren't marked as either explicit or
MOZ_IMPLICIT.
2015-04-21 21:40:49 -04:00
Dan Glastonbury
38dc8450bb Bug 1048724 - Implement GetBufferSubData. r=jgilbert, r=smaug
The webidl and spec was wrong wrt returnedData param and the language
regarding its usage.
2015-04-22 11:24:12 +10:00
Dan Glastonbury
603c0dca5a Bug 1155470 - Fix queries. r=jgilbert
es3fTransformFeedbackTests exposed problems with queries. Queries are needed
to get the number of transformed primitives.
2015-04-22 11:24:12 +10:00
Neil Deakin
5500eadc0e Bug 1058712, e10s, support for copy image command, r=ehsan,mconley 2015-04-21 20:09:14 -04:00
Neil Deakin
894febc41a Bug 1155355, e10s, rewrite and reenable browser tests in layout/xul/test, don't show tooltips during a drag, use system event listeners for tooltips, r=billm 2015-04-21 20:09:14 -04:00
Neil Deakin
416cb4633e Bug 1155352, e10s, rewrite and reenable browser_middleMouse_noJSPaste.js, r=gijs 2015-04-21 20:09:14 -04:00
Neil Deakin
1f167f3289 Bug 1100698, e10s, rewrite and reenable browser_save_video.js and browser_default_image_filename.js, r=gijs 2015-04-21 20:09:14 -04:00
Neil Deakin
20c138e71b Bug 1100703, e10s, rewrite and reenable browser_wyciwyg_urlbarCopying.js, r=gijs 2015-04-21 20:09:13 -04:00
Neil Deakin
673a8156c2 Bug 1155348, e10s, rewrite and reenable browser_bug304198, r=felipe 2015-04-21 20:09:13 -04:00
Neil Deakin
24c8fd560a Bug 1155348, e10s, rewrite and reenable browser_bug655584, r=felipe 2015-04-21 20:09:13 -04:00
Neil Deakin
b331ef13ae Bug 1155348, e10s, rewrite and reenable browser_bug565575, r=felipe 2015-04-21 20:09:13 -04:00
Jason Orendorff
533a4abf95 Bug 1153475 - Always ignore desc.object() in DefineProperty functions that take a PropertyDescriptor argument. r=efaust.
--HG--
extra : rebase_source : 0bb4a479d34fdb80c752ed840cc9a3fe7aaff261
2015-03-23 14:32:33 -05:00
Jason Orendorff
6ca2117844 Bug 1148750, part 17 - Remove ApplyOrDefaultAttributes. r=efaust.
At this point, each path through the code completely fills in desc, so the final call to ApplyOrDefaultAttributes is redundant. Note that AddOrChangeProperty begins with `desc.assertComplete()`, so we'll find out soon enough if this is not the case.

--HG--
extra : rebase_source : 063ad1ed19bcdc8bad4f5855cdc3e86661a66415
2015-04-03 09:00:21 -05:00
Jason Orendorff
855d0b2d23 Bug 1148750, part 16 - Implement ValidateAndApplyPropertyDescriptor step 9 (redefining an existing accessor property). Remove CheckAccessorRedefinition. r=efaust.
--HG--
extra : rebase_source : 95fe6cfcf4114ba3ce254f1e0983a9760931f2fc
2015-04-09 15:27:09 -05:00
Jason Orendorff
c0b45567bf Bug 1148750, part 15 - Stop retaining getter and setter ops when redefining a data property. r=efaust.
StandardDefineProperty already does this. In short, redefining a magical data property like array.length or an arguments element should make it nonmagical.

In fact, it is an engine invariant that Shapes have either both JSPROP_GETTER and JSPROP_SETTER or neither: they never have e.g. a setter object and a getter op. As of recently the GC depends on this. So this change is necessary for memory safety.

--HG--
extra : rebase_source : 4cf6bed2978011296178d621026f33731b3c5e10
2015-04-03 12:58:50 -05:00
Jason Orendorff
9bca040d64 Bug 1148750, part 14 - Reject redefining a non-writable non-configurable data property to have a different value. r=efaust.
--HG--
extra : rebase_source : e8dbe70a7df15364290824ffd8a6524fdc86bf61
2015-04-03 16:25:12 -05:00
Jason Orendorff
0fa28b1187 Bug 1148750, part 13 - Simplify code to fill in desc.writable, if not present, from the existing shape. r=efaust.
--HG--
extra : rebase_source : 90ec845eafe133e257620dc94bcf5fec60354d44
2015-04-09 16:30:13 -05:00
Jason Orendorff
6c67d2bff2 Bug 1148750, part 12 - Reject redefinition of non-writable non-configurable data property as writable. This fixes bug 1073808. r=efaust.
--HG--
extra : rebase_source : 6124570135dab0d6143cc4c2f1916f4ac45d6e70
2015-04-09 15:55:37 -05:00
Jason Orendorff
5b475c41ee Bug 1148750, part 11 - Remove some code for TypedArray cases rendered unreachable by part 1 of this bug. r=efaust.
--HG--
extra : rebase_source : b6daef1d670c75f28060888b0972146988180a6b
2015-04-09 15:33:38 -05:00
Jason Orendorff
cef74f53ce Bug 1148750, part 10 - js::NativeDefineProperty: Swap the order of the cases in the remaining old code. r=efaust.
--HG--
extra : rebase_source : 729247a3f8a96f57574b3a9b7373cb28ae2216b9
2015-04-09 15:25:56 -05:00
Jason Orendorff
411d9d0392 Bug 1148750, part 9 - Implement ValidateAndApplyPropertyDescriptor step 7. r=efaust.
The new code takes over some cases that used to be handled by each of the three cases that follow it. Therefore there are changes in all three cases, particularly the desc.isAccessorDescriptor() case, which no longer needs the sparsify code.

--HG--
extra : rebase_source : a0cdf49f67ca6baaf5bbbd7b793704dd2c62506a
2015-04-09 15:19:02 -05:00
Jason Orendorff
cfea102bd9 Bug 1148750, part 8 - Implement ValidateAndApplyPropertyDescriptor step 6. r=efaust.
This also makes some changes to MutableHandle<PropertyDescriptor>, for convenience:

*   Make desc.setGetterObject() and desc.setSetterObject() quietly change *this from a generic or data descriptor into an accessor descriptor, if need be.

*   Make setWritable() clear the JSPROP_IGNORE_READONLY bit if present. (Breaking the symmetry a bit, it won't change *this from an accessor descriptor to a data descriptor. Instead, it asserts you're not doing that.)

--HG--
extra : rebase_source : 2a7cf3d477553838248bfa8bb183985ee369a22e
2015-04-09 14:17:38 -05:00
Jason Orendorff
28e3620074 Bug 1148750, part 7 - Fill in configurable and enumerable. r=efaust.
This changes MutableHandle<PropertyDescriptor>::setEnumerable() to take a boolean argument, and makes it unconditionally clear JSPROP_IGNORE_ENUMERATE, as a convenience. A similar setConfigurable() method is also added.

--HG--
extra : rebase_source : 5cfaba30965d36057215de2ccbce91ab9991b32e
2015-04-09 14:59:39 -05:00
Jason Orendorff
30649575ba Bug 1148750, part 6 - Implement ValidateAndApplyPropertyDescriptor up to step 5. r=efaust.
--HG--
extra : rebase_source : 7c69f9fca2c8d3d7a3c58cf1a4f74e10f428c01c
2015-04-09 14:18:24 -05:00
Jason Orendorff
ac3bb736b4 Bug 1148750, part 5 - CompletePropertyDescriptor upgrade. r=efaust.
--HG--
extra : rebase_source : 2da8450bb190537bc70858d78116f9d40e853569
2015-04-09 14:13:15 -05:00
Jason Orendorff
e182c673aa Bug 1148750, part 4 - Strip out redundant if-conditions in parts of NativeDefineProperty where shape can't be null. r=efaust.
--HG--
extra : rebase_source : a88891aa9074ba0e4c9bbcdd2d62768658a4614b
2015-04-09 14:28:17 -05:00
Jason Orendorff
83668b30c9 Bug 1148750, part 3 - Implement ValidateAndApplyPropertyDescriptor step 2. r=efaust.
The new comment "Filling in desc:" is aspirational for now, but it gradually becomes true in the subsequent patches in this bug.

--HG--
extra : rebase_source : eb00118ec0810c48cbf192cbabcbf83ed1eeb004
2015-04-09 14:09:01 -05:00
Jason Orendorff
f705529720 Bug 1148750, part 2 - Check extensibility in NativeDefineProperty. r=efaust.
--HG--
extra : rebase_source : ecd2b8cf35757f4415d024dae393cea818042090
2015-03-27 14:03:01 -05:00
Jason Orendorff
fb7d7c6d5e Bug 1148750, part 1 - Factor out the lookup common to three branches at the top of NativeDefineProperty. r=efaust.
The existing setup saves a branch. We can't keep it. All that code is about to be completely rewritten. In the standard algorithms, this check is not immediately followed by a branch on this particular condition (desc.hasValue()). Furthermore, to deal with resolve hooks properly, we will later change the condition of this if-statement to something like `if (resolving)`, which will not be something we can common up with any other branch in this function.

--HG--
extra : rebase_source : 5460d4d2704697c4c63b2bc5d4435601c97ad00a
2015-03-23 14:32:30 -05:00
Jason Orendorff
dc269c5505 Bug 1152106, part 2 - Make the global Components property configurable in cases where EnableUniversalXPConnect may later need to redefine it. r=bholley.
--HG--
extra : rebase_source : 72b7a9f613bda1024532a507c4b99ac504bc6352
2015-04-10 18:04:05 -05:00
Jason Orendorff
99666fb916 Bug 1152106, part 1 - Don't try to redefine the non-configurable global Components property when EnableUniversalXPConnect is called multiple times. r=bholley.
--HG--
extra : rebase_source : 6509b0adaaa6be10bfd9c696f2d4368946877990
2015-04-10 12:58:38 -05:00
Wes Kocher
638b28b8e0 Backed out changeset 02e6a50741a9 (bug 1153348) to hopefully fix the static bustage CLOSED TREE 2015-04-21 15:47:40 -07:00
Wes Kocher
10b0765a42 Merge m-c to inbound a=merge
--HG--
extra : rebase_source : 65e706214cf534170bf6cfe658eb394c0195cb81
2015-04-21 15:35:07 -07:00
Wes Kocher
b6e78e87bc Merge b2ginbound to m-c a=merge 2015-04-21 15:31:59 -07:00
B2G Bumper Bot
e093a8ae6e Bumping manifests a=b2g-bump 2015-04-21 13:07:30 -07:00
B2G Bumper Bot
0f95309d53 Bumping gaia.json for 1 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/457b84a12265
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Bug 1156935 - Disable perma-failing test, test_a11y_screen_manager.py
2015-04-21 13:05:18 -07:00
B2G Bumper Bot
90fbb13752 Bumping manifests a=b2g-bump 2015-04-21 12:55:06 -07:00
Ryan VanderMeulen
8819aa2b6e Bug 1141867 - Add OSX 10.10 fuzz to the newly-added tests. a=merge
--HG--
extra : source : e96da160129953bebacc8e66bc8b6b178ab3fc09
extra : amend_source : ece231f919bf21cc4a3718b3066eebe868babb9b
2015-04-21 13:54:07 -04:00
Wes Kocher
687641fa14 Merge inbound to m-c a=merge 2015-04-21 15:23:57 -07:00
Wes Kocher
103ab1ed0e Merge fx-team to m-c a=merge 2015-04-21 15:15:48 -07:00
David Anderson
9ae1c872f4 Enable APZ for E10S on Windows for one Nightly. This patch will be backed out after one nightly. (bug 1154459, r=kats, a=ryanvm) 2015-04-21 15:35:19 -04:00
B2G Bumper Bot
5f726396a8 Bumping manifests a=b2g-bump 2015-04-21 10:43:04 -07:00
B2G Bumper Bot
0ecd49187e Bumping gaia.json for 3 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/5fee5e83ac6f
Author: David Flanagan <dflanagan@mozilla.com>
Desc: Merge pull request #29640 from davidflanagan/bug1156519

Revert "Bug 1145758 - Don't go to next song if paused and at the end of ...

========

https://hg.mozilla.org/integration/gaia-central/rev/5ed932850526
Author: David Flanagan <dflanagan@mozilla.com>
Desc: Revert "Bug 1145758 - Don't go to next song if paused and at the end of the scrubber."

This reverts commit 8d23f88a704829cf382f8d5e218e2571da014081.

========

https://hg.mozilla.org/integration/gaia-central/rev/2fc3a22ad148
Author: Ryan VanderMeulen <rvandermeulen@mozilla.com>
Desc: Revert "Bug 1147731 - merge pull request #29160 from zapion:gaiatest_bug_1147731 to mozilla-b2g:master"

This reverts commit 9c2ceaeb43eead58946310aed979522e021f3c21, reversing
changes made to 2380a2c9003e744caf145e4dae112aa04ae56438.
2015-04-21 10:40:11 -07:00
B2G Bumper Bot
26e8f1f40f Bumping manifests a=b2g-bump 2015-04-21 10:28:27 -07:00
Daniel Holbert
e1824cb551 Bug 1156398: Pass ProcessOrientation.cpp's unused-by-default bools to mozilla::unused. r=mwu 2015-04-21 10:24:34 -07:00
B2G Bumper Bot
7da0f07228 Bumping gaia.json for 4 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/688dca9d4149
Author: autolander <bug.autolander@gmail.com>
Desc: Bug 1130436 - merge pull request #29603 from KevinGrandon:bug_1130436_gaia_menu_localization to mozilla-b2g:master

========

https://hg.mozilla.org/integration/gaia-central/rev/9c32da7c3196
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Bug 1130436 - Use mozL10n.formatValue for gaia-menu shadow dom localization r=crdlc

========

https://hg.mozilla.org/integration/gaia-central/rev/ce8234704a70
Author: autolander <bug.autolander@gmail.com>
Desc: Bug 1153769 - merge pull request #29617 from etiennesegonzac:bug-1153769 to mozilla-b2g:master

========

https://hg.mozilla.org/integration/gaia-central/rev/37297eab3830
Author: Etienne Segonzac <etienne@segonzac.info>
Desc: Bug 1153769 - Bind the StackManager's "back home" support
on the |homescreenopened| event instead of |home|. r=alive
2015-04-21 10:24:22 -07:00
B2G Bumper Bot
ca48a1a954 Bumping manifests a=b2g-bump 2015-04-21 09:52:19 -07:00
B2G Bumper Bot
843f118738 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/c4a1baa59be7
Author: Dave Hunt <dave.hunt@gmail.com>
Desc: Bug 1145243 - Set default settings during full reset. r=jlorenzo

========

https://hg.mozilla.org/integration/gaia-central/rev/1042f6df2b63
Author: Dave Hunt <dave.hunt@gmail.com>
Desc: Bug 1145243 - Fix import in Gaia CLI. r=jlorenzo
2015-04-21 09:50:08 -07:00
B2G Bumper Bot
2127bb164b Bumping manifests a=b2g-bump 2015-04-21 09:34:44 -07:00
B2G Bumper Bot
bfefddee5d Bumping gaia.json for 4 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/debc9897303c
Author: Martijn <martijn.martijn@gmail.com>
Desc: Merge pull request #29573 from mwargers/1150065

Bug 1150065 - Enable test_homescreen_column_layout.py

========

https://hg.mozilla.org/integration/gaia-central/rev/e4b41b1df9fd
Author: Martijn Wargers <mwargers@mozilla.com>
Desc: Bug 1150065 - Enable test_homescreen_column_layout.py

========

https://hg.mozilla.org/integration/gaia-central/rev/22da6cf0ddb7
Author: Martijn <martijn.martijn@gmail.com>
Desc: Merge pull request #29580 from mwargers/1155756

Bug 1155756 - Remove online = true in homescreen manifest.ini and add it only for the Gaia UI tests that need it

========

https://hg.mozilla.org/integration/gaia-central/rev/3d30a7ee6312
Author: Martijn Wargers <mwargers@mozilla.com>
Desc: Bug 1155756 - Remove online = true in homescreen manifest.ini and add it only for the Gaia UI tests that need it
2015-04-21 09:32:33 -07:00