Commit Graph
248 Commits
Author SHA1 Message Date
James Graham a99f828ced Bug 1363982 - Update web-platform-tests to revision db6ed4bb451e44748cbb9af69d0a01c17a33571a a=testonly
MozReview-Commit-ID: KjIquC2PKKI
2017-05-11 18:01:46 +01:00
Boris Zbarsky f3b0b7f0ac Bug 1358469. Revert our web-incompatible change to rel=noreferrer targeting behavior. r=mystor 2017-05-05 13:20:42 -04:00
Jessica Jong da2abc2373 Bug 1358448 - Add wpt for cases when moving radio out of or into a form. r=smaug
MozReview-Commit-ID: AdXVNfg1eyw
2017-05-02 23:01:00 +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
James Graham 99f3698b17 Bug 1356225 - Update web-platform-tests to revision d519fe9011da7cfce7949f7ed826e9759dc5c532, a=testonly
MozReview-Commit-ID: GmGgeZxHy0j
2017-04-20 10:49:24 +01:00
Andreas Farre ef5dbf18a4 Bug 1352670 - Make callback-multiple-calls more stable. r=baku
Trigger more idle periods by forcing them to be short, using rAF.
Add a timeout to force idle callbacks to run.
Halve the number of rICs we schedule during the test.
2017-04-18 04:49:00 -04:00
Sebastian Hengst ae83546ec4 Backed out changeset e7024412b94e (bug 1356225)
MozReview-Commit-ID: Ib8aOAM6cQ2
2017-04-14 17:18:47 +02:00
James Graham 468eebfa83 Bug 1356225 - Update web-platform-tests to revision d519fe9011da7cfce7949f7ed826e9759dc5c532, a=testonly
MozReview-Commit-ID: GmGgeZxHy0j
2017-04-13 16:22:32 +01:00
James Graham 4e32da1f88 Bug 1355060 - Fix error from assert outside step in history traversal test, r=ato
MozReview-Commit-ID: DJAmjteB4EC
2017-04-10 13:34:49 +01:00
Joel Maher 37485286ec Bug 1344486 - Intermittent TEST-UNEXPECTED-PASS | /html/semantics/scripting-1/the-script-element/nomodule-set-on-async-classic-script.html. fail early if noModule. r=jgraham
MozReview-Commit-ID: K8qMR6fICXH
2017-04-06 07:30:08 -04:00
Aryeh Gregor 0af9fb1510 Bug 1345044 - Update an IDL file for spec change; r=jgraham
MozReview-Commit-ID: 3bXvvDvnZhG
2017-04-04 20:28:36 +03:00
Andreas Farre de95cd2f87 Bug 1318720 - Add test for calling rIC on removed iframe. r=smaug
MozReview-Commit-ID: 9TGGSxcUHs2
2017-03-21 13:26:29 +01:00
Andreas Farre d09e3bb5b8 Bug 1318720 - Don't test if idle callbacks may execute in the same period. r=smaug
MozReview-Commit-ID: HKjU4R6BChT
2017-03-21 13:26:29 +01: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 8ef6cffa31 Bug 1347512 - Add long timeout to modules test, r=AutomatedTester
MozReview-Commit-ID: L2JlgAWS84x
2017-03-17 14:42:27 +00:00
James Graham 5dd72e6116 Bug 1347508 - Fix duplicate test names in selection test, r=AutomatedTester
MozReview-Commit-ID: 8ZyMh9j3xaL
2017-03-17 14:42:26 +00:00
James Graham 4d6265f684 Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly
MozReview-Commit-ID: 4wsHtf9312c
2017-03-17 14:34:25 +00:00
Carsten "Tomcat" Book cefa818f0c Backed out changeset 7b89ee0ae420 (bug 1348119) for causing merge conflicts 2017-03-17 14:45:57 +01:00
Boris Zbarsky 9d4ec409df 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
Sebastian Hengst d0fc10c1f0 Backed out changeset d1a5149f5e9b (bug 1345490) for OSX, Windows and Linux stylo reftests and marionette failing with "No module named six.moves.urllib.parse". r=backout 2017-03-15 19:24:26 +01:00
Sebastian Hengst 70e2e17985 Backed out changeset 2e033635421c (bug 1347508) 2017-03-15 19:22:22 +01:00
Sebastian Hengst e610f014ef Backed out changeset a0f23c6f820b (bug 1347512) 2017-03-15 19:22:17 +01:00
James Graham 3a1cec8505 Bug 1347512 - Add long timeout to modules test, r=AutomatedTester
MozReview-Commit-ID: L2JlgAWS84x
2017-03-15 15:20:53 +00:00
James Graham ff9c7a62f3 Bug 1347508 - Fix duplicate test names in selection test, r=AutomatedTester
MozReview-Commit-ID: 8ZyMh9j3xaL
2017-03-15 15:20:53 +00:00
James Graham 398d1d56dc Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly
MozReview-Commit-ID: 4wsHtf9312c
2017-03-15 15:20:53 +00:00
Boris Zbarsky 5ce3745323 Bug 1345996. Change event handler invocation to only do the "true return cancels" for onerror handlers handed ErrorEvents, and only on globals. r=smaug
See https://github.com/whatwg/html/issues/2296 and
https://github.com/whatwg/html/issues/423 for details on what various browsers
do and whatnot.

