Commit Graph

32 Commits

Author SHA1 Message Date
Kyle Machulis
94a77d354b Bug 819475 - Make document.domain non-nullable; r=bz
Make document.domain non-nullable, to conform to the HTML spec.

MozReview-Commit-ID: B1YuQekBgZD
2018-06-07 12:29:23 -07:00
Boris Zbarsky
9321f7b0d9 Bug 1444872. Remove support for the 'type' parameter to document.open. r=qdot 2018-03-28 18:01:46 -04:00
Boris Zbarsky
4627e6ad5e Bug 1415588 part 4. Move the .anchors getter from HTMLDocument to Document. r=mystor
MozReview-Commit-ID: 2uqt9cdz6y7
2018-03-12 21:44:57 -04:00
Boris Zbarsky
2ffd523b10 Bug 1415588 part 3. Move the .links getter from HTMLDocument to Document. r=mystor
The null-checks in MatchLinks were working around code in nsDocument::Destroy
that was removed a while back in bug 341730.

MozReview-Commit-ID: 2SMmGr83GCB
2018-03-12 21:44:56 -04:00
Boris Zbarsky
b754251396 Bug 1415588 part 2. Move the .images, .embeds, .plugins, .forms, .scripts, .applets getters from HTMLDocument to Document. r=mystor
MozReview-Commit-ID: Db7iazZUz8g
2018-03-12 21:44:56 -04:00
Boris Zbarsky
8073c645a3 Bug 1415588 part 1. Move the .head getter from HTMLDocument to Document. r=mystor
MozReview-Commit-ID: 5SW47hfE9dl
2018-03-12 21:44:56 -04:00
Boris Zbarsky
244de2eab6 Bug 1276438 part 4. Move the .body getter from HTMLDocument to Document. r=mystor
The "body" part of responsexml-document-properties.htm is not really per current
spec text, and fails in every non-Firefox browser, and in Firefox after this
change.  https://github.com/w3c/web-platform-tests/issues/2668 tracks this issue
to some extent, but if all browsers are going to align here anyway, we should
just adjust the test and move on.

MozReview-Commit-ID: HTLfggvi5LL
2018-01-26 00:53:34 -05:00
Boris Zbarsky
0e5baea61e Bug 1419270 part 2. Use getter or setter specific NeedsSubjectPrincipal annotations more. r=qdot
MozReview-Commit-ID: KBwjFh3TMUg
2017-12-05 16:03:18 -05:00
Boris Zbarsky
67340e531a Bug 1415176. Move getElementsByName from HTMLDocument to Document. r=mccr8
MozReview-Commit-ID: CRfrXC2x97S
2017-11-08 11:13:33 -05:00
Aryeh Gregor
88e75e00f1 Bug 718711 - getSelection() should exist for XML documents; r=smaug
The spec puts it on the Document interface, not HTMLDocument, so it
should apply to XML documents as well.  In general we want APIs to be
available for all types of documents unless there's a specific reason
not to.

Tests submitted upstream:
https://github.com/w3c/web-platform-tests/pull/6804

MozReview-Commit-ID: A0QDxpONNCE
2017-08-10 16:53:42 +03:00
johndai1984
871374f372 Bug 1340027 - Part 2: Add HTML CEReactions annotation. r=smaug 2017-06-29 10:26:00 -04:00
Boris Zbarsky
3ef279310e Bug 1335368 part 3. Stop using IsCallerChrome in nsContentUtils::IsCutCopyAllowed(). r=smaug 2017-02-01 15:43:36 -05:00
Boris Zbarsky
f4ccbe4570 Bug 1316661 part 2. Eliminate IsCallerChrome callers in HTMLDocument. r=smaug 2016-11-15 00:18:33 -05:00
Andrea Marchesini
c25c38926b Bug 1306241 - Use NeedsSubjectPrincipal in dom/html/* - part 1, r=ehsan 2016-10-03 10:34:14 +02:00
Boris Zbarsky
da1b7b9d44 Bug 909633. Remove the HTML Microdata API, since no one else ended up implementing it and now it's been removed from the spec. r=bkelly,jgraham 2016-05-20 23:13:17 -04:00
Ms2ger
d4290f5d70 Bug 1232295 - Fix HTMLDocument.open's signature; r=khuey 2016-01-05 17:51:08 +01:00
Akshendra Pratap
b18feb581d Bug 1110789 - Cleanup patch for Bug 340494. r=bz 2014-12-12 07:04:00 -05:00
Georgios Kontaxis
254106d8c6 Bug 1029887: Keep track of DOM nodes blocked by NS_ERROR_TRACKING_URI (r=khuey,smaug) 2014-06-24 17:37:03 -07:00
Ms2ger
935a83f3e7 Bug 874212 - Move document.all to WebIDL; r=bz
The static jsids in nsDOMClassInfo are newly unused, except for sEnumerate_id,
which was unused before.

This also removes the test_nondomexception.html test, which relied on an
obscure detail of the exception being thrown from document.all; I haven't
found another API which does something equally silly.
2014-05-20 21:52:21 +02:00
Ms2ger
8814b81ddd Bug 964192 - Remove the required argument to captureEvents/releaseEvents; r=bz 2014-02-09 09:04:39 +01:00
Ehsan Akhgari
3dfc543079 Bug 949445 - Part 2: Move Selection to WebIDL; r=bzbarsky 2013-12-17 09:12:33 -05:00
Olli Pettay
2103eb10fa Bug 924682 - [Pure] getters for some often used attributes, r=bz 2013-10-09 21:58:15 +03:00
Masatoshi Kimura
bc3fa1d276 Bug 673919 - Remove routeEvent, enableExternalCapture and disableExternalCapture. r=smaug 2013-08-01 23:48:18 +09:00
Masatoshi Kimura
44c2a1bca6 Backed out changeset 2aa62db58f24 (bug 673919) due to Web compat 2013-08-01 06:44:51 +09:00
Ms2ger
d710593d03 Bug 877277 - Move the document.all getter into WebIDL; r=smaug 2013-06-12 08:55:00 +02:00
Masatoshi Kimura
7168216600 Bug 673919 - Remove captureEvents, releaseEvents, and routeEvent. r=smaug 2013-05-14 21:18:39 +09:00
Peter Van der Beken
2f146c3949 Bug 820846 - Modify the ListBase IC to work with [OverrideBuiltins] bindings, codegen changes and make HTMLDocument OverrideBuiltins. r=bz. 2013-04-20 18:04:09 +02:00
Ehsan Akhgari
e3fcf0dbea Backed out 3 changesets (bug 855971, bug 820846) because of browser-chrome test failures
Backed out changeset a2245b038bcc (bug 855971)
Backed out changeset 2a999f8ee317 (bug 820846)
Backed out changeset 6dba144500f3 (bug 820846)
2013-05-04 19:27:20 -04:00
Peter Van der Beken
47ed4524d2 Bug 820846 - Modify the ListBase IC to work with [OverrideBuiltins] bindings, codegen changes and make HTMLDocument OverrideBuiltins. r=bz. 2013-04-20 18:04:09 +02:00
Peter Van der Beken
8c720a7347 Bug 852094 - Support Unforgeable on proxy-based DOM bindings. r=bz. 2012-12-20 10:56:11 +01:00
Boris Zbarsky
4e8a60e865 Bug 839116 part 2. Convert HTMLSharedElement to WebIDL. r=ms2ger 2013-02-08 12:20:11 +00:00
Boris Zbarsky
7909106c4a Bug 819239. Add the WebIDL API for HTMLDocument. r=peterv 2012-12-25 18:00:47 -08:00