Commit Graph

225 Commits

Author SHA1 Message Date
Tom Schuster
f0f1409270 Bug 1114580 - Remove DOM test known failure. r=Ms2ger 2016-08-31 00:13:10 +02:00
Aryeh Gregor
1b51264c4c Bug 1213670 - Remove dom/imptests/ that aren't likely to be platform-specific; r=jgraham
These are all duplicated in testing/web-platform/, so the only reason to
keep them is that web-platform-tests don't yet run on every platform
that mochitests do.  But they get in the way, so let's remove the ones
that are relatively unlikely to be platform-specific.
2016-04-13 15:21:13 +03:00
Aryeh Gregor
c1a60c58b4 Bug 1055776 - Move namespaceURI, prefix, localName from Node to Element; r=bz 2016-04-13 15:21:12 +03:00
Boris Zbarsky
7655d2a3f8 Bug 1245554. Window's named properties object should not claim to have duplicates of a given property name if it has multiple iframes with that name. r=peterv
The web platform test was pretty buggy in a few ways:

1)  It claimed that "bar" should be non-writable and enumerable.  This
explicitly contradicts the spec:
http://heycam.github.io/webidl/#named-properties-object-getownproperty step 3
substep 8 sets [[Writable]] to true, and
https://html.spec.whatwg.org/multipage/browsers.html#named-access-on-the-window-object
explicitly says these properties are unenumerable.

2)  It claimed that "constructor" should be exposed on the named properties
object.  But the named property visibility algorithm obviously returns false
for that property name, so it should not be exposed.
2016-02-09 17:40:45 -05:00
Till Schneidereit
5933177f28 Bug 1101817 - Part 4: Remove WeakMap.prototype.clear from web-platform test. r=Ms2ger
--HG--
extra : rebase_source : 80809ba265380a6478eb66c961109e8513d41487
2016-01-04 13:06:55 +01:00
Boris Zbarsky
e7df3e8700 Bug 1236329. Back out the patch for bug 492933 (revision d8012b35413b) because it's not web-compatible in practice. r=smaug 2016-01-05 15:05:23 -05:00
Wes Kocher
52ed1e6ff2 Backed out changeset 3aca7055f52f (bug 1236329) because something from this push turned browser_video_test.js permafail on mulet CLOSED TREE
--HG--
extra : commitid : 2RDQomPsA9l
2016-01-05 15:14:48 -08:00
Boris Zbarsky
cb006d4926 Bug 1236329. Back out the patch for bug 492933 (revision d8012b35413b) because it's not web-compatible in practice. r=smaug 2016-01-05 15:05:23 -05:00
Boris Zbarsky
64b9c0ed0b Bug 1223523. The named getter on document should not return images with an empty name. r=peterv 2015-11-20 16:54:49 -05:00
Boris Zbarsky
9ecf8df931 Bug 1225188. Implement window.onstorage. r=smaug 2015-11-17 18:09:53 -05:00
James Graham
6d13f16795 Bug 801545 - Fix broken json file in test metadata added by previous patch, a=testonly
--HG--
extra : commitid : 3tVCTQyWiEE
2015-10-19 10:02:56 +01:00
Aryeh Gregor
9a6f8aa5dd Bug 801545 - Remove DocumentType.internalSubset, r=bz
The C++ method GetInternalSubset() and related apparatus remains, and is
used by the XML serializer etc.

