Bug 187757

Summary: Fix message of NotSupportedError exception thrown during custom element creation
Product: WebKit Reporter: Frédéric Wang (:fredw) <fred.wang>
Component: New BugsAssignee: Frédéric Wang (:fredw) <fred.wang>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, ews-watchlist, rniwa, rwlbuis, webkit-bug-importer, ysuzuki
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://github.com/web-platform-tests/wpt/pull/12053
Bug Depends on: 161528    
Bug Blocks:    
Attachments:
Description Flags
Patch
none
Archive of layout-test-results from ews201 for win-future
none
Patch for landing none

Description Frédéric Wang (:fredw) 2018-07-18 06:31:36 PDT
Fix message of NotSupportedError exception thrown during custom element creation
Comment 1 Frédéric Wang (:fredw) 2018-07-18 06:38:30 PDT
Created attachment 345241 [details]
Patch
Comment 2 Frédéric Wang (:fredw) 2018-07-18 06:40:00 PDT
I guess we should really have a test to verify the text, but the tests from bug 161528 just check the exceptions...
Comment 3 Yusuke Suzuki 2018-07-18 06:55:34 PDT
Comment on attachment 345241 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=345241&action=review

> Source/WebCore/ChangeLog:13
> +        No new tests, the exceptions are already tested but the actual text is non-standard.

Can we add a WebKit specific test validating these messages?
Comment 4 EWS Watchlist 2018-07-18 08:19:36 PDT
Comment on attachment 345241 [details]
Patch

Attachment 345241 [details] did not pass win-ews (win):
Output: https://webkit-queues.webkit.org/results/8574796

New failing tests:
http/tests/security/contentSecurityPolicy/userAgentShadowDOM/allow-video.html
Comment 5 EWS Watchlist 2018-07-18 08:19:48 PDT
Created attachment 345247 [details]
Archive of layout-test-results from ews201 for win-future

The attached test failures were seen while running run-webkit-tests on the win-ews.
Bot: ews201  Port: win-future  Platform: CYGWIN_NT-6.1-2.9.0-0.318-5-3-x86_64-64bit
Comment 6 Frédéric Wang (:fredw) 2018-07-19 02:40:01 PDT
Created attachment 345340 [details]
Patch for landing
Comment 7 WebKit Commit Bot 2018-07-19 03:19:36 PDT
Comment on attachment 345340 [details]
Patch for landing

Clearing flags on attachment: 345340

Committed r233980: <https://trac.webkit.org/changeset/233980>
Comment 8 WebKit Commit Bot 2018-07-19 03:19:37 PDT
All reviewed patches have been landed.  Closing bug.
Comment 9 Radar WebKit Bug Importer 2018-07-19 03:21:15 PDT
<rdar://problem/42375336>
Comment 10 Frédéric Wang (:fredw) 2018-07-19 04:56:17 PDT
(In reply to Yusuke Suzuki from comment #3)
> Comment on attachment 345241 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=345241&action=review
> 
> > Source/WebCore/ChangeLog:13
> > +        No new tests, the exceptions are already tested but the actual text is non-standard.
> 
> Can we add a WebKit specific test validating these messages?

Yeah, I was reluctant to duplicate existing tests but I did it when I landed this patch.