MozReview-Commit-ID: DytkZreHudx
2017-03-10 23:53:09 -05:00
Boris Zbarsky 08408b8e31 Bug 1345237. Propagate uint32_t deeper into the editor state and text control frame code. r=mystor
MozReview-Commit-ID: KeUo8My6eBJ
2017-03-09 14:44:45 -05:00
Boris Zbarsky 5751a40e69 Bug 1343037 part 13. Implement nsTextEditorState::SetSelectionEnd. r=ehsan
This introduces three behavior changes:

1)  Before this change, in cached mode, we did not enforce the "start <= end"
    invariant.
2)  Before this change, in cached mode, we did not fire "select" events on
    selectionEnd changes.
3)  Changes the IDL type of HTMLInputElement's selectionEnd attribute to
    "unsigned long" to match the spec and HTMLTextareaElement.

MozReview-Commit-ID: J3Gkhr8VnbS
2017-03-09 14:44:05 -05:00
Boris Zbarsky f1bf8c9867 Bug 1343037 part 12. Implement nsTextEditorState::SetSelectionStart. r=ehsan
This introduces three behavior changes:

1)  Before this change, in cached mode, we did not enforce the "start <= end"
    invariant.
2)  Before this change, in cached mode, we did not fire "select" events on
    selectionStart changes.
3)  Changes the IDL type of HTMLInputElement's selectionStart attribute to
    "unsigned long" to match the spec and HTMLTextareaElement.

MozReview-Commit-ID: JM9XXMMPUHM
2017-03-09 14:44:05 -05:00
Boris Zbarsky 0ff1feefd2 Bug 1343037 part 6. Simplify the setup around the editor state's GetSelectionRange function. r=ehsan
Really, there are only two cases we need to worry about.  Either
IsSelectionCached(), and then our SelectionProperties has the data we want, or
not and then we have a non-null mSelCon which has the data we want.

Since we are now using cached selection state a lot more (instead of
initializing the editor whenever someone asks for selection state), we need to
actually update it more correctly when .value is set.

And since we now update the cached selection state for the case when .value has
been set (to point to the end of the text), we need to change
HTMLInputElement::HasCachedSelection to return false for that case.  Otherwise
we will always do eager editor init on value set.  We handle that by not doing
eager init if the cached selection is collapsed.

The web platform test changes test the "update on .value set" behavior.  They
fail without this patch, pass with it.

