Commit Graph
209 Commits
Author SHA1 Message Date
Jon Coppeard 26bf68f0a5 Bug 1395896 - Record module dependency before starting fetch so that error handling works correctly r=bkelly 2017-09-06 09:07:09 +01:00
Jon Coppeard 18e17ed334 Bug 1362098 - Add tests for module error reporting r=bkelly 2017-08-23 17:24:38 +01:00
Jon Coppeard 765072ace9 Bug 1358882 - Add a circular module import test r=smaug 2017-08-23 10:51:40 +01:00
Jon Coppeard 234a0f07a9 Bug 1388728 - Improve module loader mochitests and re-enable failing WPT tests r=bkelly 2017-08-22 10:43:27 +01:00
Christoph Kerschbaumer 883c24e9b5 Bug 1377557 - follow up: Update manifest.json. r=me 2017-07-06 12:21:51 +02:00
Masayuki Nakano cfeefbe6b1 Bug 1377752 - part1: Add automated test for checking scroll position and focused document when setting selection into a contenteditable element in an iframe element r=smaug
When an iframe doesn't have focus, moving selection into a contenteditable element in it shouldn't cause moving focus to the document, moving focus to the editable element nor scrolling to the editor but the editor should become active element.

When an iframe has focus, moving selection into a contenteditable element in it should cause moving focus to the editor and scroll it into the view.

MozReview-Commit-ID: 1ZDPj6UotLn
2017-07-05 22:21:43 +09:00
James Graham 1c55ca8645 Bug 1369109 - Ensure conftest.py files are not considered as tests, r=maja_zf
MozReview-Commit-ID: IfBZsTZTSPQ
2017-06-05 16:41:23 +01:00
Masayuki Nakano c0a99daa97 Bug 1367460 Shouldn't make focused editing host blurred when moving selection with Selection API r=smaug
Chromium doesn't make focused editing host blurred when a Selection API method call moves selection to a non-editable node.  Let's follow same behavior for compatibility with both Chromium and Gecko 54.

MozReview-Commit-ID: HXmYX18HVA5
2017-05-30 18:07:22 +09:00
Mantaroh Yoshinaga 0bc0aa39b4 Bug 1363246 - Add w-p-t of font stretch's addition/accumulation. r=birtles
MozReview-Commit-ID: 8mA2HZkH55f
2017-05-25 10:14:46 +09:00
Phil Ringnalda e7573d768a Bug 1366518 - Set javascript.options.asyncstack for testing/web-platform/mozilla/meta/wasm/jsapi.js.html since parts of it only work when that pref is true, r=bbouvier
MozReview-Commit-ID: 6hqPySjjSjk
2017-05-20 20:22:10 -07:00
Hiroyuki Ikezoe 8a28ed2df4 Bug 1364795 - Update web-platform tests meta data. r=hiro
There are some files that corresponding meta data have not been updated.

MozReview-Commit-ID: 8uJ7jCLhJt2
2017-05-15 10:14:48 +09:00
André Bargull e9bdc5be59 Bug 1317383 - Part 5: Update expected results for wpt typedarray and wasm tests. r=bbouvier 2017-05-02 14:21:04 -07:00
Sebastian Hengst e14ef6d63a Backed out changeset d40e448b1a33 and 195d6bc4e2ca (bug 1358882) for asserting and failing in wpt circular-module-import-with-syntax-error.html. r=backout 2017-05-02 21:18:02 +02:00
Jon Coppeard b8d51421c1 Bug 1358882 - Check for failed instantiation when starting to fetch module dependencies r=smaug 2017-05-02 18:01:51 +01:00
Jeremy Chen 1af5f54860 Bug 1359786 - update MANIFEST for web-platform-tests. r=hiro DONTBUILD (test-only)
MozReview-Commit-ID: 8zAizjwsMLN
2017-05-01 00:36:06 +08:00
Jeremy Chen 4a108d0ac3 Bug 1354437 - enable border-spacing interpolation test. r=hiro
So far, we don't have a type to test anamations of a pair of length.
Since border-spacing consists two absolute lengths, we shall add this
new type.

MozReview-Commit-ID: Bo8VMWPLDHc
2017-04-27 17:26:31 +08: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
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
Aryeh Gregor 02fa9057ca Bug 1354066 - Expand classList testing and port to wpt; r=mystor
Because it tests some Gecko-specific things as well, I'm making two
copies, as advised by bz and jgraham.  One is to be submitted upstream,
and a second one has local changes.  This means most of the test is run
twice.

