Commit Graph
1260 Commits
Author SHA1 Message Date
Andrea Marchesini 68d2d74bd5 Bug 1404910 - WebSocket should consider the corrent top-level window principal, r=smaug 2017-10-04 14:18:19 +02:00
Andrea Marchesini 792189dd57 Bug 1120178 - Migrate DOMError to DOMExtension in FileReader, IndexedDB, DOMRequest and so on, r=smaug 2017-08-06 20:47:00 +03:00
Olli Pettay 98580ecdff Bug 1396584 - Remove support for multiple ShadowRoots, r=mrbkap 2017-09-25 18:09:26 +03:00
Chris Peterson 8b885bcc5c Bug 870698 - Part 9: Replace Assign(NS_LITERAL_STRING("")) with AssignLiteral(u""). r=erahm
The NS_LITERAL_STRING macro creates a temporary nsLiteralString to encapsulate the char16_t string literal and its length, but AssignLiteral() can determine the char16_t string literal's length at compile-time without nsLiteralString.

MozReview-Commit-ID: 6vgQiU8zN3o
2017-09-06 01:43:13 -07:00
Tobias Schneider 7dc4b486b1 Bug 1399605 - Fix wrong test being skipped. r=mrbkap 2017-09-19 18:54:01 -07:00
Tobias Schneider 452c21fede Bug 1399605 - [intersection-observer] Check if target is actually being observed when unobserving. r=mrbkap 2017-09-19 10:50:10 -07:00
Boris Zbarsky e65fe3dfb3 Bug 1400139 part 2. Make window.content non-enumerable. r=mystor
MozReview-Commit-ID: LQkEkdG8wKf
2017-09-18 21:24:38 -04:00
Sebastian Hengst eb7fbf0906 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-12 11:37:58 +02:00
Andrea Marchesini b9fab86aaa Bug 1392202 - WebSocket CTOR should not try to look for the topmost window if the opener's top ancestor is equal to the current window top ancestor, r=smaug 2017-09-12 09:27:08 +02:00
Andrew McCreight a72d749bab Bug 1377587, part 1 - Always act like __exposedProps__ is missing. r=krizsa
This patch gently removes support for __exposedProps__ by changing
ExposedPropertiesOnly::check() to always return false, while still
failing silently in deny for some kinds of access.

The tests that I changed all involve testing the behavior with
__exposedProps__. I adjusted them to expect it to fail, or to adjust
the error message they get when they fail. That seemed better than
deleting them entirely.

Note that test_bug1065185.html had a bug, so that it never executed
the first case. I fixed that, and then fixed up the test to work when
__exposedProps__ is not supported.

This also removes various bits of the test framework that use
__exposedProps__, but don't actually need to.

MozReview-Commit-ID: 8fvkAmITmXY
2017-08-22 14:24:11 -07:00
Christoph Kerschbaumer 829d995d83 Bug 1397655 - Update tests within dom/ to comply with new toplevel data: URI navigation policy. r=smaug 2017-09-10 13:24:07 +02:00
Andrew McCreight 1c19fb4bb6 Bug 1397460 - Don't throw for a failure in cpows_child.js. r=billm
When ok() is passed false, we send a message to the parent, which will
cause the test to fail. Throwing in this helper in the child just
makes the test hang for a while.

MozReview-Commit-ID: 4gwBACPYfDO
2017-09-06 13:45:22 -07:00
Jeff Gilbert d0bb2c3f4f Bug 1322746 - dom/base/test/test_anonymousContent_canvas.html should not assume webgl works. - r=daoshengmu
MozReview-Commit-ID: 7oEK4pWMCdc
2017-09-02 21:52:33 -07:00
Brad Werth 01720308c6 Bug 1391169 Part 2: Add a test of cssText with combinations of namespaces, universal selectors, and combinators. r=SimonSapin
MozReview-Commit-ID: GZZEGR0zyp6
2017-08-22 16:21:46 -07:00
Florian Quèze 5415e80530 Bug 1391704 - Avoid flickering while moving tabs across windows, r=mconley. 2017-09-01 00:42:31 +02:00
Chris H-C eabcba7afb bug 1376600 - Remove registered(Keyed)Histograms r=Dexter
With the removal of the old addonHistograms, all histograms are now registered.
So removing registered(Keyed)Histograms should be straightforward?

