Commit Graph
15755 Commits
Author SHA1 Message Date
Alexandre Poirot 05d5da266e Bug 1356237 - Ship a copy of transport module in marionette. r=ato
DevTools is about to move out of mozilla-central and be released as an add-on.
So that these protocol files are going to be missing from the tree.
To accommodate that, we are doing a copy of them next to marionette.

MozReview-Commit-ID: 9PyhuwyZyXI
2017-04-24 20:23:04 +02:00
Aryeh Gregor 594c362b60 Bug 1251198 - Remove various obsolete events from document.createEvent r=smaug
Other browsers do not support any of these (IIRC), telemetry reports
essentially zero usage, and supporting them is contrary to the DOM spec.

Notes on specific events:

CommandEvent and SimpleGestureEvent: These are not supposed to be
web-exposed APIs, so I hid the interfaces from web content too
(necessary to avoid test_all_synthetic_events.html failures).

DataContainerEvent: This was a non-standard substitute for CustomEvent
that seemed to have only one user, so I removed it entirely and switched
the user (MozillaFileLogger.js) to CustomEvent.

ScrollAreaEvent: This is entirely non-standard, but we apparently expose
it deliberately to web content, so I didn't see any reason to remove it
from createEvent.

SimpleGestureEvent and XULCommandEvent: Can still be created from
createEvent(), but not by content.

TimeEvent: This is still in because it has no constructor, so there's no
other way to create it.  Ideally we'd update the SMIL spec to add a
constructor.  I did remove TimeEvents.

MozReview-Commit-ID: 7Yi2oCl9SM2
2017-04-20 15:45:37 +03:00
Henrik Skupin 5c3fcdbe9f Bug 1290850 - Force local update URL for software update unit tests. r=maja_zf
The unit tests for the software update class should not rely on
the remote update URL being reachable. Instead a locally served
URL has to be used.

MozReview-Commit-ID: 8WNoEb0PUWz
2017-04-24 15:09:25 +02:00
Hiroyuki Ikezoe 934c9ea44b Bug 1356941 - Add text-shadow interpolation tests. r=birtles
MozReview-Commit-ID: J19JN13UXtP
2017-04-24 15:51:32 +09:00
Hiroyuki Ikezoe 671151d60a Bug 1356941 - Add box-shadow interpolation tests. r=birtles
MozReview-Commit-ID: D8rJY1wOd0j
2017-04-24 15:51:25 +09:00
Hiroyuki Ikezoe 58da1c9470 Bug 1356941 - Use IntermediateColor for caret-color. r=birtles
MozReview-Commit-ID: ERFaMfLL9tE
2017-04-24 15:51:01 +09:00
Aryeh Gregor 6218cacf33 Bug 869788 - Normalize DOMTokenList for whitespace/dupes; r=smaug
Some bits taken from a patch by Cameron McCormack.  This follows a
change to the DOM spec that has already been implemented by WebKit.

We do no checks for duplicates on initial attribute parsing, only when
the DOMTokenList is accessed.  We re-check for duplicates on every
DOMTokenList access, but optimized with a bloom filter, so it should be
fast.  It would be possible to add a flag to check if we've already
removed duplicates from the atom list, but it would require the
nsAttrValue to talk to the nsDOMTokenList somehow, and a spare bit would
be needed in nsAttrValue, and it would only help cases where
DOMTokenList is repeatedly accessed without the content attribute being
modified in between (e.g., .length) where the token list is extremely
long.

This patch assumes that no one other than nsDOMTokenList cares if
duplicates are removed from the nsAttrValue's atom array.  If anything
does, they will see inconsistent behavior depending on whether
nsDOMTokenList has removed duplicates yet.  Since we don't want to
check for duplicates on parse for performance reasons, the correct fix
is to update the code elsewhere to also remove duplicates.