This overwrites the preexisting Element-classlist.html test upstream.  I
think I took the useful bits out of it (particularly replace() testing),
but there are some things that it had that I didn't think were
necessary, including: things that belong in idlharness; .className
testing; testing .contains() and stringification and hasAttribute() and
such after add/remove/etc. (instead of just testing getAttribute()); CSS
class selector matching.

MozReview-Commit-ID: JxPK7OyVLXa
2017-04-18 21:25:14 +03:00
Kate McKinley 300606d020 Bug 1325680 - Re-enable HSTS priming on web-platform tests. r=test-only
MozReview-Commit-ID: 7jdCyq2VVkZ
2017-04-06 14:44:00 -04:00
Aryeh Gregor 34a92fa7d1 Bug 1297414 - Support execCommand("defaultParagraphSeparator"); r=masayuki
Later commits will add the actual functionality.

MozReview-Commit-ID: 6Ac9V6MjZpa
2017-04-04 13:47:28 +03:00
Boris Zbarsky da71c6b619 Bug 1348119. Move the test for setRangeText setting the dirty value flag into upstream wpt. r=smaug
MozReview-Commit-ID: 6yF42plMkAE
2017-03-16 17:51:51 -04:00
James Graham d52f41ce62 Bug 1345490 - Update web-platform-tests expected data, a=testonly
MozReview-Commit-ID: 6v6aK4ubvO6
2017-03-17 14:35:41 +00:00
Thomas Nguyen f1d6f57eec Bug 1192940 - Support referrer policy in sendBeacon r=Ehsan
MozReview-Commit-ID: FEyqInOkiT6
2017-03-17 11:53:16 +08:00
Masayuki Nakano 5265265979 Bug 1318312 part.3 Selection should move focus at every selection change when it's called by JS r=smaug
Selection may be changed by methods of Selection or methods of Range retrieved by Selection.getRangeAt().  Selection::NotifySelectionListeners() is called after every selection change of each of them, so, this method must be a good point to move focus.

If new common ancestor of all ranges is editable and in an editing host, we should move focus to it.  Otherwise, if an editing host has focus but new common ancestor is not editable, we should move focus from the editing host.

For consistency with the other browsers, this patch doesn't move focus to other focusable element.

MozReview-Commit-ID: 6sNsuzwqECX
2017-03-14 10:36:21 +09:00
Masayuki Nakano 462139cd3e Bug 1318312 part.1 Add automated tests for checking focus move at using Selection API r=smaug
Adding automated tests as web platform tests (only for mozilla) for focus move at using Selection API.

Although, there is no standards of relation between Selection API and focus, we should move focus when Selection API moves selections into only an editing host or outside of focused editing host.

Chrome moves focus as this rules, therefore, user can modify contenteditable editor immediately after web app moves selection.

Edge does NOT move focus at using Selection API.  However, user can modify contenteditable editor similar to Chrome.  We can guess that Edge doesn't need to move focus in its design because perhaps, Edge decides if it's editable only with primary selected range.

We cannot take the Edge behavior due to our editor design.  So, we can take only Chrome's approach for improving the compatibility.

MozReview-Commit-ID: JuLiSMgqODm
2017-03-13 22:30:28 +09:00
Boris Zbarsky c0cd286808 Bug 1343037 part 19. Add some tests. r=ehsan
MozReview-Commit-ID: L7LNF2Bfwgk
2017-03-09 14:44:06 -05:00
Benjamin Bouvier b77c822508 Bug 1336139: Fix uint64 to floating-point conversion; r=sunfish
MozReview-Commit-ID: 4Lk4ifPqO9d
2017-02-10 16:26:15 +01:00
Jon Coppeard 1e46db1862 Bug 1342810 - Check for instantiation failure when a previously-loaded module is requested r=smaug 2017-02-28 10:47:19 +00:00
Benjamin Bouvier a2d91dbdbb Bug 1342956: Fix promise_test in wasm-testharness.js; r=luke
MozReview-Commit-ID: IfPkWSw05pX
2017-02-27 17:35:18 +01:00
Jon Coppeard 2e319c145e Bug 1340865 - Handle non-parser-created module scripts r=smaug 2017-02-27 15:04:21 +00:00
Benjamin Bouvier 0a97acd85f Bug 1342385: Allow mremap on linux32 for wasm; r=jld
MozReview-Commit-ID: 82f8ryvd57S
2017-02-24 13:18:57 +01:00
Mats Palmgren a6080752fd Bug 1341137 part 4 - Update web-platform-tests expected data. 2017-02-25 11:33:34 +01:00
Benjamin Bouvier 1aecd9ec06 Bug 1332691: Disable wasm WPT nop/resizing test cases; r=bustage
See also bug 1342385 for resolution.