Unfortunately not, as this was how we filtered data based on dataset
(opt-in/opt-out), so a little more fiddling was needed to get C++ to only
serialize dataset-appropriate data (instead of post-facto filtering it in JS).

MozReview-Commit-ID: HDplhmzmzJl
2017-08-22 09:42:09 -04:00
Hiroyuki Ikezoe c9add6b269 Bug 1383985 - Enable test_mutationobserver_anonymous.html on stylo. r=xidorn
MozReview-Commit-ID: 1qDvqysTJGo
2017-08-28 17:02:52 +09:00
Mantaroh Yoshinaga b47ad0966a Bug 1383512 - Add waiting code until loading FontSet and finishing styling to test_user_select.html. r=birtles
In some environment, test will start before applying font face.
To ensure that content apply font, this patch changes to wait for starting test
until loading FontSet and finishing styling.

MozReview-Commit-ID: GakUcOgRQE8
2017-08-25 15:37:53 +09:00
Xidorn Quan 4d3dc189ef Bug 1370779 - Bump version of cssparser.
MozReview-Commit-ID: Atb37wr8iMA
2017-08-23 13:04:03 +10:00
Gabor Krizsanits cf76e99b42 Bug 1391352 - browser_aboutnewtab_process_selection.js can keep an extra process alive. r=me
If before the test the process count cap was 1, then we might have ended up with an extra
content process because the preloaded browser might kept alive one of the process we
created during the test.
2017-08-22 12:30:26 +02: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
Gabor Krizsanits ec379247b8 Bug 1391363 - This test should be only disabled for non-e10s. r=me 2017-08-18 12:25:58 +02:00
Sebastian Hengst f3d3b8ac7f merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-08-21 13:43:53 +02:00
Shawn Huang f104dafbd6 Backed out changeset 40b781f6504c (bug 1345457) for breaking xhr test case r=backout 2017-08-21 16:32:00 +08:00
Joel Maher 3172591973 Bug 1391371 - turn on non-e10s tests for windows7-debug. r=ahal
MozReview-Commit-ID: 9CzUf6Omk38
2017-08-17 15:46:03 -04:00
Xidorn Quan 30308a7803 Bug 1384001 - Reenable test_intersectionobservers.html. r=xidorn
MozReview-Commit-ID: 1duaKfd8ADd
2017-08-17 13:35:37 +10:00
Gabor Krizsanits f05a83b92c Bug 1376895 - Make preloaded browser use pre-existing content process. r=mconley
We want to avoid to have several cached content processes, one for each
preloaded browser (one per window) and one for the preallocated process.
For that we force the preloaded browser to choose an existing process and
during the first navigation in that tab, that leaves about:newtab, we re-run
the process selecting algorithm
2017-08-16 13:00:22 +02:00
Carsten "Tomcat" Book 10b7cba778 Backed out changeset adf5ed713e0d (bug 1376895) 2017-08-16 11:15:50 +02:00
Gabor Krizsanits 2d5df8b520 Bug 1376895 - Make preloaded browser use pre-existing content process. r=mconley
We want to avoid to have several cached content processes, one for each
preloaded browser (one per window) and one for the preallocated process.
For that we force the preloaded browser to choose an existing process and
during the first navigation in that tab, that leaves about:newtab, we re-run
the process selecting algorithm
2017-08-15 14:05:17 +02:00
Wes Kocher 7672800a1a Backed out 2 changesets (bug 1376895) for breaking browser_identity_UI.js with assertions in nsPermissionManager.cpp a=backout
Backed out changeset 620d01ac103a (bug 1376895)
Backed out changeset 3a06ab7fda1a (bug 1376895)

MozReview-Commit-ID: 2C8kUg77dz8
2017-08-14 13:13:45 -07:00
Gabor Krizsanits e99504b782 Bug 1376895 - Make preloaded browser use pre-existing content process. r=mconley
We want to avoid to have several cached content processes, one for each
preloaded browser (one per window) and one for the preallocated process.
For that we force the preloaded browser to choose an existing process and
during the first navigation in that tab, that leaves about:newtab, we re-run
the process selecting algorithm
2017-08-14 17:42:05 +02:00
Ed Lee 9c4e9c41fb Bug 1335057 - Fix intermittent bug1058164.js test timed out by conditionally waiting. r=mconley
MozReview-Commit-ID: LRhV0IbHt5b
2017-08-10 10:41:19 -07:00
Mantaroh Yoshinaga d04c9130a9 Bug 1383512 - Skip test_user_select.html on windows of opt and pgo. r=gbrown
This patch skip the test_user_select.html test since windows build of
pgo/opt will fail this test sometimes on try.
This is temporaly solution until clarifying the reason of it.
(We track it on same bug).