--HG--
extra : commitid : 3IVZZkyD3HI
extra : amend_source : 477c91b1bd4bfa8c77b0bec7ea7dbf6c57667094
2015-10-19 09:53:41 +01:00
Aryeh Gregor
5e39e259c1 Bug 492933 - getElementsByTagName should match on localName not tagName, r=smaug
dom-level2-core test changes by Ms2ger.
2015-10-15 10:03:30 -04:00
Boris Zbarsky
04e8705012 Backing out changeset f6759ed53f46 (bug 799937) due to causing extension breakage. 2015-10-14 11:07:06 -04:00
Aryeh Gregor
f8cdabf861 Bug 799937 - Make createElement()'s result always in the HTML namespace (except for XUL documents); r=bz
The new expected failures in web-platform are in a test that doesn't
match the spec, which has already been synced upstream and will be
synced shortly.  For the same test in imptests, I chose to modify the
test instead, because it's easier and imptests is going to be removed.
2015-10-14 11:16:08 +05:30
Aryeh Gregor
c48c61128c Bug 1213862 - Align nsString whitespace handling with web specs; r=froydnj 2015-10-12 20:47:57 +03:00
Aryeh Gregor
97bf22c73e Bug 1212867 - Node.isEqualNode() should ignore internal subsets; r=bz 2015-10-12 20:44:23 +03:00
Aryeh Gregor
006ecb6285 Bug 1192855 - Check validity in advance for nsRange::InsertNode; r=hsivonen 2015-10-07 16:07:39 +03:00
Masatoshi Kimura
fce903a0f0 Bug 647621 - Implement document.charset and update document.inputEncoding to the latest spec. r=bz 2015-09-23 09:32:29 +09:00
Ryan VanderMeulen
dc95876ffe Backed out changeset ecebeba2582c (bug 1008146) for making imptests on Android/B2G nearly permafail.
CLOSED TREE