MozReview-Commit-ID: DDU8U4MGb23
2017-03-09 14:44:04 -05:00
Boris Zbarsky 94f5cbe778 Bug 1344443 followup: fix a bug in the test.
MozReview-Commit-ID: Ex52TL8trgd
2017-03-08 22:29:20 -05:00
Boris Zbarsky 26d6dd7c7b Bug 1344443. Fix [[SetPrototypeOf]] on cross-origin objects to follow the spec. r=bholley,waldo
MozReview-Commit-ID: JI9fbQTS0PS
2017-03-08 03:14:38 -05:00
Jessica Jong fd41948f34 Bug 1335356 - Part 2: Rename nsContentUtils::NameChanged to QNameChanged and use null prefix. r=smaug 2017-02-20 22:44:00 -05:00
James Graham 41bb8eb794 Bug 1308969 - Fix cross-origin browser name test, r=Ms2ger
MozReview-Commit-ID: 49stqMka8j5
2017-02-20 11:54:43 +00:00
James Graham 5c1b1b32c1 Bug 1340474 - Remove jQuery link from window handler test, a=testonly
MozReview-Commit-ID: 83pVBC55wIM
2017-02-20 11:54:19 +00:00
James Graham 04c270e3d2 Bug 1340474 - Update web-platform-tests to revision eba2c70d536caaeef540966bc8ac7822417ab867, a=testonly
MozReview-Commit-ID: 1GaV7z8d0Xc
2017-02-20 11:52:05 +00:00
Iris Hsiao 34052a8f95 Backed out changeset 425b92cd2370 (bug 1340474) 2017-02-20 15:25:53 +08:00
Iris Hsiao bf45e495ce Backed out changeset 2c37642c6f4c (bug 1340474) 2017-02-20 15:25:42 +08:00
Iris Hsiao bc8940e360 Backed out changeset 67538b51b43a (bug 1308969) 2017-02-20 15:25:20 +08:00
James Graham 0d2ef39016 Bug 1308969 - Fix cross-origin browser name test, r=Ms2ger
MozReview-Commit-ID: 49stqMka8j5
2017-02-17 08:06:34 +00:00
James Graham 84e8a382a4 Bug 1340474 - Remove jQuery link from window handler test, a=testonly
MozReview-Commit-ID: 83pVBC55wIM
2017-02-16 13:10:25 +00:00
James Graham 46fc17bba9 Bug 1340474 - Update web-platform-tests to revision eba2c70d536caaeef540966bc8ac7822417ab867, a=testonly
MozReview-Commit-ID: 1GaV7z8d0Xc
2017-02-15 22:30:36 +00:00
Carsten "Tomcat" Book 40542e6d63 Backed out changeset 91e832455287 (bug 1340474) for timeouts in own test 2017-02-17 13:19:59 +01:00
Carsten "Tomcat" Book 4744b4a1b6 Backed out changeset 656ee234214c (bug 1340474) 2017-02-17 13:19:37 +01:00
Carsten "Tomcat" Book f5cdf964ff Backed out changeset 65467acedb74 (bug 1308969) 2017-02-17 13:19:26 +01:00
James Graham a254ebed17 Bug 1308969 - Fix cross-origin browser name test, r=Ms2ger
MozReview-Commit-ID: 49stqMka8j5
2017-02-17 10:08:59 +00:00
James Graham c6a13cf0b8 Bug 1340474 - Remove jQuery link from window handler test, a=testonly
MozReview-Commit-ID: 83pVBC55wIM
2017-02-17 10:05:36 +00:00
James Graham a2139e1f42 Bug 1340474 - Update web-platform-tests to revision eba2c70d536caaeef540966bc8ac7822417ab867, a=testonly
MozReview-Commit-ID: 1GaV7z8d0Xc
2017-02-17 10:04:34 +00:00
Boris Zbarsky a3268b9091 Bug 1333045. Update Location object properties to current spec. r=qdot
Specifically, three changes:

1) valueOf should be non-enumerable.
2) valueOf should be === to Object.prototype.valueOf.
3) There should be no toJSON.

The tests come directly from https://github.com/w3c/web-platform-tests/pull/4623
so not much need to review them.
2017-02-15 00:01:48 -05:00
Andreas Farre 13a6cfe10b Bug 1315260 - Test that rIC doesn't run for documents in bfcache. r=smaug
MozReview-Commit-ID: CASPVe7Jarc
2017-02-14 17:49:05 +01:00