MozReview-Commit-ID: 97KRVhPGwm8
2016-04-11 18:01:14 +03:00
Johan Lorenzo 744d8ee9da Bug 1337861 - [Fennec-Relpro] Enforce the presence of $MOZ_BUILD_DATE r=jlund
MozReview-Commit-ID: DzEeeYQjwLW
2017-02-23 19:23:19 +01:00
Andreas Tolfsen 6e1cb18631 Bug 1358988 - Write Marionette port to preference when binding; r=whimboo
Write the allocated port to the marionette.port preference when binding
the TCP socket server to the requested port.

If the socket is bound to port 0, this instructs the system to atomically
allocate a free port in the ephemeral range.  Writing the resolved port
to a preference will make it possible to communicate this port number
to the client, removing any chance of a race condition occurring by the
client looking for a free port (binding and releasing) for the server.

MozReview-Commit-ID: JwyG2G4YQmX
2017-04-24 10:28:57 +01:00
Henrik Skupin 0433e029ee Bug 1353447 - Fix race condition in TestBackForwardNavigation.test_timeout_error. r=ato
The test doesn't care about the page load status when a timeout error happened
for a back and forward command. It only compares the urlbar for the expected
url, but doesn't actually wait for the required element on the page.

MozReview-Commit-ID: 8w0iP62rlQZ
2017-04-24 13:08:13 +02:00
bechen d8fa9093aa Bug 1353689 - Disable tests about "background-image", because we have problem about loading a gif as background. r=alwu
MozReview-Commit-ID: 1PbZWqeX1V4
2017-04-21 14:55:52 +08:00
bechen 0dff7ed8a3 Bug 1353689 - update /processing-model/* status. Disable tests whose result are not consistent. r=alwu
MozReview-Commit-ID: 83tCBYWmF5g
2017-04-18 16:54:17 +08:00
bechen 8a8a6660bb Bug 1353689 - selectors/cue_function: update testcase status. r=rillian
MozReview-Commit-ID: KNEZ1x4xThq
2017-04-17 17:27:40 +08:00
bechen 3c04cbb47e Bug 1353689 - selectors/default_styles: update testcase status. r=rillian
MozReview-Commit-ID: 32cFaWOVTal
2017-04-17 17:27:38 +08:00
bechen e7e5b9bb8b Bug 1353689 - selectors/cue_function/voice_object: update testcase status. r=rillian
MozReview-Commit-ID: Loq30ZzSzLR
2017-04-17 17:27:35 +08:00
bechen d05dcc25e8 Bug 1353689 - selectors/cue_function/underline_object: update testcase status. r=rillian
MozReview-Commit-ID: 9zwCperz8nZ
2017-04-17 17:27:33 +08:00
bechen 615f237fe4 Bug 1353689 - selectors/cue_function/class_object: update testcase status. r=rillian
MozReview-Commit-ID: FUwqp2DHbl3
2017-04-17 17:27:30 +08:00
bechen 15cf965b83 Bug 1353689 - selectors/cue_function/bold_object: update testcase status. r=rillian
MozReview-Commit-ID: K1oTXpmUMmd
2017-04-17 17:27:28 +08:00
bechen 26bac1a3db Bug 1353689 - selectors/cue_function/italic_object: update testcase status. r=rillian
MozReview-Commit-ID: AQoebT3bS8p
2017-04-17 17:27:26 +08:00
bechen beba979405 Bug 1353689 - selectors/cue : Enable testcases under */selector/* . Fix the padding and overflow issue. r=rillian
MozReview-Commit-ID: 6jdlx01hEv7
2017-04-17 17:27:23 +08:00
Carsten "Tomcat" Book dd164777f2 Backed out changeset 79579aab8851 (bug 1331742) 2017-04-24 12:27:45 +02:00
Aryeh Gregor c71f7a4cf7 Bug 1357998 - Make editing tests independent of default defaultParagraphSeparator; r=masayuki
Now that this is a pref that is different in different versions, tests
have to work no matter what the pref's value is.  For tests that
actually tested line-breaking-related behavior, I made them test all
three separator values.  For tests that tested something else and only
incidentally depend on the default paragraph separator, I set
defaultParagraphSeparator to "div".

MozReview-Commit-ID: 8m7eoFRXpEy
2017-04-20 21:10:23 +03:00
Sebastian Hengst ef04a097f2 merge mozilla-central to autoland. r=merge a=merge 2017-04-22 10:49:35 +02:00
Wes Kocher a76c3859c5 Merge m-c to inbound, a=merge
MozReview-Commit-ID: Cb0b59wJ0vy
2017-04-21 17:35:24 -07:00
Wes Kocher 304a8fff62 Merge inbound to central, a=merge
MozReview-Commit-ID: FHfhKIIlItM
2017-04-21 17:30:43 -07:00
Sebastian Hengst 7817ecc3e0 merge mozilla-central to mozilla-inbound. r=merge a=frequent-orange-fix 2017-04-21 20:28:28 +02:00
Sebastian Hengst b9529a7471 Bug 1356627 - Disable css-transitions-1 web-platform-tests for failing frequently. r=test-disabling a=frequent-orange-fix
MozReview-Commit-ID: Cbsk1JLMxig
2017-04-21 20:21:51 +02:00
Carsten "Tomcat" Book 79a52994b4 Backed out changeset 35ef9cd54519 (bug 1358142) for breaking android nightlys 2017-04-21 15:55:13 +02:00
Henrik Skupin 2af308943c Bug 1358402 - Keep 'marionette.defaultPrefs.enabled' around as fallback. r=ato a=tomcat
With bug 1344748 landed the default preferences and their handling has been
changed. Builds starting with Firefox 54.0 can handle that, but previous
releases don't enable Marionette at all after a restart under special
conditions (invalidating 'update.status' file before the restart).

To prevent the bustage we have to keep the preference
'marionette.defaultPrefs.enabled' around until the next ESR release
is out.

MozReview-Commit-ID: AB3liJlb6M7
2017-04-21 11:16:06 +02:00
Carsten "Tomcat" Book 63fbb13aec merge mozilla-inbound to mozilla-central a=merge 2017-04-21 10:57:02 +02:00
Iris Hsiao bb687383d9 Backed out 9 changesets (bug 1353689) for web platform reftest failures
Backed out changeset 80ac3ea1427e (bug 1353689)
Backed out changeset 9a5b36fefb22 (bug 1353689)
Backed out changeset 44c5f4b4cdfc (bug 1353689)
Backed out changeset 7f2790b4c963 (bug 1353689)
Backed out changeset 8d8d2824a763 (bug 1353689)
Backed out changeset d3ced5751998 (bug 1353689)
Backed out changeset 5179ebf1e982 (bug 1353689)
Backed out changeset ebf24732e9b3 (bug 1353689)
Backed out changeset e81924e4cff3 (bug 1353689)
2017-04-21 13:38:28 +08:00
Sebastian Hengst 79e740877d merge mozilla-central to autoland. r=merge a=frequent-orange-fix 2017-04-21 20:26:51 +02:00
Peter Moore 577306fe90 Bug 1358142 - Support Content-Encoding header in mozharness when downloading from a url,r=aki 2017-04-21 19:38:46 +02:00
Robert Helmer b2a2b9925a Bug 1346825 - add Screenshots to the xperf whitelist r=kmag
MozReview-Commit-ID: 37xG02jB3Kl
2017-04-21 17:54:36 -07:00
Masayuki Nakano 19a1cb9c60 Bug 1217700 part.4 Add automated tests for IMEContentObserver r=m_kato
IMEContentObserver notifies IME of 3 notifications at most when editor is changed.

The order is:
1. text change (with merged range if 2 or more change occurred during an edit transaction)
2. selection change (only the latest selection change. other changes occurred before that during an editor transaction are ignored)
3. position change (scrolled, resized, window moved, etc)

This does not check the behavior in designMode because some operation in testWithHTMLEditor() causes unexpected behavior, e.g., moving focus. It *might* be bug of design mode.  However, it doesn't matter for this bug.  The important thing of this bug is, there should be automated tests for IMEContentObserver.  And fortunately, IMEContentObserver does not check the type of editor.  So, it's enough to test only contenteditable element for HTMLEditor at least for now.  Therefore, I gave up to test it in designMode for now.

MozReview-Commit-ID: 7L6ZlbVMU2P
2017-04-19 21:57:58 +09:00
Marco Bonardo 800b491d50 Bug 1356440 - Favicons of bookmarks views don't update on visit. r=mrbkap,past,enndeakin
MozReview-Commit-ID: 8j5yLqr7MTc
2017-04-19 11:41:49 +02:00
bechen 1b293b7ae5 Bug 1353689 - update /processing-model/* status. Disable tests whose result are not consistent. r=alwu
MozReview-Commit-ID: 83tCBYWmF5g
2017-04-18 16:54:17 +08:00
bechen 7673d805c6 Bug 1353689 - selectors/cue_function: update testcase status. r=rillian
MozReview-Commit-ID: KNEZ1x4xThq
2017-04-17 17:27:40 +08:00
bechen 59d45ff6d5 Bug 1353689 - selectors/default_styles: update testcase status. r=rillian
MozReview-Commit-ID: 32cFaWOVTal
2017-04-17 17:27:38 +08:00
bechen 1cb52c0c4a Bug 1353689 - selectors/cue_function/voice_object: update testcase status. r=rillian
MozReview-Commit-ID: Loq30ZzSzLR
2017-04-17 17:27:35 +08:00
bechen f1c67f1782 Bug 1353689 - selectors/cue_function/underline_object: update testcase status. r=rillian
MozReview-Commit-ID: 9zwCperz8nZ
2017-04-17 17:27:33 +08:00
bechen e08c22ddf9 Bug 1353689 - selectors/cue_function/class_object: update testcase status. r=rillian
MozReview-Commit-ID: FUwqp2DHbl3
2017-04-17 17:27:30 +08:00
bechen 8f4ae3e0db Bug 1353689 - selectors/cue_function/bold_object: update testcase status. r=rillian
MozReview-Commit-ID: K1oTXpmUMmd
2017-04-17 17:27:28 +08:00
bechen 33c5fdfbde Bug 1353689 - selectors/cue_function/italic_object: update testcase status. r=rillian
MozReview-Commit-ID: AQoebT3bS8p
2017-04-17 17:27:26 +08:00
bechen b0d214f7ef Bug 1353689 - selectors/cue : Enable testcases under */selector/* . Fix the padding and overflow issue. r=rillian
MozReview-Commit-ID: 6jdlx01hEv7
2017-04-17 17:27:23 +08:00
Wes Kocher 60ba222aed Merge m-c to autoland, a=merge
MozReview-Commit-ID: DPzfAm14Tdx
2017-04-20 15:52:28 -07:00
Wes Kocher f8d2845e66 Merge inbound to m-c a=merge
MozReview-Commit-ID: DQDuEiYLWCO
2017-04-20 15:30:43 -07:00
Peter Moore 1b4dff87c8 Bug 1358142 - Support Content-Encoding header in mozharness when downloading from a url,r=aki 2017-04-20 16:42:23 +02:00
Andrea Marchesini 5b11b585fb Bug 1357473 - Update Console to the latest spec - part 7 - test updated, r=bgrins 2017-04-20 13:52:43 +02:00
James Graham f9606de7a5 Bug 1357844 - Split MathML entity test into multiple files, r=annevk
This was timing out and causing OOM on some platforms, so instead use
one doctype per test.

MozReview-Commit-ID: 7M2FCJVPElK
2017-04-20 10:58:41 +01:00