<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>166642</bug_id>
          
          <creation_ts>2017-01-02 12:27:38 -0800</creation_ts>
          <short_desc>PG&amp;E billing page is broken on Safari Tech Preview 20</short_desc>
          <delta_ts>2017-01-03 15:09:09 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>165882</dup_id>
          
          <bug_file_loc>https://m.pge.com/#dashboard</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>fpizlo</cc>
    
    <cc>ggaren</cc>
    
    <cc>keith_miller</cc>
    
    <cc>saam</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1263334</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2017-01-02 12:27:38 -0800</bug_when>
    <thetext>Reproduction steps
1. Go to https://m.pge.com/
2. Log in to your PG&amp;E account
3. Open billins

Expected result:
I can see my bill &amp; pay it.

Actual result:
Blank page is shown (with headers &amp; footers)

On Safari 20, I&apos;m seeing the following JavaScript error:

[Error] TypeError: s.replace is not a function. (In &apos;s.replace(t,e)&apos;, &apos;s.replace&apos; is undefined)
	(anonymous function) (main.js:5:28129)
	start (main.js:6:28324)
	(anonymous function) (main.js:6:30182)
	(anonymous function) (main.js:5:30458)
	(anonymous function) (main.js:2:23894)
	u (main.js:2:22514)
	add (main.js:2:22821)
	(anonymous function) (main.js:2:23866)
	each (main.js:1:30747)
	(anonymous function) (main.js:2:23810)
	Deferred (main.js:2:24400)
	then (main.js:2:23790)
	add (main.js:5:30422)
	addInitializer (main.js:6:28136)
	_addStartWithParent (main.js:6:30143)
	_addModuleDefinition (main.js:6:29624)
	(anonymous function) (main.js:6:29234)
	forEach (main.js:4:17721)
	create (main.js:6:29157)
	create (main.js:8:7438)
	initialize (main.js:8:7995)
	initModule (main.js:8:12506)
	views (main.js:8:12782)
	(anonymous function) (main.js:18:16161)
	applyWrapper (main.js:18:16236)
	wrapContent (main.js:18:17126)
	finishLoad (main.js:18:15698)
	(anonymous function) (main.js:18:15589)
	execCb (main.js:1:12214)
	check (main.js:1:6464)
	enable (main.js:1:8978)
	init (main.js:1:5569)
	(anonymous function) (main.js:1:10669)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1263375</commentid>
    <comment_count>1</comment_count>
    <who name="Saam Barati">saam</who>
    <bug_when>2017-01-02 18:11:59 -0800</bug_when>
    <thetext>Actually, I no longer have an active PGE account, so I&apos;m probably the wrong person to test this.

However, the behavior I&apos;m seeing is a blank page on both El Capitan&apos;s Safari and on STP 20. So this might not be a regression (and it could be a bug on the website itself).

In Chrome, I get a message that shows up saying that my account is longer active.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1263385</commentid>
    <comment_count>2</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2017-01-02 18:44:13 -0800</bug_when>
    <thetext>(In reply to comment #1)
&gt; Actually, I no longer have an active PGE account, so I&apos;m probably the wrong
&gt; person to test this.
&gt; 
&gt; However, the behavior I&apos;m seeing is a blank page on both El Capitan&apos;s Safari
&gt; and on STP 20. So this might not be a regression (and it could be a bug on
&gt; the website itself).
&gt; 
&gt; In Chrome, I get a message that shows up saying that my account is longer
&gt; active.

That&apos;s interesting. I can open the billing page on the system safari (10.0.2).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1263392</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2017-01-02 18:59:54 -0800</bug_when>
    <thetext>I have a PG&amp;E account, but I&apos;m not sure what to click after logging in. The bills are just PDFs that get downloaded as files.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1263453</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2017-01-03 09:26:41 -0800</bug_when>
    <thetext>I&apos;m not sure if I&apos;m getting exactly the same result, but it looks quite similar. On trunk, I&apos;m getting a blank page (with headers and footers) even on https://m.pge.com main page - I cannot log in.

I don&apos;t see anything like this with shipping Safari/WebKit, so it does look like a regression. I didn&apos;t try El Capitan for shipping Safari/WebKit, only Sierra.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1263454</commentid>
    <comment_count>5</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2017-01-03 09:26:55 -0800</bug_when>
    <thetext>&lt;rdar://problem/29848943&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1263541</commentid>
    <comment_count>6</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2017-01-03 14:21:00 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 165882 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1263569</commentid>
    <comment_count>7</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2017-01-03 15:09:09 -0800</bug_when>
    <thetext>Confirmed that the bug was introduced in r207475 and fixed in r209846.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>