MozReview-Commit-ID: J4wwG1Wo3Qt
2017-02-24 13:25:44 +01:00
Benjamin Bouvier c10eafb163 Bug 1332691: Skip conversions.wast.js.html for unexpected successes on x86; r=bustage 2017-02-24 11:37:16 +01:00
Benjamin Bouvier e339d54cbf Bug 1332691: Handle known failures in wasm WPT and JS test cases; r=luke
MozReview-Commit-ID: EQNCTOXNy75
2017-02-17 18:18:35 +01:00
Benjamin Bouvier 025b0baf8c Bug 1332691: Generate wasm Web Platform test cases; r=luke
MozReview-Commit-ID: AiR4cZkUock
2017-02-17 18:09:10 +01:00
Benjamin Bouvier a099b24dae Bug 1332691: Add the metadata directory for the wasm WPT directory; r=jgraham
MozReview-Commit-ID: 9h4t9ZDPN7C
2017-02-17 18:08:41 +01:00
James Graham d9ee612568 Bug 1331899 - Update web-platform-tests to revision 7071a3d128ff6610a57944d1b0aaabee97b3af5a, a=testonly
MozReview-Commit-ID: LvpIb2OK2GS
2017-01-19 14:23:39 +00:00
James Graham c7b9b65e73 Bug 1319060 - Disable HSTS priming in redirect test to avoid invalid request, a=testonly
MozReview-Commit-ID: 8Y1EIio2rNE
2016-12-01 22:26:16 +00:00
Thomas Nguyen a964250d12 Bug 1264792 - Update web platform tests of fetch and serviceworker. r=bkelly
MozReview-Commit-ID: 4btKCi5ZvZ2
2016-11-14 15:15:37 +08:00
James Graham 914a570998 Bug 1302423 - Update web-platform-tests expected data to revision 6b48d45a1c7f3243945bf1678008f607e70acf2e, a=testonly
MozReview-Commit-ID: DOiOt5h4ESw
2016-09-13 14:49:45 +01:00
Manish Goregaokar 1f96f31162 Bug 1290864 - Add WPT test for serialization of basic-shapes; r=xidorn
MozReview-Commit-ID: EhBF42H7uZA
2016-08-05 19:51:49 +05:30
Jonathan Kingston cbe9f85c5f Bug 1173199 - Create preference to disable MathML. r=heycam, r=huseby, r=smaug
If the mathml.disabled preference is true, treat <math> and other MathML
elements as generic XML elements.

This patch disables the rendering code of MathML however preserves the
namespace so to reduce the breakage.

Original patch by: Kathy Brade <[email protected]>

MozReview-Commit-ID: A2f2Q2b4eqR
2016-06-28 15:24:48 +01:00
Brian Birtles 43944667cb Bug 1271904 - Rename KeyframeEffectReadOnly.getFrames() and KeyframeEffect.setFrames() to getKeyframes()/setKeyframes(); r=hiro, r=smaug
MozReview-Commit-ID: GwLLY39l1KE
2016-05-13 09:40:52 +09:00
Ben Kelly f37dd1b600 Bug 1262624 Move service worker wpt tests out of mozilla dir so they will be upstreamed. r=jgraham 2016-04-07 12:14:38 -07:00
James Graham bce86515df Bug 1260772 - Update web-platform-tests to revision e9b6636c067fc08b9eb393a1c0ff380a77ae1786, a=testonly
MozReview-Commit-ID: 3cs3y3zPVja
2016-04-01 15:58:08 +01:00
James Graham 89569d4dec Bug 1253226 - fixup! Update web-platform-tests expected data to revision 833a6d13372424758a6e3a770ecc6e8d1ffaae67, a=testonly on a CLOSED TREE
MozReview-Commit-ID: CwDu17e5QQ5
2016-03-04 17:47:09 +00:00
Ehsan Akhgari 48717d6102 Bug 1251872 - Part 1: Implement Request.referrerPolicy; r=jdm 2016-03-03 16:43:55 -05:00
Ehsan Akhgari a615a2efe4 Bug 1251875 - Part 2: Remove the dom.serviceWorkers.interception.opaque.enabled pref; r=bkelly 2016-03-01 09:17:59 -05:00