--HG--
rename : dom/imptests/editing/conformancetest/run/test_unlink.html => dom/imptests/editing/conformancetest/test_runtest.html
2015-08-11 14:48:24 -04:00
Aryeh Gregor
dd74aa5c8b Bug 1008146 - Split up test_runtest.html; rs=Ms2ger
--HG--
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_backcolor.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_bold.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_createlink.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_delete.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_fontname.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_fontsize.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_forecolor.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_formatblock.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_forwarddelete.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_hilitecolor.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_indent.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_inserthorizontalrule.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_inserthtml.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_insertimage.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_insertlinebreak.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_insertorderedlist.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_insertparagraph.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_inserttext.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_insertunorderedlist.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_italic.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_justifycenter.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_justifyfull.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_justifyleft.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_justifyright.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_misc.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_multitest.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_outdent.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_removeformat.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_strikethrough.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_subscript.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_superscript.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_underline.html
rename : dom/imptests/editing/conformancetest/test_runtest.html => dom/imptests/editing/conformancetest/run/test_unlink.html
2015-08-11 14:02:33 +03:00
Ms2ger
f285086ddc Bug 1173288 - Update testharness code in imptests; rs=jgraham
--HG--
extra : commitid : EaZShgcjVGF
2015-06-20 09:16:51 +02:00
Michael Layzell
293a84e371 Bug 1027560 - Return false from document.execCommand() and friends when not in editable document. r=ehsan 2015-06-02 09:07:00 -04:00
Carsten "Tomcat" Book
a71e0153ee Backed out changeset fdc2aa9e612f (bug 1027560) for failing w3 tests 2015-05-26 13:13:48 +02:00
Michael Layzell
c0bb6f08c3 Bug 1027560 - return false from document.execCommand() and friends when not in editable document. r=ehsan 2015-05-14 06:46:00 +02:00
Michael Layzell
4e252b0ed5 Bug 309731 - Allow document.execCommand('inserthtml') with an empty string parameter. r=ehsan 2015-05-14 08:02:00 -04:00
Tom Schuster
5cfbfd9938 Bug 1055473 - Make WeakMap/Set.prototype a plain object. r=Waldo 2015-05-08 23:27:50 +02:00
Jorg K
a4d2a8c99c Bug 1140105 - Can't query for a specific font face when the selection is collapsed. r=ehsan
--HG--
extra : rebase_source : bfdc26a4bb9506f8adff9eadd94c1ad5e7d1dc03
2015-04-24 05:57:00 -04:00
Jorg K
41b2c7b9b7 Bug 1141017 - resurrect serif and monospace. r=ehsan
--HG--
extra : rebase_source : 348e2da29d9e10186295d66350cb0141345785ce
2015-03-30 11:58:00 +02:00
Jason Orendorff
93771d2a84 Bug 828137, part 2 - Make [[Set]] always fail on window elements. With this change, window[0] = null; is a TypeError in strict mode code. r=bz.
--HG--
extra : rebase_source : 10066af913c07b01a701b49915ca54e4131d702b
2015-02-11 11:47:39 -06:00
Carsten "Tomcat" Book
82aadf2de5 Backed out changeset c2ffd91dee7c (bug 828137) 2015-03-09 16:49:32 +01:00
Jason Orendorff
aed07e3b58 Bug 828137, part 2 - Make [[Set]] always fail on window elements. With this change, window[0] = null; is a TypeError in strict mode code. r=bz.
--HG--
extra : rebase_source : 2bba1904dc678a1b440fd1d8a8592da7ba09dce3
2015-02-11 11:47:39 -06:00
Andrew McCreight
72065b93ca Bug 1127827, part 3 - Weak map get should always return undefined on failure to find the key. r=Waldo,jgraham 2015-02-18 15:40:52 -08:00
Jason Orendorff ext:(%2C%20Till%20Schneidereit%20%3Ctill%40tillschneidereit.net%3E)
5f7eacef1c Bug 911142 - Make the "length" property of function objects configurable. r=Waldo.
Thanks to Till Schneidereit for a bunch of test fixes.
2014-09-29 11:38:53 -05:00
Aryeh Gregor
459846f603 Bug 858918 part 2 - Don't insert block content outside of inline editing hosts; r=ehsan 2014-10-22 15:45:30 +03:00
Nick Lebedev
df62a59237 Bug 1055773 - Move hasAttributes method from Node to Element. r=bz 2014-10-01 10:16:00 +02:00
Andrea Marchesini
3d909148b5 Bug 660237 - implement nsIDOMStorage with a proxy, r=bzbarsky, r=mayhemer 2014-07-23 01:07:12 -04:00
Dirkjan Ochtman
9628b457a5 Bug 779723 - Implement RadioNodeList collection r=bz 2014-07-16 18:44:19 +02:00
Yuki Sekiguchi
80b974c056 Bug 664104 - Part 3: Remove expected failure about ruby editing. r=wchen 2014-06-20 17:08:31 -07:00
Ms2ger
a39cee4de3 Bug 741295 - Treat 'id' and 'class' as global attributes for all elements; r=bz 2014-05-30 09:36:53 +02:00
Peter Van der Beken
034f5ffcab Bug 789261 - Enable WebIDL bindings for Window. r=bz.
--HG--
extra : rebase_source : 4ee28872adf9d03d9dc28880426383224359fd78
2014-04-08 20:48:37 +02:00
Peter Van der Beken
de5fbc64a7 Backout 82e3d6f25c5f (bug 789261). 2014-05-25 18:50:27 +02:00
Peter Van der Beken
6a33e9b71a Bug 789261 - Enable WebIDL bindings for Window. r=bz.
--HG--
extra : rebase_source : 4c515e4a41e622f195a81904e1f896c492831440
2014-04-08 20:48:37 +02:00
Boris Zbarsky
35342606f7 Bug 891952. Named getters for HTMLCollection should never return anything for "". r=smaug 2014-05-22 00:23:51 -04:00
Carsten "Tomcat" Book
73b3171eda Backed out changeset 91dad1e50118 (bug 891952) for m1 and m3 test failures on a CLOSED TREE 2014-05-22 08:24:17 +02:00
Boris Zbarsky
a06b36141b Bug 891952. Named getters for HTMLCollection should never return anything for "". r=smaug 2014-05-22 00:23:51 -04:00
Wes Kocher
1a69acc2e4 Backed out changeset c744c837c732 (bug 789261) for Gaia-unit test bustage on a CLOSED TREE 2014-05-19 15:20:43 -07:00
Peter Van der Beken
13dc221813 Bug 789261 - Enable WebIDL bindings for Window. r=bz.
--HG--
extra : rebase_source : ae0d50133962c86ecdb7bf60f5ec8d359f681ac0
2014-04-08 20:48:37 +02:00
Boris Zbarsky
bcd52071c8 Bug 997285 part 3. Make DOMException [ExceptionClass]. r=peterv,jorendorff 2014-05-05 16:01:57 -04:00
Ophir LOJKINE
dba74c3b3a Bug 1003539 - change HTMLTableElement::insertRow so that it when no row is present, it adds a row to the last TBODY element of the table; r=bzbarsky 2014-05-01 21:29:23 -04:00