MozReview-Commit-ID: BlwdoYxNTxP
2017-08-09 12:55:58 +09:00
Makoto Kato 8e6fada1f0 Bug 1381710 - Selection.addRange will be failure with dynamic table insertion. r=tnikkel
When range is selected table element, Selection.addRange uses nsFrameSelection.  If frame isn't constructed yet, addRange throws NS_ERROR_FAILURE even if table element isn't editable element.

When getting nsITableCellLayout, we should flush frame to construct cell frame.

MozReview-Commit-ID: 9qWwW46RYNL
2017-07-18 16:54:31 +09:00
Xidorn Quan 3913a95452 Bug 1383992 part 1 - Disable failing mochitests. r=heycam
MozReview-Commit-ID: J9LoovJJJgM
2017-08-09 08:31:26 +10:00
Ryan VanderMeulen f72c834207 Merge autoland to m-c. a=merge 2017-08-09 18:47:59 -04:00
Henry Chang 2562783559 Bug 1388606 - Test case for ensuring data:font is treated same-origin. r=ckerschb
We try to load a data:font and apply to some text in the test case. In case
data:font is treated different origin, the font will not load and the
test would fail.

MozReview-Commit-ID: LWYWJOoWL71
2017-08-09 16:39:44 +08:00
Henry Chang 0134f35621 Bug 1387983 - Fix test case for data:stylesheet same origin check. r=heycam
MozReview-Commit-ID: 1U7Aw9X13uF
2017-08-07 16:36:35 +08:00
Blake Kaplan 7d8ee0173c Bug 1374460 - Remove mochitests using showModalDialog. r=smaug
MozReview-Commit-ID: 5vLjdti5oW8
2017-06-08 11:44:24 -07:00
Carsten "Tomcat" Book 234d997dcc merge mozilla-inbound to mozilla-central a=merge 2017-08-07 12:56:05 +02:00
Hiroyuki Ikezoe 58dd9d6c92 Bug 1387910 - Set content property other than neither 'normal' nor 'none' to generate pseudo element properly. r=boris
MozReview-Commit-ID: AAGCZOXFMOk
2017-08-07 11:35:36 +09:00
Yoshi Huang 3fea542b3f Bug 1366209 - rewrite dom/base/test/test_bug331959.html. r=smaug 2017-08-07 10:13:04 +08:00
Masatoshi Kimura 0af76969af Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj
This mechanically replaces nsILocalFile with nsIFile in
*.js, *.jsm, *.sjs, *.html, *.xul, *.xml, and *.py.

MozReview-Commit-ID: 4ecl3RZhOwC
2017-08-04 17:49:22 +09:00
Henri Sivonen cd9aafd595 Bug 1048191 - Remove capability to generate entities other than quot, amp, gt, lt and nbsp. r=emk.
MozReview-Commit-ID: CHQQzPHxrus
2017-08-04 12:37:53 +03:00
Masatoshi Kimura 635109ab9c Bug 1361579 - Remove nsISimpleContentPolicy. r=Ehsan
MozReview-Commit-ID: BsjkGpTpe8I
2017-08-03 17:50:00 +09:00
Christoph Kerschbaumer bd73595c54 Bug 1363629: Convert test_bug518104 to comply with new data: URI inheritance model. r=smaug 2017-08-03 21:00:22 +02:00
Yoshi Huang 518c133df0 Bug 1381728 - Part 1 : <object data="data:text/html,...> should have unique opaque origin. r=smaug 2017-08-03 09:38:09 +08:00
Junior Hsu c898380270 Bug 1384506 - Disable rcwn in test_urgent_start.html. r=tt 2017-08-01 19:55:00 -04:00
Henry Chang c3392c8823 Bug 1342298 - Synchronize with the loaded event for the newly added tab then start the test. r=ckerschb
MozReview-Commit-ID: J6SqlfaOKGz
2017-08-21 10:49:15 +08:00
Christoph Kerschbaumer 93b1677256 Bug 1366181: Convert test_title.html and test_title.xul to comply with new data: URI inheritance model. r=smaug 2017-08-09 11:21:40 +02:00